Home
last modified time | relevance | path

Searched defs:csdev (Results 1 – 25 of 41) sorted by relevance

12

/linux-6.15/drivers/hwtracing/coresight/
Dcoresight-core.c42 struct coresight_device *csdev; member
68 void coresight_set_percpu_sink(int cpu, struct coresight_device *csdev) in coresight_set_percpu_sink()
82 struct coresight_device *csdev; in coresight_get_source() local
110 coresight_find_out_connection(struct coresight_device *csdev, in coresight_find_out_connection()
132 static inline u32 coresight_read_claim_tags(struct coresight_device *csdev) in coresight_read_claim_tags()
137 static inline bool coresight_is_claimed_self_hosted(struct coresight_device *csdev) in coresight_is_claimed_self_hosted()
142 static inline bool coresight_is_claimed_any(struct coresight_device *csdev) in coresight_is_claimed_any()
147 static inline void coresight_set_claim_tags(struct coresight_device *csdev) in coresight_set_claim_tags()
154 static inline void coresight_clear_claim_tags(struct coresight_device *csdev) in coresight_clear_claim_tags()
171 int coresight_claim_device_unlocked(struct coresight_device *csdev) in coresight_claim_device_unlocked()
[all …]
Dcoresight-sysfs.c30 struct coresight_device *csdev = container_of(_dev, struct coresight_device, dev); in coresight_simple_show_pair() local
44 struct coresight_device *csdev = container_of(_dev, struct coresight_device, dev); in coresight_simple_show32() local
55 static int coresight_enable_source_sysfs(struct coresight_device *csdev, in coresight_enable_source_sysfs()
88 static bool coresight_disable_source_sysfs(struct coresight_device *csdev, in coresight_disable_source_sysfs()
110 coresight_find_activated_sysfs_sink(struct coresight_device *csdev) in coresight_find_activated_sysfs_sink()
143 static int coresight_validate_source_sysfs(struct coresight_device *csdev, in coresight_validate_source_sysfs()
167 int coresight_enable_sysfs(struct coresight_device *csdev) in coresight_enable_sysfs()
267 void coresight_disable_sysfs(struct coresight_device *csdev) in coresight_disable_sysfs()
316 struct coresight_device *csdev = to_coresight_device(dev); in enable_sink_show() local
327 struct coresight_device *csdev = to_coresight_device(dev); in enable_sink_store() local
[all …]
Dcoresight-syscfg.c33 cscfg_get_feat_csdev(struct coresight_device *csdev, const char *name) in cscfg_get_feat_csdev()
46 cscfg_alloc_csdev_cfg(struct coresight_device *csdev, int nr_feats) in cscfg_alloc_csdev_cfg()
63 static int cscfg_add_csdev_cfg(struct coresight_device *csdev, in cscfg_add_csdev_cfg()
123 cscfg_alloc_csdev_feat(struct coresight_device *csdev, struct cscfg_feature_desc *feat_desc) in cscfg_alloc_csdev_feat()
175 static int cscfg_load_feat_csdev(struct coresight_device *csdev, in cscfg_load_feat_csdev()
325 cscfg_csdev_get_feat_from_desc(struct coresight_device *csdev, in cscfg_csdev_get_feat_from_desc()
391 static void cscfg_remove_owned_csdev_configs(struct coresight_device *csdev, void *load_owner) in cscfg_remove_owned_csdev_configs()
404 static void cscfg_remove_owned_csdev_features(struct coresight_device *csdev, void *load_owner) in cscfg_remove_owned_csdev_features()
715 static int cscfg_add_cfgs_csdev(struct coresight_device *csdev) in cscfg_add_cfgs_csdev()
729 static int cscfg_add_feats_csdev(struct coresight_device *csdev, in cscfg_add_feats_csdev()
[all …]
Dcoresight-tmc-etf.c148 struct coresight_device *csdev = drvdata->csdev; in tmc_etf_disable_hw() local
176 static int tmc_enable_etf_sink_sysfs(struct coresight_device *csdev) in tmc_enable_etf_sink_sysfs()
249 static int tmc_enable_etf_sink_perf(struct coresight_device *csdev, void *data) in tmc_enable_etf_sink_perf()
306 static int tmc_enable_etf_sink(struct coresight_device *csdev, in tmc_enable_etf_sink()
331 static int tmc_disable_etf_sink(struct coresight_device *csdev) in tmc_disable_etf_sink()
362 static int tmc_enable_etf_link(struct coresight_device *csdev, in tmc_enable_etf_link()
393 static void tmc_disable_etf_link(struct coresight_device *csdev, in tmc_disable_etf_link()
419 static void *tmc_alloc_etf_buffer(struct coresight_device *csdev, in tmc_alloc_etf_buffer()
448 static int tmc_set_etf_buffer(struct coresight_device *csdev, in tmc_set_etf_buffer()
472 static unsigned long tmc_update_etf_buffer(struct coresight_device *csdev, in tmc_update_etf_buffer()
[all …]
Dcoresight-tpda.c25 static bool coresight_device_is_tpdm(struct coresight_device *csdev) in coresight_device_is_tpdm()
32 static void tpda_clear_element_size(struct coresight_device *csdev) in tpda_clear_element_size()
66 struct coresight_device *csdev) in tpdm_read_element_size()
97 struct coresight_device *csdev, in tpda_get_element_size()
195 static int tpda_enable(struct coresight_device *csdev, in tpda_enable()
229 static void tpda_disable(struct coresight_device *csdev, in tpda_disable()
245 static int tpda_trace_id(struct coresight_device *csdev, __maybe_unused enum cs_mode mode, in tpda_trace_id()
Dcoresight-dummy.c18 struct coresight_device *csdev; member
25 static int dummy_source_enable(struct coresight_device *csdev, in dummy_source_enable()
37 static void dummy_source_disable(struct coresight_device *csdev, in dummy_source_disable()
44 static int dummy_source_trace_id(struct coresight_device *csdev, __maybe_unused enum cs_mode mode, in dummy_source_trace_id()
54 static int dummy_sink_enable(struct coresight_device *csdev, enum cs_mode mode, in dummy_sink_enable()
62 static int dummy_sink_disable(struct coresight_device *csdev) in dummy_sink_disable()
Dcoresight-etm3x-core.c366 struct coresight_device *csdev = drvdata->csdev; in etm_enable_hw() local
451 static int etm_cpu_id(struct coresight_device *csdev) in etm_cpu_id()
463 static int etm_enable_perf(struct coresight_device *csdev, in etm_enable_perf()
480 static int etm_enable_sysfs(struct coresight_device *csdev, struct coresight_path *path) in etm_enable_sysfs()
516 static int etm_enable(struct coresight_device *csdev, struct perf_event *event, in etm_enable()
550 struct coresight_device *csdev = drvdata->csdev; in etm_disable_hw() local
570 static void etm_disable_perf(struct coresight_device *csdev) in etm_disable_perf()
598 static void etm_disable_sysfs(struct coresight_device *csdev) in etm_disable_sysfs()
630 static void etm_disable(struct coresight_device *csdev, in etm_disable()
Dcoresight-replicator.c43 struct coresight_device *csdev; member
50 struct coresight_device *csdev = drvdata->csdev; in dynamic_replicator_reset() local
77 struct coresight_device *csdev = drvdata->csdev; in dynamic_replicator_enable() local
119 static int replicator_enable(struct coresight_device *csdev, in replicator_enable()
149 struct coresight_device *csdev = drvdata->csdev; in dynamic_replicator_disable() local
174 static void replicator_disable(struct coresight_device *csdev, in replicator_disable()
Dcoresight-cti-core.c42 #define csdev_to_cti_drvdata(csdev) \ argument
153 struct coresight_device *csdev = drvdata->csdev; in cti_disable_hw() local
251 struct coresight_device *csdev, in cti_add_connection_entry()
519 struct coresight_device *csdev) in cti_match_fixup_csdev()
548 static void cti_add_assoc_to_csdev(struct coresight_device *csdev) in cti_add_assoc_to_csdev()
588 static void cti_remove_assoc_from_csdev(struct coresight_device *csdev) in cti_remove_assoc_from_csdev()
666 struct coresight_device *csdev; in cti_cpu_pm_notify() local
802 int cti_enable(struct coresight_device *csdev, enum cs_mode mode, void *data) in cti_enable()
809 int cti_disable(struct coresight_device *csdev, void *data) in cti_disable()
Dcoresight-etb10.c85 struct coresight_device *csdev; member
142 static int etb_enable_sysfs(struct coresight_device *csdev) in etb_enable_sysfs()
170 static int etb_enable_perf(struct coresight_device *csdev, void *data) in etb_enable_perf()
226 static int etb_enable(struct coresight_device *csdev, enum cs_mode mode, in etb_enable()
350 static int etb_disable(struct coresight_device *csdev) in etb_disable()
375 static void *etb_alloc_buffer(struct coresight_device *csdev, in etb_alloc_buffer()
403 static int etb_set_buffer(struct coresight_device *csdev, in etb_set_buffer()
427 static unsigned long etb_update_buffer(struct coresight_device *csdev, in etb_update_buffer()
Dultrasoc-smb.c205 static void smb_enable_sysfs(struct coresight_device *csdev) in smb_enable_sysfs()
216 static int smb_enable_perf(struct coresight_device *csdev, void *data) in smb_enable_perf()
242 static int smb_enable(struct coresight_device *csdev, enum cs_mode mode, in smb_enable()
279 static int smb_disable(struct coresight_device *csdev) in smb_disable()
305 static void *smb_alloc_buffer(struct coresight_device *csdev, in smb_alloc_buffer()
368 static unsigned long smb_update_buffer(struct coresight_device *csdev, in smb_update_buffer()
Dcoresight-funnel.c48 struct coresight_device *csdev; member
57 struct coresight_device *csdev = drvdata->csdev; in dynamic_funnel_enable_hw() local
79 static int funnel_enable(struct coresight_device *csdev, in funnel_enable()
109 struct coresight_device *csdev = drvdata->csdev; in dynamic_funnel_disable_hw() local
124 static void funnel_disable(struct coresight_device *csdev, in funnel_disable()
Dcoresight-ctcu-core.c94 static int __ctcu_set_etr_traceid(struct coresight_device *csdev, u8 traceid, int port_num, in __ctcu_set_etr_traceid()
138 static int ctcu_set_etr_traceid(struct coresight_device *csdev, struct coresight_path *path, in ctcu_set_etr_traceid()
159 static int ctcu_enable(struct coresight_device *csdev, enum cs_mode mode, void *data) in ctcu_enable()
166 static int ctcu_disable(struct coresight_device *csdev, void *data) in ctcu_disable()
Dcoresight-etm-perf.c355 struct coresight_device *csdev; in etm_setup_aux() local
459 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); in etm_event_start() local
552 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); in etm_event_stop() local
740 int etm_perf_symlink(struct coresight_device *csdev, bool link) in etm_perf_symlink()
813 int etm_perf_add_symlink_sink(struct coresight_device *csdev) in etm_perf_add_symlink_sink()
845 void etm_perf_del_symlink_sink(struct coresight_device *csdev) in etm_perf_del_symlink_sink()
Dcoresight-catu.c23 #define csdev_to_catu_drvdata(csdev) \ argument
334 struct coresight_device *csdev; in catu_alloc_etr_buf() local
407 struct coresight_device *csdev = drvdata->csdev; in catu_enable_hw() local
458 static int catu_enable(struct coresight_device *csdev, enum cs_mode mode, in catu_enable()
474 struct coresight_device *csdev = drvdata->csdev; in catu_disable_hw() local
487 static int catu_disable(struct coresight_device *csdev, void *__unused) in catu_disable()
Dcoresight-etm4x-core.c228 static int etm4_cpu_id(struct coresight_device *csdev) in etm4_cpu_id()
438 struct coresight_device *csdev = drvdata->csdev; in etm4_enable_hw() local
671 static int etm4_parse_event_config(struct coresight_device *csdev, in etm4_parse_event_config()
792 static int etm4_enable_perf(struct coresight_device *csdev, in etm4_enable_perf()
818 static int etm4_enable_sysfs(struct coresight_device *csdev, struct coresight_path *path) in etm4_enable_sysfs()
859 static int etm4_enable(struct coresight_device *csdev, struct perf_event *event, in etm4_enable()
892 struct coresight_device *csdev = drvdata->csdev; in etm4_disable_hw() local
966 static int etm4_disable_perf(struct coresight_device *csdev, in etm4_disable_perf()
1003 static void etm4_disable_sysfs(struct coresight_device *csdev) in etm4_disable_sysfs()
1035 static void etm4_disable(struct coresight_device *csdev, in etm4_disable()
[all …]
Dcoresight-etm4x-cfg.c147 static int etm4_cfg_load_feature(struct coresight_device *csdev, in etm4_cfg_load_feature()
175 int etm4_cscfg_register(struct coresight_device *csdev) in etm4_cscfg_register()
Dcoresight-tpiu.c64 struct coresight_device *csdev; member
77 static int tpiu_enable(struct coresight_device *csdev, enum cs_mode mode, in tpiu_enable()
105 static int tpiu_disable(struct coresight_device *csdev) in tpiu_disable()
Dcoresight-cti-platform.c95 struct coresight_device **csdev) in cti_plat_get_csdev_or_node_name()
120 struct coresight_device *csdev; in cti_plat_create_v8_etm_connection() local
346 struct coresight_device *csdev = NULL; in cti_plat_create_connection() local
Dcoresight-tmc-etr.c1239 static struct etr_buf *tmc_etr_get_sysfs_buffer(struct coresight_device *csdev) in tmc_etr_get_sysfs_buffer()
1292 static int tmc_enable_etr_sink_sysfs(struct coresight_device *csdev) in tmc_enable_etr_sink_sysfs()
1329 struct etr_buf *tmc_etr_get_buffer(struct coresight_device *csdev, in tmc_etr_get_buffer()
1515 static void *tmc_alloc_etr_buffer(struct coresight_device *csdev, in tmc_alloc_etr_buffer()
1630 tmc_update_etr_buffer(struct coresight_device *csdev, in tmc_update_etr_buffer()
1720 static int tmc_enable_etr_sink_perf(struct coresight_device *csdev, void *data) in tmc_enable_etr_sink_perf()
1773 static int tmc_enable_etr_sink(struct coresight_device *csdev, in tmc_enable_etr_sink()
1786 static int tmc_disable_etr_sink(struct coresight_device *csdev) in tmc_disable_etr_sink()
1819 static int tmc_panic_sync_etr(struct coresight_device *csdev) in tmc_panic_sync_etr()
Dcoresight-stm.c137 struct coresight_device *csdev; member
196 static int stm_enable(struct coresight_device *csdev, struct perf_event *event, in stm_enable()
258 static void stm_disable(struct coresight_device *csdev, in stm_disable()
284 static int stm_trace_id(struct coresight_device *csdev, __maybe_unused enum cs_mode mode, in stm_trace_id()
820 static char *stm_csdev_name(struct coresight_device *csdev) in stm_csdev_name()
Dcoresight-tpda.h36 struct coresight_device *csdev; member
/linux-6.15/drivers/scsi/device_handler/
Dscsi_dh_emc.c136 struct clariion_dh_data *csdev) in parse_sp_info_reply()
236 struct clariion_dh_data *csdev) in send_trespass_cmd()
348 struct clariion_dh_data *csdev) in clariion_std_inquiry()
373 struct clariion_dh_data *csdev) in clariion_send_inquiry()
387 struct clariion_dh_data *csdev = sdev->handler_data; in clariion_activate() local
428 struct clariion_dh_data *csdev = sdev->handler_data; in clariion_set_params() local
/linux-6.15/include/linux/
Dcoresight.h349 #define coresight_ops(csdev) csdev->ops argument
350 #define source_ops(csdev) csdev->ops->source_ops argument
351 #define sink_ops(csdev) csdev->ops->sink_ops argument
352 #define link_ops(csdev) csdev->ops->link_ops argument
353 #define helper_ops(csdev) csdev->ops->helper_ops argument
354 #define ect_ops(csdev) csdev->ops->ect_ops argument
355 #define panic_ops(csdev) csdev->ops->panic_ops argument
625 static inline bool coresight_is_device_source(struct coresight_device *csdev) in coresight_is_device_source()
630 static inline bool coresight_is_percpu_source(struct coresight_device *csdev) in coresight_is_percpu_source()
636 static inline bool coresight_is_percpu_sink(struct coresight_device *csdev) in coresight_is_percpu_sink()
[all …]
/linux-6.15/drivers/comedi/
Dcomedi_fops.c367 static ssize_t max_read_buffer_kb_show(struct device *csdev, in max_read_buffer_kb_show()
389 static ssize_t max_read_buffer_kb_store(struct device *csdev, in max_read_buffer_kb_store()
423 static ssize_t read_buffer_kb_show(struct device *csdev, in read_buffer_kb_show()
445 static ssize_t read_buffer_kb_store(struct device *csdev, in read_buffer_kb_store()
479 static ssize_t max_write_buffer_kb_show(struct device *csdev, in max_write_buffer_kb_show()
502 static ssize_t max_write_buffer_kb_store(struct device *csdev, in max_write_buffer_kb_store()
536 static ssize_t write_buffer_kb_show(struct device *csdev, in write_buffer_kb_show()
558 static ssize_t write_buffer_kb_store(struct device *csdev, in write_buffer_kb_store()
3255 struct device *csdev; in comedi_alloc_board_minor() local
3313 struct device *csdev; in comedi_alloc_subdevice_minor() local

12