Home
last modified time | relevance | path

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

12

/linux/drivers/hwtracing/coresight/
H A Dcoresight-core.c44 struct coresight_device *csdev; member
70 void coresight_set_percpu_sink(int cpu, struct coresight_device *csdev) in coresight_set_percpu_sink()
84 struct coresight_device *csdev; in coresight_get_source() local
112 coresight_find_out_connection(struct coresight_device *csdev, in coresight_find_out_connection()
134 static u32 coresight_read_claim_tags_unlocked(struct coresight_device *csdev) in coresight_read_claim_tags_unlocked()
140 static void coresight_set_self_claim_tag_unlocked(struct coresight_device *csdev) in coresight_set_self_claim_tag_unlocked()
175 int coresight_claim_device_unlocked(struct coresight_device *csdev) in coresight_claim_device_unlocked()
215 int coresight_claim_device(struct coresight_device *csdev) in coresight_claim_device()
234 void coresight_disclaim_device_unlocked(struct coresight_device *csdev) in coresight_disclaim_device_unlocked()
252 void coresight_disclaim_device(struct coresight_device *csdev) in coresight_disclaim_device()
[all …]
H A Dcoresight-sysfs.c31 struct coresight_device *csdev = container_of(_dev, struct coresight_device, dev); in coresight_simple_show_pair() local
45 struct coresight_device *csdev = container_of(_dev, struct coresight_device, dev); in coresight_simple_show32() local
56 static int coresight_enable_source_sysfs(struct coresight_device *csdev, in coresight_enable_source_sysfs()
89 static bool coresight_disable_source_sysfs(struct coresight_device *csdev, in coresight_disable_source_sysfs()
111 coresight_find_activated_sysfs_sink(struct coresight_device *csdev) in coresight_find_activated_sysfs_sink()
144 static int coresight_validate_source_sysfs(struct coresight_device *csdev, in coresight_validate_source_sysfs()
168 int coresight_enable_sysfs(struct coresight_device *csdev) in coresight_enable_sysfs()
268 void coresight_disable_sysfs(struct coresight_device *csdev) in coresight_disable_sysfs()
317 struct coresight_device *csdev = to_coresight_device(dev); in enable_sink_show() local
328 struct coresight_device *csdev = to_coresight_device(dev); in enable_sink_store() local
[all …]
H A 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, in tmc_enable_etf_sink_perf()
307 static int tmc_enable_etf_sink(struct coresight_device *csdev, in tmc_enable_etf_sink()
333 static int tmc_disable_etf_sink(struct coresight_device *csdev) in tmc_disable_etf_sink()
364 static int tmc_enable_etf_link(struct coresight_device *csdev, in tmc_enable_etf_link()
395 static void tmc_disable_etf_link(struct coresight_device *csdev, in tmc_disable_etf_link()
421 static void *tmc_alloc_etf_buffer(struct coresight_device *csdev, in tmc_alloc_etf_buffer()
450 static int tmc_set_etf_buffer(struct coresight_device *csdev, in tmc_set_etf_buffer()
474 static unsigned long tmc_update_etf_buffer(struct coresight_device *csdev, in tmc_update_etf_buffer()
[all …]
H A 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()
H A Dcoresight-etm3x-core.c366 struct coresight_device *csdev = drvdata->csdev; in etm_enable_hw() local
445 struct coresight_device *csdev; in etm_enable_sysfs_smp_call() local
464 static int etm_cpu_id(struct coresight_device *csdev) in etm_cpu_id()
476 static int etm_enable_perf(struct coresight_device *csdev, in etm_enable_perf()
503 static int etm_enable_sysfs(struct coresight_device *csdev, struct coresight_path *path) in etm_enable_sysfs()
539 static int etm_enable(struct coresight_device *csdev, struct perf_event *event, in etm_enable()
562 struct coresight_device *csdev = drvdata->csdev; in etm_disable_hw() local
591 static void etm_disable_perf(struct coresight_device *csdev) in etm_disable_perf()
621 static void etm_disable_sysfs(struct coresight_device *csdev) in etm_disable_sysfs()
654 static void etm_disable(struct coresight_device *csdev, in etm_disable()
H A Dcoresight-tpda.c25 static void tpda_clear_element_size(struct coresight_device *csdev) in tpda_clear_element_size()
59 struct coresight_device *csdev) in tpdm_read_element_size()
93 struct coresight_device *csdev, in tpda_get_element_size()
191 static int tpda_enable(struct coresight_device *csdev, in tpda_enable()
225 static void tpda_disable(struct coresight_device *csdev, in tpda_disable()
241 static int tpda_trace_id(struct coresight_device *csdev, __maybe_unused enum cs_mode mode, in tpda_trace_id()
H A 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, in cti_enable()
810 int cti_disable(struct coresight_device *csdev, struct coresight_path *path) in cti_disable()
H A Dcoresight-etm4x-core.c229 static int etm4_cpu_id(struct coresight_device *csdev) in etm4_cpu_id()
437 struct coresight_device *csdev = drvdata->csdev; in etm4_enable_trace_unit() local
497 struct coresight_device *csdev = drvdata->csdev; in etm4_enable_hw() local
615 struct coresight_device *csdev; in etm4_enable_sysfs_smp_call() local
719 static int etm4_parse_event_config(struct coresight_device *csdev, in etm4_parse_event_config()
840 static int etm4_enable_perf(struct coresight_device *csdev, in etm4_enable_perf()
873 static int etm4_enable_sysfs(struct coresight_device *csdev, struct coresight_path *path) in etm4_enable_sysfs()
917 static int etm4_enable(struct coresight_device *csdev, struct perf_event *event, in etm4_enable()
939 struct coresight_device *csdev = drvdata->csdev; in etm4_disable_trace_unit() local
1000 struct coresight_device *csdev = drvdata->csdev; in etm4_disable_hw() local
[all …]
H A Dcoresight-etm-perf.c355 struct coresight_device *csdev; in etm_setup_aux() local
465 static int etm_event_resume(struct coresight_device *csdev, in etm_event_resume()
480 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); in etm_event_start() local
579 struct coresight_device *csdev, in etm_event_pause()
631 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); in etm_event_stop() local
822 int etm_perf_symlink(struct coresight_device *csdev, bool link) in etm_perf_symlink()
895 int etm_perf_add_symlink_sink(struct coresight_device *csdev) in etm_perf_add_symlink_sink()
927 void etm_perf_del_symlink_sink(struct coresight_device *csdev) in etm_perf_del_symlink_sink()
H A 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, struct coresight_path *path) 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()
H A 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, in smb_enable_perf()
243 static int smb_enable(struct coresight_device *csdev, enum cs_mode mode, in smb_enable()
280 static int smb_disable(struct coresight_device *csdev) in smb_disable()
306 static void *smb_alloc_buffer(struct coresight_device *csdev, in smb_alloc_buffer()
369 static unsigned long smb_update_buffer(struct coresight_device *csdev, in smb_update_buffer()
H A 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, in ctcu_enable()
165 static int ctcu_disable(struct coresight_device *csdev, struct coresight_path *path) in ctcu_disable()
H A Dcoresight-catu.c23 #define csdev_to_catu_drvdata(csdev) \ argument
333 struct coresight_device *csdev; in catu_alloc_etr_buf() local
406 struct coresight_device *csdev = drvdata->csdev; in catu_enable_hw() local
457 static int catu_enable(struct coresight_device *csdev, enum cs_mode mode, in catu_enable()
478 struct coresight_device *csdev = drvdata->csdev; in catu_disable_hw() local
491 static int catu_disable(struct coresight_device *csdev, struct coresight_path *path) in catu_disable()
H A 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()
H A 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()
H A 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
H A Dcoresight-tmc-etr.c1237 static struct etr_buf *tmc_etr_get_sysfs_buffer(struct coresight_device *csdev) in tmc_etr_get_sysfs_buffer()
1297 static int tmc_enable_etr_sink_sysfs(struct coresight_device *csdev) in tmc_enable_etr_sink_sysfs()
1334 struct etr_buf *tmc_etr_get_buffer(struct coresight_device *csdev, in tmc_etr_get_buffer()
1521 static void *tmc_alloc_etr_buffer(struct coresight_device *csdev, in tmc_alloc_etr_buffer()
1636 tmc_update_etr_buffer(struct coresight_device *csdev, in tmc_update_etr_buffer()
1736 static int tmc_enable_etr_sink_perf(struct coresight_device *csdev, in tmc_enable_etr_sink_perf()
1790 static int tmc_enable_etr_sink(struct coresight_device *csdev, in tmc_enable_etr_sink()
1804 static int tmc_disable_etr_sink(struct coresight_device *csdev) in tmc_disable_etr_sink()
1837 static int tmc_panic_sync_etr(struct coresight_device *csdev) in tmc_panic_sync_etr()
H A Dcoresight-kunit-tests.c11 struct coresight_device *csdev = devm_kcalloc(dev, 1, in coresight_test_device() local
H A Dcoresight-tpda.h36 struct coresight_device *csdev; member
H A Dcoresight-tpdm.h308 struct coresight_device *csdev; member
347 static inline bool coresight_device_is_tpdm(struct coresight_device *csdev) in coresight_device_is_tpdm()
354 static inline bool coresight_is_static_tpdm(struct coresight_device *csdev) in coresight_is_static_tpdm()
H A Dcoresight-trbe.c733 static void *arm_trbe_alloc_buffer(struct coresight_device *csdev, in arm_trbe_alloc_buffer()
786 static unsigned long arm_trbe_update_buffer(struct coresight_device *csdev, in arm_trbe_update_buffer()
1015 static int arm_trbe_enable(struct coresight_device *csdev, enum cs_mode mode, in arm_trbe_enable()
1035 static int arm_trbe_disable(struct coresight_device *csdev) in arm_trbe_disable()
H A Dcoresight-config.h207 struct coresight_device *csdev; member
232 struct coresight_device *csdev; member
/linux/drivers/scsi/device_handler/
H A 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/include/linux/
H A Dcoresight.h347 #define coresight_ops(csdev) csdev->ops argument
348 #define source_ops(csdev) csdev->ops->source_ops argument
349 #define sink_ops(csdev) csdev->ops->sink_ops argument
350 #define link_ops(csdev) csdev->ops->link_ops argument
351 #define helper_ops(csdev) csdev->ops->helper_ops argument
352 #define ect_ops(csdev) csdev->ops->ect_ops argument
353 #define panic_ops(csdev) csdev->ops->panic_ops argument
599 static inline bool coresight_is_device_source(struct coresight_device *csdev) in coresight_is_device_source()
604 static inline bool coresight_is_percpu_source(struct coresight_device *csdev) in coresight_is_percpu_source()
610 static inline bool coresight_is_percpu_sink(struct coresight_device *csdev) in coresight_is_percpu_sink()
[all …]
/linux/drivers/comedi/
H A Dcomedi_fops.c370 static ssize_t max_read_buffer_kb_show(struct device *csdev, in max_read_buffer_kb_show()
392 static ssize_t max_read_buffer_kb_store(struct device *csdev, in max_read_buffer_kb_store()
426 static ssize_t read_buffer_kb_show(struct device *csdev, in read_buffer_kb_show()
448 static ssize_t read_buffer_kb_store(struct device *csdev, in read_buffer_kb_store()
482 static ssize_t max_write_buffer_kb_show(struct device *csdev, in max_write_buffer_kb_show()
505 static ssize_t max_write_buffer_kb_store(struct device *csdev, in max_write_buffer_kb_store()
539 static ssize_t write_buffer_kb_show(struct device *csdev, in write_buffer_kb_show()
561 static ssize_t write_buffer_kb_store(struct device *csdev, in write_buffer_kb_store()
3450 struct device *csdev; in comedi_alloc_board_minor() local
3508 struct device *csdev; in comedi_alloc_subdevice_minor() local

12