Home
last modified time | relevance | path

Searched refs:csdev (Results 1 – 13 of 13) sorted by relevance

/drivers/hwtracing/coresight/
Dcoresight.c35 struct coresight_device *csdev, *i_csdev; in coresight_id_match() local
37 csdev = data; in coresight_id_match()
44 if (i_csdev == csdev || !i_csdev->enable || in coresight_id_match()
49 trace_id = source_ops(csdev)->trace_id(csdev); in coresight_id_match()
59 static int coresight_source_is_unique(struct coresight_device *csdev) in coresight_source_is_unique() argument
61 int trace_id = source_ops(csdev)->trace_id(csdev); in coresight_source_is_unique()
68 csdev, coresight_id_match); in coresight_source_is_unique()
71 static int coresight_find_link_inport(struct coresight_device *csdev) in coresight_find_link_inport() argument
77 parent = container_of(csdev->path_link.next, in coresight_find_link_inport()
82 if (conn->child_dev == csdev) in coresight_find_link_inport()
[all …]
Dcoresight-tpiu.c65 struct coresight_device *csdev; member
77 static int tpiu_enable(struct coresight_device *csdev) in tpiu_enable() argument
79 struct tpiu_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in tpiu_enable()
81 pm_runtime_get_sync(csdev->dev.parent); in tpiu_enable()
104 static void tpiu_disable(struct coresight_device *csdev) in tpiu_disable() argument
106 struct tpiu_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in tpiu_disable()
109 pm_runtime_put(csdev->dev.parent); in tpiu_disable()
175 drvdata->csdev = coresight_register(desc); in tpiu_probe()
176 if (IS_ERR(drvdata->csdev)) in tpiu_probe()
177 return PTR_ERR(drvdata->csdev); in tpiu_probe()
Dcoresight-replicator.c36 struct coresight_device *csdev; member
39 static int replicator_enable(struct coresight_device *csdev, int inport, in replicator_enable() argument
42 struct replicator_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in replicator_enable()
49 static void replicator_disable(struct coresight_device *csdev, int inport, in replicator_disable() argument
52 struct replicator_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in replicator_disable()
110 drvdata->csdev = coresight_register(desc); in replicator_probe()
111 if (IS_ERR(drvdata->csdev)) { in replicator_probe()
112 ret = PTR_ERR(drvdata->csdev); in replicator_probe()
Dcoresight-replicator-qcom.c43 struct coresight_device *csdev; member
46 static int replicator_enable(struct coresight_device *csdev, int inport, in replicator_enable() argument
49 struct replicator_state *drvdata = dev_get_drvdata(csdev->dev.parent); in replicator_enable()
74 static void replicator_disable(struct coresight_device *csdev, int inport, in replicator_disable() argument
77 struct replicator_state *drvdata = dev_get_drvdata(csdev->dev.parent); in replicator_disable()
151 drvdata->csdev = coresight_register(desc); in replicator_probe()
152 if (IS_ERR(drvdata->csdev)) in replicator_probe()
153 return PTR_ERR(drvdata->csdev); in replicator_probe()
Dcoresight-funnel.c47 struct coresight_device *csdev; member
67 static int funnel_enable(struct coresight_device *csdev, int inport, in funnel_enable() argument
70 struct funnel_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in funnel_enable()
92 static void funnel_disable(struct coresight_device *csdev, int inport, in funnel_disable() argument
95 struct funnel_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in funnel_disable()
221 drvdata->csdev = coresight_register(desc); in funnel_probe()
222 if (IS_ERR(drvdata->csdev)) in funnel_probe()
223 return PTR_ERR(drvdata->csdev); in funnel_probe()
Dcoresight-tmc.c120 struct coresight_device *csdev; member
271 static int tmc_enable_sink(struct coresight_device *csdev) in tmc_enable_sink() argument
273 struct tmc_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in tmc_enable_sink()
278 static int tmc_enable_link(struct coresight_device *csdev, int inport, in tmc_enable_link() argument
281 struct tmc_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in tmc_enable_link()
389 static void tmc_disable_sink(struct coresight_device *csdev) in tmc_disable_sink() argument
391 struct tmc_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in tmc_disable_sink()
396 static void tmc_disable_link(struct coresight_device *csdev, int inport, in tmc_disable_link() argument
399 struct tmc_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in tmc_disable_link()
748 drvdata->csdev = coresight_register(desc); in tmc_probe()
[all …]
Dcoresight-etb10.c84 struct coresight_device *csdev; member
135 static int etb_enable(struct coresight_device *csdev) in etb_enable() argument
137 struct etb_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in etb_enable()
239 static void etb_disable(struct coresight_device *csdev) in etb_disable() argument
241 struct etb_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in etb_disable()
473 drvdata->csdev = coresight_register(desc); in etb_probe()
474 if (IS_ERR(drvdata->csdev)) in etb_probe()
475 return PTR_ERR(drvdata->csdev); in etb_probe()
488 coresight_unregister(drvdata->csdev); in etb_probe()
Dcoresight-etm3x.c318 static int etm_trace_id(struct coresight_device *csdev) in etm_trace_id() argument
320 struct etm_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in etm_trace_id()
326 pm_runtime_get_sync(csdev->dev.parent); in etm_trace_id()
335 pm_runtime_put(csdev->dev.parent); in etm_trace_id()
340 static int etm_enable(struct coresight_device *csdev) in etm_enable() argument
342 struct etm_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in etm_enable()
345 pm_runtime_get_sync(csdev->dev.parent); in etm_enable()
369 pm_runtime_put(csdev->dev.parent); in etm_enable()
396 static void etm_disable(struct coresight_device *csdev) in etm_disable() argument
398 struct etm_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in etm_disable()
[all …]
Dcoresight-etm4x.c67 static int etm4_trace_id(struct coresight_device *csdev) in etm4_trace_id() argument
69 struct etmv4_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in etm4_trace_id()
186 static int etm4_enable(struct coresight_device *csdev) in etm4_enable() argument
188 struct etmv4_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in etm4_enable()
237 static void etm4_disable(struct coresight_device *csdev) in etm4_disable() argument
239 struct etmv4_drvdata *drvdata = dev_get_drvdata(csdev->dev.parent); in etm4_disable()
2578 coresight_enable(etmdrvdata[cpu]->csdev); in etm4_cpu_callback()
2665 drvdata->csdev = coresight_register(desc); in etm4_probe()
2666 if (IS_ERR(drvdata->csdev)) { in etm4_probe()
2667 ret = PTR_ERR(drvdata->csdev); in etm4_probe()
[all …]
Dcoresight-etm.h198 struct coresight_device *csdev; member
Dcoresight-etm4x.h287 struct coresight_device *csdev; member
/drivers/scsi/device_handler/
Dscsi_dh_emc.c161 struct clariion_dh_data *csdev) in parse_sp_info_reply() argument
166 if (csdev->buffer[48] != 0) { in parse_sp_info_reply()
173 if (csdev->buffer[4] > 2) { in parse_sp_info_reply()
181 switch (csdev->buffer[28] & 0x0f) { in parse_sp_info_reply()
193 CLARIION_NAME, csdev->buffer[28] & 0x0f); in parse_sp_info_reply()
198 csdev->default_sp = csdev->buffer[5]; in parse_sp_info_reply()
199 csdev->lun_state = csdev->buffer[4]; in parse_sp_info_reply()
200 csdev->current_sp = csdev->buffer[8]; in parse_sp_info_reply()
201 csdev->port = csdev->buffer[7]; in parse_sp_info_reply()
314 struct clariion_dh_data *csdev) in send_inquiry_cmd() argument
[all …]
/drivers/staging/comedi/
Dcomedi_fops.c384 static ssize_t max_read_buffer_kb_show(struct device *csdev, in max_read_buffer_kb_show() argument
387 unsigned int minor = MINOR(csdev->devt); in max_read_buffer_kb_show()
406 static ssize_t max_read_buffer_kb_store(struct device *csdev, in max_read_buffer_kb_store() argument
410 unsigned int minor = MINOR(csdev->devt); in max_read_buffer_kb_store()
440 static ssize_t read_buffer_kb_show(struct device *csdev, in read_buffer_kb_show() argument
443 unsigned int minor = MINOR(csdev->devt); in read_buffer_kb_show()
462 static ssize_t read_buffer_kb_store(struct device *csdev, in read_buffer_kb_store() argument
466 unsigned int minor = MINOR(csdev->devt); in read_buffer_kb_store()
496 static ssize_t max_write_buffer_kb_show(struct device *csdev, in max_write_buffer_kb_show() argument
500 unsigned int minor = MINOR(csdev->devt); in max_write_buffer_kb_show()
[all …]