/linux-6.12.1/sound/soc/intel/avs/ |
D | avs.h | 22 struct avs_dev; 46 int (* const power)(struct avs_dev *, u32, bool); 47 int (* const reset)(struct avs_dev *, u32, bool); 48 int (* const stall)(struct avs_dev *, u32, bool); 49 irqreturn_t (* const dsp_interrupt)(struct avs_dev *); 50 void (* const int_control)(struct avs_dev *, bool); 51 int (* const load_basefw)(struct avs_dev *, struct firmware *); 52 int (* const load_lib)(struct avs_dev *, struct firmware *, u32); 53 int (* const transfer_mods)(struct avs_dev *, bool, struct avs_module_entry *, u32); 54 int (* const enable_logs)(struct avs_dev *, enum avs_log_enable, u32, u32, unsigned long, [all …]
|
D | messages.h | 14 struct avs_dev; 296 int avs_ipc_set_boot_config(struct avs_dev *adev, u32 dma_id, u32 purge); 299 int avs_ipc_load_modules(struct avs_dev *adev, u16 *mod_ids, u32 num_mod_ids); 300 int avs_ipc_unload_modules(struct avs_dev *adev, u16 *mod_ids, u32 num_mod_ids); 301 int avs_ipc_load_library(struct avs_dev *adev, u32 dma_id, u32 lib_id); 312 int avs_ipc_create_pipeline(struct avs_dev *adev, u16 req_size, u8 priority, 314 int avs_ipc_delete_pipeline(struct avs_dev *adev, u8 instance_id); 315 int avs_ipc_set_pipeline_state(struct avs_dev *adev, u8 instance_id, 317 int avs_ipc_get_pipeline_state(struct avs_dev *adev, u8 instance_id, 321 int avs_ipc_init_instance(struct avs_dev *adev, u16 module_id, u8 instance_id, [all …]
|
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 | 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 | 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() 183 static void avs_dsp_receive_rx(struct avs_dev *adev, u64 header) in avs_dsp_receive_rx() 206 static void avs_dsp_process_notification(struct avs_dev *adev, u64 header) in avs_dsp_process_notification() 283 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() 75 struct avs_dev *adev = file->private_data; in debug_window_read() 99 struct avs_dev *adev = file->private_data; in probe_points_read() 139 struct avs_dev *adev = file->private_data; in probe_points_write() 176 struct avs_dev *adev = file->private_data; in probe_points_disconnect_write() 212 struct avs_dev *adev = file->private_data; in strace_read() 233 struct avs_dev *adev = inode->i_private; in strace_open() [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 | 16 void avs_skl_ipc_interrupt(struct avs_dev *adev) in avs_skl_ipc_interrupt() 55 static irqreturn_t avs_skl_dsp_interrupt(struct avs_dev *adev) in avs_skl_dsp_interrupt() 77 avs_skl_enable_logs(struct avs_dev *adev, enum avs_log_enable enable, u32 aging_period, in avs_skl_enable_logs() 109 int avs_skl_log_buffer_offset(struct avs_dev *adev, u32 core) in avs_skl_log_buffer_offset() 117 static int avs_skl_log_buffer_status(struct avs_dev *adev, union avs_notify_msg *msg) in avs_skl_log_buffer_status() 137 static int avs_skl_coredump(struct avs_dev *adev, union avs_notify_msg *msg) in avs_skl_coredump() 151 static bool avs_skl_d0ix_toggle(struct avs_dev *adev, struct avs_ipc_msg *tx, bool wake) in avs_skl_d0ix_toggle() 157 static int avs_skl_set_d0ix(struct avs_dev *adev, bool enable) in avs_skl_set_d0ix()
|
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 | apl.c | 17 static irqreturn_t avs_apl_dsp_interrupt(struct avs_dev *adev) in avs_apl_dsp_interrupt() 34 int avs_apl_enable_logs(struct avs_dev *adev, enum avs_log_enable enable, u32 aging_period, in avs_apl_enable_logs() 69 int avs_apl_log_buffer_status(struct avs_dev *adev, union avs_notify_msg *msg) in avs_apl_log_buffer_status() 98 static int avs_apl_wait_log_entry(struct avs_dev *adev, u32 core, in avs_apl_wait_log_entry() 123 int avs_apl_coredump(struct avs_dev *adev, union avs_notify_msg *msg) in avs_apl_coredump() 187 static bool avs_apl_lp_streaming(struct avs_dev *adev) in avs_apl_lp_streaming() 223 bool avs_apl_d0ix_toggle(struct avs_dev *adev, struct avs_ipc_msg *tx, bool wake) in avs_apl_d0ix_toggle() 240 int avs_apl_set_d0ix(struct avs_dev *adev, bool enable) in avs_apl_set_d0ix()
|
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 | 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 | 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 | 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() 315 struct avs_dev *adev = dev_id; in avs_dsp_irq_handler() 322 struct avs_dev *adev = dev_id; in avs_dsp_irq_thread() 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() 523 struct avs_dev *adev = hdac_to_avs(bus); in avs_pci_shutdown() [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() 85 struct avs_dev *adev = to_avs_dev(dai->dev); in avs_probe_compr_free() 129 struct avs_dev *adev = to_avs_dev(dai->dev); in avs_probe_compr_set_params() 184 struct avs_dev *adev = to_avs_dev(dai->dev); in avs_probe_compr_trigger() 293 int avs_probe_platform_register(struct avs_dev *adev, const char *name) in avs_probe_platform_register()
|
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 | control.c | 15 static struct avs_dev *avs_get_kcontrol_adev(struct snd_kcontrol *kcontrol) in avs_get_kcontrol_adev() 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() 82 struct avs_dev *adev = avs_get_kcontrol_adev(kcontrol); in avs_control_volume_put()
|
D | path.h | 22 struct avs_dev *owner; 62 struct avs_path *avs_path_create(struct avs_dev *adev, u32 dma_id,
|
D | cnl.c | 13 static void avs_cnl_ipc_interrupt(struct avs_dev *adev) in avs_cnl_ipc_interrupt() 59 irqreturn_t avs_cnl_dsp_interrupt(struct avs_dev *adev) in avs_cnl_dsp_interrupt()
|
D | sysfs.c | 14 struct avs_dev *adev = to_avs_dev(dev); in fw_version_show()
|
D | pcm.c | 26 struct avs_dev *adev; 80 struct avs_dev *adev = to_avs_dev(dai->component->dev); in avs_dai_startup() 688 struct avs_dev *adev = hdac_to_avs(bus); in avs_hda_stream_start() 723 struct avs_dev *adev = hdac_to_avs(bus); in avs_hda_stream_stop() 857 struct avs_dev *adev = to_avs_dev(acomp->base.dev); in avs_component_load_libraries() 892 struct avs_dev *adev; in avs_component_probe() 966 struct avs_dev *adev = to_avs_dev(component->dev); in avs_component_remove() 1328 int avs_dmic_platform_register(struct avs_dev *adev, const char *name) in avs_dmic_platform_register() 1364 int avs_i2s_platform_register(struct avs_dev *adev, const char *name, unsigned long port_mask, in avs_i2s_platform_register() 1644 int avs_hda_platform_register(struct avs_dev *adev, const char *name) in avs_hda_platform_register()
|