Home
last modified time | relevance | path

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

123

/kernel/linux/linux-6.6/drivers/hwtracing/coresight/
Dcoresight-core.c44 struct coresight_device *csdev; member
67 struct coresight_device *csdev = container_of(_dev, struct coresight_device, dev); in coresight_simple_show_pair() local
81 struct coresight_device *csdev = container_of(_dev, struct coresight_device, dev); in coresight_simple_show32() local
104 void coresight_set_percpu_sink(int cpu, struct coresight_device *csdev) in coresight_set_percpu_sink()
136 static inline u32 coresight_read_claim_tags(struct coresight_device *csdev) in coresight_read_claim_tags()
142 static inline bool coresight_is_claimed_self_hosted(struct coresight_device *csdev) in coresight_is_claimed_self_hosted()
147 static inline bool coresight_is_claimed_any(struct coresight_device *csdev) in coresight_is_claimed_any()
152 static inline void coresight_set_claim_tags(struct coresight_device *csdev) in coresight_set_claim_tags()
159 static inline void coresight_clear_claim_tags(struct coresight_device *csdev) in coresight_clear_claim_tags()
176 int coresight_claim_device_unlocked(struct coresight_device *csdev) in coresight_claim_device_unlocked()
[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-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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
Dcoresight-core.c33 struct coresight_device *csdev; member
76 struct coresight_device *csdev, *i_csdev; in coresight_id_match() local
100 static int coresight_source_is_unique(struct coresight_device *csdev) in coresight_source_is_unique()
112 static int coresight_find_link_inport(struct coresight_device *csdev, in coresight_find_link_inport()
130 static int coresight_find_link_outport(struct coresight_device *csdev, in coresight_find_link_outport()
240 coresight_control_assoc_ectdev(struct coresight_device *csdev, bool enable) in coresight_control_assoc_ectdev()
284 void coresight_set_assoc_ectdev_mutex(struct coresight_device *csdev, in coresight_set_assoc_ectdev_mutex()
293 static int coresight_enable_sink(struct coresight_device *csdev, in coresight_enable_sink()
318 static void coresight_disable_sink(struct coresight_device *csdev) in coresight_disable_sink()
332 static int coresight_enable_link(struct coresight_device *csdev, in coresight_enable_link()
[all …]
Dcoresight-tmc-etf.c149 static int tmc_enable_etf_sink_sysfs(struct coresight_device *csdev) in tmc_enable_etf_sink_sysfs()
223 static int tmc_enable_etf_sink_perf(struct coresight_device *csdev, void *data) in tmc_enable_etf_sink_perf()
280 static int tmc_enable_etf_sink(struct coresight_device *csdev, in tmc_enable_etf_sink()
305 static int tmc_disable_etf_sink(struct coresight_device *csdev) in tmc_disable_etf_sink()
335 static int tmc_enable_etf_link(struct coresight_device *csdev, in tmc_enable_etf_link()
365 static void tmc_disable_etf_link(struct coresight_device *csdev, in tmc_disable_etf_link()
389 static void *tmc_alloc_etf_buffer(struct coresight_device *csdev, in tmc_alloc_etf_buffer()
418 static int tmc_set_etf_buffer(struct coresight_device *csdev, in tmc_set_etf_buffer()
442 static unsigned long tmc_update_etf_buffer(struct coresight_device *csdev, in tmc_update_etf_buffer()
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()
Dcoresight-etm3x-core.c445 static int etm_cpu_id(struct coresight_device *csdev) in etm_cpu_id()
481 static int etm_trace_id(struct coresight_device *csdev) in etm_trace_id()
488 static int etm_enable_perf(struct coresight_device *csdev, in etm_enable_perf()
502 static int etm_enable_sysfs(struct coresight_device *csdev) in etm_enable_sysfs()
533 static int etm_enable(struct coresight_device *csdev, in etm_enable()
588 static void etm_disable_perf(struct coresight_device *csdev) in etm_disable_perf()
610 static void etm_disable_sysfs(struct coresight_device *csdev) in etm_disable_sysfs()
635 static void etm_disable(struct coresight_device *csdev, in etm_disable()
Dcoresight-etm-perf.h73 static inline int etm_perf_symlink(struct coresight_device *csdev, bool link) in etm_perf_symlink()
75 int etm_perf_add_symlink_sink(struct coresight_device *csdev) in etm_perf_add_symlink_sink()
77 void etm_perf_del_symlink_sink(struct coresight_device *csdev) {} in etm_perf_del_symlink_sink()
Dcoresight-etm-perf.c238 struct coresight_device *csdev; in etm_setup_aux() local
308 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); in etm_event_start() local
366 struct coresight_device *sink, *csdev = per_cpu(csdev_src, cpu); in etm_event_stop() local
504 int etm_perf_symlink(struct coresight_device *csdev, bool link) in etm_perf_symlink()
540 int etm_perf_add_symlink_sink(struct coresight_device *csdev) in etm_perf_add_symlink_sink()
585 void etm_perf_del_symlink_sink(struct coresight_device *csdev) in etm_perf_del_symlink_sink()
Dcoresight-cti-core.c42 #define csdev_to_cti_drvdata(csdev) \ argument
243 struct coresight_device *csdev, in cti_add_connection_entry()
511 struct coresight_device *csdev) in cti_match_fixup_csdev()
540 static void cti_add_assoc_to_csdev(struct coresight_device *csdev) in cti_add_assoc_to_csdev()
578 static void cti_remove_assoc_from_csdev(struct coresight_device *csdev) in cti_remove_assoc_from_csdev()
787 int cti_enable(struct coresight_device *csdev) in cti_enable()
794 int cti_disable(struct coresight_device *csdev) in cti_disable()
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, u32 mode, void *data) in etb_enable()
350 static int etb_disable(struct coresight_device *csdev) in etb_disable()
374 static void *etb_alloc_buffer(struct coresight_device *csdev, in etb_alloc_buffer()
402 static int etb_set_buffer(struct coresight_device *csdev, in etb_set_buffer()
426 static unsigned long etb_update_buffer(struct coresight_device *csdev, in etb_update_buffer()
Dcoresight-etm4x-core.c87 static int etm4_cpu_id(struct coresight_device *csdev) in etm4_cpu_id()
94 static int etm4_trace_id(struct coresight_device *csdev) in etm4_trace_id()
395 static int etm4_enable_perf(struct coresight_device *csdev, in etm4_enable_perf()
417 static int etm4_enable_sysfs(struct coresight_device *csdev) in etm4_enable_sysfs()
443 static int etm4_enable(struct coresight_device *csdev, in etm4_enable()
531 static int etm4_disable_perf(struct coresight_device *csdev, in etm4_disable_perf()
556 static void etm4_disable_sysfs(struct coresight_device *csdev) in etm4_disable_sysfs()
581 static void etm4_disable(struct coresight_device *csdev, in etm4_disable()
/kernel/linux/linux-6.6/include/linux/
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
559 static inline bool coresight_is_percpu_source(struct coresight_device *csdev) in coresight_is_percpu_source()
565 static inline bool coresight_is_percpu_sink(struct coresight_device *csdev) in coresight_is_percpu_sink()
607 static inline void coresight_unregister(struct coresight_device *csdev) {} in coresight_unregister()
609 coresight_enable(struct coresight_device *csdev) { return -ENOSYS; } in coresight_enable()
610 static inline void coresight_disable(struct coresight_device *csdev) {} in coresight_disable()
[all …]
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/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()
345 struct clariion_dh_data *csdev) in clariion_std_inquiry()
370 struct clariion_dh_data *csdev) in clariion_send_inquiry()
384 struct clariion_dh_data *csdev = sdev->handler_data; in clariion_activate() local
425 struct clariion_dh_data *csdev = sdev->handler_data; in clariion_set_params() local
/kernel/linux/linux-5.10/include/linux/
Dcoresight.h238 #define source_ops(csdev) csdev->ops->source_ops argument
239 #define sink_ops(csdev) csdev->ops->sink_ops argument
240 #define link_ops(csdev) csdev->ops->link_ops argument
241 #define helper_ops(csdev) csdev->ops->helper_ops argument
242 #define ect_ops(csdev) csdev->ops->ect_ops argument
349 static inline void coresight_unregister(struct coresight_device *csdev) {} in coresight_unregister()
351 coresight_enable(struct coresight_device *csdev) { return -ENOSYS; } in coresight_enable()
352 static inline void coresight_disable(struct coresight_device *csdev) {} in coresight_disable()

123