Home
last modified time | relevance | path

Searched defs:sdev (Results 1 – 25 of 378) sorted by relevance

12345678910>>...16

/openbmc/linux/sound/soc/sof/
H A Dops.h21 #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()
54 static inline int snd_sof_shutdown(struct snd_sof_dev *sdev) in snd_sof_shutdown()
68 static inline int snd_sof_dsp_run(struct snd_sof_dev *sdev) in snd_sof_dsp_run()
73 static inline int snd_sof_dsp_stall(struct snd_sof_dev *sdev, unsigned int core_mask) in snd_sof_dsp_stall()
81 static inline int snd_sof_dsp_reset(struct snd_sof_dev *sdev) in snd_sof_dsp_reset()
90 static inline int snd_sof_dsp_core_get(struct snd_sof_dev *sdev, int core) in snd_sof_dsp_core_get()
[all …]
H A Dsof-client.c73 static int sof_register_ipc_flood_test(struct snd_sof_dev *sdev) in sof_register_ipc_flood_test()
95 static void sof_unregister_ipc_flood_test(struct snd_sof_dev *sdev) in sof_unregister_ipc_flood_test()
103 static inline int sof_register_ipc_flood_test(struct snd_sof_dev *sdev) in sof_register_ipc_flood_test()
108 static inline void sof_unregister_ipc_flood_test(struct snd_sof_dev *sdev) {} in sof_unregister_ipc_flood_test()
112 static int sof_register_ipc_msg_injector(struct snd_sof_dev *sdev) in sof_register_ipc_msg_injector()
117 static void sof_unregister_ipc_msg_injector(struct snd_sof_dev *sdev) in sof_unregister_ipc_msg_injector()
122 static inline int sof_register_ipc_msg_injector(struct snd_sof_dev *sdev) in sof_register_ipc_msg_injector()
127 static inline void sof_unregister_ipc_msg_injector(struct snd_sof_dev *sdev) {} in sof_unregister_ipc_msg_injector()
131 static int sof_register_ipc_kernel_injector(struct snd_sof_dev *sdev) in sof_register_ipc_kernel_injector()
140 static void sof_unregister_ipc_kernel_injector(struct snd_sof_dev *sdev) in sof_unregister_ipc_kernel_injector()
[all …]
H A Dipc3.c226 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
355 static int sof_ipc3_tx_msg(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes, in sof_ipc3_tx_msg()
413 static int sof_ipc3_set_get_data(struct snd_sof_dev *sdev, void *data, size_t data_bytes, in sof_ipc3_set_get_data()
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()
589 static int ipc3_fw_parse_ext_data(struct snd_sof_dev *sdev, u32 offset) in ipc3_fw_parse_ext_data()
651 static void ipc3_get_windows(struct snd_sof_dev *sdev) in ipc3_get_windows()
[all …]
H A Dsof-audio.c17 static bool is_virtual_widget(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget, in is_virtual_widget()
31 static void sof_reset_route_setup_status(struct snd_sof_dev *sdev, struct snd_sof_widget *widget) in sof_reset_route_setup_status()
45 static int sof_widget_free_unlocked(struct snd_sof_dev *sdev, in sof_widget_free_unlocked()
125 int sof_widget_free(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget) in sof_widget_free()
137 static int sof_widget_setup_unlocked(struct snd_sof_dev *sdev, in sof_widget_setup_unlocked()
244 int sof_widget_setup(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget) in sof_widget_setup()
256 int sof_route_setup(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *wsource, in sof_route_setup()
298 static int sof_setup_pipeline_connections(struct snd_sof_dev *sdev, in sof_setup_pipeline_connections()
409 sof_unprepare_widgets_in_path(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget, in sof_unprepare_widgets_in_path()
445 sof_prepare_widgets_in_path(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget, in sof_prepare_widgets_in_path()
[all …]
H A Ddebug.c44 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()
217 static int memory_info_update(struct snd_sof_dev *sdev, char *buf, size_t buff_size) in memory_info_update()
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()
[all …]
H A Dipc4.c80 static int sof_ipc4_check_reply_status(struct snd_sof_dev *sdev, u32 status) in sof_ipc4_check_reply_status()
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
359 static int sof_ipc4_tx_msg(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes, in sof_ipc4_tx_msg()
402 static int sof_ipc4_set_get_data(struct snd_sof_dev *sdev, void *data, in sof_ipc4_set_get_data()
525 static int sof_ipc4_init_msg_memory(struct snd_sof_dev *sdev) in sof_ipc4_init_msg_memory()
545 static int ipc4_fw_ready(struct snd_sof_dev *sdev, struct sof_ipc4_msg *ipc4_msg) in ipc4_fw_ready()
582 static void sof_ipc4_rx_msg(struct snd_sof_dev *sdev) in sof_ipc4_rx_msg()
[all …]
H A Dipc3-dtrace.c45 static int trace_filter_append_elem(struct snd_sof_dev *sdev, u32 key, u32 value, in trace_filter_append_elem()
59 static int trace_filter_parse_entry(struct snd_sof_dev *sdev, const char *line, in trace_filter_parse_entry()
110 static int trace_filter_parse(struct snd_sof_dev *sdev, char *string, in trace_filter_parse()
149 static int ipc3_trace_update_filter(struct snd_sof_dev *sdev, int num_elems, in ipc3_trace_update_filter()
188 struct snd_sof_dev *sdev = dfse->sdev; in dfsentry_trace_filter_write() local
227 static int debugfs_create_trace_filter(struct snd_sof_dev *sdev) in debugfs_create_trace_filter()
261 static size_t sof_dtrace_avail(struct snd_sof_dev *sdev, in sof_dtrace_avail()
282 static size_t sof_wait_dtrace_avail(struct snd_sof_dev *sdev, loff_t pos, in sof_wait_dtrace_avail()
320 struct snd_sof_dev *sdev = dfse->sdev; in dfsentry_dtrace_read() local
376 struct snd_sof_dev *sdev = dfse->sdev; in dfsentry_dtrace_release() local
[all …]
/openbmc/linux/sound/soc/sof/intel/
H A Dhda-dsp.c39 static int hda_dsp_core_reset_enter(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_reset_enter()
78 static int hda_dsp_core_reset_leave(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_reset_leave()
118 int hda_dsp_core_stall_reset(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_stall_reset()
130 bool hda_dsp_core_is_enabled(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_is_enabled()
155 int hda_dsp_core_run(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_run()
186 int hda_dsp_core_power_up(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_power_up()
233 static int hda_dsp_core_power_down(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_power_down()
256 int hda_dsp_enable_core(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_enable_core()
280 int hda_dsp_core_reset_power_down(struct snd_sof_dev *sdev, in hda_dsp_core_reset_power_down()
320 void hda_dsp_ipc_int_enable(struct snd_sof_dev *sdev) in hda_dsp_ipc_int_enable()
[all …]
H A Dhda.c48 static u32 hda_get_interface_mask(struct snd_sof_dev *sdev) in hda_get_interface_mask()
143 void hda_common_enable_sdw_irq(struct snd_sof_dev *sdev, bool enable) in hda_common_enable_sdw_irq()
157 void hda_sdw_int_enable(struct snd_sof_dev *sdev, bool enable) in hda_sdw_int_enable()
170 static int hda_sdw_acpi_scan(struct snd_sof_dev *sdev) in hda_sdw_acpi_scan()
192 static int hda_sdw_probe(struct snd_sof_dev *sdev) in hda_sdw_probe()
261 int hda_sdw_check_lcount_common(struct snd_sof_dev *sdev) in hda_sdw_check_lcount_common()
284 int hda_sdw_check_lcount_ext(struct snd_sof_dev *sdev) in hda_sdw_check_lcount_ext()
309 static int hda_sdw_check_lcount(struct snd_sof_dev *sdev) in hda_sdw_check_lcount()
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()
[all …]
H A Dmtl.c28 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()
79 static bool mtl_dsp_check_sdw_irq(struct snd_sof_dev *sdev) in mtl_dsp_check_sdw_irq()
94 int mtl_ipc_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in mtl_ipc_send_msg()
121 void mtl_enable_ipc_interrupts(struct snd_sof_dev *sdev) in mtl_enable_ipc_interrupts()
135 void mtl_disable_ipc_interrupts(struct snd_sof_dev *sdev) in mtl_disable_ipc_interrupts()
148 static void mtl_enable_sdw_irq(struct snd_sof_dev *sdev, bool enable) in mtl_enable_sdw_irq()
176 int mtl_enable_interrupts(struct snd_sof_dev *sdev, bool enable) in mtl_enable_interrupts()
233 int mtl_dsp_pre_fw_run(struct snd_sof_dev *sdev) in mtl_dsp_pre_fw_run()
[all …]
H A Dhda-codec.c76 void hda_codec_jack_wake_enable(struct snd_sof_dev *sdev, bool enable) in hda_codec_jack_wake_enable()
98 void hda_codec_jack_check(struct snd_sof_dev *sdev) in hda_codec_jack_check()
140 static int hda_codec_probe(struct snd_sof_dev *sdev, int address) in hda_codec_probe()
207 void hda_codec_probe_bus(struct snd_sof_dev *sdev) in hda_codec_probe_bus()
232 void hda_codec_check_for_state_change(struct snd_sof_dev *sdev) in hda_codec_check_for_state_change()
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()
[all …]
H A Datom.c35 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
181 int atom_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in atom_send_msg()
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()
[all …]
H A Dhda-dai-ops.c49 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()
124 static struct hdac_ext_stream *hda_ipc4_get_hext_stream(struct snd_sof_dev *sdev, in hda_ipc4_get_hext_stream()
144 static struct hdac_ext_stream *hda_assign_hext_stream(struct snd_sof_dev *sdev, in hda_assign_hext_stream()
167 static void hda_release_hext_stream(struct snd_sof_dev *sdev, struct snd_soc_dai *cpu_dai, in hda_release_hext_stream()
181 static void hda_setup_hext_stream(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream, in hda_setup_hext_stream()
187 static void hda_reset_hext_stream(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream) in hda_reset_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()
[all …]
H A Dhda-ipc.c23 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()
96 int hda_dsp_ipc4_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in hda_dsp_ipc4_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()
[all …]
H A Dbdw.c83 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
363 static int bdw_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in bdw_send_msg()
373 static int bdw_get_mailbox_offset(struct snd_sof_dev *sdev) in bdw_get_mailbox_offset()
378 static int bdw_get_window_offset(struct snd_sof_dev *sdev, u32 id) in bdw_get_window_offset()
[all …]
/openbmc/linux/drivers/net/ethernet/alacritech/
H A Dslicoss.c78 static unsigned int slic_next_compl_idx(struct slic_device *sdev) in slic_next_compl_idx()
139 static void slic_start_upr(struct slic_device *sdev, struct slic_upr *upr) in slic_start_upr()
149 static void slic_queue_upr(struct slic_device *sdev, struct slic_upr *upr) in slic_queue_upr()
165 static struct slic_upr *slic_dequeue_upr(struct slic_device *sdev) in slic_dequeue_upr()
190 static int slic_new_upr(struct slic_device *sdev, unsigned int type, in slic_new_upr()
222 static void slic_configure_rcv(struct slic_device *sdev) in slic_configure_rcv()
239 static void slic_configure_xmt(struct slic_device *sdev) in slic_configure_xmt()
252 static void slic_configure_mac(struct slic_device *sdev) in slic_configure_mac()
273 static void slic_configure_link_locked(struct slic_device *sdev, int speed, in slic_configure_link_locked()
299 static void slic_configure_link(struct slic_device *sdev, int speed, in slic_configure_link()
[all …]
/openbmc/linux/sound/soc/sof/mediatek/mt8186/
H A Dmt8186.c31 static int mt8186_get_mailbox_offset(struct snd_sof_dev *sdev) in mt8186_get_mailbox_offset()
36 static int mt8186_get_window_offset(struct snd_sof_dev *sdev, u32 id) in mt8186_get_window_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()
229 static int adsp_memory_remap_init(struct snd_sof_dev *sdev, struct mtk_adsp_chip_info *adsp) in adsp_memory_remap_init()
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()
[all …]
/openbmc/linux/drivers/scsi/
H A Dscsi.c160 struct scsi_device *sdev = cmd->device; in scsi_finish_command() local
205 int scsi_device_max_queue_depth(struct scsi_device *sdev) in scsi_device_max_queue_depth()
217 int scsi_change_queue_depth(struct scsi_device *sdev, int depth) in scsi_change_queue_depth()
254 int scsi_track_queue_full(struct scsi_device *sdev, int depth) in scsi_track_queue_full()
292 static int scsi_vpd_inquiry(struct scsi_device *sdev, unsigned char *buffer, in scsi_vpd_inquiry()
336 static int scsi_get_vpd_size(struct scsi_device *sdev, u8 page) in scsi_get_vpd_size()
397 int scsi_get_vpd_page(struct scsi_device *sdev, u8 page, unsigned char *buf, in scsi_get_vpd_page()
435 static struct scsi_vpd *scsi_get_vpd_buf(struct scsi_device *sdev, u8 page) in scsi_get_vpd_buf()
472 static void scsi_update_vpd_page(struct scsi_device *sdev, u8 page, in scsi_update_vpd_page()
499 void scsi_attach_vpd(struct scsi_device *sdev) in scsi_attach_vpd()
[all …]
/openbmc/linux/sound/soc/sof/imx/
H A Dimx8m.c51 struct snd_sof_dev *sdev; member
63 static int imx8m_get_mailbox_offset(struct snd_sof_dev *sdev) in imx8m_get_mailbox_offset()
68 static int imx8m_get_window_offset(struct snd_sof_dev *sdev, u32 id) in imx8m_get_window_offset()
103 static int imx8m_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in imx8m_send_msg()
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()
283 static int imx8m_get_bar_index(struct snd_sof_dev *sdev, u32 type) in imx8m_get_bar_index()
320 static int imx8m_dsp_set_power_state(struct snd_sof_dev *sdev, in imx8m_dsp_set_power_state()
[all …]
H A Dimx8ulp.c52 struct snd_sof_dev *sdev; member
74 static int imx8ulp_get_mailbox_offset(struct snd_sof_dev *sdev) in imx8ulp_get_mailbox_offset()
79 static int imx8ulp_get_window_offset(struct snd_sof_dev *sdev, u32 id) in imx8ulp_get_window_offset()
116 static int imx8ulp_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in imx8ulp_send_msg()
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()
292 static int imx8ulp_get_bar_index(struct snd_sof_dev *sdev, u32 type) in imx8ulp_get_bar_index()
297 static int imx8ulp_suspend(struct snd_sof_dev *sdev) in imx8ulp_suspend()
[all …]
H A Dimx8.c53 struct snd_sof_dev *sdev; member
70 static int imx8_get_mailbox_offset(struct snd_sof_dev *sdev) in imx8_get_mailbox_offset()
75 static int imx8_get_window_offset(struct snd_sof_dev *sdev, u32 id) in imx8_get_window_offset()
110 static int imx8_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in imx8_send_msg()
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()
358 static int imx8_get_bar_index(struct snd_sof_dev *sdev, u32 type) in imx8_get_bar_index()
370 static void imx8_suspend(struct snd_sof_dev *sdev) in imx8_suspend()
[all …]
/openbmc/linux/sound/soc/sof/amd/
H A Dacp.c62 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
309 void memcpy_from_scratch(struct snd_sof_dev *sdev, u32 offset, unsigned int *dst, size_t bytes) in memcpy_from_scratch()
[all …]
H A Dacp-ipc.c18 void acp_mailbox_write(struct snd_sof_dev *sdev, u32 offset, void *message, size_t bytes) in acp_mailbox_write()
24 void acp_mailbox_read(struct snd_sof_dev *sdev, u32 offset, void *message, size_t bytes) in acp_mailbox_read()
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
240 int acp_sof_ipc_msg_data(struct snd_sof_dev *sdev, struct snd_sof_pcm_stream *sps, in acp_sof_ipc_msg_data()
[all …]
/openbmc/linux/arch/arm/common/
H A Dscoop.c42 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 Dspmi.c25 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()
142 int spmi_register_read(struct spmi_device *sdev, u8 addr, u8 *buf) in spmi_register_read()
163 int spmi_ext_register_read(struct spmi_device *sdev, u8 addr, u8 *buf, in spmi_ext_register_read()
185 int spmi_ext_register_readl(struct spmi_device *sdev, u16 addr, u8 *buf, in spmi_ext_register_readl()
205 int spmi_register_write(struct spmi_device *sdev, u8 addr, u8 data) in spmi_register_write()
223 int spmi_register_zero_write(struct spmi_device *sdev, u8 data) in spmi_register_zero_write()
240 int spmi_ext_register_write(struct spmi_device *sdev, u8 addr, const u8 *buf, in spmi_ext_register_write()
262 int spmi_ext_register_writel(struct spmi_device *sdev, u16 addr, const u8 *buf, in spmi_ext_register_writel()
[all …]

12345678910>>...16