Home
last modified time | relevance | path

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

1234567891011

/linux/sound/soc/sof/
H A Dsof-client.c95 if (sdev->pdata->ipc_type != SOF_IPC_TYPE_3) in sof_unregister_ipc_flood_test() argument
112 static void sof_unregister_ipc_flood_test(struct snd_sof_dev *sdev) in sof_register_ipc_msg_injector() argument
117 sof_client_dev_unregister(sdev, "ipc_flood", i); in sof_unregister_ipc_msg_injector() argument
73 sof_register_ipc_flood_test(struct snd_sof_dev * sdev) sof_register_ipc_flood_test() argument
103 sof_register_ipc_flood_test(struct snd_sof_dev * sdev) sof_register_ipc_flood_test() argument
108 sof_unregister_ipc_flood_test(struct snd_sof_dev * sdev) sof_unregister_ipc_flood_test() argument
122 sof_register_ipc_msg_injector(struct snd_sof_dev * sdev) sof_register_ipc_msg_injector() argument
127 sof_unregister_ipc_msg_injector(struct snd_sof_dev * sdev) sof_unregister_ipc_msg_injector() argument
131 sof_register_ipc_kernel_injector(struct snd_sof_dev * sdev) sof_register_ipc_kernel_injector() argument
140 sof_unregister_ipc_kernel_injector(struct snd_sof_dev * sdev) sof_unregister_ipc_kernel_injector() argument
145 sof_register_ipc_kernel_injector(struct snd_sof_dev * sdev) sof_register_ipc_kernel_injector() argument
150 sof_unregister_ipc_kernel_injector(struct snd_sof_dev * sdev) sof_unregister_ipc_kernel_injector() argument
153 sof_register_clients(struct snd_sof_dev * sdev) sof_register_clients() argument
198 sof_unregister_clients(struct snd_sof_dev * sdev) sof_unregister_clients() argument
208 sof_client_dev_register(struct snd_sof_dev * sdev,const char * name,u32 id,const void * data,size_t size) sof_client_dev_register() argument
264 sof_client_dev_unregister(struct snd_sof_dev * sdev,const char * name,u32 id) sof_client_dev_unregister() argument
347 struct snd_sof_dev *sdev = c->sdev; sof_client_ipc4_find_module() local
358 sof_suspend_clients(struct snd_sof_dev * sdev,pm_message_t state) sof_suspend_clients() argument
381 sof_resume_clients(struct snd_sof_dev * sdev) sof_resume_clients() argument
419 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); sof_client_get_fw_version() local
427 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); sof_client_get_ipc_max_payload_size() local
435 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); sof_client_get_ipc_type() local
444 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); sof_client_core_module_get() local
455 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); sof_client_core_module_put() local
462 sof_client_ipc_rx_dispatcher(struct snd_sof_dev * sdev,void * msg_buf) sof_client_ipc_rx_dispatcher() argument
495 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); sof_client_register_ipc_rx_handler() local
533 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); sof_client_unregister_ipc_rx_handler() local
551 sof_client_fw_state_dispatcher(struct snd_sof_dev * sdev) sof_client_fw_state_dispatcher() argument
566 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); sof_client_register_fw_state_handler() local
590 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); sof_client_unregister_fw_state_handler() local
609 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev); sof_client_get_fw_state() local
[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 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()
252 struct snd_sof_dev *sdev = dfse->sdev; in memory_info_read() local
270 struct snd_sof_dev *sdev = dfse->sdev; in memory_info_open() local
291 int snd_sof_dbg_memory_info_init(struct snd_sof_dev *sdev) in snd_sof_dbg_memory_info_init()
311 int snd_sof_dbg_init(struct snd_sof_dev *sdev) in snd_sof_dbg_init()
379 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()
284 static void sof_ipc4_dump_payload(struct snd_sof_dev *sdev, in sof_ipc4_dump_payload()
291 static int sof_ipc4_get_reply(struct snd_sof_dev *sdev) in sof_ipc4_get_reply()
323 struct snd_sof_dev *sdev = ipc->sdev; in ipc4_wait_tx_done() local
373 struct snd_sof_dev *sdev = ipc->sdev; in ipc4_tx_msg_unlocked() local
393 static int sof_ipc4_tx_msg(struct snd_sof_dev *sdev, void *msg_data, size_t msg_bytes, in sof_ipc4_tx_msg()
436 static int sof_ipc4_set_get_data(struct snd_sof_dev *sdev, void *data, in sof_ipc4_set_get_data()
559 static int sof_ipc4_init_msg_memory(struct snd_sof_dev *sdev) in sof_ipc4_init_msg_memory()
579 size_t sof_ipc4_find_debug_slot_offset_by_type(struct snd_sof_dev *sdev, in sof_ipc4_find_debug_slot_offset_by_type()
602 static int ipc4_fw_ready(struct snd_sof_dev *sdev, struct sof_ipc4_msg *ipc4_msg) in ipc4_fw_ready()
[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() argument
59 static int trace_filter_parse_entry(struct snd_sof_dev *sdev, const char *line, in trace_filter_parse_entry() argument
110 static int trace_filter_parse(struct snd_sof_dev *sdev, char *string, in trace_filter_parse() argument
149 ipc3_trace_update_filter(struct snd_sof_dev * sdev,int num_elems,struct sof_ipc_trace_filter_elem * elems) ipc3_trace_update_filter() argument
187 struct snd_sof_dev *sdev = dfse->sdev; dfsentry_trace_filter_write() local
226 debugfs_create_trace_filter(struct snd_sof_dev * sdev) debugfs_create_trace_filter() argument
260 sof_dtrace_avail(struct snd_sof_dev * sdev,loff_t pos,size_t buffer_size) sof_dtrace_avail() argument
281 sof_wait_dtrace_avail(struct snd_sof_dev * sdev,loff_t pos,size_t buffer_size) sof_wait_dtrace_avail() argument
319 struct snd_sof_dev *sdev = dfse->sdev; dfsentry_dtrace_read() local
375 struct snd_sof_dev *sdev = dfse->sdev; dfsentry_dtrace_release() local
392 debugfs_create_dtrace(struct snd_sof_dev * sdev) debugfs_create_dtrace() argument
422 ipc3_dtrace_enable(struct snd_sof_dev * sdev) ipc3_dtrace_enable() argument
490 ipc3_dtrace_init(struct snd_sof_dev * sdev) ipc3_dtrace_init() argument
560 ipc3_dtrace_posn_update(struct snd_sof_dev * sdev,struct sof_ipc_dma_trace_posn * posn) ipc3_dtrace_posn_update() argument
581 ipc3_dtrace_fw_crashed(struct snd_sof_dev * sdev) ipc3_dtrace_fw_crashed() argument
591 ipc3_dtrace_release(struct snd_sof_dev * sdev,bool only_stop) ipc3_dtrace_release() argument
634 ipc3_dtrace_suspend(struct snd_sof_dev * sdev,pm_message_t pm_state) ipc3_dtrace_suspend() argument
639 ipc3_dtrace_resume(struct snd_sof_dev * sdev) ipc3_dtrace_resume() argument
644 ipc3_dtrace_free(struct snd_sof_dev * sdev) ipc3_dtrace_free() argument
[all...]
H A Dpcm.c70 sof_pcm_setup_connected_widgets(struct snd_sof_dev *sdev, struct snd_soc_pcm_runtime *rtd, in sof_pcm_setup_connected_widgets()
107 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_pcm_hw_params() local
176 static int sof_pcm_stream_free(struct snd_sof_dev *sdev, in sof_pcm_stream_free()
228 int sof_pcm_free_all_streams(struct snd_sof_dev *sdev) in sof_pcm_free_all_streams()
258 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_pcm_hw_free() local
283 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_pcm_prepare() local
330 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_pcm_trigger() local
442 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_pcm_pointer() local
482 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_pcm_open() local
544 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component); in sof_pcm_close() local
[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() argument
85 u32 hda_get_interface_mask(struct snd_sof_dev *sdev) in hda_get_interface_mask() argument
95 bool hda_is_chain_dma_supported(struct snd_sof_dev *sdev, u32 dai_type) in hda_is_chain_dma_supported() argument
129 static int hda_dsp_core_reset_enter(struct snd_sof_dev *sdev, unsigne argument
168 hda_dsp_core_reset_leave(struct snd_sof_dev * sdev,unsigned int core_mask) hda_dsp_core_reset_leave() argument
208 hda_dsp_core_stall_reset(struct snd_sof_dev * sdev,unsigned int core_mask) hda_dsp_core_stall_reset() argument
221 hda_dsp_core_is_enabled(struct snd_sof_dev * sdev,unsigned int core_mask) hda_dsp_core_is_enabled() argument
247 hda_dsp_core_run(struct snd_sof_dev * sdev,unsigned int core_mask) hda_dsp_core_run() argument
279 hda_dsp_core_power_up(struct snd_sof_dev * sdev,unsigned int core_mask) hda_dsp_core_power_up() argument
327 hda_dsp_core_power_down(struct snd_sof_dev * sdev,unsigned int core_mask) hda_dsp_core_power_down() argument
350 hda_dsp_enable_core(struct snd_sof_dev * sdev,unsigned int core_mask) hda_dsp_enable_core() argument
375 hda_dsp_core_reset_power_down(struct snd_sof_dev * sdev,unsigned int core_mask) hda_dsp_core_reset_power_down() argument
416 hda_dsp_ipc_int_enable(struct snd_sof_dev * sdev) hda_dsp_ipc_int_enable() argument
435 hda_dsp_ipc_int_disable(struct snd_sof_dev * sdev) hda_dsp_ipc_int_disable() argument
453 hda_dsp_wait_d0i3c_done(struct snd_sof_dev * sdev) hda_dsp_wait_d0i3c_done() argument
470 hda_dsp_send_pm_gate_ipc(struct snd_sof_dev * sdev,u32 flags) hda_dsp_send_pm_gate_ipc() argument
480 hda_dsp_update_d0i3c_register(struct snd_sof_dev * sdev,u8 value) hda_dsp_update_d0i3c_register() argument
529 hda_dsp_d0i3_streaming_applicable(struct snd_sof_dev * sdev) hda_dsp_d0i3_streaming_applicable() argument
553 hda_dsp_set_D0_state(struct snd_sof_dev * sdev,const struct sof_dsp_power_state * target_state) hda_dsp_set_D0_state() argument
635 hda_dsp_state_log(struct snd_sof_dev * sdev) hda_dsp_state_log() argument
675 hda_dsp_set_power_state(struct snd_sof_dev * sdev,const struct sof_dsp_power_state * target_state) hda_dsp_set_power_state() argument
711 hda_dsp_set_power_state_ipc3(struct snd_sof_dev * sdev,const struct sof_dsp_power_state * target_state) hda_dsp_set_power_state_ipc3() argument
737 hda_dsp_set_power_state_ipc4(struct snd_sof_dev * sdev,const struct sof_dsp_power_state * target_state) hda_dsp_set_power_state_ipc4() argument
779 hda_suspend(struct snd_sof_dev * sdev,bool runtime_suspend) hda_suspend() argument
859 hda_resume(struct snd_sof_dev * sdev,bool runtime_resume) hda_resume() argument
900 hda_dsp_resume(struct snd_sof_dev * sdev) hda_dsp_resume() argument
953 hda_dsp_runtime_resume(struct snd_sof_dev * sdev) hda_dsp_runtime_resume() argument
969 hda_dsp_runtime_idle(struct snd_sof_dev * sdev) hda_dsp_runtime_idle() argument
983 hda_dsp_runtime_suspend(struct snd_sof_dev * sdev) hda_dsp_runtime_suspend() argument
1009 hda_dsp_suspend(struct snd_sof_dev * sdev,u32 target_state) hda_dsp_suspend() argument
1074 hda_dsp_check_for_dma_streams(struct snd_sof_dev * sdev) hda_dsp_check_for_dma_streams() argument
1093 hda_dsp_s5_quirk(struct snd_sof_dev * sdev) hda_dsp_s5_quirk() argument
1123 hda_dsp_shutdown_dma_flush(struct snd_sof_dev * sdev) hda_dsp_shutdown_dma_flush() argument
1147 hda_dsp_shutdown(struct snd_sof_dev * sdev) hda_dsp_shutdown() argument
1154 hda_dsp_set_hw_params_upon_resume(struct snd_sof_dev * sdev) hda_dsp_set_hw_params_upon_resume() argument
1173 struct snd_sof_dev *sdev = dev_get_drvdata(bus->dev); hda_dsp_d0i3_work() local
1194 hda_dsp_core_get(struct snd_sof_dev * sdev,int core) hda_dsp_core_get() argument
1236 hda_common_enable_sdw_irq(struct snd_sof_dev * sdev,bool enable) hda_common_enable_sdw_irq() argument
1251 hda_sdw_int_enable(struct snd_sof_dev * sdev,bool enable) hda_sdw_int_enable() argument
1265 hda_sdw_check_lcount_common(struct snd_sof_dev * sdev) hda_sdw_check_lcount_common() argument
1289 hda_sdw_check_lcount_ext(struct snd_sof_dev * sdev) hda_sdw_check_lcount_ext() argument
1315 hda_sdw_check_lcount(struct snd_sof_dev * sdev) hda_sdw_check_lcount() argument
1327 hda_sdw_process_wakeen(struct snd_sof_dev * sdev) hda_sdw_process_wakeen() argument
1343 hda_dsp_disable_interrupts(struct snd_sof_dev * sdev) hda_dsp_disable_interrupts() argument
1491 hda_dsp_get_state(struct snd_sof_dev * sdev,const char * level) hda_dsp_get_state() argument
1563 hda_dsp_get_registers(struct snd_sof_dev * sdev,struct sof_ipc_dsp_oops_xtensa * xoops,struct sof_ipc_panic_info * panic_info,u32 * stack,size_t stack_words) hda_dsp_get_registers() argument
1592 hda_dsp_dump_ext_rom_status(struct snd_sof_dev * sdev,const char * level,u32 flags) hda_dsp_dump_ext_rom_status() argument
1611 hda_dsp_dump(struct snd_sof_dev * sdev,u32 flags) hda_dsp_dump() argument
[all...]
H A Dhda.c82 struct snd_sof_dev *sdev = widget_to_sdev(w); in sdw_params_free() local
135 static int hda_sdw_acpi_scan(struct snd_sof_dev *sdev) in hda_sdw_acpi_scan() argument
157 static int hda_sdw_probe(struct snd_sof_dev *sdev) in hda_sdw_probe() argument
229 hda_sdw_startup(struct snd_sof_dev * sdev) hda_sdw_startup() argument
251 hda_sdw_exit(struct snd_sof_dev * sdev) hda_sdw_exit() argument
266 hda_common_check_sdw_irq(struct snd_sof_dev * sdev) hda_common_check_sdw_irq() argument
293 hda_dsp_check_sdw_irq(struct snd_sof_dev * sdev) hda_dsp_check_sdw_irq() argument
313 hda_sdw_check_wakeen_irq_common(struct snd_sof_dev * sdev) hda_sdw_check_wakeen_irq_common() argument
327 hda_sdw_check_wakeen_irq(struct snd_sof_dev * sdev) hda_sdw_check_wakeen_irq() argument
342 hda_sdw_process_wakeen_common(struct snd_sof_dev * sdev) hda_sdw_process_wakeen_common() argument
358 hda_dsp_sdw_check_mic_privacy_irq(struct snd_sof_dev * sdev) hda_dsp_sdw_check_mic_privacy_irq() argument
370 hda_dsp_sdw_process_mic_privacy(struct snd_sof_dev * sdev) hda_dsp_sdw_process_mic_privacy() argument
380 hda_sdw_acpi_scan(struct snd_sof_dev * sdev) hda_sdw_acpi_scan() argument
385 hda_sdw_probe(struct snd_sof_dev * sdev) hda_sdw_probe() argument
390 hda_sdw_exit(struct snd_sof_dev * sdev) hda_sdw_exit() argument
395 hda_dsp_check_sdw_irq(struct snd_sof_dev * sdev) hda_dsp_check_sdw_irq() argument
405 hda_sdw_check_wakeen_irq(struct snd_sof_dev * sdev) hda_sdw_check_wakeen_irq() argument
410 hda_dsp_sdw_check_mic_privacy_irq(struct snd_sof_dev * sdev) hda_dsp_sdw_check_mic_privacy_irq() argument
415 hda_dsp_sdw_process_mic_privacy(struct snd_sof_dev * sdev) hda_dsp_sdw_process_mic_privacy() argument
420 hda_dsp_pre_fw_run(struct snd_sof_dev * sdev) hda_dsp_pre_fw_run() argument
427 hda_dsp_post_fw_run(struct snd_sof_dev * sdev) hda_dsp_post_fw_run() argument
487 hda_init(struct snd_sof_dev * sdev) hda_init() argument
544 check_dmic_num(struct snd_sof_dev * sdev) check_dmic_num() argument
572 check_nhlt_ssp_mask(struct snd_sof_dev * sdev,u8 device_type) check_nhlt_ssp_mask() argument
593 check_nhlt_ssp_mclk_mask(struct snd_sof_dev * sdev,int ssp_num) check_nhlt_ssp_mclk_mask() argument
605 hda_init_caps(struct snd_sof_dev * sdev) hda_init_caps() argument
678 struct snd_sof_dev *sdev = context; hda_dsp_interrupt_handler() local
701 struct snd_sof_dev *sdev = context; hda_dsp_interrupt_thread() local
742 hda_dsp_probe_early(struct snd_sof_dev * sdev) hda_dsp_probe_early() argument
791 hda_dsp_probe(struct snd_sof_dev * sdev) hda_dsp_probe() argument
946 hda_dsp_remove(struct snd_sof_dev * sdev) hda_dsp_remove() argument
1010 hda_dsp_remove_late(struct snd_sof_dev * sdev) hda_dsp_remove_late() argument
1017 hda_power_down_dsp(struct snd_sof_dev * sdev) hda_power_down_dsp() argument
1027 hda_generic_machine_select(struct snd_sof_dev * sdev,struct snd_soc_acpi_mach ** mach) hda_generic_machine_select() argument
1126 hda_generic_machine_select(struct snd_sof_dev * sdev,struct snd_soc_acpi_mach ** mach) hda_generic_machine_select() argument
1134 hda_sdw_machine_select(struct snd_sof_dev * sdev) hda_sdw_machine_select() argument
1221 hda_sdw_machine_select(struct snd_sof_dev * sdev) hda_sdw_machine_select() argument
1228 hda_set_mach_params(struct snd_soc_acpi_mach * mach,struct snd_sof_dev * sdev) hda_set_mach_params() argument
1278 hda_machine_select(struct snd_sof_dev * sdev) hda_machine_select() argument
1527 hda_register_clients(struct snd_sof_dev * sdev) hda_register_clients() argument
1532 hda_unregister_clients(struct snd_sof_dev * sdev) hda_unregister_clients() argument
[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() argument
107 void hda_codec_jack_check(struct snd_sof_dev *sdev) in hda_codec_jack_check() argument
149 static int hda_codec_probe(struct snd_sof_dev *sdev, int address) in hda_codec_probe() argument
217 hda_codec_probe_bus(struct snd_sof_dev * sdev) hda_codec_probe_bus() argument
242 hda_codec_check_for_state_change(struct snd_sof_dev * sdev) hda_codec_check_for_state_change() argument
255 hda_codec_detect_mask(struct snd_sof_dev * sdev) hda_codec_detect_mask() argument
280 hda_codec_init_cmd_io(struct snd_sof_dev * sdev) hda_codec_init_cmd_io() argument
293 hda_codec_resume_cmd_io(struct snd_sof_dev * sdev) hda_codec_resume_cmd_io() argument
307 hda_codec_stop_cmd_io(struct snd_sof_dev * sdev) hda_codec_stop_cmd_io() argument
320 hda_codec_suspend_cmd_io(struct snd_sof_dev * sdev) hda_codec_suspend_cmd_io() argument
335 hda_codec_rirb_status_clear(struct snd_sof_dev * sdev) hda_codec_rirb_status_clear() argument
348 hda_codec_set_codec_wakeup(struct snd_sof_dev * sdev,bool status) hda_codec_set_codec_wakeup() argument
359 hda_codec_check_rirb_status(struct snd_sof_dev * sdev) hda_codec_check_rirb_status() argument
386 hda_codec_device_remove(struct snd_sof_dev * sdev) hda_codec_device_remove() argument
403 hda_codec_i915_display_power(struct snd_sof_dev * sdev,bool enable) hda_codec_i915_display_power() argument
418 hda_codec_i915_init(struct snd_sof_dev * sdev) hda_codec_i915_init() argument
439 hda_codec_i915_exit(struct snd_sof_dev * sdev) hda_codec_i915_exit() argument
[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 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 …]
H A Dhda-ctrl.c30 int hda_dsp_ctrl_link_reset(struct snd_sof_dev *sdev, bool reset) in hda_dsp_ctrl_link_reset() argument
58 int hda_dsp_ctrl_get_caps(struct snd_sof_dev *sdev) in hda_dsp_ctrl_get_caps() argument
133 hda_dsp_ctrl_ppcap_enable(struct snd_sof_dev * sdev,bool enable) hda_dsp_ctrl_ppcap_enable() argument
142 hda_dsp_ctrl_ppcap_int_enable(struct snd_sof_dev * sdev,bool enable) hda_dsp_ctrl_ppcap_int_enable() argument
151 hda_dsp_ctrl_misc_clock_gating(struct snd_sof_dev * sdev,bool enable) hda_dsp_ctrl_misc_clock_gating() argument
163 hda_dsp_ctrl_clock_power_gating(struct snd_sof_dev * sdev,bool enable) hda_dsp_ctrl_clock_power_gating() argument
186 hda_dsp_ctrl_init_chip(struct snd_sof_dev * sdev) hda_dsp_ctrl_init_chip() argument
271 hda_dsp_ctrl_stop_chip(struct snd_sof_dev * sdev) hda_dsp_ctrl_stop_chip() argument
[all...]
/linux/sound/soc/sof/imx/
H A Dimx-common.c28 void imx8_get_registers(struct snd_sof_dev *sdev, in imx8_get_registers() argument
58 void imx8_dump(struct snd_sof_dev *sdev, u32 flags) in imx8_dump() argument
84 struct snd_sof_dev *sdev; imx_handle_reply() local
96 struct snd_sof_dev *sdev; imx_handle_request() local
120 imx_send_msg(struct snd_sof_dev * sdev,struct snd_sof_ipc_msg * msg) imx_send_msg() argument
130 imx_get_bar_index(struct snd_sof_dev * sdev,u32 type) imx_get_bar_index() argument
141 imx_get_mailbox_offset(struct snd_sof_dev * sdev) imx_get_mailbox_offset() argument
146 imx_get_window_offset(struct snd_sof_dev * sdev,u32 id) imx_get_window_offset() argument
151 imx_set_power_state(struct snd_sof_dev * sdev,const struct sof_dsp_power_state * target) imx_set_power_state() argument
159 imx_common_resume(struct snd_sof_dev * sdev) imx_common_resume() argument
177 imx_common_suspend(struct snd_sof_dev * sdev) imx_common_suspend() argument
198 imx_runtime_resume(struct snd_sof_dev * sdev) imx_runtime_resume() argument
214 imx_resume(struct snd_sof_dev * sdev) imx_resume() argument
238 imx_runtime_suspend(struct snd_sof_dev * sdev) imx_runtime_suspend() argument
252 imx_suspend(struct snd_sof_dev * sdev,unsigned int target_state) imx_suspend() argument
282 imx_parse_ioremap_memory(struct snd_sof_dev * sdev) imx_parse_ioremap_memory() argument
332 struct snd_sof_dev *sdev; imx_unregister_action() local
343 imx_probe(struct snd_sof_dev * sdev) imx_probe() argument
423 imx_remove(struct snd_sof_dev * sdev) imx_remove() argument
[all...]
H A Dimx8.c43 static int imx8_shutdown(struct snd_sof_dev *sdev) in imx8_shutdown() argument
59 static int imx8x_run(struct snd_sof_dev *sdev) in imx8x_run() argument
98 imx8_run(struct snd_sof_dev * sdev) imx8_run() argument
115 imx8_probe(struct snd_sof_dev * sdev) imx8_probe() argument
133 imx8m_reset(struct snd_sof_dev * sdev) imx8m_reset() argument
158 imx8m_run(struct snd_sof_dev * sdev) imx8m_run() argument
165 imx8m_probe(struct snd_sof_dev * sdev) imx8m_probe() argument
192 imx8ulp_run(struct snd_sof_dev * sdev) imx8ulp_run() argument
208 imx8ulp_reset(struct snd_sof_dev * sdev) imx8ulp_reset() argument
237 imx8ulp_probe(struct snd_sof_dev * sdev) imx8ulp_probe() argument
276 imx8_ops_init(struct snd_sof_dev * sdev) imx8_ops_init() argument
[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.c50 struct snd_sof_dev *sdev = adata->dev; in init_dma_descriptor() local
77 struct snd_sof_dev *sdev = adata->dev; in configure_dma_descriptor() local
92 struct snd_sof_dev *sdev = adata->dev; in config_dma_channel() local
147 struct snd_sof_dev *sdev = adata->dev; in acpbus_dma_start() local
167 struct snd_sof_dev *sdev = adata->dev; in configure_and_run_dma() local
199 struct snd_sof_dev *sdev = adata->dev; in psp_mbox_ready() local
224 struct snd_sof_dev *sdev = adata->dev; in psp_send_cmd() local
264 struct snd_sof_dev *sdev = adata->dev; in configure_and_run_sha_dma() local
336 struct snd_sof_dev *sdev = adata->dev; in acp_dma_status() local
362 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
249 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.c29 static int mt8186_get_mailbox_offset(struct snd_sof_dev *sdev) in mt8186_get_mailbox_offset()
34 static int mt8186_get_window_offset(struct snd_sof_dev *sdev, u32 id) in mt8186_get_window_offset()
139 static void adsp_sram_power_on(struct snd_sof_dev *sdev) in adsp_sram_power_on()
145 static void adsp_sram_power_off(struct snd_sof_dev *sdev) in adsp_sram_power_off()
152 static int adsp_memory_remap_init(struct snd_sof_dev *sdev, struct mtk_adsp_chip_info *adsp) in adsp_memory_remap_init()
174 static int mt8186_run(struct snd_sof_dev *sdev) in mt8186_run()
185 static int mt8186_dsp_probe(struct snd_sof_dev *sdev) in mt8186_dsp_probe()
291 static void mt8186_dsp_remove(struct snd_sof_dev *sdev) in mt8186_dsp_remove()
301 static int mt8186_dsp_shutdown(struct snd_sof_dev *sdev) in mt8186_dsp_shutdown()
306 static int mt8186_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state) in mt8186_dsp_suspend()
[all …]
/linux/drivers/scsi/
H A Dscsi_lib.c294 int scsi_execute_cmd(struct scsi_device *sdev, const unsigned char *cmd, in scsi_execute_cmd()
389 void scsi_device_unbusy(struct scsi_device *sdev, struct scsi_cmnd *cmd) in scsi_device_unbusy()
407 static void scsi_kick_sdev_queue(struct scsi_device *sdev, void *data) in scsi_kick_sdev_queue()
448 static inline bool scsi_device_is_busy(struct scsi_device *sdev) in scsi_device_is_busy()
480 struct scsi_device *sdev; in scsi_starved_list_run() local
544 struct scsi_device *sdev = q->queuedata; in scsi_run_queue() local
557 struct scsi_device *sdev; in scsi_requeue_run_queue() local
567 struct scsi_device *sdev; in scsi_run_host_queues() local
600 static void scsi_run_queue_async(struct scsi_device *sdev) in scsi_run_queue_async()
634 struct scsi_device *sdev = cmd->device; in scsi_end_request() local
[all …]
H A Dscsi_dh.c71 scsi_dh_find_driver(struct scsi_device *sdev) in scsi_dh_find_driver()
124 static int scsi_dh_handler_attach(struct scsi_device *sdev, in scsi_dh_handler_attach()
163 static void scsi_dh_handler_detach(struct scsi_device *sdev) in scsi_dh_handler_detach()
170 void scsi_dh_add_device(struct scsi_device *sdev) in scsi_dh_add_device()
186 void scsi_dh_release_device(struct scsi_device *sdev) in scsi_dh_release_device()
253 struct scsi_device *sdev; in scsi_dh_activate() local
300 struct scsi_device *sdev; in scsi_dh_set_params() local
322 struct scsi_device *sdev; in scsi_dh_attach() local
361 struct scsi_device *sdev; in scsi_dh_attached_handler_name() local
/linux/drivers/media/radio/si4713/
H A Dsi4713.c174 struct si4713_device *sdev = dev; in si4713_handler() local
193 static int si4713_send_command(struct si4713_device *sdev, const u8 command, in si4713_send_command()
258 static int si4713_read_property(struct si4713_device *sdev, u16 prop, u32 *pv) in si4713_read_property()
295 static int si4713_write_property(struct si4713_device *sdev, u16 prop, u16 val) in si4713_write_property()
340 static int si4713_powerup(struct si4713_device *sdev) in si4713_powerup()
419 static int si4713_powerdown(struct si4713_device *sdev) in si4713_powerdown()
464 static int si4713_checkrev(struct si4713_device *sdev) in si4713_checkrev()
494 static int si4713_wait_stc(struct si4713_device *sdev, const int usecs) in si4713_wait_stc()
538 static int si4713_tx_tune_freq(struct si4713_device *sdev, u16 frequency) in si4713_tx_tune_freq()
582 static int si4713_tx_tune_power(struct si4713_device *sdev, u8 power, in si4713_tx_tune_power()
[all …]
/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()
69 struct scoop_dev *sdev = gpiochip_get_data(chip); in scoop_gpio_set() local
83 struct scoop_dev *sdev = gpiochip_get_data(chip); in scoop_gpio_get() local
92 struct scoop_dev *sdev = gpiochip_get_data(chip); in scoop_gpio_direction_input() local
110 struct scoop_dev *sdev = gpiochip_get_data(chip); in scoop_gpio_direction_output() local
129 struct scoop_dev *sdev = dev_get_drvdata(dev); in read_scoop_reg() local
135 struct scoop_dev *sdev = dev_get_drvdata(dev); in write_scoop_reg() local
144 static void check_scoop_reg(struct scoop_dev *sdev) in check_scoop_reg()
155 struct scoop_dev *sdev = platform_get_drvdata(dev); in scoop_suspend() local
[all …]
/linux/drivers/gpu/drm/renesas/shmobile/
H A Dshmob_drm_drv.c40 static int shmob_drm_setup_clocks(struct shmob_drm_device *sdev, in shmob_drm_setup_clocks()
80 struct shmob_drm_device *sdev = to_shmob_device(dev); in shmob_drm_irq() local
120 struct shmob_drm_device *sdev = dev_get_drvdata(dev); in shmob_drm_pm_suspend() local
127 struct shmob_drm_device *sdev = dev_get_drvdata(dev); in shmob_drm_pm_resume() local
134 struct shmob_drm_device *sdev = dev_get_drvdata(dev); in shmob_drm_pm_runtime_suspend() local
144 struct shmob_drm_device *sdev = dev_get_drvdata(dev); in shmob_drm_pm_runtime_resume() local
168 struct shmob_drm_device *sdev = platform_get_drvdata(pdev); in shmob_drm_remove() local
178 struct shmob_drm_device *sdev = platform_get_drvdata(pdev); in shmob_drm_shutdown() local
187 struct shmob_drm_device *sdev; in shmob_drm_probe() local

1234567891011