/linux-6.15/sound/soc/sof/ |
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_early(struct snd_sof_dev *sdev) in snd_sof_probe_early() 49 static inline int snd_sof_probe(struct snd_sof_dev *sdev) in snd_sof_probe() 54 static inline void snd_sof_remove(struct snd_sof_dev *sdev) in snd_sof_remove() 60 static inline void snd_sof_remove_late(struct snd_sof_dev *sdev) in snd_sof_remove_late() 66 static inline int snd_sof_shutdown(struct snd_sof_dev *sdev) in snd_sof_shutdown() 80 static inline int snd_sof_dsp_run(struct snd_sof_dev *sdev) in snd_sof_dsp_run() 85 static inline int snd_sof_dsp_stall(struct snd_sof_dev *sdev, unsigned int core_mask) in snd_sof_dsp_stall() [all …]
|
D | sof-client.c | 73 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 …]
|
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 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 …]
|
D | core.c | 123 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 …]
|
D | debug.c | 26 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 …]
|
D | sof-audio.c | 16 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 …]
|
D | ipc4.c | 84 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 …]
|
D | ipc3-dtrace.c | 45 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 …]
|
/linux-6.15/sound/soc/sof/intel/ |
D | hda-dsp.c | 45 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 …]
|
D | hda.c | 82 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() 157 static int hda_sdw_probe(struct snd_sof_dev *sdev) in hda_sdw_probe() 226 int hda_sdw_startup(struct snd_sof_dev *sdev) in hda_sdw_startup() 248 static int hda_sdw_exit(struct snd_sof_dev *sdev) in hda_sdw_exit() 263 bool hda_common_check_sdw_irq(struct snd_sof_dev *sdev) in hda_common_check_sdw_irq() 290 static bool hda_dsp_check_sdw_irq(struct snd_sof_dev *sdev) in hda_dsp_check_sdw_irq() 310 bool hda_sdw_check_wakeen_irq_common(struct snd_sof_dev *sdev) in hda_sdw_check_wakeen_irq_common() 324 static bool hda_sdw_check_wakeen_irq(struct snd_sof_dev *sdev) in hda_sdw_check_wakeen_irq() 339 void hda_sdw_process_wakeen_common(struct snd_sof_dev *sdev) in hda_sdw_process_wakeen_common() [all …]
|
D | mtl.c | 32 static void mtl_ipc_host_done(struct snd_sof_dev *sdev) in mtl_ipc_host_done() 47 static void mtl_ipc_dsp_done(struct snd_sof_dev *sdev) in mtl_ipc_dsp_done() 62 bool mtl_dsp_check_ipc_irq(struct snd_sof_dev *sdev) in mtl_dsp_check_ipc_irq() 84 static bool mtl_dsp_check_sdw_irq(struct snd_sof_dev *sdev) in mtl_dsp_check_sdw_irq() 99 static 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 static int mtl_dsp_pre_fw_run(struct snd_sof_dev *sdev) in mtl_dsp_pre_fw_run() [all …]
|
D | hda-codec.c | 76 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 …]
|
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 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 …]
|
D | hda-ipc.c | 29 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 …]
|
D | hda-dai-ops.c | 50 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 …]
|
D | lnl.c | 41 static int lnl_hda_dsp_probe(struct snd_sof_dev *sdev) in lnl_hda_dsp_probe() 52 static void lnl_hda_dsp_remove(struct snd_sof_dev *sdev) in lnl_hda_dsp_remove() 64 static int lnl_hda_dsp_resume(struct snd_sof_dev *sdev) in lnl_hda_dsp_resume() 75 static int lnl_hda_dsp_runtime_resume(struct snd_sof_dev *sdev) in lnl_hda_dsp_runtime_resume() 86 static int lnl_dsp_post_fw_run(struct snd_sof_dev *sdev) in lnl_dsp_post_fw_run() 103 int sof_lnl_set_ops(struct snd_sof_dev *sdev, struct snd_sof_dsp_ops *dsp_ops) in sof_lnl_set_ops() 131 bool lnl_dsp_check_sdw_irq(struct snd_sof_dev *sdev) in lnl_dsp_check_sdw_irq() 139 int lnl_dsp_disable_interrupts(struct snd_sof_dev *sdev) in lnl_dsp_disable_interrupts() 146 bool lnl_sdw_check_wakeen_irq(struct snd_sof_dev *sdev) in lnl_sdw_check_wakeen_irq()
|
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 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-6.15/sound/soc/sof/imx/ |
D | imx-common.c | 28 void imx8_get_registers(struct snd_sof_dev *sdev, in imx8_get_registers() 58 void imx8_dump(struct snd_sof_dev *sdev, u32 flags) in imx8_dump() 84 struct snd_sof_dev *sdev; in imx_handle_reply() local 96 struct snd_sof_dev *sdev; in imx_handle_request() local 120 static int imx_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg) in imx_send_msg() 130 static int imx_get_bar_index(struct snd_sof_dev *sdev, u32 type) in imx_get_bar_index() 141 static int imx_get_mailbox_offset(struct snd_sof_dev *sdev) in imx_get_mailbox_offset() 146 static int imx_get_window_offset(struct snd_sof_dev *sdev, u32 id) in imx_get_window_offset() 151 static int imx_set_power_state(struct snd_sof_dev *sdev, in imx_set_power_state() 159 static int imx_common_resume(struct snd_sof_dev *sdev) in imx_common_resume() [all …]
|
/linux-6.15/drivers/net/ethernet/alacritech/ |
D | slicoss.c | 78 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-6.15/sound/soc/sof/amd/ |
D | acp.c | 50 struct snd_sof_dev *sdev = adata->dev; in init_dma_descriptor() local 75 struct snd_sof_dev *sdev = adata->dev; in configure_dma_descriptor() local 90 struct snd_sof_dev *sdev = adata->dev; in config_dma_channel() local 143 struct snd_sof_dev *sdev = adata->dev; in acpbus_dma_start() local 163 struct snd_sof_dev *sdev = adata->dev; in configure_and_run_dma() local 195 struct snd_sof_dev *sdev = adata->dev; in psp_mbox_ready() local 220 struct snd_sof_dev *sdev = adata->dev; in psp_send_cmd() local 260 struct snd_sof_dev *sdev = adata->dev; in configure_and_run_sha_dma() local 332 struct snd_sof_dev *sdev = adata->dev; in acp_dma_status() local 356 void memcpy_from_scratch(struct snd_sof_dev *sdev, u32 offset, unsigned int *dst, size_t bytes) in memcpy_from_scratch() [all …]
|
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() 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-6.15/sound/soc/sof/mediatek/mt8186/ |
D | mt8186.c | 30 static int mt8186_get_mailbox_offset(struct snd_sof_dev *sdev) in mt8186_get_mailbox_offset() 35 static int mt8186_get_window_offset(struct snd_sof_dev *sdev, u32 id) in mt8186_get_window_offset() 148 static void adsp_sram_power_on(struct snd_sof_dev *sdev) in adsp_sram_power_on() 154 static void adsp_sram_power_off(struct snd_sof_dev *sdev) in adsp_sram_power_off() 161 static int adsp_memory_remap_init(struct snd_sof_dev *sdev, struct mtk_adsp_chip_info *adsp) in adsp_memory_remap_init() 183 static int mt8186_run(struct snd_sof_dev *sdev) in mt8186_run() 194 static int mt8186_dsp_probe(struct snd_sof_dev *sdev) in mt8186_dsp_probe() 300 static void mt8186_dsp_remove(struct snd_sof_dev *sdev) in mt8186_dsp_remove() 310 static int mt8186_dsp_shutdown(struct snd_sof_dev *sdev) in mt8186_dsp_shutdown() 315 static int mt8186_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state) in mt8186_dsp_suspend() [all …]
|
/linux-6.15/drivers/scsi/ |
D | scsi.c | 160 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 …]
|
D | scsi_lib.c | 294 int scsi_execute_cmd(struct scsi_device *sdev, const unsigned char *cmd, in scsi_execute_cmd() 390 void scsi_device_unbusy(struct scsi_device *sdev, struct scsi_cmnd *cmd) in scsi_device_unbusy() 408 static void scsi_kick_sdev_queue(struct scsi_device *sdev, void *data) in scsi_kick_sdev_queue() 449 static inline bool scsi_device_is_busy(struct scsi_device *sdev) in scsi_device_is_busy() 481 struct scsi_device *sdev; in scsi_starved_list_run() local 545 struct scsi_device *sdev = q->queuedata; in scsi_run_queue() local 558 struct scsi_device *sdev; in scsi_requeue_run_queue() local 568 struct scsi_device *sdev; in scsi_run_host_queues() local 601 static void scsi_run_queue_async(struct scsi_device *sdev) in scsi_run_queue_async() 635 struct scsi_device *sdev = cmd->device; in scsi_end_request() local [all …]
|
/linux-6.15/drivers/spmi/ |
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() 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 …]
|