Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-core.c44 struct coresight_device *csdev; member
192 int coresight_claim_device(struct coresight_device *csdev) in coresight_claim_device()
247 void coresight_add_helper(struct coresight_device *csdev, in coresight_add_helper()
491 struct coresight_device *csdev, *parent, *child; in coresight_disable_path_from() local
568 struct coresight_device *csdev, *parent, *child; in coresight_enable_path() local
625 struct coresight_device *csdev; in coresight_get_sink() local
908 struct coresight_device *csdev; in coresight_release_path() local
1120 int coresight_enable(struct coresight_device *csdev) in coresight_enable()
1209 void coresight_disable(struct coresight_device *csdev) in coresight_disable()
1584 struct coresight_device *csdev; in coresight_register() local
[all …]
H A 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()
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()
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()
750 static int cscfg_list_add_csdev(struct coresight_device *csdev, in cscfg_list_add_csdev()
798 int cscfg_register_csdev(struct coresight_device *csdev, in cscfg_register_csdev()
837 void cscfg_unregister_csdev(struct coresight_device *csdev) in cscfg_unregister_csdev()
[all …]
H A Dcoresight-dummy.c17 struct coresight_device *csdev; member
23 static int dummy_source_enable(struct coresight_device *csdev, in dummy_source_enable()
31 static void dummy_source_disable(struct coresight_device *csdev, in dummy_source_disable()
37 static int dummy_sink_enable(struct coresight_device *csdev, enum cs_mode mode, in dummy_sink_enable()
45 static int dummy_sink_disable(struct coresight_device *csdev) in dummy_sink_disable()
H A Dcoresight-tmc-etf.c145 struct coresight_device *csdev = drvdata->csdev; in tmc_etf_disable_hw() local
173 static int tmc_enable_etf_sink_sysfs(struct coresight_device *csdev) in tmc_enable_etf_sink_sysfs()
247 static int tmc_enable_etf_sink_perf(struct coresight_device *csdev, void *data) in tmc_enable_etf_sink_perf()
304 static int tmc_enable_etf_sink(struct coresight_device *csdev, in tmc_enable_etf_sink()
329 static int tmc_disable_etf_sink(struct coresight_device *csdev) in tmc_disable_etf_sink()
359 static int tmc_enable_etf_link(struct coresight_device *csdev, in tmc_enable_etf_link()
390 static void tmc_disable_etf_link(struct coresight_device *csdev, in tmc_disable_etf_link()
415 static void *tmc_alloc_etf_buffer(struct coresight_device *csdev, in tmc_alloc_etf_buffer()
444 static int tmc_set_etf_buffer(struct coresight_device *csdev, in tmc_set_etf_buffer()
468 static unsigned long tmc_update_etf_buffer(struct coresight_device *csdev, in tmc_update_etf_buffer()
H A 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()
483 static int etm_enable_perf(struct coresight_device *csdev, in etm_enable_perf()
515 static int etm_enable_sysfs(struct coresight_device *csdev) in etm_enable_sysfs()
555 static int etm_enable(struct coresight_device *csdev, struct perf_event *event, in etm_enable()
591 struct coresight_device *csdev = drvdata->csdev; in etm_disable_hw() local
611 static void etm_disable_perf(struct coresight_device *csdev) in etm_disable_perf()
639 static void etm_disable_sysfs(struct coresight_device *csdev) in etm_disable_sysfs()
671 static void etm_disable(struct coresight_device *csdev, in etm_disable()
H A Dcoresight-replicator.c41 struct coresight_device *csdev; member
48 struct coresight_device *csdev = drvdata->csdev; in dynamic_replicator_reset() local
75 struct coresight_device *csdev = drvdata->csdev; in dynamic_replicator_enable() local
117 static int replicator_enable(struct coresight_device *csdev, in replicator_enable()
147 struct coresight_device *csdev = drvdata->csdev; in dynamic_replicator_disable() local
172 static void replicator_disable(struct coresight_device *csdev, in replicator_disable()
H A Dcoresight-sysfs.c20 struct coresight_device *csdev = to_coresight_device(dev); in nr_links_show() local
41 int coresight_create_conns_sysfs_group(struct coresight_device *csdev) in coresight_create_conns_sysfs_group()
56 void coresight_remove_conns_sysfs_group(struct coresight_device *csdev) in coresight_remove_conns_sysfs_group()
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, void *data) in cti_enable()
809 int cti_disable(struct coresight_device *csdev, void *data) in cti_disable()
H A Dultrasoc-smb.c215 static void smb_enable_sysfs(struct coresight_device *csdev) in smb_enable_sysfs()
226 static int smb_enable_perf(struct coresight_device *csdev, void *data) in smb_enable_perf()
252 static int smb_enable(struct coresight_device *csdev, enum cs_mode mode, in smb_enable()
295 static int smb_disable(struct coresight_device *csdev) in smb_disable()
328 static void *smb_alloc_buffer(struct coresight_device *csdev, in smb_alloc_buffer()
391 static unsigned long smb_update_buffer(struct coresight_device *csdev, in smb_update_buffer()
H A Dcoresight-funnel.c46 struct coresight_device *csdev; member
55 struct coresight_device *csdev = drvdata->csdev; in dynamic_funnel_enable_hw() local
77 static int funnel_enable(struct coresight_device *csdev, in funnel_enable()
107 struct coresight_device *csdev = drvdata->csdev; in dynamic_funnel_disable_hw() local
122 static void funnel_disable(struct coresight_device *csdev, in funnel_disable()
H A Dcoresight-etm-perf.h81 static inline int etm_perf_symlink(struct coresight_device *csdev, bool link) in etm_perf_symlink()
83 int etm_perf_add_symlink_sink(struct coresight_device *csdev) in etm_perf_add_symlink_sink()
85 void etm_perf_del_symlink_sink(struct coresight_device *csdev) {} in etm_perf_del_symlink_sink()
H A Dcoresight-etb10.c86 struct coresight_device *csdev; member
144 static int etb_enable_sysfs(struct coresight_device *csdev) in etb_enable_sysfs()
172 static int etb_enable_perf(struct coresight_device *csdev, void *data) in etb_enable_perf()
228 static int etb_enable(struct coresight_device *csdev, enum cs_mode mode, in etb_enable()
352 static int etb_disable(struct coresight_device *csdev) in etb_disable()
376 static void *etb_alloc_buffer(struct coresight_device *csdev, in etb_alloc_buffer()
404 static int etb_set_buffer(struct coresight_device *csdev, in etb_set_buffer()
428 static unsigned long etb_update_buffer(struct coresight_device *csdev, in etb_update_buffer()
H A Dcoresight-catu.c21 #define csdev_to_catu_drvdata(csdev) \ argument
332 struct coresight_device *csdev; in catu_alloc_etr_buf() local
405 struct coresight_device *csdev = drvdata->csdev; in catu_enable_hw() local
456 static int catu_enable(struct coresight_device *csdev, enum cs_mode mode, in catu_enable()
472 struct coresight_device *csdev = drvdata->csdev; in catu_disable_hw() local
485 static int catu_disable(struct coresight_device *csdev, void *__unused) in catu_disable()
H A Dcoresight-etm4x-core.c228 static int etm4_cpu_id(struct coresight_device *csdev) in etm4_cpu_id()
406 struct coresight_device *csdev = drvdata->csdev; in etm4_enable_hw() local
639 static int etm4_parse_event_config(struct coresight_device *csdev, in etm4_parse_event_config()
749 static int etm4_enable_perf(struct coresight_device *csdev, in etm4_enable_perf()
789 static int etm4_enable_sysfs(struct coresight_device *csdev) in etm4_enable_sysfs()
834 static int etm4_enable(struct coresight_device *csdev, struct perf_event *event, in etm4_enable()
870 struct coresight_device *csdev = drvdata->csdev; in etm4_disable_hw() local
929 static int etm4_disable_perf(struct coresight_device *csdev, in etm4_disable_perf()
966 static void etm4_disable_sysfs(struct coresight_device *csdev) in etm4_disable_sysfs()
998 static void etm4_disable(struct coresight_device *csdev, in etm4_disable()
[all …]
H A Dcoresight-etm-perf.c348 struct coresight_device *csdev; in etm_setup_aux() local
451 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); in etm_event_start() local
540 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); in etm_event_stop() local
728 int etm_perf_symlink(struct coresight_device *csdev, bool link) in etm_perf_symlink()
801 int etm_perf_add_symlink_sink(struct coresight_device *csdev) in etm_perf_add_symlink_sink()
833 void etm_perf_del_symlink_sink(struct coresight_device *csdev) in etm_perf_del_symlink_sink()
H A Dcoresight-tpiu.c60 struct coresight_device *csdev; member
72 static int tpiu_enable(struct coresight_device *csdev, enum cs_mode mode, in tpiu_enable()
97 static int tpiu_disable(struct coresight_device *csdev) in tpiu_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-tpda.c57 static int tpda_enable(struct coresight_device *csdev, in tpda_enable()
87 static void tpda_disable(struct coresight_device *csdev, in tpda_disable()
H A Dcoresight-tpdm.c45 static int tpdm_enable(struct coresight_device *csdev, struct perf_event *event, in tpdm_enable()
86 static void tpdm_disable(struct coresight_device *csdev, in tpdm_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.c1143 static struct etr_buf *tmc_etr_get_sysfs_buffer(struct coresight_device *csdev) in tmc_etr_get_sysfs_buffer()
1196 static int tmc_enable_etr_sink_sysfs(struct coresight_device *csdev) in tmc_enable_etr_sink_sysfs()
1233 struct etr_buf *tmc_etr_get_buffer(struct coresight_device *csdev, in tmc_etr_get_buffer()
1419 static void *tmc_alloc_etr_buffer(struct coresight_device *csdev, in tmc_alloc_etr_buffer()
1534 tmc_update_etr_buffer(struct coresight_device *csdev, in tmc_update_etr_buffer()
1624 static int tmc_enable_etr_sink_perf(struct coresight_device *csdev, void *data) in tmc_enable_etr_sink_perf()
1677 static int tmc_enable_etr_sink(struct coresight_device *csdev, in tmc_enable_etr_sink()
1690 static int tmc_disable_etr_sink(struct coresight_device *csdev) in tmc_disable_etr_sink()
H A Dcoresight-tpda.h30 struct coresight_device *csdev; member
/openbmc/linux/include/linux/
H A Dcoresight.h299 #define source_ops(csdev) csdev->ops->source_ops argument
300 #define sink_ops(csdev) csdev->ops->sink_ops argument
301 #define link_ops(csdev) csdev->ops->link_ops argument
302 #define helper_ops(csdev) csdev->ops->helper_ops argument
303 #define ect_ops(csdev) csdev->ops->ect_ops argument
565 static inline bool coresight_is_percpu_sink(struct coresight_device *csdev) in coresight_is_percpu_sink()
603 static inline void coresight_unregister(struct coresight_device *csdev) {} in coresight_unregister()
605 coresight_enable(struct coresight_device *csdev) { return -ENOSYS; } in coresight_enable()
606 static inline void coresight_disable(struct coresight_device *csdev) {} in coresight_disable()
619 static inline int coresight_claim_device(struct coresight_device *csdev) in coresight_claim_device()
[all …]
/openbmc/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
/openbmc/linux/drivers/comedi/
H A 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()
3243 struct device *csdev; in comedi_alloc_board_minor() local
3301 struct device *csdev; in comedi_alloc_subdevice_minor() local

12