/openbmc/linux/sound/soc/sof/ |
H A D | ops.h | 21 #define sof_ops(sdev) \ argument 24 static inline int sof_ops_init(struct snd_sof_dev *sdev) in sof_ops_init() 32 static inline void sof_ops_free(struct snd_sof_dev *sdev) in sof_ops_free() 41 static inline int snd_sof_probe(struct snd_sof_dev *sdev) in snd_sof_probe() 46 static inline int snd_sof_remove(struct snd_sof_dev *sdev) in snd_sof_remove() 275 snd_sof_dsp_set_power_state(struct snd_sof_dev *sdev, in snd_sof_dsp_set_power_state() 409 snd_sof_pcm_platform_open(struct snd_sof_dev *sdev, in snd_sof_pcm_platform_open() 420 snd_sof_pcm_platform_close(struct snd_sof_dev *sdev, in snd_sof_pcm_platform_close() 445 snd_sof_pcm_platform_hw_free(struct snd_sof_dev *sdev, in snd_sof_pcm_platform_hw_free() 542 snd_sof_machine_select(struct snd_sof_dev *sdev) in snd_sof_machine_select() [all …]
|
H A D | sof-client.c | 73 static int sof_register_ipc_flood_test(struct snd_sof_dev *sdev) in sof_register_ipc_flood_test() 153 int sof_register_clients(struct snd_sof_dev *sdev) in sof_register_clients() 198 void sof_unregister_clients(struct snd_sof_dev *sdev) in sof_unregister_clients() 346 struct snd_sof_dev *sdev = c->sdev; in sof_client_ipc4_find_module() local 380 int sof_resume_clients(struct snd_sof_dev *sdev) in sof_resume_clients() 418 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); in sof_client_get_fw_version() local 426 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); in sof_client_get_ipc_max_payload_size() local 434 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); in sof_client_get_ipc_type() local 443 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); in sof_client_core_module_get() local 454 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); in sof_client_core_module_put() local [all …]
|
H A D | ipc3.c | 226 static void sof_ipc3_dump_payload(struct snd_sof_dev *sdev, in sof_ipc3_dump_payload() 234 static int sof_ipc3_get_reply(struct snd_sof_dev *sdev) in sof_ipc3_get_reply() 293 struct snd_sof_dev *sdev = ipc->sdev; in ipc3_wait_tx_done() local 337 struct snd_sof_dev *sdev = ipc->sdev; in ipc3_tx_msg_unlocked() local 521 int sof_ipc3_get_ext_windows(struct snd_sof_dev *sdev, in sof_ipc3_get_ext_windows() 546 int sof_ipc3_get_cc_info(struct snd_sof_dev *sdev, in sof_ipc3_get_cc_info() 651 static void ipc3_get_windows(struct snd_sof_dev *sdev) in ipc3_get_windows() 778 int sof_ipc3_validate_fw_version(struct snd_sof_dev *sdev) in sof_ipc3_validate_fw_version() 1057 static void sof_ipc3_rx_msg(struct snd_sof_dev *sdev) in sof_ipc3_rx_msg() 1118 static int sof_ipc3_ctx_save(struct snd_sof_dev *sdev) in sof_ipc3_ctx_save() [all …]
|
H A D | sof-audio.c | 45 static int sof_widget_free_unlocked(struct snd_sof_dev *sdev, in sof_widget_free_unlocked() 137 static int sof_widget_setup_unlocked(struct snd_sof_dev *sdev, in sof_widget_setup_unlocked() 298 static int sof_setup_pipeline_connections(struct snd_sof_dev *sdev, in sof_setup_pipeline_connections() 822 bool snd_sof_stream_suspend_ignored(struct snd_sof_dev *sdev) in snd_sof_stream_suspend_ignored() 878 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_spcm_name() local 904 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_spcm_comp() local 923 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_swidget() local 939 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_swidget_sname() local 960 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_dai() local 1035 int sof_machine_check(struct snd_sof_dev *sdev) in sof_machine_check() [all …]
|
H A D | debug.c | 44 struct snd_sof_dev *sdev = dfse->sdev; in sof_dfsentry_read() local 133 static int snd_sof_debugfs_io_item(struct snd_sof_dev *sdev, in snd_sof_debugfs_io_item() 174 int snd_sof_debugfs_add_region_item_iomem(struct snd_sof_dev *sdev, in snd_sof_debugfs_add_region_item_iomem() 190 int snd_sof_debugfs_buf_item(struct snd_sof_dev *sdev, in snd_sof_debugfs_buf_item() 272 struct snd_sof_dev *sdev = dfse->sdev; in memory_info_read() local 290 struct snd_sof_dev *sdev = dfse->sdev; in memory_info_open() local 311 int snd_sof_dbg_memory_info_init(struct snd_sof_dev *sdev) in snd_sof_dbg_memory_info_init() 331 int snd_sof_dbg_init(struct snd_sof_dev *sdev) in snd_sof_dbg_init() 362 void snd_sof_free_debug(struct snd_sof_dev *sdev) in snd_sof_free_debug() 423 static void snd_sof_ipc_dump(struct snd_sof_dev *sdev) in snd_sof_ipc_dump() [all …]
|
H A D | ipc4.c | 250 static void sof_ipc4_dump_payload(struct snd_sof_dev *sdev, in sof_ipc4_dump_payload() 257 static int sof_ipc4_get_reply(struct snd_sof_dev *sdev) in sof_ipc4_get_reply() 289 struct snd_sof_dev *sdev = ipc->sdev; in ipc4_wait_tx_done() local 339 struct snd_sof_dev *sdev = ipc->sdev; in ipc4_tx_msg_unlocked() local 525 static int sof_ipc4_init_msg_memory(struct snd_sof_dev *sdev) in sof_ipc4_init_msg_memory() 582 static void sof_ipc4_rx_msg(struct snd_sof_dev *sdev) in sof_ipc4_rx_msg() 681 static int sof_ipc4_ctx_save(struct snd_sof_dev *sdev) in sof_ipc4_ctx_save() 686 static int sof_ipc4_set_pm_gate(struct snd_sof_dev *sdev, u32 flags) in sof_ipc4_set_pm_gate() 704 static int sof_ipc4_init(struct snd_sof_dev *sdev) in sof_ipc4_init() 715 static void sof_ipc4_exit(struct snd_sof_dev *sdev) in sof_ipc4_exit() [all …]
|
/openbmc/linux/sound/soc/sof/intel/ |
H A D | hda-dsp.c | 320 void hda_dsp_ipc_int_enable(struct snd_sof_dev *sdev) in hda_dsp_ipc_int_enable() 338 void hda_dsp_ipc_int_disable(struct snd_sof_dev *sdev) in hda_dsp_ipc_int_disable() 455 static int hda_dsp_set_D0_state(struct snd_sof_dev *sdev, in hda_dsp_set_D0_state() 537 static void hda_dsp_state_log(struct snd_sof_dev *sdev) in hda_dsp_state_log() 800 int hda_dsp_resume(struct snd_sof_dev *sdev) in hda_dsp_resume() 852 int hda_dsp_runtime_resume(struct snd_sof_dev *sdev) in hda_dsp_runtime_resume() 867 int hda_dsp_runtime_idle(struct snd_sof_dev *sdev) in hda_dsp_runtime_idle() 880 int hda_dsp_runtime_suspend(struct snd_sof_dev *sdev) in hda_dsp_runtime_suspend() 980 static int hda_dsp_s5_quirk(struct snd_sof_dev *sdev) in hda_dsp_s5_quirk() 1033 int hda_dsp_shutdown(struct snd_sof_dev *sdev) in hda_dsp_shutdown() [all …]
|
H A D | mtl.c | 28 static void mtl_ipc_host_done(struct snd_sof_dev *sdev) in mtl_ipc_host_done() 43 static void mtl_ipc_dsp_done(struct snd_sof_dev *sdev) in mtl_ipc_dsp_done() 58 bool mtl_dsp_check_ipc_irq(struct snd_sof_dev *sdev) in mtl_dsp_check_ipc_irq() 121 void mtl_enable_ipc_interrupts(struct snd_sof_dev *sdev) in mtl_enable_ipc_interrupts() 233 int mtl_dsp_pre_fw_run(struct snd_sof_dev *sdev) in mtl_dsp_pre_fw_run() 282 int mtl_dsp_post_fw_run(struct snd_sof_dev *sdev) in mtl_dsp_post_fw_run() 304 void mtl_dsp_dump(struct snd_sof_dev *sdev, u32 flags) in mtl_dsp_dump() 408 int mtl_power_down_dsp(struct snd_sof_dev *sdev) in mtl_power_down_dsp() 540 struct snd_sof_dev *sdev = context; in mtl_ipc_irq_thread() local 630 void mtl_ipc_dump(struct snd_sof_dev *sdev) in mtl_ipc_dump() [all …]
|
H A D | hda.c | 320 int hda_sdw_startup(struct snd_sof_dev *sdev) in hda_sdw_startup() 341 static int hda_sdw_exit(struct snd_sof_dev *sdev) in hda_sdw_exit() 745 void hda_ipc_irq_dump(struct snd_sof_dev *sdev) in hda_ipc_irq_dump() 765 void hda_ipc_dump(struct snd_sof_dev *sdev) in hda_ipc_dump() 784 void hda_ipc4_dump(struct snd_sof_dev *sdev) in hda_ipc4_dump() 813 static int hda_init(struct snd_sof_dev *sdev) in hda_init() 1063 struct snd_sof_dev *sdev = context; in hda_dsp_interrupt_handler() local 1086 struct snd_sof_dev *sdev = context; in hda_dsp_interrupt_thread() local 1121 int hda_dsp_probe(struct snd_sof_dev *sdev) in hda_dsp_probe() 1306 int hda_dsp_remove(struct snd_sof_dev *sdev) in hda_dsp_remove() [all …]
|
H A D | hda-codec.c | 98 void hda_codec_jack_check(struct snd_sof_dev *sdev) in hda_codec_jack_check() 207 void hda_codec_probe_bus(struct snd_sof_dev *sdev) in hda_codec_probe_bus() 245 void hda_codec_detect_mask(struct snd_sof_dev *sdev) in hda_codec_detect_mask() 270 void hda_codec_init_cmd_io(struct snd_sof_dev *sdev) in hda_codec_init_cmd_io() 283 void hda_codec_resume_cmd_io(struct snd_sof_dev *sdev) in hda_codec_resume_cmd_io() 297 void hda_codec_stop_cmd_io(struct snd_sof_dev *sdev) in hda_codec_stop_cmd_io() 310 void hda_codec_suspend_cmd_io(struct snd_sof_dev *sdev) in hda_codec_suspend_cmd_io() 325 void hda_codec_rirb_status_clear(struct snd_sof_dev *sdev) in hda_codec_rirb_status_clear() 376 void hda_codec_device_remove(struct snd_sof_dev *sdev) in hda_codec_device_remove() 408 int hda_codec_i915_init(struct snd_sof_dev *sdev) in hda_codec_i915_init() [all …]
|
H A D | atom.c | 35 static void atom_get_registers(struct snd_sof_dev *sdev, in atom_get_registers() 61 void atom_dump(struct snd_sof_dev *sdev, u32 flags) in atom_dump() 105 struct snd_sof_dev *sdev = context; in atom_irq_handler() local 138 struct snd_sof_dev *sdev = context; in atom_irq_thread() local 196 int atom_get_mailbox_offset(struct snd_sof_dev *sdev) in atom_get_mailbox_offset() 202 int atom_get_window_offset(struct snd_sof_dev *sdev, u32 id) in atom_get_window_offset() 208 static void atom_host_done(struct snd_sof_dev *sdev) in atom_host_done() 221 static void atom_dsp_done(struct snd_sof_dev *sdev) in atom_dsp_done() 232 int atom_run(struct snd_sof_dev *sdev) in atom_run() 253 int atom_reset(struct snd_sof_dev *sdev) in atom_reset() [all …]
|
H A D | hda-dai-ops.c | 49 struct snd_sof_dev *sdev; in hda_link_stream_assign() local 117 static struct hdac_ext_stream *hda_get_hext_stream(struct snd_sof_dev *sdev, in hda_get_hext_stream() 192 static void hda_codec_dai_set_stream(struct snd_sof_dev *sdev, in hda_codec_dai_set_stream() 203 static unsigned int hda_calc_stream_format(struct snd_sof_dev *sdev, in hda_calc_stream_format() 226 static struct hdac_ext_link *hda_get_hlink(struct snd_sof_dev *sdev, in hda_get_hlink() 236 static unsigned int generic_calc_stream_format(struct snd_sof_dev *sdev, in generic_calc_stream_format() 253 static unsigned int dmic_calc_stream_format(struct snd_sof_dev *sdev, in dmic_calc_stream_format() 283 static struct hdac_ext_link *ssp_get_hlink(struct snd_sof_dev *sdev, in ssp_get_hlink() 291 static struct hdac_ext_link *dmic_get_hlink(struct snd_sof_dev *sdev, in dmic_get_hlink() 299 static struct hdac_ext_link *sdw_get_hlink(struct snd_sof_dev *sdev, in sdw_get_hlink() [all …]
|
H A D | hda-ipc.c | 23 static void hda_dsp_ipc_host_done(struct snd_sof_dev *sdev) in hda_dsp_ipc_host_done() 41 static void hda_dsp_ipc_dsp_done(struct snd_sof_dev *sdev) in hda_dsp_ipc_dsp_done() 59 int hda_dsp_ipc_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in hda_dsp_ipc_send_msg() 122 void hda_dsp_ipc_get_reply(struct snd_sof_dev *sdev) in hda_dsp_ipc_get_reply() 160 struct snd_sof_dev *sdev = context; in hda_dsp_ipc4_irq_thread() local 242 struct snd_sof_dev *sdev = context; in hda_dsp_ipc_irq_thread() local 352 bool hda_dsp_check_ipc_irq(struct snd_sof_dev *sdev) in hda_dsp_check_ipc_irq() 384 int hda_dsp_ipc_get_mailbox_offset(struct snd_sof_dev *sdev) in hda_dsp_ipc_get_mailbox_offset() 389 int hda_dsp_ipc_get_window_offset(struct snd_sof_dev *sdev, u32 id) in hda_dsp_ipc_get_window_offset() 394 int hda_ipc_msg_data(struct snd_sof_dev *sdev, in hda_ipc_msg_data() [all …]
|
H A D | bdw.c | 83 static int bdw_run(struct snd_sof_dev *sdev) in bdw_run() 98 static int bdw_reset(struct snd_sof_dev *sdev) in bdw_reset() 116 static int bdw_set_dsp_D0(struct snd_sof_dev *sdev) in bdw_set_dsp_D0() 223 static void bdw_get_registers(struct snd_sof_dev *sdev, in bdw_get_registers() 249 static void bdw_dump(struct snd_sof_dev *sdev, u32 flags) in bdw_dump() 291 struct snd_sof_dev *sdev = context; in bdw_irq_handler() local 305 struct snd_sof_dev *sdev = context; in bdw_irq_thread() local 383 static void bdw_host_done(struct snd_sof_dev *sdev) in bdw_host_done() 395 static void bdw_dsp_done(struct snd_sof_dev *sdev) in bdw_dsp_done() 409 static int bdw_probe(struct snd_sof_dev *sdev) in bdw_probe() [all …]
|
H A D | lnl.c | 48 static int lnl_hda_dsp_probe(struct snd_sof_dev *sdev) in lnl_hda_dsp_probe() 59 static int lnl_hda_dsp_resume(struct snd_sof_dev *sdev) in lnl_hda_dsp_resume() 70 static int lnl_hda_dsp_runtime_resume(struct snd_sof_dev *sdev) in lnl_hda_dsp_runtime_resume() 81 int sof_lnl_ops_init(struct snd_sof_dev *sdev) in sof_lnl_ops_init() 146 static bool lnl_dsp_check_sdw_irq(struct snd_sof_dev *sdev) in lnl_dsp_check_sdw_irq() 153 static void lnl_enable_sdw_irq(struct snd_sof_dev *sdev, bool enable) in lnl_enable_sdw_irq() 160 static int lnl_dsp_disable_interrupts(struct snd_sof_dev *sdev) in lnl_dsp_disable_interrupts()
|
/openbmc/linux/drivers/net/ethernet/alacritech/ |
H A D | slicoss.c | 309 struct slic_device *sdev = netdev_priv(dev); in slic_set_rx_mode() local 735 struct slic_device *sdev = dev_id; in slic_irq() local 1351 struct slic_device *sdev = netdev_priv(dev); in slic_open() local 1369 struct slic_device *sdev = netdev_priv(dev); in slic_close() local 1409 struct slic_device *sdev = netdev_priv(dev); in slic_xmit() local 1463 struct slic_device *sdev = netdev_priv(dev); in slic_get_stats() local 1493 struct slic_device *sdev = netdev_priv(dev); in slic_get_ethtool_stats() local 1530 struct slic_device *sdev = netdev_priv(dev); in slic_get_drvinfo() local 1668 static int slic_init(struct slic_device *sdev) in slic_init() 1739 struct slic_device *sdev; in slic_probe() local [all …]
|
/openbmc/linux/sound/soc/sof/mediatek/mt8186/ |
H A D | mt8186.c | 31 static int mt8186_get_mailbox_offset(struct snd_sof_dev *sdev) in mt8186_get_mailbox_offset() 41 static int mt8186_send_msg(struct snd_sof_dev *sdev, in mt8186_send_msg() 216 static void adsp_sram_power_on(struct snd_sof_dev *sdev) in adsp_sram_power_on() 222 static void adsp_sram_power_off(struct snd_sof_dev *sdev) in adsp_sram_power_off() 271 static int mt8186_run(struct snd_sof_dev *sdev) in mt8186_run() 282 static int mt8186_dsp_probe(struct snd_sof_dev *sdev) in mt8186_dsp_probe() 394 static int mt8186_dsp_remove(struct snd_sof_dev *sdev) in mt8186_dsp_remove() 406 static int mt8186_dsp_shutdown(struct snd_sof_dev *sdev) in mt8186_dsp_shutdown() 420 static int mt8186_dsp_resume(struct snd_sof_dev *sdev) in mt8186_dsp_resume() 441 static int mt8186_pcm_hw_params(struct snd_sof_dev *sdev, in mt8186_pcm_hw_params() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi.c | 160 struct scsi_device *sdev = cmd->device; in scsi_finish_command() local 499 void scsi_attach_vpd(struct scsi_device *sdev) in scsi_attach_vpd() 636 void scsi_cdl_check(struct scsi_device *sdev) in scsi_cdl_check() 761 int scsi_device_get(struct scsi_device *sdev) in scsi_device_get() 786 void scsi_device_put(struct scsi_device *sdev) in scsi_device_put() 834 struct scsi_device *sdev; in starget_for_each_device() local 862 struct scsi_device *sdev; in __starget_for_each_device() local 890 struct scsi_device *sdev; in __scsi_device_lookup_by_target() local 915 struct scsi_device *sdev; in scsi_device_lookup_by_target() local 948 struct scsi_device *sdev; in __scsi_device_lookup() local [all …]
|
/openbmc/linux/sound/soc/sof/imx/ |
H A D | imx8ulp.c | 52 struct snd_sof_dev *sdev; member 74 static int imx8ulp_get_mailbox_offset(struct snd_sof_dev *sdev) in imx8ulp_get_mailbox_offset() 127 static int imx8ulp_run(struct snd_sof_dev *sdev) in imx8ulp_run() 136 static int imx8ulp_reset(struct snd_sof_dev *sdev) in imx8ulp_reset() 162 static int imx8ulp_probe(struct snd_sof_dev *sdev) in imx8ulp_probe() 281 static int imx8ulp_remove(struct snd_sof_dev *sdev) in imx8ulp_remove() 297 static int imx8ulp_suspend(struct snd_sof_dev *sdev) in imx8ulp_suspend() 313 static int imx8ulp_resume(struct snd_sof_dev *sdev) in imx8ulp_resume() 326 static int imx8ulp_dsp_runtime_resume(struct snd_sof_dev *sdev) in imx8ulp_dsp_runtime_resume() 338 static int imx8ulp_dsp_runtime_suspend(struct snd_sof_dev *sdev) in imx8ulp_dsp_runtime_suspend() [all …]
|
H A D | imx8m.c | 51 struct snd_sof_dev *sdev; member 63 static int imx8m_get_mailbox_offset(struct snd_sof_dev *sdev) in imx8m_get_mailbox_offset() 117 static int imx8m_run(struct snd_sof_dev *sdev) in imx8m_run() 126 static int imx8m_reset(struct snd_sof_dev *sdev) in imx8m_reset() 150 static int imx8m_probe(struct snd_sof_dev *sdev) in imx8m_probe() 272 static int imx8m_remove(struct snd_sof_dev *sdev) in imx8m_remove() 320 static int imx8m_dsp_set_power_state(struct snd_sof_dev *sdev, in imx8m_dsp_set_power_state() 328 static int imx8m_resume(struct snd_sof_dev *sdev) in imx8m_resume() 344 static void imx8m_suspend(struct snd_sof_dev *sdev) in imx8m_suspend() 355 static int imx8m_dsp_runtime_resume(struct snd_sof_dev *sdev) in imx8m_dsp_runtime_resume() [all …]
|
H A D | imx8.c | 53 struct snd_sof_dev *sdev; member 70 static int imx8_get_mailbox_offset(struct snd_sof_dev *sdev) in imx8_get_mailbox_offset() 124 static int imx8x_run(struct snd_sof_dev *sdev) in imx8x_run() 164 static int imx8_run(struct snd_sof_dev *sdev) in imx8_run() 182 static int imx8_probe(struct snd_sof_dev *sdev) in imx8_probe() 341 static int imx8_remove(struct snd_sof_dev *sdev) in imx8_remove() 370 static void imx8_suspend(struct snd_sof_dev *sdev) in imx8_suspend() 381 static int imx8_resume(struct snd_sof_dev *sdev) in imx8_resume() 397 static int imx8_dsp_runtime_resume(struct snd_sof_dev *sdev) in imx8_dsp_runtime_resume() 411 static int imx8_dsp_runtime_suspend(struct snd_sof_dev *sdev) in imx8_dsp_runtime_suspend() [all …]
|
/openbmc/linux/sound/soc/sof/amd/ |
H A D | acp.c | 62 struct snd_sof_dev *sdev = adata->dev; in init_dma_descriptor() local 76 struct snd_sof_dev *sdev = adata->dev; in configure_dma_descriptor() local 91 struct snd_sof_dev *sdev = adata->dev; in config_dma_channel() local 121 struct snd_sof_dev *sdev = adata->dev; in acpbus_dma_start() local 141 struct snd_sof_dev *sdev = adata->dev; in configure_and_run_dma() local 173 struct snd_sof_dev *sdev = adata->dev; in psp_mbox_ready() local 198 struct snd_sof_dev *sdev = adata->dev; in psp_send_cmd() local 234 struct snd_sof_dev *sdev = adata->dev; in configure_and_run_sha_dma() local 293 struct snd_sof_dev *sdev = adata->dev; in acp_dma_status() local 341 struct snd_sof_dev *sdev = context; in acp_irq_thread() local [all …]
|
H A D | acp-ipc.c | 18 void acp_mailbox_write(struct snd_sof_dev *sdev, u32 offset, void *message, size_t bytes) in acp_mailbox_write() 32 struct snd_sof_dev *sdev = adata->dev; in acpbus_trigger_host_to_dsp_swintr() local 43 static void acp_ipc_host_msg_set(struct snd_sof_dev *sdev) in acp_ipc_host_msg_set() 51 static void acp_dsp_ipc_host_done(struct snd_sof_dev *sdev) in acp_dsp_ipc_host_done() 59 static void acp_dsp_ipc_dsp_done(struct snd_sof_dev *sdev) in acp_dsp_ipc_dsp_done() 67 int acp_sof_ipc_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in acp_sof_ipc_send_msg() 96 static void acp_dsp_ipc_get_reply(struct snd_sof_dev *sdev) in acp_dsp_ipc_get_reply() 157 struct snd_sof_dev *sdev = context; in acp_sof_ipc_irq_thread() local 266 int acp_set_stream_data_offset(struct snd_sof_dev *sdev, in acp_set_stream_data_offset() 287 int acp_sof_ipc_get_mailbox_offset(struct snd_sof_dev *sdev) in acp_sof_ipc_get_mailbox_offset() [all …]
|
/openbmc/linux/arch/arm/common/ |
H A D | scoop.c | 42 struct scoop_dev *sdev = dev_get_drvdata(dev); in reset_scoop() local 53 static void __scoop_gpio_set(struct scoop_dev *sdev, in __scoop_gpio_set() 68 struct scoop_dev *sdev = gpiochip_get_data(chip); in scoop_gpio_set() local 80 struct scoop_dev *sdev = gpiochip_get_data(chip); in scoop_gpio_get() local 89 struct scoop_dev *sdev = gpiochip_get_data(chip); in scoop_gpio_direction_input() local 107 struct scoop_dev *sdev = gpiochip_get_data(chip); in scoop_gpio_direction_output() local 126 struct scoop_dev *sdev = dev_get_drvdata(dev); in read_scoop_reg() local 132 struct scoop_dev *sdev = dev_get_drvdata(dev); in write_scoop_reg() local 141 static void check_scoop_reg(struct scoop_dev *sdev) in check_scoop_reg() 152 struct scoop_dev *sdev = platform_get_drvdata(dev); in scoop_suspend() local [all …]
|
/openbmc/linux/drivers/spmi/ |
H A D | spmi.c | 25 struct spmi_device *sdev = to_spmi_device(dev); in spmi_dev_release() local 62 int spmi_device_add(struct spmi_device *sdev) in spmi_device_add() 87 void spmi_device_remove(struct spmi_device *sdev) in spmi_device_remove() 223 int spmi_register_zero_write(struct spmi_device *sdev, u8 data) in spmi_register_zero_write() 282 int spmi_command_reset(struct spmi_device *sdev) in spmi_command_reset() 294 int spmi_command_sleep(struct spmi_device *sdev) in spmi_command_sleep() 307 int spmi_command_wakeup(struct spmi_device *sdev) in spmi_command_wakeup() 319 int spmi_command_shutdown(struct spmi_device *sdev) in spmi_command_shutdown() 328 struct spmi_device *sdev = to_spmi_device(dev); in spmi_drv_probe() local 416 struct spmi_device *sdev; in spmi_device_alloc() local [all …]
|