| /sound/soc/intel/avs/ | 
| D | utils.c | 16 static int avs_module_entry_index(struct avs_dev *adev, const guid_t *uuid)  in avs_module_entry_index() 32 static int avs_module_id_entry_index(struct avs_dev *adev, u32 module_id)  in avs_module_id_entry_index() 47 int avs_get_module_entry(struct avs_dev *adev, const guid_t *uuid, struct avs_module_entry *entry)  in avs_get_module_entry() 61 int avs_get_module_id_entry(struct avs_dev *adev, u32 module_id, struct avs_module_entry *entry)  in avs_get_module_id_entry() 75 int avs_get_module_id(struct avs_dev *adev, const guid_t *uuid)  in avs_get_module_id() 84 bool avs_is_module_ida_empty(struct avs_dev *adev, u32 module_id)  in avs_is_module_ida_empty() 100 static void avs_module_ida_destroy(struct avs_dev *adev)  in avs_module_ida_destroy() 113 avs_module_ida_alloc(struct avs_dev *adev, struct avs_mods_info *newinfo, bool purge)  in avs_module_ida_alloc() 157 int avs_module_info_init(struct avs_dev *adev, bool purge)  in avs_module_info_init() 183 void avs_module_info_free(struct avs_dev *adev)  in avs_module_info_free() [all …] 
 | 
| D | registers.h | 77 #define AVS_FW_REG_BASE(adev)		((adev)->spec->sram->base_offset)  argument 78 #define AVS_FW_REG_STATUS(adev)		(AVS_FW_REG_BASE(adev) + 0x0)  argument 79 #define AVS_FW_REG_ERROR_CODE(adev)	(AVS_FW_REG_BASE(adev) + 0x4)  argument 91 #define avs_sram_offset(adev, window_idx) \  argument 95 #define avs_sram_addr(adev, window_idx) \  argument 98 #define avs_uplink_addr(adev) \  argument 100 #define avs_downlink_addr(adev) \  argument 103 #define snd_hdac_adsp_writeb(adev, reg, value) \  argument 105 #define snd_hdac_adsp_readb(adev, reg) \  argument 107 #define snd_hdac_adsp_writew(adev, reg, value) \  argument [all …] 
 | 
| D | messages.c | 15 int avs_ipc_set_boot_config(struct avs_dev *adev, u32 dma_id, u32 purge)  in avs_ipc_set_boot_config() 28 int avs_ipc_load_modules(struct avs_dev *adev, u16 *mod_ids, u32 num_mod_ids)  in avs_ipc_load_modules() 42 int avs_ipc_unload_modules(struct avs_dev *adev, u16 *mod_ids, u32 num_mod_ids)  in avs_ipc_unload_modules() 55 int avs_ipc_load_library(struct avs_dev *adev, u32 dma_id, u32 lib_id)  in avs_ipc_load_library() 67 int avs_ipc_create_pipeline(struct avs_dev *adev, u16 req_size, u8 priority,  in avs_ipc_create_pipeline() 83 int avs_ipc_delete_pipeline(struct avs_dev *adev, u8 instance_id)  in avs_ipc_delete_pipeline() 94 int avs_ipc_set_pipeline_state(struct avs_dev *adev, u8 instance_id,  in avs_ipc_set_pipeline_state() 107 int avs_ipc_get_pipeline_state(struct avs_dev *adev, u8 instance_id,  in avs_ipc_get_pipeline_state() 142 int avs_ipc_init_instance(struct avs_dev *adev, u16 module_id, u8 instance_id,  in avs_ipc_init_instance() 178 int avs_ipc_delete_instance(struct avs_dev *adev, u16 module_id, u8 instance_id)  in avs_ipc_delete_instance() [all …] 
 | 
| D | path.c | 20 avs_path_find_tplg(struct avs_dev *adev, const char *name)  in avs_path_find_tplg() 53 avs_path_find_path(struct avs_dev *adev, const char *name, u32 template_id)  in avs_path_find_path() 95 avs_path_find_variant(struct avs_dev *adev,  in avs_path_find_variant() 145 static int avs_copier_create(struct avs_dev *adev, struct avs_path_module *mod)  in avs_copier_create() 288 static int avs_peakvol_create(struct avs_dev *adev, struct avs_path_module *mod)  in avs_peakvol_create() 324 static int avs_updown_mix_create(struct avs_dev *adev, struct avs_path_module *mod)  in avs_updown_mix_create() 346 static int avs_src_create(struct avs_dev *adev, struct avs_path_module *mod)  in avs_src_create() 363 static int avs_asrc_create(struct avs_dev *adev, struct avs_path_module *mod)  in avs_asrc_create() 383 static int avs_aec_create(struct avs_dev *adev, struct avs_path_module *mod)  in avs_aec_create() 402 static int avs_mux_create(struct avs_dev *adev, struct avs_path_module *mod)  in avs_mux_create() [all …] 
 | 
| D | ipc.c | 21 avs_dsp_set_d0ix(struct avs_dev *adev, bool enable)  in avs_dsp_set_d0ix() 44 static void avs_dsp_schedule_d0ix(struct avs_dev *adev, struct avs_ipc_msg *tx)  in avs_dsp_schedule_d0ix() 60 static int avs_dsp_wake_d0i0(struct avs_dev *adev, struct avs_ipc_msg *tx)  in avs_dsp_wake_d0i0() 72 int avs_dsp_disable_d0ix(struct avs_dev *adev)  in avs_dsp_disable_d0ix() 85 int avs_dsp_enable_d0ix(struct avs_dev *adev)  in avs_dsp_enable_d0ix() 95 static void avs_dsp_recovery(struct avs_dev *adev)  in avs_dsp_recovery() 158 static void avs_dsp_exception_caught(struct avs_dev *adev, union avs_notify_msg *msg)  in avs_dsp_exception_caught() 185 static void avs_dsp_receive_rx(struct avs_dev *adev, u64 header)  in avs_dsp_receive_rx() 208 static void avs_dsp_process_notification(struct avs_dev *adev, u64 header)  in avs_dsp_process_notification() 285 void avs_dsp_process_response(struct avs_dev *adev, u64 header)  in avs_dsp_process_response() [all …] 
 | 
| D | debugfs.c | 35 bool avs_logging_fw(struct avs_dev *adev)  in avs_logging_fw() 40 void avs_dump_fw_log(struct avs_dev *adev, const void __iomem *src, unsigned int len)  in avs_dump_fw_log() 45 void avs_dump_fw_log_wakeup(struct avs_dev *adev, const void __iomem *src, unsigned int len)  in avs_dump_fw_log_wakeup() 53 	struct avs_dev *adev = file->private_data;  in fw_regs_read()  local 75 	struct avs_dev *adev = file->private_data;  in debug_window_read()  local 99 	struct avs_dev *adev = file->private_data;  in probe_points_read()  local 139 	struct avs_dev *adev = file->private_data;  in probe_points_write()  local 176 	struct avs_dev *adev = file->private_data;  in probe_points_disconnect_write()  local 212 	struct avs_dev *adev = file->private_data;  in strace_read()  local 233 	struct avs_dev *adev = inode->i_private;  in strace_open()  local [all …] 
 | 
| D | dsp.c | 18 int avs_dsp_core_power(struct avs_dev *adev, u32 core_mask, bool power)  in avs_dsp_core_power() 47 int avs_dsp_core_reset(struct avs_dev *adev, u32 core_mask, bool reset)  in avs_dsp_core_reset() 71 int avs_dsp_core_stall(struct avs_dev *adev, u32 core_mask, bool stall)  in avs_dsp_core_stall() 99 int avs_dsp_core_enable(struct avs_dev *adev, u32 core_mask)  in avs_dsp_core_enable() 114 int avs_dsp_core_disable(struct avs_dev *adev, u32 core_mask)  in avs_dsp_core_disable() 123 static int avs_dsp_enable(struct avs_dev *adev, u32 core_mask)  in avs_dsp_enable() 144 static int avs_dsp_disable(struct avs_dev *adev, u32 core_mask)  in avs_dsp_disable() 155 static int avs_dsp_get_core(struct avs_dev *adev, u32 core_id)  in avs_dsp_get_core() 196 static int avs_dsp_put_core(struct avs_dev *adev, u32 core_id)  in avs_dsp_put_core() 226 int avs_dsp_init_module(struct avs_dev *adev, u16 module_id, u8 ppl_instance_id,  in avs_dsp_init_module() [all …] 
 | 
| D | skl.c | 17 void avs_skl_ipc_interrupt(struct avs_dev *adev)  in avs_skl_ipc_interrupt() 56 static irqreturn_t avs_skl_dsp_interrupt(struct avs_dev *adev)  in avs_skl_dsp_interrupt() 78 avs_skl_enable_logs(struct avs_dev *adev, enum avs_log_enable enable, u32 aging_period,  in avs_skl_enable_logs() 110 int avs_skl_log_buffer_offset(struct avs_dev *adev, u32 core)  in avs_skl_log_buffer_offset() 118 static int avs_skl_log_buffer_status(struct avs_dev *adev, union avs_notify_msg *msg)  in avs_skl_log_buffer_status() 138 static int avs_skl_coredump(struct avs_dev *adev, union avs_notify_msg *msg)  in avs_skl_coredump() 152 static bool avs_skl_d0ix_toggle(struct avs_dev *adev, struct avs_ipc_msg *tx, bool wake)  in avs_skl_d0ix_toggle() 158 static int avs_skl_set_d0ix(struct avs_dev *adev, bool enable)  in avs_skl_set_d0ix()
  | 
| D | apl.c | 18 static irqreturn_t avs_apl_dsp_interrupt(struct avs_dev *adev)  in avs_apl_dsp_interrupt() 35 int avs_apl_enable_logs(struct avs_dev *adev, enum avs_log_enable enable, u32 aging_period,  in avs_apl_enable_logs() 70 int avs_apl_log_buffer_status(struct avs_dev *adev, union avs_notify_msg *msg)  in avs_apl_log_buffer_status() 99 static int avs_apl_wait_log_entry(struct avs_dev *adev, u32 core,  in avs_apl_wait_log_entry() 124 int avs_apl_coredump(struct avs_dev *adev, union avs_notify_msg *msg)  in avs_apl_coredump() 188 static bool avs_apl_lp_streaming(struct avs_dev *adev)  in avs_apl_lp_streaming() 224 bool avs_apl_d0ix_toggle(struct avs_dev *adev, struct avs_ipc_msg *tx, bool wake)  in avs_apl_d0ix_toggle() 241 int avs_apl_set_d0ix(struct avs_dev *adev, bool enable)  in avs_apl_set_d0ix()
  | 
| D | core.c | 53 void avs_hda_power_gating_enable(struct avs_dev *adev, bool enable)  in avs_hda_power_gating_enable() 67 void avs_hda_clock_gating_enable(struct avs_dev *adev, bool enable)  in avs_hda_clock_gating_enable() 72 void avs_hda_l1sen_enable(struct avs_dev *adev, bool enable)  in avs_hda_l1sen_enable() 196 	struct avs_dev *adev = container_of(work, struct avs_dev, probe_work);  in avs_hda_probe_work()  local 315 	struct avs_dev *adev = dev_id;  in avs_dsp_irq_handler()  local 322 	struct avs_dev *adev = dev_id;  in avs_dsp_irq_thread()  local 336 static int avs_hdac_acquire_irq(struct avs_dev *adev)  in avs_hdac_acquire_irq() 372 static int avs_bus_init(struct avs_dev *adev, struct pci_dev *pci, const struct pci_device_id *id)  in avs_bus_init() 421 	struct avs_dev *adev;  in avs_pci_probe()  local 524 	struct avs_dev *adev = hdac_to_avs(bus);  in avs_pci_shutdown()  local [all …] 
 | 
| D | board_selection.c | 387 static const struct avs_acpi_boards *avs_get_i2s_boards(struct avs_dev *adev)  in avs_get_i2s_boards() 404 static int __maybe_unused avs_register_probe_board(struct avs_dev *adev)  in avs_register_probe_board() 431 static int avs_register_dmic_board(struct avs_dev *adev)  in avs_register_dmic_board() 477 static int avs_register_i2s_board(struct avs_dev *adev, struct snd_soc_acpi_mach *mach)  in avs_register_i2s_board() 519 static int avs_register_i2s_boards(struct avs_dev *adev)  in avs_register_i2s_boards() 570 static int avs_register_hda_board(struct avs_dev *adev, struct hda_codec *codec)  in avs_register_hda_board() 610 static int avs_register_hda_boards(struct avs_dev *adev)  in avs_register_hda_boards() 635 int avs_register_all_boards(struct avs_dev *adev)  in avs_register_all_boards() 663 void avs_unregister_all_boards(struct avs_dev *adev)  in avs_unregister_all_boards()
  | 
| D | loader.c | 101 static int avs_fw_manifest_strip_verify(struct avs_dev *adev, struct firmware *fw,  in avs_fw_manifest_strip_verify() 137 int avs_cldma_load_basefw(struct avs_dev *adev, struct firmware *fw)  in avs_cldma_load_basefw() 191 int avs_cldma_load_library(struct avs_dev *adev, struct firmware *lib, u32 id)  in avs_cldma_load_library() 212 static int avs_cldma_load_module(struct avs_dev *adev, struct avs_module_entry *mentry)  in avs_cldma_load_module() 251 int avs_cldma_transfer_modules(struct avs_dev *adev, bool load,  in avs_cldma_transfer_modules() 284 avs_hda_init_rom(struct avs_dev *adev, unsigned int dma_id, bool purge)  in avs_hda_init_rom() 334 static int avs_imr_load_basefw(struct avs_dev *adev)  in avs_imr_load_basefw() 356 int avs_hda_load_basefw(struct avs_dev *adev, struct firmware *fw)  in avs_hda_load_basefw() 423 int avs_hda_load_library(struct avs_dev *adev, struct firmware *lib, u32 id)  in avs_hda_load_library() 474 int avs_hda_transfer_modules(struct avs_dev *adev, bool load,  in avs_hda_transfer_modules() [all …] 
 | 
| D | probes.c | 16 static int avs_dsp_init_probe(struct avs_dev *adev, union avs_connector_node_id node_id,  in avs_dsp_init_probe() 42 static void avs_dsp_delete_probe(struct avs_dev *adev)  in avs_dsp_delete_probe() 60 	struct avs_dev *adev = to_avs_dev(dai->dev);  in avs_probe_compr_open()  local 85 	struct avs_dev *adev = to_avs_dev(dai->dev);  in avs_probe_compr_free()  local 129 	struct avs_dev *adev = to_avs_dev(dai->dev);  in avs_probe_compr_set_params()  local 184 	struct avs_dev *adev = to_avs_dev(dai->dev);  in avs_probe_compr_trigger()  local 293 int avs_probe_platform_register(struct avs_dev *adev, const char *name)  in avs_probe_platform_register()
  | 
| D | icl.c | 18 int avs_icl_enable_logs(struct avs_dev *adev, enum avs_log_enable enable, u32 aging_period,  in avs_icl_enable_logs() 86 static int avs_icl_slot_offset(struct avs_dev *adev, union avs_icl_memwnd2_slot_type slot_type)  in avs_icl_slot_offset() 99 int avs_icl_log_buffer_offset(struct avs_dev *adev, u32 core)  in avs_icl_log_buffer_offset() 113 bool avs_icl_d0ix_toggle(struct avs_dev *adev, struct avs_ipc_msg *tx, bool wake)  in avs_icl_d0ix_toggle() 123 int avs_icl_set_d0ix(struct avs_dev *adev, bool enable)  in avs_icl_set_d0ix() 131 int avs_icl_load_basefw(struct avs_dev *adev, struct firmware *fw)  in avs_icl_load_basefw()
  | 
| D | tgl.c | 11 static int avs_tgl_dsp_core_power(struct avs_dev *adev, u32 core_mask, bool power)  in avs_tgl_dsp_core_power() 20 static int avs_tgl_dsp_core_reset(struct avs_dev *adev, u32 core_mask, bool reset)  in avs_tgl_dsp_core_reset() 29 static int avs_tgl_dsp_core_stall(struct avs_dev *adev, u32 core_mask, bool stall)  in avs_tgl_dsp_core_stall()
  | 
| D | avs.h | 63 #define avs_dsp_op(adev, op, ...) \  argument 75 #define avs_platattr_test(adev, attr) \  argument 354 #define avs_log_buffer_size(adev) \  argument 357 #define avs_log_buffer_addr(adev, core) \  argument 364 static inline int avs_log_buffer_status_locked(struct avs_dev *adev, union avs_notify_msg *msg)  in avs_log_buffer_status_locked() 383 #define avs_apl_log_payload_size(adev) \  argument 404 static inline bool avs_logging_fw(struct avs_dev *adev)  in avs_logging_fw() 409 static inline void avs_dump_fw_log(struct avs_dev *adev, const void __iomem *src, unsigned int len)  in avs_dump_fw_log() 414 avs_dump_fw_log_wakeup(struct avs_dev *adev, const void __iomem *src, unsigned int len)  in avs_dump_fw_log_wakeup() 418 static inline int avs_probe_platform_register(struct avs_dev *adev, const char *name)  in avs_probe_platform_register() [all …] 
 | 
| D | control.c | 24 static struct avs_path_module *avs_get_volume_module(struct avs_dev *adev, u32 id)  in avs_get_volume_module() 51 	struct avs_dev *adev = avs_get_kcontrol_adev(kcontrol);  in avs_control_volume_get()  local 82 	struct avs_dev *adev = avs_get_kcontrol_adev(kcontrol);  in avs_control_volume_put()  local
  | 
| D | cnl.c | 14 static void avs_cnl_ipc_interrupt(struct avs_dev *adev)  in avs_cnl_ipc_interrupt() 60 irqreturn_t avs_cnl_dsp_interrupt(struct avs_dev *adev)  in avs_cnl_dsp_interrupt()
  | 
| D | pcm.c | 26 	struct avs_dev *adev;  member 80 	struct avs_dev *adev = to_avs_dev(dai->component->dev);  in avs_dai_startup()  local 688 	struct avs_dev *adev = hdac_to_avs(bus);  in avs_hda_stream_start()  local 723 	struct avs_dev *adev = hdac_to_avs(bus);  in avs_hda_stream_stop()  local 857 	struct avs_dev *adev = to_avs_dev(acomp->base.dev);  in avs_component_load_libraries()  local 892 	struct avs_dev *adev;  in avs_component_probe()  local 967 	struct avs_dev *adev = to_avs_dev(component->dev);  in avs_component_remove()  local 1329 int avs_dmic_platform_register(struct avs_dev *adev, const char *name)  in avs_dmic_platform_register() 1365 int avs_i2s_platform_register(struct avs_dev *adev, const char *name, unsigned long port_mask,  in avs_i2s_platform_register() 1645 int avs_hda_platform_register(struct avs_dev *adev, const char *name)  in avs_hda_platform_register()
  | 
| D | sysfs.c | 14 	struct avs_dev *adev = to_avs_dev(dev);  in fw_version_show()  local
  | 
| /sound/ac97/ | 
| D | snd_ac97_compat.c | 22 	struct ac97_codec_device *adev = to_ac97_device(ac97->private_data);  in compat_ac97_reset()  local 31 	struct ac97_codec_device *adev = to_ac97_device(ac97->private_data);  in compat_ac97_warm_reset()  local 41 	struct ac97_codec_device *adev = to_ac97_device(ac97->private_data);  in compat_ac97_write()  local 50 	struct ac97_codec_device *adev = to_ac97_device(ac97->private_data);  in compat_ac97_read()  local 67 struct snd_ac97 *snd_ac97_compat_alloc(struct ac97_codec_device *adev)  in snd_ac97_compat_alloc() 101 	struct ac97_codec_device *adev = to_ac97_device(ac97->private_data);  in snd_ac97_reset()  local
  | 
| D | bus.c | 91 	struct ac97_codec_device *adev;  in ac97_codec_release()  local 219 void *snd_ac97_codec_get_platdata(const struct ac97_codec_device *adev)  in snd_ac97_codec_get_platdata() 436 static int ac97_get_enable_clk(struct ac97_codec_device *adev)  in ac97_get_enable_clk() 451 static void ac97_put_disable_clk(struct ac97_codec_device *adev)  in ac97_put_disable_clk() 474 	struct ac97_codec_device *adev = to_ac97_device(dev);  in ac97_bus_match()  local 492 	struct ac97_codec_device *adev = to_ac97_device(dev);  in ac97_bus_probe()  local 518 	struct ac97_codec_device *adev = to_ac97_device(dev);  in ac97_bus_remove()  local
  | 
| /sound/soc/qcom/qdsp6/ | 
| D | q6core.c | 54 	struct apr_device *adev;  member 70 static int q6core_callback(struct apr_device *adev, struct apr_resp_pkt *data)  in q6core_callback() 153 	struct apr_device *adev = core->adev;  in q6core_get_fwk_versions()  local 183 	struct apr_device *adev = core->adev;  in q6core_get_svc_versions()  local 208 	struct apr_device *adev = core->adev;  in __q6core_is_adsp_ready()  local 328 static int q6core_probe(struct apr_device *adev)  in q6core_probe() 342 static void q6core_exit(struct apr_device *adev)  in q6core_exit()
  | 
| /sound/soc/amd/acp/ | 
| D | amd-sdw-acpi.c | 27 	struct acpi_device *adev = acpi_fetch_acpi_dev(info->handle);  in amd_sdw_scan_controller()  local
  | 
| /sound/pci/hda/ | 
| D | hda_component.c | 39 	struct acpi_device *adev;  in hda_component_manager_bind_acpi_notifications()  local 73 	struct acpi_device *adev;  in hda_component_manager_unbind_acpi_notifications()  local
  |