Home
last modified time | relevance | path

Searched refs:sdev (Results 1 – 25 of 329) sorted by relevance

12345678910>>...14

/kernel/linux/linux-5.10/sound/soc/sof/
Dops.h21 #define sof_ops(sdev) \ argument
22 ((sdev)->pdata->desc->ops)
27 static inline int snd_sof_probe(struct snd_sof_dev *sdev) in snd_sof_probe() argument
29 return sof_ops(sdev)->probe(sdev); in snd_sof_probe()
32 static inline int snd_sof_remove(struct snd_sof_dev *sdev) in snd_sof_remove() argument
34 if (sof_ops(sdev)->remove) in snd_sof_remove()
35 return sof_ops(sdev)->remove(sdev); in snd_sof_remove()
46 static inline int snd_sof_dsp_run(struct snd_sof_dev *sdev) in snd_sof_dsp_run() argument
48 return sof_ops(sdev)->run(sdev); in snd_sof_dsp_run()
51 static inline int snd_sof_dsp_stall(struct snd_sof_dev *sdev) in snd_sof_dsp_stall() argument
[all …]
Dcore.c60 void snd_sof_get_status(struct snd_sof_dev *sdev, u32 panic_code, in snd_sof_get_status() argument
70 dev_err(sdev->dev, "error: unexpected fault 0x%8.8x trace 0x%8.8x\n", in snd_sof_get_status()
79 dev_err(sdev->dev, "error: %s\n", panic_msg[i].msg); in snd_sof_get_status()
80 dev_err(sdev->dev, "error: trace point %8.8x\n", in snd_sof_get_status()
87 dev_err(sdev->dev, "error: unknown reason %8.8x\n", panic_code); in snd_sof_get_status()
88 dev_err(sdev->dev, "error: trace point %8.8x\n", tracep_code); in snd_sof_get_status()
91 dev_err(sdev->dev, "error: panic at %s:%d\n", in snd_sof_get_status()
93 sof_oops(sdev, oops); in snd_sof_get_status()
94 sof_stack(sdev, oops, stack, stack_words); in snd_sof_get_status()
138 static int sof_probe_continue(struct snd_sof_dev *sdev) in sof_probe_continue() argument
[all …]
Dtrace.c16 static size_t sof_trace_avail(struct snd_sof_dev *sdev, in sof_trace_avail() argument
19 loff_t host_offset = READ_ONCE(sdev->host_offset); in sof_trace_avail()
36 static size_t sof_wait_trace_avail(struct snd_sof_dev *sdev, in sof_wait_trace_avail() argument
40 size_t ret = sof_trace_avail(sdev, pos, buffer_size); in sof_wait_trace_avail()
46 if (!sdev->dtrace_is_enabled && sdev->dtrace_draining) { in sof_wait_trace_avail()
51 sdev->dtrace_draining = false; in sof_wait_trace_avail()
58 add_wait_queue(&sdev->trace_sleep, &wait); in sof_wait_trace_avail()
64 remove_wait_queue(&sdev->trace_sleep, &wait); in sof_wait_trace_avail()
66 return sof_trace_avail(sdev, pos, buffer_size); in sof_wait_trace_avail()
73 struct snd_sof_dev *sdev = dfse->sdev; in sof_dfsentry_trace_read() local
[all …]
Dloader.c18 static int get_ext_windows(struct snd_sof_dev *sdev, in get_ext_windows() argument
27 if (sdev->info_window) { in get_ext_windows()
28 if (memcmp(sdev->info_window, w, ext_hdr->hdr.size)) { in get_ext_windows()
29 …dev_err(sdev->dev, "error: mismatch between window descriptor from extended manifest and mailbox"); in get_ext_windows()
36 sdev->info_window = devm_kmemdup(sdev->dev, w, ext_hdr->hdr.size, in get_ext_windows()
38 if (!sdev->info_window) in get_ext_windows()
44 static int get_cc_info(struct snd_sof_dev *sdev, in get_cc_info() argument
52 if (sdev->cc_version) { in get_cc_info()
53 if (memcmp(sdev->cc_version, cc, cc->ext_hdr.hdr.size)) { in get_cc_info()
54 dev_err(sdev->dev, "error: receive diverged cc_version descriptions"); in get_cc_info()
[all …]
Dpm.c21 static u32 snd_sof_dsp_power_target(struct snd_sof_dev *sdev) in snd_sof_dsp_power_target() argument
25 switch (sdev->system_suspend_target) { in snd_sof_dsp_power_target()
37 if (snd_sof_stream_suspend_ignored(sdev)) in snd_sof_dsp_power_target()
51 static int sof_send_pm_ctx_ipc(struct snd_sof_dev *sdev, int cmd) in sof_send_pm_ctx_ipc() argument
63 return sof_ipc_tx_message(sdev->ipc, pm_ctx.hdr.cmd, &pm_ctx, in sof_send_pm_ctx_ipc()
68 static void sof_cache_debugfs(struct snd_sof_dev *sdev) in sof_cache_debugfs() argument
72 list_for_each_entry(dfse, &sdev->dfsentry_list, list) { in sof_cache_debugfs()
88 struct snd_sof_dev *sdev = dev_get_drvdata(dev); in sof_resume() local
89 u32 old_state = sdev->dsp_power_state.state; in sof_resume()
93 if (!runtime_resume && !sof_ops(sdev)->resume) in sof_resume()
[all …]
/kernel/linux/linux-5.10/sound/soc/sof/intel/
Dhda-dsp.c37 int hda_dsp_core_reset_enter(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_reset_enter() argument
45 snd_sof_dsp_update_bits_unlocked(sdev, HDA_DSP_BAR, in hda_dsp_core_reset_enter()
50 ret = snd_sof_dsp_read_poll_timeout(sdev, HDA_DSP_BAR, in hda_dsp_core_reset_enter()
56 dev_err(sdev->dev, in hda_dsp_core_reset_enter()
63 adspcs = snd_sof_dsp_read(sdev, HDA_DSP_BAR, in hda_dsp_core_reset_enter()
67 dev_err(sdev->dev, in hda_dsp_core_reset_enter()
76 int hda_dsp_core_reset_leave(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_reset_leave() argument
83 snd_sof_dsp_update_bits_unlocked(sdev, HDA_DSP_BAR, in hda_dsp_core_reset_leave()
90 ret = snd_sof_dsp_read_poll_timeout(sdev, HDA_DSP_BAR, in hda_dsp_core_reset_leave()
97 dev_err(sdev->dev, in hda_dsp_core_reset_leave()
[all …]
Dbdw.c72 static void bdw_host_done(struct snd_sof_dev *sdev);
73 static void bdw_dsp_done(struct snd_sof_dev *sdev);
74 static void bdw_get_reply(struct snd_sof_dev *sdev);
80 static int bdw_run(struct snd_sof_dev *sdev) in bdw_run() argument
83 snd_sof_dsp_update_bits(sdev, BDW_DSP_BAR, SHIM_HMDC, in bdw_run()
88 snd_sof_dsp_update_bits_unlocked(sdev, BDW_DSP_BAR, SHIM_CSR, in bdw_run()
95 static int bdw_reset(struct snd_sof_dev *sdev) in bdw_reset() argument
98 snd_sof_dsp_update_bits_unlocked(sdev, BDW_DSP_BAR, SHIM_CSR, in bdw_reset()
106 snd_sof_dsp_update_bits_unlocked(sdev, BDW_DSP_BAR, SHIM_CSR, in bdw_reset()
113 static int bdw_set_dsp_D0(struct snd_sof_dev *sdev) in bdw_set_dsp_D0() argument
[all …]
Dhda-loader.c28 static struct hdac_ext_stream *cl_stream_prepare(struct snd_sof_dev *sdev, unsigned int format, in cl_stream_prepare() argument
34 struct pci_dev *pci = to_pci_dev(sdev->dev); in cl_stream_prepare()
37 dsp_stream = hda_dsp_stream_get(sdev, direction); in cl_stream_prepare()
40 dev_err(sdev->dev, "error: no stream available\n"); in cl_stream_prepare()
49 dev_err(sdev->dev, "error: memory alloc failed: %x\n", ret); in cl_stream_prepare()
58 ret = hda_dsp_iccmax_stream_hw_params(sdev, dsp_stream, dmab, NULL); in cl_stream_prepare()
60 dev_err(sdev->dev, "error: iccmax stream prepare failed: %x\n", ret); in cl_stream_prepare()
64 ret = hda_dsp_stream_hw_params(sdev, dsp_stream, dmab, NULL); in cl_stream_prepare()
66 dev_err(sdev->dev, "error: hdac prepare failed: %x\n", ret); in cl_stream_prepare()
69 hda_dsp_stream_spib_config(sdev, dsp_stream, HDA_DSP_SPIB_ENABLE, size); in cl_stream_prepare()
[all …]
Dhda.c68 struct snd_sof_dev *sdev = dev_get_drvdata(dev); in sdw_params_stream() local
85 ret = sof_ipc_tx_message(sdev->ipc, in sdw_params_stream()
89 dev_err(sdev->dev, in sdw_params_stream()
100 struct snd_sof_dev *sdev = dev_get_drvdata(dev); in sdw_free_stream() local
116 ret = sof_ipc_tx_message(sdev->ipc, in sdw_free_stream()
120 dev_err(sdev->dev, in sdw_free_stream()
133 void hda_sdw_int_enable(struct snd_sof_dev *sdev, bool enable) in hda_sdw_int_enable() argument
135 sdw_intel_enable_irq(sdev->bar[HDA_DSP_BAR], enable); in hda_sdw_int_enable()
138 static int hda_sdw_acpi_scan(struct snd_sof_dev *sdev) in hda_sdw_acpi_scan() argument
144 handle = ACPI_HANDLE(sdev->dev); in hda_sdw_acpi_scan()
[all …]
Dbyt.c85 static void byt_host_done(struct snd_sof_dev *sdev);
86 static void byt_dsp_done(struct snd_sof_dev *sdev);
87 static void byt_get_reply(struct snd_sof_dev *sdev);
93 static void byt_get_registers(struct snd_sof_dev *sdev, in byt_get_registers() argument
98 u32 offset = sdev->dsp_oops_offset; in byt_get_registers()
101 sof_mailbox_read(sdev, offset, xoops, sizeof(*xoops)); in byt_get_registers()
107 dev_err(sdev->dev, "invalid header size 0x%x. FW oops is bogus\n", in byt_get_registers()
112 sof_mailbox_read(sdev, offset, panic_info, sizeof(*panic_info)); in byt_get_registers()
116 sof_mailbox_read(sdev, offset, stack, stack_words * sizeof(u32)); in byt_get_registers()
119 static void byt_dump(struct snd_sof_dev *sdev, u32 flags) in byt_dump() argument
[all …]
Dhda-ipc.c21 static void hda_dsp_ipc_host_done(struct snd_sof_dev *sdev) in hda_dsp_ipc_host_done() argument
27 snd_sof_dsp_update_bits_forced(sdev, HDA_DSP_BAR, in hda_dsp_ipc_host_done()
33 snd_sof_dsp_update_bits(sdev, HDA_DSP_BAR, in hda_dsp_ipc_host_done()
39 static void hda_dsp_ipc_dsp_done(struct snd_sof_dev *sdev) in hda_dsp_ipc_dsp_done() argument
45 snd_sof_dsp_update_bits_forced(sdev, HDA_DSP_BAR, in hda_dsp_ipc_dsp_done()
51 snd_sof_dsp_update_bits(sdev, HDA_DSP_BAR, in hda_dsp_ipc_dsp_done()
57 int hda_dsp_ipc_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in hda_dsp_ipc_send_msg() argument
60 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in hda_dsp_ipc_send_msg()
62 snd_sof_dsp_write(sdev, HDA_DSP_BAR, HDA_DSP_REG_HIPCI, in hda_dsp_ipc_send_msg()
68 void hda_dsp_ipc_get_reply(struct snd_sof_dev *sdev) in hda_dsp_ipc_get_reply() argument
[all …]
Dhda.h467 struct snd_sof_dev *sdev; member
486 int hda_dsp_probe(struct snd_sof_dev *sdev);
487 int hda_dsp_remove(struct snd_sof_dev *sdev);
488 int hda_dsp_core_reset_enter(struct snd_sof_dev *sdev,
490 int hda_dsp_core_reset_leave(struct snd_sof_dev *sdev,
492 int hda_dsp_core_stall_reset(struct snd_sof_dev *sdev, unsigned int core_mask);
493 int hda_dsp_core_run(struct snd_sof_dev *sdev, unsigned int core_mask);
494 int hda_dsp_core_power_up(struct snd_sof_dev *sdev, unsigned int core_mask);
495 int hda_dsp_enable_core(struct snd_sof_dev *sdev, unsigned int core_mask);
496 int hda_dsp_core_power_down(struct snd_sof_dev *sdev, unsigned int core_mask);
[all …]
Dhda-stream.c31 static int hda_setup_bdle(struct snd_sof_dev *sdev, in hda_setup_bdle() argument
37 struct hdac_bus *bus = sof_to_bus(sdev); in hda_setup_bdle()
45 dev_err(sdev->dev, "error: stream frags exceeded\n"); in hda_setup_bdle()
70 dev_vdbg(sdev->dev, "bdl, frags:%d, chunk size:0x%x;\n", in hda_setup_bdle()
82 int hda_dsp_stream_setup_bdl(struct snd_sof_dev *sdev, in hda_dsp_stream_setup_bdl() argument
86 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in hda_dsp_stream_setup_bdl()
92 dev_dbg(sdev->dev, "period_bytes:0x%x\n", period_bytes); in hda_dsp_stream_setup_bdl()
98 dev_dbg(sdev->dev, "periods:%d\n", periods); in hda_dsp_stream_setup_bdl()
119 offset = hda_setup_bdle(sdev, dmab, in hda_dsp_stream_setup_bdl()
123 offset = hda_setup_bdle(sdev, dmab, in hda_dsp_stream_setup_bdl()
[all …]
Dhda-ctrl.c35 int hda_dsp_ctrl_link_reset(struct snd_sof_dev *sdev, bool reset) in hda_dsp_ctrl_link_reset() argument
45 snd_sof_dsp_update_bits(sdev, HDA_DSP_HDA_BAR, SOF_HDA_GCTL, in hda_dsp_ctrl_link_reset()
51 gctl = snd_sof_dsp_read(sdev, HDA_DSP_HDA_BAR, SOF_HDA_GCTL); in hda_dsp_ctrl_link_reset()
58 dev_err(sdev->dev, "error: failed to %s HDA controller gctl 0x%x\n", in hda_dsp_ctrl_link_reset()
63 int hda_dsp_ctrl_get_caps(struct snd_sof_dev *sdev) in hda_dsp_ctrl_get_caps() argument
65 struct hdac_bus *bus = sof_to_bus(sdev); in hda_dsp_ctrl_get_caps()
74 ret = hda_dsp_ctrl_link_reset(sdev, true); in hda_dsp_ctrl_get_caps()
77 ret = hda_dsp_ctrl_link_reset(sdev, false); in hda_dsp_ctrl_get_caps()
81 offset = snd_sof_dsp_read(sdev, HDA_DSP_HDA_BAR, SOF_HDA_LLCH); in hda_dsp_ctrl_get_caps()
84 dev_dbg(sdev->dev, "checking for capabilities at offset 0x%x\n", in hda_dsp_ctrl_get_caps()
[all …]
/kernel/linux/linux-5.10/drivers/media/radio/si4713/
Dsi4713.c174 struct si4713_device *sdev = dev; in si4713_handler() local
176 v4l2_dbg(2, debug, &sdev->sd, in si4713_handler()
178 complete(&sdev->work); in si4713_handler()
193 static int si4713_send_command(struct si4713_device *sdev, const u8 command, in si4713_send_command() argument
197 struct i2c_client *client = v4l2_get_subdevdata(&sdev->sd); in si4713_send_command()
208 DBG_BUFFER(&sdev->sd, "Parameters", data1, argn + 1); in si4713_send_command()
212 v4l2_err(&sdev->sd, "Error while sending command 0x%02x\n", in si4713_send_command()
221 if (!wait_for_completion_timeout(&sdev->work, in si4713_send_command()
223 v4l2_warn(&sdev->sd, in si4713_send_command()
231 v4l2_err(&sdev->sd, in si4713_send_command()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_scan.c185 static void scsi_unlock_floptical(struct scsi_device *sdev, in scsi_unlock_floptical() argument
190 sdev_printk(KERN_NOTICE, sdev, "unlocking floptical drive\n"); in scsi_unlock_floptical()
197 scsi_execute_req(sdev, scsi_cmd, DMA_FROM_DEVICE, result, 0x2a, NULL, in scsi_unlock_floptical()
218 struct scsi_device *sdev; in scsi_alloc_sdev() local
222 sdev = kzalloc(sizeof(*sdev) + shost->transportt->device_size, in scsi_alloc_sdev()
224 if (!sdev) in scsi_alloc_sdev()
227 sdev->vendor = scsi_null_device_strs; in scsi_alloc_sdev()
228 sdev->model = scsi_null_device_strs; in scsi_alloc_sdev()
229 sdev->rev = scsi_null_device_strs; in scsi_alloc_sdev()
230 sdev->host = shost; in scsi_alloc_sdev()
[all …]
Dscsi.c169 struct scsi_device *sdev = cmd->device; in scsi_finish_command() local
170 struct scsi_target *starget = scsi_target(sdev); in scsi_finish_command()
171 struct Scsi_Host *shost = sdev->host; in scsi_finish_command()
175 scsi_device_unbusy(sdev, cmd); in scsi_finish_command()
185 if (atomic_read(&sdev->device_blocked)) in scsi_finish_command()
186 atomic_set(&sdev->device_blocked, 0); in scsi_finish_command()
195 SCSI_LOG_MLCOMPLETE(4, sdev_printk(KERN_INFO, sdev, in scsi_finish_command()
224 int scsi_change_queue_depth(struct scsi_device *sdev, int depth) in scsi_change_queue_depth() argument
227 sdev->queue_depth = depth; in scsi_change_queue_depth()
231 if (sdev->request_queue) in scsi_change_queue_depth()
[all …]
Dscsi_dh.c71 scsi_dh_find_driver(struct scsi_device *sdev) in scsi_dh_find_driver() argument
75 if (scsi_device_tpgs(sdev)) in scsi_dh_find_driver()
79 if (!strncmp(sdev->vendor, b->vendor, strlen(b->vendor)) && in scsi_dh_find_driver()
80 !strncmp(sdev->model, b->model, strlen(b->model))) { in scsi_dh_find_driver()
124 static int scsi_dh_handler_attach(struct scsi_device *sdev, in scsi_dh_handler_attach() argument
132 error = scsi_dh->attach(sdev); in scsi_dh_handler_attach()
150 sdev_printk(KERN_ERR, sdev, "%s: Attach failed (%d)\n", in scsi_dh_handler_attach()
154 sdev->handler = scsi_dh; in scsi_dh_handler_attach()
163 static void scsi_dh_handler_detach(struct scsi_device *sdev) in scsi_dh_handler_detach() argument
165 sdev->handler->detach(sdev); in scsi_dh_handler_detach()
[all …]
Dscsi_ioctl.c89 static int ioctl_internal_command(struct scsi_device *sdev, char *cmd, in ioctl_internal_command() argument
95 SCSI_LOG_IOCTL(1, sdev_printk(KERN_INFO, sdev, in ioctl_internal_command()
98 result = scsi_execute_req(sdev, cmd, DMA_NONE, NULL, 0, in ioctl_internal_command()
101 SCSI_LOG_IOCTL(2, sdev_printk(KERN_INFO, sdev, in ioctl_internal_command()
109 sdev->lockable = 0; in ioctl_internal_command()
111 sdev_printk(KERN_INFO, sdev, in ioctl_internal_command()
118 if (sdev->removable) in ioctl_internal_command()
122 if (sdev->removable) { in ioctl_internal_command()
123 sdev->changed = 1; in ioctl_internal_command()
129 sdev_printk(KERN_INFO, sdev, in ioctl_internal_command()
[all …]
Dscsi_sysfs.c439 struct scsi_device *sdev; in scsi_device_cls_release() local
441 sdev = class_to_sdev(class_dev); in scsi_device_cls_release()
442 put_device(&sdev->sdev_gendev); in scsi_device_cls_release()
447 struct scsi_device *sdev; in scsi_device_dev_release_usercontext() local
455 sdev = container_of(work, struct scsi_device, ew.work); in scsi_device_dev_release_usercontext()
457 mod = sdev->host->hostt->module; in scsi_device_dev_release_usercontext()
459 scsi_dh_release_device(sdev); in scsi_device_dev_release_usercontext()
461 parent = sdev->sdev_gendev.parent; in scsi_device_dev_release_usercontext()
463 spin_lock_irqsave(sdev->host->host_lock, flags); in scsi_device_dev_release_usercontext()
464 list_del(&sdev->siblings); in scsi_device_dev_release_usercontext()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/alacritech/
Dslicoss.c78 static unsigned int slic_next_compl_idx(struct slic_device *sdev) in slic_next_compl_idx() argument
80 struct slic_stat_queue *stq = &sdev->stq; in slic_next_compl_idx()
102 slic_write(sdev, SLIC_REG_RBAR, lower_32_bits(paddr) | in slic_next_compl_idx()
105 slic_flush_write(sdev); in slic_next_compl_idx()
139 static void slic_start_upr(struct slic_device *sdev, struct slic_upr *upr) in slic_start_upr() argument
145 slic_write(sdev, reg, lower_32_bits(upr->paddr)); in slic_start_upr()
146 slic_flush_write(sdev); in slic_start_upr()
149 static void slic_queue_upr(struct slic_device *sdev, struct slic_upr *upr) in slic_queue_upr() argument
151 struct slic_upr_list *upr_list = &sdev->upr_list; in slic_queue_upr()
162 slic_start_upr(sdev, upr); in slic_queue_upr()
[all …]
/kernel/linux/linux-5.10/arch/arm/common/
Dscoop.c42 struct scoop_dev *sdev = dev_get_drvdata(dev); in reset_scoop() local
44 iowrite16(0x0100, sdev->base + SCOOP_MCR); /* 00 */ in reset_scoop()
45 iowrite16(0x0000, sdev->base + SCOOP_CDR); /* 04 */ in reset_scoop()
46 iowrite16(0x0000, sdev->base + SCOOP_CCR); /* 10 */ in reset_scoop()
47 iowrite16(0x0000, sdev->base + SCOOP_IMR); /* 18 */ in reset_scoop()
48 iowrite16(0x00FF, sdev->base + SCOOP_IRM); /* 14 */ in reset_scoop()
49 iowrite16(0x0000, sdev->base + SCOOP_ISR); /* 1C */ in reset_scoop()
50 iowrite16(0x0000, sdev->base + SCOOP_IRM); in reset_scoop()
53 static void __scoop_gpio_set(struct scoop_dev *sdev, in __scoop_gpio_set() argument
58 gpwr = ioread16(sdev->base + SCOOP_GPWR); in __scoop_gpio_set()
[all …]
/kernel/linux/linux-5.10/drivers/usb/usbip/
Dstub_dev.c21 struct stub_device *sdev = dev_get_drvdata(dev); in usbip_status_show() local
24 if (!sdev) { in usbip_status_show()
29 spin_lock_irq(&sdev->ud.lock); in usbip_status_show()
30 status = sdev->ud.status; in usbip_status_show()
31 spin_unlock_irq(&sdev->ud.lock); in usbip_status_show()
45 struct stub_device *sdev = dev_get_drvdata(dev); in usbip_sockfd_store() local
52 if (!sdev) { in usbip_sockfd_store()
66 mutex_lock(&sdev->ud.sysfs_lock); in usbip_sockfd_store()
67 spin_lock_irq(&sdev->ud.lock); in usbip_sockfd_store()
69 if (sdev->ud.status != SDEV_ST_AVAILABLE) { in usbip_sockfd_store()
[all …]
/kernel/linux/linux-5.10/sound/soc/sof/imx/
Dimx8m.c27 struct snd_sof_dev *sdev; member
34 static void imx8m_get_reply(struct snd_sof_dev *sdev) in imx8m_get_reply() argument
36 struct snd_sof_ipc_msg *msg = sdev->msg; in imx8m_get_reply()
41 dev_warn(sdev->dev, "unexpected ipc interrupt\n"); in imx8m_get_reply()
46 sof_mailbox_read(sdev, sdev->host_box.offset, &reply, sizeof(reply)); in imx8m_get_reply()
54 dev_err(sdev->dev, "error: reply expected %zu got %u bytes\n", in imx8m_get_reply()
61 sof_mailbox_read(sdev, sdev->host_box.offset, in imx8m_get_reply()
68 static int imx8m_get_mailbox_offset(struct snd_sof_dev *sdev) in imx8m_get_mailbox_offset() argument
73 static int imx8m_get_window_offset(struct snd_sof_dev *sdev, u32 id) in imx8m_get_window_offset() argument
83 spin_lock_irqsave(&priv->sdev->ipc_lock, flags); in imx8m_dsp_handle_reply()
[all …]
/kernel/linux/linux-5.10/include/scsi/
Dscsi_device.h251 #define sdev_dbg(sdev, fmt, a...) \ argument
252 dev_dbg(&(sdev)->sdev_gendev, fmt, ##a)
262 #define sdev_printk(l, sdev, fmt, a...) \ argument
263 sdev_prefix_printk(l, sdev, NULL, fmt, ##a)
330 static inline struct scsi_target *scsi_target(struct scsi_device *sdev) in scsi_target() argument
332 return to_scsi_target(sdev->sdev_gendev.parent); in scsi_target()
347 void scsi_attach_vpd(struct scsi_device *sdev);
379 #define shost_for_each_device(sdev, shost) \ argument
380 for ((sdev) = __scsi_iterate_devices((shost), NULL); \
381 (sdev); \
[all …]

12345678910>>...14