Home
last modified time | relevance | path

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

12345678910>>...15

/linux/sound/soc/sof/
A Dops.h29 return sof_ops(sdev)->probe(sdev); in snd_sof_probe()
35 return sof_ops(sdev)->remove(sdev); in snd_sof_remove()
43 return sof_ops(sdev)->shutdown(sdev); in snd_sof_shutdown()
56 return sof_ops(sdev)->run(sdev); in snd_sof_dsp_run()
70 return sof_ops(sdev)->reset(sdev); in snd_sof_dsp_reset()
110 return sof_ops(sdev)->pre_fw_run(sdev); in snd_sof_dsp_pre_fw_run()
174 return sof_ops(sdev)->resume(sdev); in snd_sof_dsp_resume()
262 sof_ops(sdev)->write(sdev, sdev->bar[bar] + offset, value); in snd_sof_dsp_write()
273 sof_ops(sdev)->write64(sdev, sdev->bar[bar] + offset, value); in snd_sof_dsp_write64()
284 return sof_ops(sdev)->read(sdev, sdev->bar[bar] + offset); in snd_sof_dsp_read()
[all …]
A Dcore.c177 sdev->ipc = snd_sof_ipc_init(sdev); in sof_probe_continue()
178 if (!sdev->ipc) { in sof_probe_continue()
224 ret = devm_snd_soc_register_component(sdev->dev, &sdev->plat_drv, in sof_probe_continue()
228 dev_err(sdev->dev, in sof_probe_continue()
235 dev_err(sdev->dev, in sof_probe_continue()
291 sdev = devm_kzalloc(dev, sizeof(*sdev), GFP_KERNEL); in snd_sof_device_probe()
292 if (!sdev) in snd_sof_device_probe()
296 sdev->dev = dev; in snd_sof_device_probe()
310 if (!sof_ops(sdev) || !sof_ops(sdev)->probe || !sof_ops(sdev)->run || in snd_sof_device_probe()
311 !sof_ops(sdev)->block_read || !sof_ops(sdev)->block_write || in snd_sof_device_probe()
[all …]
A Dloader.c28 if (sdev->info_window) { in get_ext_windows()
37 sdev->info_window = devm_kmemdup(sdev->dev, w, ext_hdr->hdr.size, in get_ext_windows()
39 if (!sdev->info_window) in get_ext_windows()
53 if (sdev->cc_version) { in get_cc_info()
67 if (sdev->first_boot) { in get_cc_info()
68 sdev->cc_version = devm_kmalloc(sdev->dev, cc->ext_hdr.hdr.size, in get_cc_info()
75 ret = snd_sof_debugfs_buf_item(sdev, sdev->cc_version, in get_cc_info()
192 dev_dbg(sdev->dev, in ext_man_get_dbg_abi_info()
506 dev_err(sdev->dev, in sof_fw_ready()
574 dev_dbg(sdev->dev, in snd_sof_parse_module_memcpy()
[all …]
A Dtrace.c168 struct snd_sof_dev *sdev = dfse->sdev; in sof_dfsentry_trace_filter_write() local
224 dfse->sdev = sdev; in trace_debugfs_filter_create()
265 if (!sdev->dtrace_is_enabled && sdev->dtrace_draining) { in sof_wait_trace_avail()
292 struct snd_sof_dev *sdev = dfse->sdev; in sof_dfsentry_trace_read() local
338 struct snd_sof_dev *sdev = dfse->sdev; in sof_dfsentry_trace_release() local
359 if (!sdev) in trace_debugfs_create()
373 dfse->sdev = sdev; in trace_debugfs_create()
392 if (sdev->dtrace_is_enabled || !sdev->dma_trace_pages) in snd_sof_init_trace_ipc()
477 ret = snd_sof_create_page_table(sdev->dev, &sdev->dmatb, in snd_sof_init_trace()
478 sdev->dmatp.area, sdev->dmatb.bytes); in snd_sof_init_trace()
[all …]
A Dpm.c100 if (sdev->first_boot) in sof_resume()
112 dev_err(sdev->dev, in sof_resume()
130 dev_err(sdev->dev, in sof_resume()
144 dev_err(sdev->dev, in sof_resume()
154 dev_warn(sdev->dev, in sof_resume()
162 dev_err(sdev->dev, in sof_resume()
171 dev_err(sdev->dev, in sof_resume()
198 dev_err(sdev->dev, in sof_suspend()
228 dev_err(sdev->dev, in sof_suspend()
234 dev_warn(sdev->dev, in sof_suspend()
[all …]
A Ddebug.c103 struct snd_sof_dev *sdev = dfse->sdev; in probe_points_read() local
143 struct snd_sof_dev *sdev = dfse->sdev; in probe_points_write() local
184 struct snd_sof_dev *sdev = dfse->sdev; in probe_points_remove_write() local
227 dfse->sdev = sdev; in snd_sof_debugfs_probe_item()
344 struct snd_sof_dev *sdev = dfse->sdev; in sof_dfsentry_write() local
442 struct snd_sof_dev *sdev = dfse->sdev; in sof_dfsentry_read() local
566 dfse->sdev = sdev; in snd_sof_debugfs_io_item()
622 dfse->sdev = sdev; in snd_sof_debugfs_buf_item()
702 struct snd_sof_dev *sdev = dfse->sdev; in memory_info_read() local
751 dfse->sdev = sdev; in snd_sof_dbg_memory_info_init()
[all …]
A Dsof-priv.h184 int (*pcm_open)(struct snd_sof_dev *sdev,
187 int (*pcm_close)(struct snd_sof_dev *sdev,
214 int (*probe_free)(struct snd_sof_dev *sdev,
313 #define sof_dsp_arch_ops(sdev) ((sdev)->pdata->desc->ops->dsp_arch_ops) argument
329 struct snd_sof_dev *sdev; member
562 sof_dsp_arch_ops(sdev)->dsp_stack(sdev, oops, stack, stack_words); in sof_stack()
567 if (sof_dsp_arch_ops(sdev)->dsp_oops) in sof_oops()
568 sof_dsp_arch_ops(sdev)->dsp_oops(sdev, oops); in sof_oops()
579 if (sdev->fw_state == new_state) in sof_set_fw_state()
582 dev_dbg(sdev->dev, "fw_state change: %d -> %d\n", sdev->fw_state, new_state); in sof_set_fw_state()
[all …]
/linux/sound/soc/sof/intel/
A Dhda-dsp.c56 dev_err(sdev->dev, in hda_dsp_core_reset_enter()
67 dev_err(sdev->dev, in hda_dsp_core_reset_enter()
97 dev_err(sdev->dev, in hda_dsp_core_reset_leave()
107 dev_err(sdev->dev, in hda_dsp_core_reset_leave()
203 dev_err(sdev->dev, in hda_dsp_core_power_up()
214 dev_err(sdev->dev, in hda_dsp_core_power_up()
239 dev_err(sdev->dev, in hda_dsp_core_power_down()
457 dev_err(sdev->dev, in hda_dsp_set_D0_state()
559 dev_err(sdev->dev, in hda_dsp_set_power_state()
569 dev_err(sdev->dev, in hda_dsp_set_power_state()
[all …]
A Dhda-loader.c122 dev_err(sdev->dev, in cl_dsp_init()
138 dev_err(sdev->dev, in cl_dsp_init()
155 dev_err(sdev->dev, in cl_dsp_init()
175 dev_err(sdev->dev, in cl_dsp_init()
275 dev_err(sdev->dev, in cl_copy_fw()
323 ret1 = cl_cleanup(sdev, &sdev->dmab_bdl, iccmax_stream); in hda_dsp_cl_boot_firmware_iccmax()
374 dev_dbg(sdev->dev, in hda_dsp_cl_boot_firmware()
406 if (!sdev->first_boot) in hda_dsp_cl_boot_firmware()
427 ret1 = cl_cleanup(sdev, &sdev->dmab, stream); in hda_dsp_cl_boot_firmware()
465 dev_err(sdev->dev, in hda_dsp_post_fw_run()
[all …]
A Dhda.c271 res.dev = sdev->dev; in hda_sdw_probe()
520 sof_block_read(sdev, sdev->mmio_bar, offset, in hda_dsp_get_registers()
525 sof_block_read(sdev, sdev->mmio_bar, offset, stack, in hda_dsp_get_registers()
712 dev_dbg(sdev->dev, in dmic_topology_fixup()
867 sof_ops(sdev)->irq_thread(irq, sdev); in hda_dsp_interrupt_thread()
998 dev_dbg(sdev->dev, "using IPC IRQ %d\n", sdev->ipc_irq); in hda_dsp_probe()
1004 sdev->ipc_irq); in hda_dsp_probe()
1034 free_irq(sdev->ipc_irq, sdev); in hda_dsp_probe()
1065 hda_sdw_exit(sdev); in hda_dsp_remove()
1086 free_irq(sdev->ipc_irq, sdev); in hda_dsp_remove()
[all …]
A Dbdw.c173 bdw_reset(sdev); in bdw_set_dsp_D0()
268 dev_err(sdev->dev, in bdw_dump()
368 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in bdw_send_msg()
407 sof_mailbox_read(sdev, sdev->host_box.offset, in bdw_get_reply()
473 sdev->bar[BDW_DSP_BAR] = devm_ioremap(sdev->dev, base, size); in bdw_probe()
480 dev_dbg(sdev->dev, "LPE VADDR %p\n", sdev->bar[BDW_DSP_BAR]); in bdw_probe()
500 sdev->bar[BDW_PCI_BAR] = devm_ioremap(sdev->dev, base, size); in bdw_probe()
507 dev_dbg(sdev->dev, "PCI VADDR %p\n", sdev->bar[BDW_PCI_BAR]); in bdw_probe()
514 dev_dbg(sdev->dev, "using IRQ %d\n", sdev->ipc_irq); in bdw_probe()
515 ret = devm_request_threaded_irq(sdev->dev, sdev->ipc_irq, in bdw_probe()
[all …]
A Datom.c80 dev_err(sdev->dev, in atom_dump()
84 dev_err(sdev->dev, in atom_dump()
88 dev_err(sdev->dev, in atom_dump()
92 dev_err(sdev->dev, in atom_dump()
157 atom_get_reply(sdev); in atom_irq_thread()
160 atom_dsp_done(sdev); in atom_irq_thread()
190 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in atom_send_msg()
215 sof_mailbox_read(sdev, sdev->host_box.offset, &reply, sizeof(reply)); in atom_get_reply()
230 sof_mailbox_read(sdev, sdev->host_box.offset, in atom_get_reply()
353 dev_dbg(sdev->dev, in atom_machine_select()
[all …]
A Dhda.h473 struct snd_sof_dev *sdev; member
493 int hda_dsp_probe(struct snd_sof_dev *sdev);
494 int hda_dsp_remove(struct snd_sof_dev *sdev);
506 int hda_dsp_resume(struct snd_sof_dev *sdev);
510 int hda_dsp_shutdown(struct snd_sof_dev *sdev);
513 void hda_ipc_dump(struct snd_sof_dev *sdev);
522 int hda_dsp_pcm_open(struct snd_sof_dev *sdev,
524 int hda_dsp_pcm_close(struct snd_sof_dev *sdev,
566 int hda_ipc_msg_data(struct snd_sof_dev *sdev,
680 int hda_sdw_startup(struct snd_sof_dev *sdev);
[all …]
A Dhda-ipc.c60 sof_mailbox_write(sdev, sdev->host_box.offset, msg->msg_data, in hda_dsp_ipc_send_msg()
101 sof_mailbox_read(sdev, sdev->host_box.offset, &reply, in hda_dsp_ipc_get_reply()
119 sof_mailbox_read(sdev, sdev->host_box.offset, in hda_dsp_ipc_get_reply()
152 dev_vdbg(sdev->dev, in hda_dsp_ipc_irq_thread()
174 hda_dsp_ipc_get_reply(sdev); in hda_dsp_ipc_irq_thread()
175 snd_sof_ipc_reply(sdev, msg); in hda_dsp_ipc_irq_thread()
178 hda_dsp_ipc_dsp_done(sdev); in hda_dsp_ipc_irq_thread()
190 dev_vdbg(sdev->dev, in hda_dsp_ipc_irq_thread()
205 snd_sof_ipc_msgs_rx(sdev); in hda_dsp_ipc_irq_thread()
208 hda_dsp_ipc_host_done(sdev); in hda_dsp_ipc_irq_thread()
[all …]
/linux/drivers/media/radio/si4713/
A Dsi4713.c357 if (sdev->vdd) { in si4713_powerup()
365 if (sdev->vio) { in si4713_powerup()
400 if (sdev->vdd) { in si4713_powerup()
406 if (sdev->vio) { in si4713_powerup()
439 if (sdev->vdd) { in si4713_powerdown()
447 if (sdev->vio) { in si4713_powerdown()
1163 sdev->tune_pwr_level->val, sdev->tune_ant_cap->val); in si4713_s_ctrl()
1260 if (!sdev) in si4713_g_modulator()
1308 if (!sdev) in si4713_s_modulator()
1440 sdev = devm_kzalloc(&client->dev, sizeof(*sdev), GFP_KERNEL); in si4713_probe()
[all …]
/linux/drivers/scsi/
A Dscsi_scan.c242 if (!sdev) in scsi_alloc_sdev()
774 sdev->sdev_target->scsi_level = sdev->scsi_level; in scsi_probe_lun()
835 sdev->vendor = (char *) (sdev->inquiry + 8); in scsi_add_lun()
836 sdev->model = (char *) (sdev->inquiry + 16); in scsi_add_lun()
837 sdev->rev = (char *) (sdev->inquiry + 32); in scsi_add_lun()
896 sdev->lockable = sdev->removable; in scsi_add_lun()
909 sdev->vendor, sdev->model, sdev->rev, in scsi_add_lun()
1008 ret = sdev->host->hostt->slave_configure(sdev); in scsi_add_lun()
1025 sdev->max_queue_depth = sdev->queue_depth; in scsi_add_lun()
1559 if (sdev->handler && sdev->handler->rescan) in scsi_rescan_device()
[all …]
A Dscsi.c230 sbitmap_resize(&sdev->budget_map, sdev->queue_depth); in scsi_change_queue_depth()
453 scsi_update_vpd_page(sdev, 0x0, &sdev->vpd_pg0); in scsi_attach_vpd()
455 scsi_update_vpd_page(sdev, 0x80, &sdev->vpd_pg80); in scsi_attach_vpd()
457 scsi_update_vpd_page(sdev, 0x83, &sdev->vpd_pg83); in scsi_attach_vpd()
459 scsi_update_vpd_page(sdev, 0x89, &sdev->vpd_pg89); in scsi_attach_vpd()
681 if (sdev && scsi_device_get(sdev)) in scsi_device_lookup_by_target()
682 sdev = NULL; in scsi_device_lookup_by_target()
685 return sdev; in scsi_device_lookup_by_target()
713 if (sdev->channel == channel && sdev->id == id && in __scsi_device_lookup()
741 if (sdev && scsi_device_get(sdev)) in scsi_device_lookup()
[all …]
A Dscsi_dh.c165 sdev->handler->detach(sdev); in scsi_dh_handler_detach()
166 sdev_printk(KERN_NOTICE, sdev, "%s: Detached\n", sdev->handler->name); in scsi_dh_handler_detach()
188 if (sdev->handler) in scsi_dh_release_device()
257 if (!sdev) { in scsi_dh_activate()
275 err = sdev->handler->activate(sdev, fn, data); in scsi_dh_activate()
304 if (!sdev) in scsi_dh_set_params()
307 if (sdev->handler && sdev->handler->set_params) in scsi_dh_set_params()
308 err = sdev->handler->set_params(sdev, params); in scsi_dh_set_params()
327 if (!sdev) in scsi_dh_attach()
365 if (!sdev) in scsi_dh_attached_handler_name()
[all …]
A Dscsi_sysfs.c499 kfree(sdev); in scsi_device_dev_release_usercontext()
920 if (!sdev->inquiry) in show_inquiry()
1029 sdev->max_queue_depth = sdev->queue_depth; in DECLARE_EVT()
1097 if (!sdev->handler) in sdev_show_dh_state()
1124 err = sdev->handler->activate(sdev, NULL, NULL); in sdev_store_dh_state()
1152 if (!sdev->handler) in sdev_show_access_state()
1388 sdev->bsg_dev = scsi_bsg_register_queue(sdev); in scsi_sysfs_add_sdev()
1462 sdev->host->hostt->slave_destroy(sdev); in __scsi_remove_device()
1602 sdev->host->host_no, sdev->channel, sdev->id, sdev->lun); in scsi_sysfs_device_initialize()
1606 sdev->sdev_dev.parent = get_device(&sdev->sdev_gendev); in scsi_sysfs_device_initialize()
[all …]
/linux/drivers/net/ethernet/alacritech/
A Dslicoss.c146 slic_flush_write(sdev); in slic_start_upr()
232 if (sdev->promisc) in slic_configure_rcv()
278 if (sdev->speed == speed && sdev->duplex == duplex) in slic_configure_link_locked()
281 sdev->speed = speed; in slic_configure_link_locked()
282 sdev->duplex = duplex; in slic_configure_link_locked()
676 return slic_new_upr(sdev, SLIC_UPR_LSTAT, sdev->shmem.link_paddr); in slic_handle_link_change()
1320 sdev); in slic_init_iface()
1380 free_irq(sdev->pdev->irq, sdev); in slic_close()
1790 sdev->pdev = pdev; in slic_probe()
1791 sdev->netdev = dev; in slic_probe()
[all …]
/linux/drivers/iommu/
A Dsprd-iommu.c163 struct sprd_iommu_device *sdev = dom->sdev; in sprd_iommu_first_vpn() local
178 struct sprd_iommu_device *sdev = dom->sdev; in sprd_iommu_vpn_range() local
195 struct sprd_iommu_device *sdev = dom->sdev; in sprd_iommu_first_ppn() local
249 dom->sdev = sdev; in sprd_iommu_attach_device()
264 struct sprd_iommu_device *sdev = dom->sdev; in sprd_iommu_detach_device() local
267 if (!sdev) in sprd_iommu_detach_device()
463 if (sdev->eb) in sprd_iommu_clk_disable()
474 sdev = devm_kzalloc(dev, sizeof(*sdev), GFP_KERNEL); in sprd_iommu_probe()
475 if (!sdev) in sprd_iommu_probe()
533 dma_free_coherent(sdev->dev, SPRD_IOMMU_PAGE_SIZE, sdev->prot_page_va, sdev->prot_page_pa); in sprd_iommu_probe()
[all …]
/linux/drivers/usb/usbip/
A Dstub_dev.c24 if (!sdev) { in usbip_status_show()
30 status = sdev->ud.status; in usbip_status_show()
52 if (!sdev) { in usbip_sockfd_store()
265 if (!sdev) in stub_device_alloc()
281 sdev->ud.sockfd = -1; in stub_device_alloc()
300 return sdev; in stub_device_alloc()
305 kfree(sdev); in stub_device_free()
322 if (!sdev) in stub_probe()
371 busid_priv->sdev = sdev; in stub_probe()
411 stub_device_free(sdev); in stub_probe()
[all …]
/linux/drivers/gpu/drm/tiny/
A Dsimpledrm.c287 sdev->clks = drmm_kzalloc(dev, sdev->clk_count * sizeof(sdev->clks[0]), in simpledrm_device_init_clocks()
289 if (!sdev->clks) in simpledrm_device_init_clocks()
313 sdev); in simpledrm_device_init_clocks()
433 sdev); in simpledrm_device_init_regulators()
548 sdev->mem = mem; in simpledrm_device_init_mm()
652 drm_fb_blit_dstclip(sdev->screen_base, sdev->pitch, in simpledrm_simple_display_pipe_enable()
668 memset_io(sdev->screen_base, 0, sdev->pitch * sdev->mode.vdisplay); in simpledrm_simple_display_pipe_disable()
695 drm_fb_blit_rect_dstclip(sdev->screen_base, sdev->pitch, in simpledrm_simple_display_pipe_update()
726 sdev->formats[0] = sdev->format->format; in simpledrm_device_formats()
733 sdev->formats[sdev->nformats] = simpledrm_default_formats[i]; in simpledrm_device_formats()
[all …]
/linux/drivers/gpu/drm/shmobile/
A Dshmob_drm_drv.c63 sdev->ldmt1r = ldmt1r[sdev->pdata->iface.interface]; in shmob_drm_init_interface()
96 sdev->clock = clk; in shmob_drm_setup_clocks()
184 free_irq(sdev->irq, ddev); in shmob_drm_remove()
207 sdev = devm_kzalloc(&pdev->dev, sizeof(*sdev), GFP_KERNEL); in shmob_drm_probe()
208 if (sdev == NULL) in shmob_drm_probe()
211 sdev->dev = &pdev->dev; in shmob_drm_probe()
212 sdev->pdata = pdata; in shmob_drm_probe()
218 if (IS_ERR(sdev->mmio)) in shmob_drm_probe()
234 sdev->ddev = ddev; in shmob_drm_probe()
235 ddev->dev_private = sdev; in shmob_drm_probe()
[all …]
/linux/arch/arm/common/
A Dscoop.c127 return ioread16(sdev->base + reg); in read_scoop_reg()
133 iowrite16(data, sdev->base + reg); in write_scoop_reg()
154 check_scoop_reg(sdev); in scoop_suspend()
155 sdev->scoop_gpwr = ioread16(sdev->base + SCOOP_GPWR); in scoop_suspend()
156 iowrite16((sdev->scoop_gpwr & ~sdev->suspend_clr) | sdev->suspend_set, sdev->base + SCOOP_GPWR); in scoop_suspend()
165 check_scoop_reg(sdev); in scoop_resume()
166 iowrite16(sdev->scoop_gpwr, sdev->base + SCOOP_GPWR); in scoop_resume()
243 if (sdev->gpio.base != -1) in scoop_remove()
244 gpiochip_remove(&sdev->gpio); in scoop_remove()
247 iounmap(sdev->base); in scoop_remove()
[all …]

Completed in 98 milliseconds

12345678910>>...15