Home
last modified time | relevance | path

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

12345678910>>...13

/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() argument
32 static inline void sof_ops_free(struct snd_sof_dev *sdev) in sof_ops_free() argument
41 snd_sof_probe_early(struct snd_sof_dev * sdev) snd_sof_probe_early() argument
49 snd_sof_probe(struct snd_sof_dev * sdev) snd_sof_probe() argument
54 snd_sof_remove(struct snd_sof_dev * sdev) snd_sof_remove() argument
60 snd_sof_remove_late(struct snd_sof_dev * sdev) snd_sof_remove_late() argument
66 snd_sof_shutdown(struct snd_sof_dev * sdev) snd_sof_shutdown() argument
80 snd_sof_dsp_run(struct snd_sof_dev * sdev) snd_sof_dsp_run() argument
85 snd_sof_dsp_stall(struct snd_sof_dev * sdev,unsigned int core_mask) snd_sof_dsp_stall() argument
93 snd_sof_dsp_reset(struct snd_sof_dev * sdev) snd_sof_dsp_reset() argument
102 snd_sof_dsp_core_get(struct snd_sof_dev * sdev,int core) snd_sof_dsp_core_get() argument
136 snd_sof_dsp_core_put(struct snd_sof_dev * sdev,int core) snd_sof_dsp_core_put() argument
166 snd_sof_dsp_pre_fw_run(struct snd_sof_dev * sdev) snd_sof_dsp_pre_fw_run() argument
174 snd_sof_dsp_post_fw_run(struct snd_sof_dev * sdev) snd_sof_dsp_post_fw_run() argument
183 snd_sof_dsp_parse_platform_ext_manifest(struct snd_sof_dev * sdev,const struct sof_ext_man_elem_header * hdr) snd_sof_dsp_parse_platform_ext_manifest() argument
203 snd_sof_dsp_get_bar_index(struct snd_sof_dev * sdev,u32 type) snd_sof_dsp_get_bar_index() argument
211 snd_sof_dsp_get_mailbox_offset(struct snd_sof_dev * sdev) snd_sof_dsp_get_mailbox_offset() argument
220 snd_sof_dsp_get_window_offset(struct snd_sof_dev * sdev,u32 id) snd_sof_dsp_get_window_offset() argument
230 snd_sof_dsp_resume(struct snd_sof_dev * sdev) snd_sof_dsp_resume() argument
238 snd_sof_dsp_suspend(struct snd_sof_dev * sdev,u32 target_state) snd_sof_dsp_suspend() argument
247 snd_sof_dsp_runtime_resume(struct snd_sof_dev * sdev) snd_sof_dsp_runtime_resume() argument
255 snd_sof_dsp_runtime_suspend(struct snd_sof_dev * sdev) snd_sof_dsp_runtime_suspend() argument
263 snd_sof_dsp_runtime_idle(struct snd_sof_dev * sdev) snd_sof_dsp_runtime_idle() argument
271 snd_sof_dsp_hw_params_upon_resume(struct snd_sof_dev * sdev) snd_sof_dsp_hw_params_upon_resume() argument
278 snd_sof_dsp_set_clk(struct snd_sof_dev * sdev,u32 freq) snd_sof_dsp_set_clk() argument
287 snd_sof_dsp_set_power_state(struct snd_sof_dev * sdev,const struct sof_dsp_power_state * target_state) snd_sof_dsp_set_power_state() argument
305 snd_sof_debugfs_add_region_item(struct snd_sof_dev * sdev,enum snd_sof_fw_blk_type blk_type,u32 offset,size_t size,const char * name,enum sof_debugfs_access_type access_type) snd_sof_debugfs_add_region_item() argument
317 snd_sof_dsp_write8(struct snd_sof_dev * sdev,u32 bar,u32 offset,u8 value) snd_sof_dsp_write8() argument
326 snd_sof_dsp_write(struct snd_sof_dev * sdev,u32 bar,u32 offset,u32 value) snd_sof_dsp_write() argument
335 snd_sof_dsp_write64(struct snd_sof_dev * sdev,u32 bar,u32 offset,u64 value) snd_sof_dsp_write64() argument
344 snd_sof_dsp_read8(struct snd_sof_dev * sdev,u32 bar,u32 offset) snd_sof_dsp_read8() argument
353 snd_sof_dsp_read(struct snd_sof_dev * sdev,u32 bar,u32 offset) snd_sof_dsp_read() argument
362 snd_sof_dsp_read64(struct snd_sof_dev * sdev,u32 bar,u32 offset) snd_sof_dsp_read64() argument
371 snd_sof_dsp_update8(struct snd_sof_dev * sdev,u32 bar,u32 offset,u8 mask,u8 value) snd_sof_dsp_update8() argument
383 snd_sof_dsp_block_read(struct snd_sof_dev * sdev,enum snd_sof_fw_blk_type blk_type,u32 offset,void * dest,size_t bytes) snd_sof_dsp_block_read() argument
390 snd_sof_dsp_block_write(struct snd_sof_dev * sdev,enum snd_sof_fw_blk_type blk_type,u32 offset,void * src,size_t bytes) snd_sof_dsp_block_write() argument
398 snd_sof_dsp_mailbox_read(struct snd_sof_dev * sdev,u32 offset,void * dest,size_t bytes) snd_sof_dsp_mailbox_read() argument
405 snd_sof_dsp_mailbox_write(struct snd_sof_dev * sdev,u32 offset,void * src,size_t bytes) snd_sof_dsp_mailbox_write() argument
413 snd_sof_dsp_send_msg(struct snd_sof_dev * sdev,struct snd_sof_ipc_msg * msg) snd_sof_dsp_send_msg() argument
421 snd_sof_pcm_platform_open(struct snd_sof_dev * sdev,struct snd_pcm_substream * substream) snd_sof_pcm_platform_open() argument
432 snd_sof_pcm_platform_close(struct snd_sof_dev * sdev,struct snd_pcm_substream * substream) snd_sof_pcm_platform_close() argument
443 snd_sof_pcm_platform_hw_params(struct snd_sof_dev * sdev,struct snd_pcm_substream * substream,struct snd_pcm_hw_params * params,struct snd_sof_platform_stream_params * platform_params) snd_sof_pcm_platform_hw_params() argument
457 snd_sof_pcm_platform_hw_free(struct snd_sof_dev * sdev,struct snd_pcm_substream * substream) snd_sof_pcm_platform_hw_free() argument
468 snd_sof_pcm_platform_trigger(struct snd_sof_dev * sdev,struct snd_pcm_substream * substream,int cmd) snd_sof_pcm_platform_trigger() argument
478 snd_sof_load_firmware(struct snd_sof_dev * sdev) snd_sof_load_firmware() argument
486 snd_sof_ipc_msg_data(struct snd_sof_dev * sdev,struct snd_sof_pcm_stream * sps,void * p,size_t sz) snd_sof_ipc_msg_data() argument
494 snd_sof_set_stream_data_offset(struct snd_sof_dev * sdev,struct snd_sof_pcm_stream * sps,size_t posn_offset) snd_sof_set_stream_data_offset() argument
507 snd_sof_pcm_platform_pointer(struct snd_sof_dev * sdev,struct snd_pcm_substream * substream) snd_sof_pcm_platform_pointer() argument
517 snd_sof_pcm_platform_ack(struct snd_sof_dev * sdev,struct snd_pcm_substream * substream) snd_sof_pcm_platform_ack() argument
527 snd_sof_pcm_get_dai_frame_counter(struct snd_sof_dev * sdev,struct snd_soc_component * component,struct snd_pcm_substream * substream) snd_sof_pcm_get_dai_frame_counter() argument
539 snd_sof_pcm_get_host_byte_counter(struct snd_sof_dev * sdev,struct snd_soc_component * component,struct snd_pcm_substream * substream) snd_sof_pcm_get_host_byte_counter() argument
552 snd_sof_machine_register(struct snd_sof_dev * sdev,void * pdata) snd_sof_machine_register() argument
561 snd_sof_machine_unregister(struct snd_sof_dev * sdev,void * pdata) snd_sof_machine_unregister() argument
568 snd_sof_machine_select(struct snd_sof_dev * sdev) snd_sof_machine_select() argument
578 snd_sof_set_mach_params(struct snd_soc_acpi_mach * mach,struct snd_sof_dev * sdev) snd_sof_set_mach_params() argument
585 snd_sof_is_chain_dma_supported(struct snd_sof_dev * sdev,u32 dai_type) snd_sof_is_chain_dma_supported() argument
611 snd_sof_dsp_read_poll_timeout(sdev,bar,offset,val,cond,sleep_us,timeout_us) global() argument
[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 Dcore.c123 void sof_print_oops_and_stack(struct snd_sof_dev *sdev, const char *level, in sof_print_oops_and_stack()
163 void sof_set_fw_state(struct snd_sof_dev *sdev, enum sof_fw_state new_state) in sof_set_fw_state()
183 static struct snd_sof_of_mach *sof_of_machine_select(struct snd_sof_dev *sdev) in sof_of_machine_select()
206 static int sof_machine_check(struct snd_sof_dev *sdev) in sof_machine_check()
265 static int sof_select_ipc_and_paths(struct snd_sof_dev *sdev) in sof_select_ipc_and_paths()
317 static int validate_sof_ops(struct snd_sof_dev *sdev) in validate_sof_ops()
345 static int sof_init_sof_ops(struct snd_sof_dev *sdev) in sof_init_sof_ops()
368 static int sof_init_environment(struct snd_sof_dev *sdev) in sof_init_environment()
454 static int sof_probe_continue(struct snd_sof_dev *sdev) in sof_probe_continue()
598 struct snd_sof_dev *sdev = in sof_probe_work() local
[all …]
H A Dsof-audio.c16 static bool is_virtual_widget(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget, in is_virtual_widget()
30 static void sof_reset_route_setup_status(struct snd_sof_dev *sdev, struct snd_sof_widget *widget) in sof_reset_route_setup_status()
44 static int sof_widget_free_unlocked(struct snd_sof_dev *sdev, in sof_widget_free_unlocked()
122 int sof_widget_free(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget) in sof_widget_free()
134 static int sof_widget_setup_unlocked(struct snd_sof_dev *sdev, in sof_widget_setup_unlocked()
241 int sof_widget_setup(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget) in sof_widget_setup()
253 int sof_route_setup(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *wsource, in sof_route_setup()
295 static int sof_setup_pipeline_connections(struct snd_sof_dev *sdev, in sof_setup_pipeline_connections()
406 sof_unprepare_widgets_in_path(struct snd_sof_dev *sdev, struct snd_soc_dapm_widget *widget, in sof_unprepare_widgets_in_path()
442 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.c26 struct snd_sof_dev *sdev = dfse->sdev; in sof_dfsentry_read() local
114 static int snd_sof_debugfs_io_item(struct snd_sof_dev *sdev, in snd_sof_debugfs_io_item()
155 int snd_sof_debugfs_add_region_item_iomem(struct snd_sof_dev *sdev, in snd_sof_debugfs_add_region_item_iomem()
171 int snd_sof_debugfs_buf_item(struct snd_sof_dev *sdev, in snd_sof_debugfs_buf_item()
198 static int memory_info_update(struct snd_sof_dev *sdev, char *buf, size_t buff_size) in memory_info_update()
253 struct snd_sof_dev *sdev = dfse->sdev; in memory_info_read() local
271 struct snd_sof_dev *sdev = dfse->sdev; in memory_info_open() local
292 int snd_sof_dbg_memory_info_init(struct snd_sof_dev *sdev) in snd_sof_dbg_memory_info_init()
312 int snd_sof_dbg_init(struct snd_sof_dev *sdev) in snd_sof_dbg_init()
380 void snd_sof_free_debug(struct snd_sof_dev *sdev) in snd_sof_free_debug()
[all …]
H A Dipc4.c84 static int sof_ipc4_check_reply_status(struct snd_sof_dev *sdev, u32 status) in sof_ipc4_check_reply_status()
259 static void sof_ipc4_dump_payload(struct snd_sof_dev *sdev, in sof_ipc4_dump_payload()
266 static int sof_ipc4_get_reply(struct snd_sof_dev *sdev) in sof_ipc4_get_reply()
298 struct snd_sof_dev *sdev = ipc->sdev; in ipc4_wait_tx_done() local
348 struct snd_sof_dev *sdev = ipc->sdev; in ipc4_tx_msg_unlocked() local
368 static int sof_ipc4_tx_msg(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes, in sof_ipc4_tx_msg()
411 static int sof_ipc4_set_get_data(struct snd_sof_dev *sdev, void *data, in sof_ipc4_set_get_data()
534 static int sof_ipc4_init_msg_memory(struct snd_sof_dev *sdev) in sof_ipc4_init_msg_memory()
554 size_t sof_ipc4_find_debug_slot_offset_by_type(struct snd_sof_dev *sdev, in sof_ipc4_find_debug_slot_offset_by_type()
577 static int ipc4_fw_ready(struct snd_sof_dev *sdev, struct sof_ipc4_msg *ipc4_msg) in ipc4_fw_ready()
[all …]
/linux/sound/soc/sof/intel/
H A Dhda-dsp.c45 static void hda_get_interfaces(struct snd_sof_dev *sdev, u32 *interface_mask) in hda_get_interfaces()
85 u32 hda_get_interface_mask(struct snd_sof_dev *sdev) in hda_get_interface_mask()
95 bool hda_is_chain_dma_supported(struct snd_sof_dev *sdev, u32 dai_type) in hda_is_chain_dma_supported()
129 static int hda_dsp_core_reset_enter(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_reset_enter()
168 static int hda_dsp_core_reset_leave(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_reset_leave()
208 int hda_dsp_core_stall_reset(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_stall_reset()
221 bool hda_dsp_core_is_enabled(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_is_enabled()
247 int hda_dsp_core_run(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_run()
279 int hda_dsp_core_power_up(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_power_up()
327 static int hda_dsp_core_power_down(struct snd_sof_dev *sdev, unsigned int core_mask) in hda_dsp_core_power_down()
[all …]
H A Dhda.c77 struct snd_sof_dev *sdev = widget_to_sdev(w); in sdw_params_free() local
130 static int hda_sdw_acpi_scan(struct snd_sof_dev *sdev) in hda_sdw_acpi_scan()
152 static int hda_sdw_probe(struct snd_sof_dev *sdev) in hda_sdw_probe()
221 int hda_sdw_startup(struct snd_sof_dev *sdev) in hda_sdw_startup()
243 static int hda_sdw_exit(struct snd_sof_dev *sdev) in hda_sdw_exit()
258 bool hda_common_check_sdw_irq(struct snd_sof_dev *sdev) in hda_common_check_sdw_irq()
285 static bool hda_dsp_check_sdw_irq(struct snd_sof_dev *sdev) in hda_dsp_check_sdw_irq()
305 bool hda_sdw_check_wakeen_irq_common(struct snd_sof_dev *sdev) in hda_sdw_check_wakeen_irq_common()
319 static bool hda_sdw_check_wakeen_irq(struct snd_sof_dev *sdev) in hda_sdw_check_wakeen_irq()
334 void hda_sdw_process_wakeen_common(struct snd_sof_dev *sdev) in hda_sdw_process_wakeen_common()
[all …]
H A Dmtl.c31 static void mtl_ipc_host_done(struct snd_sof_dev *sdev) in mtl_ipc_host_done()
46 static void mtl_ipc_dsp_done(struct snd_sof_dev *sdev) in mtl_ipc_dsp_done()
61 bool mtl_dsp_check_ipc_irq(struct snd_sof_dev *sdev) in mtl_dsp_check_ipc_irq()
83 static bool mtl_dsp_check_sdw_irq(struct snd_sof_dev *sdev) in mtl_dsp_check_sdw_irq()
98 int mtl_ipc_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in mtl_ipc_send_msg()
126 void mtl_enable_ipc_interrupts(struct snd_sof_dev *sdev) in mtl_enable_ipc_interrupts()
140 void mtl_disable_ipc_interrupts(struct snd_sof_dev *sdev) in mtl_disable_ipc_interrupts()
154 static void mtl_enable_sdw_irq(struct snd_sof_dev *sdev, bool enable) in mtl_enable_sdw_irq()
182 int mtl_enable_interrupts(struct snd_sof_dev *sdev, bool enable) in mtl_enable_interrupts()
240 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()
107 void hda_codec_jack_check(struct snd_sof_dev *sdev) in hda_codec_jack_check()
149 static int hda_codec_probe(struct snd_sof_dev *sdev, int address) in hda_codec_probe()
217 void hda_codec_probe_bus(struct snd_sof_dev *sdev) in hda_codec_probe_bus()
242 void hda_codec_check_for_state_change(struct snd_sof_dev *sdev) in hda_codec_check_for_state_change()
255 void hda_codec_detect_mask(struct snd_sof_dev *sdev) in hda_codec_detect_mask()
280 void hda_codec_init_cmd_io(struct snd_sof_dev *sdev) in hda_codec_init_cmd_io()
293 void hda_codec_resume_cmd_io(struct snd_sof_dev *sdev) in hda_codec_resume_cmd_io()
307 void hda_codec_stop_cmd_io(struct snd_sof_dev *sdev) in hda_codec_stop_cmd_io()
320 void hda_codec_suspend_cmd_io(struct snd_sof_dev *sdev) in hda_codec_suspend_cmd_io()
[all …]
H A Dhda-ipc.c29 static void hda_dsp_ipc_host_done(struct snd_sof_dev *sdev) in hda_dsp_ipc_host_done()
47 static void hda_dsp_ipc_dsp_done(struct snd_sof_dev *sdev) in hda_dsp_ipc_dsp_done()
65 int hda_dsp_ipc_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in hda_dsp_ipc_send_msg()
104 int hda_dsp_ipc4_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in hda_dsp_ipc4_send_msg()
131 void hda_dsp_ipc_get_reply(struct snd_sof_dev *sdev) in hda_dsp_ipc_get_reply()
170 struct snd_sof_dev *sdev = context; in hda_dsp_ipc4_irq_thread() local
253 struct snd_sof_dev *sdev = context; in hda_dsp_ipc_irq_thread() local
364 bool hda_dsp_check_ipc_irq(struct snd_sof_dev *sdev) in hda_dsp_check_ipc_irq()
397 int hda_dsp_ipc_get_mailbox_offset(struct snd_sof_dev *sdev) in hda_dsp_ipc_get_mailbox_offset()
403 int hda_dsp_ipc_get_window_offset(struct snd_sof_dev *sdev, u32 id) in hda_dsp_ipc_get_window_offset()
[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.c50 struct snd_sof_dev *sdev; in hda_link_stream_assign() local
118 static struct hdac_ext_stream *hda_get_hext_stream(struct snd_sof_dev *sdev, in hda_get_hext_stream()
125 static struct hdac_ext_stream *hda_ipc4_get_hext_stream(struct snd_sof_dev *sdev, in hda_ipc4_get_hext_stream()
145 static struct hdac_ext_stream *hda_assign_hext_stream(struct snd_sof_dev *sdev, in hda_assign_hext_stream()
160 static void hda_release_hext_stream(struct snd_sof_dev *sdev, struct snd_soc_dai *cpu_dai, in hda_release_hext_stream()
169 static void hda_setup_hext_stream(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream, in hda_setup_hext_stream()
175 static void hda_reset_hext_stream(struct snd_sof_dev *sdev, struct hdac_ext_stream *hext_stream) in hda_reset_hext_stream()
180 static void hda_codec_dai_set_stream(struct snd_sof_dev *sdev, in hda_codec_dai_set_stream()
191 static unsigned int hda_calc_stream_format(struct snd_sof_dev *sdev, in hda_calc_stream_format()
216 static struct hdac_ext_link *hda_get_hlink(struct snd_sof_dev *sdev, in hda_get_hlink()
[all …]
H A Dlnl.c52 static int lnl_hda_dsp_probe(struct snd_sof_dev *sdev) in lnl_hda_dsp_probe()
63 static void lnl_hda_dsp_remove(struct snd_sof_dev *sdev) in lnl_hda_dsp_remove()
75 static int lnl_hda_dsp_resume(struct snd_sof_dev *sdev) in lnl_hda_dsp_resume()
86 static int lnl_hda_dsp_runtime_resume(struct snd_sof_dev *sdev) in lnl_hda_dsp_runtime_resume()
97 static int lnl_dsp_post_fw_run(struct snd_sof_dev *sdev) in lnl_dsp_post_fw_run()
114 int sof_lnl_ops_init(struct snd_sof_dev *sdev) in sof_lnl_ops_init()
188 static bool lnl_dsp_check_sdw_irq(struct snd_sof_dev *sdev) in lnl_dsp_check_sdw_irq()
195 static int lnl_dsp_disable_interrupts(struct snd_sof_dev *sdev) in lnl_dsp_disable_interrupts()
201 static bool lnl_sdw_check_wakeen_irq(struct snd_sof_dev *sdev) in lnl_sdw_check_wakeen_irq()
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 …]
/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 …]
/linux/sound/soc/sof/amd/
H A Dacp.c65 struct snd_sof_dev *sdev = adata->dev; in init_dma_descriptor() local
90 struct snd_sof_dev *sdev = adata->dev; in configure_dma_descriptor() local
105 struct snd_sof_dev *sdev = adata->dev; in config_dma_channel() local
158 struct snd_sof_dev *sdev = adata->dev; in acpbus_dma_start() local
178 struct snd_sof_dev *sdev = adata->dev; in configure_and_run_dma() local
210 struct snd_sof_dev *sdev = adata->dev; in psp_mbox_ready() local
235 struct snd_sof_dev *sdev = adata->dev; in psp_send_cmd() local
271 struct snd_sof_dev *sdev = adata->dev; in configure_and_run_sha_dma() local
343 struct snd_sof_dev *sdev = adata->dev; in acp_dma_status() local
367 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 …]
/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()
193 static void adsp_sram_power_on(struct snd_sof_dev *sdev) in adsp_sram_power_on()
199 static void adsp_sram_power_off(struct snd_sof_dev *sdev) in adsp_sram_power_off()
206 static int adsp_memory_remap_init(struct snd_sof_dev *sdev, struct mtk_adsp_chip_info *adsp) in adsp_memory_remap_init()
228 static int mt8186_run(struct snd_sof_dev *sdev) in mt8186_run()
239 static int mt8186_dsp_probe(struct snd_sof_dev *sdev) in mt8186_dsp_probe()
345 static void mt8186_dsp_remove(struct snd_sof_dev *sdev) in mt8186_dsp_remove()
355 static int mt8186_dsp_shutdown(struct snd_sof_dev *sdev) in mt8186_dsp_shutdown()
[all …]
/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 …]
H A Dscsi_lib.c287 int scsi_execute_cmd(struct scsi_device *sdev, const unsigned char *cmd, in scsi_execute_cmd()
383 void scsi_device_unbusy(struct scsi_device *sdev, struct scsi_cmnd *cmd) in scsi_device_unbusy()
401 static void scsi_kick_sdev_queue(struct scsi_device *sdev, void *data) in scsi_kick_sdev_queue()
442 static inline bool scsi_device_is_busy(struct scsi_device *sdev) in scsi_device_is_busy()
474 struct scsi_device *sdev; in scsi_starved_list_run() local
538 struct scsi_device *sdev = q->queuedata; in scsi_run_queue() local
551 struct scsi_device *sdev; in scsi_requeue_run_queue() local
561 struct scsi_device *sdev; in scsi_run_host_queues() local
594 static void scsi_run_queue_async(struct scsi_device *sdev) in scsi_run_queue_async()
628 struct scsi_device *sdev = cmd->device; in scsi_end_request() local
[all …]
/linux/sound/soc/sof/imx/
H A Dimx8m.c45 struct snd_sof_dev *sdev; member
58 static int imx8m_get_mailbox_offset(struct snd_sof_dev *sdev) in imx8m_get_mailbox_offset()
63 static int imx8m_get_window_offset(struct snd_sof_dev *sdev, u32 id) in imx8m_get_window_offset()
98 static int imx8m_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in imx8m_send_msg()
112 static int imx8m_run(struct snd_sof_dev *sdev) in imx8m_run()
121 static int imx8m_reset(struct snd_sof_dev *sdev) in imx8m_reset()
145 static int imx8m_probe(struct snd_sof_dev *sdev) in imx8m_probe()
264 static void imx8m_remove(struct snd_sof_dev *sdev) in imx8m_remove()
273 static int imx8m_get_bar_index(struct snd_sof_dev *sdev, u32 type) in imx8m_get_bar_index()
317 static int imx8m_dsp_set_power_state(struct snd_sof_dev *sdev, in imx8m_dsp_set_power_state()
[all …]
H A Dimx8ulp.c45 struct snd_sof_dev *sdev; member
68 static int imx8ulp_get_mailbox_offset(struct snd_sof_dev *sdev) in imx8ulp_get_mailbox_offset()
73 static int imx8ulp_get_window_offset(struct snd_sof_dev *sdev, u32 id) in imx8ulp_get_window_offset()
110 static int imx8ulp_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in imx8ulp_send_msg()
121 static int imx8ulp_run(struct snd_sof_dev *sdev) in imx8ulp_run()
130 static int imx8ulp_reset(struct snd_sof_dev *sdev) in imx8ulp_reset()
156 static int imx8ulp_probe(struct snd_sof_dev *sdev) in imx8ulp_probe()
273 static void imx8ulp_remove(struct snd_sof_dev *sdev) in imx8ulp_remove()
282 static int imx8ulp_get_bar_index(struct snd_sof_dev *sdev, u32 type) in imx8ulp_get_bar_index()
287 static int imx8ulp_suspend(struct snd_sof_dev *sdev) in imx8ulp_suspend()
[all …]
H A Dimx8.c46 struct snd_sof_dev *sdev; member
64 static int imx8_get_mailbox_offset(struct snd_sof_dev *sdev) in imx8_get_mailbox_offset()
69 static int imx8_get_window_offset(struct snd_sof_dev *sdev, u32 id) in imx8_get_window_offset()
104 static int imx8_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in imx8_send_msg()
118 static int imx8x_run(struct snd_sof_dev *sdev) in imx8x_run()
158 static int imx8_run(struct snd_sof_dev *sdev) in imx8_run()
176 static int imx8_probe(struct snd_sof_dev *sdev) in imx8_probe()
332 static void imx8_remove(struct snd_sof_dev *sdev) in imx8_remove()
347 static int imx8_get_bar_index(struct snd_sof_dev *sdev, u32 type) in imx8_get_bar_index()
359 static void imx8_suspend(struct snd_sof_dev *sdev) in imx8_suspend()
[all …]
/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>>...13