/Linux-v6.6/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); 51 void (* const int_control)(struct avs_dev *, bool); 52 int (* const load_basefw)(struct avs_dev *, struct firmware *); 53 int (* const load_lib)(struct avs_dev *, struct firmware *, u32); 54 int (* const transfer_mods)(struct avs_dev *, bool, struct avs_module_entry *, u32); 55 int (* const enable_logs)(struct avs_dev *, enum avs_log_enable, u32, u32, unsigned long, 57 int (* const log_buffer_offset)(struct avs_dev *, u32); [all …]
|
D | messages.h | 12 struct avs_dev; 282 int avs_ipc_set_boot_config(struct avs_dev *adev, u32 dma_id, u32 purge); 285 int avs_ipc_load_modules(struct avs_dev *adev, u16 *mod_ids, u32 num_mod_ids); 286 int avs_ipc_unload_modules(struct avs_dev *adev, u16 *mod_ids, u32 num_mod_ids); 287 int avs_ipc_load_library(struct avs_dev *adev, u32 dma_id, u32 lib_id); 298 int avs_ipc_create_pipeline(struct avs_dev *adev, u16 req_size, u8 priority, 300 int avs_ipc_delete_pipeline(struct avs_dev *adev, u8 instance_id); 301 int avs_ipc_set_pipeline_state(struct avs_dev *adev, u8 instance_id, 303 int avs_ipc_get_pipeline_state(struct avs_dev *adev, u8 instance_id, 307 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 | 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 | messages.c | 15 int avs_ipc_set_boot_config(struct avs_dev *adev, u32 dma_id, u32 purge) in avs_ipc_set_boot_config() 33 int avs_ipc_load_modules(struct avs_dev *adev, u16 *mod_ids, u32 num_mod_ids) in avs_ipc_load_modules() 51 int avs_ipc_unload_modules(struct avs_dev *adev, u16 *mod_ids, u32 num_mod_ids) in avs_ipc_unload_modules() 69 int avs_ipc_load_library(struct avs_dev *adev, u32 dma_id, u32 lib_id) in avs_ipc_load_library() 86 int avs_ipc_create_pipeline(struct avs_dev *adev, u16 req_size, u8 priority, in avs_ipc_create_pipeline() 107 int avs_ipc_delete_pipeline(struct avs_dev *adev, u8 instance_id) in avs_ipc_delete_pipeline() 123 int avs_ipc_set_pipeline_state(struct avs_dev *adev, u8 instance_id, in avs_ipc_set_pipeline_state() 141 int avs_ipc_get_pipeline_state(struct avs_dev *adev, u8 instance_id, in avs_ipc_get_pipeline_state() 180 int avs_ipc_init_instance(struct avs_dev *adev, u16 module_id, u8 instance_id, in avs_ipc_init_instance() 221 int avs_ipc_delete_instance(struct avs_dev *adev, u16 module_id, u8 instance_id) in avs_ipc_delete_instance() [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() 76 struct avs_dev *adev = file->private_data; in debug_window_read() 101 struct avs_dev *adev = file->private_data; in probe_points_read() 141 struct avs_dev *adev = file->private_data; in probe_points_write() 179 struct avs_dev *adev = file->private_data; in probe_points_disconnect_write() 215 struct avs_dev *adev = file->private_data; in strace_read() 236 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 | path.c | 19 avs_path_find_tplg(struct avs_dev *adev, const char *name) in avs_path_find_tplg() 52 avs_path_find_path(struct avs_dev *adev, const char *name, u32 template_id) in avs_path_find_path() 94 avs_path_find_variant(struct avs_dev *adev, in avs_path_find_variant() 144 static int avs_copier_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_copier_create() 291 static int avs_peakvol_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_peakvol_create() 327 static int avs_updown_mix_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_updown_mix_create() 349 static int avs_src_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_src_create() 366 static int avs_asrc_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_asrc_create() 385 static int avs_aec_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_aec_create() 404 static int avs_mux_create(struct avs_dev *adev, struct avs_path_module *mod) in avs_mux_create() [all …]
|
D | skl.c | 16 skl_enable_logs(struct avs_dev *adev, enum avs_log_enable enable, u32 aging_period, in skl_enable_logs() 48 int skl_log_buffer_offset(struct avs_dev *adev, u32 core) in skl_log_buffer_offset() 57 skl_log_buffer_status(struct avs_dev *adev, union avs_notify_msg *msg) in skl_log_buffer_status() 77 static int skl_coredump(struct avs_dev *adev, union avs_notify_msg *msg) in skl_coredump() 92 skl_d0ix_toggle(struct avs_dev *adev, struct avs_ipc_msg *tx, bool wake) in skl_d0ix_toggle() 98 static int skl_set_d0ix(struct avs_dev *adev, bool enable) in skl_set_d0ix()
|
D | apl.c | 17 apl_enable_logs(struct avs_dev *adev, enum avs_log_enable enable, u32 aging_period, in apl_enable_logs() 51 static int apl_log_buffer_status(struct avs_dev *adev, union avs_notify_msg *msg) in apl_log_buffer_status() 80 static int apl_wait_log_entry(struct avs_dev *adev, u32 core, struct apl_log_buffer_layout *layout) in apl_wait_log_entry() 104 static int apl_coredump(struct avs_dev *adev, union avs_notify_msg *msg) in apl_coredump() 168 static bool apl_lp_streaming(struct avs_dev *adev) in apl_lp_streaming() 204 static bool apl_d0ix_toggle(struct avs_dev *adev, struct avs_ipc_msg *tx, bool wake) in apl_d0ix_toggle() 221 static int apl_set_d0ix(struct avs_dev *adev, bool enable) in apl_set_d0ix()
|
D | loader.c | 99 static int avs_fw_manifest_strip_verify(struct avs_dev *adev, struct firmware *fw, in avs_fw_manifest_strip_verify() 135 int avs_cldma_load_basefw(struct avs_dev *adev, struct firmware *fw) in avs_cldma_load_basefw() 189 int avs_cldma_load_library(struct avs_dev *adev, struct firmware *lib, u32 id) in avs_cldma_load_library() 210 static int avs_cldma_load_module(struct avs_dev *adev, struct avs_module_entry *mentry) in avs_cldma_load_module() 249 int avs_cldma_transfer_modules(struct avs_dev *adev, bool load, in avs_cldma_transfer_modules() 282 avs_hda_init_rom(struct avs_dev *adev, unsigned int dma_id, bool purge) in avs_hda_init_rom() 332 static int avs_imr_load_basefw(struct avs_dev *adev) in avs_imr_load_basefw() 354 int avs_hda_load_basefw(struct avs_dev *adev, struct firmware *fw) in avs_hda_load_basefw() 421 int avs_hda_load_library(struct avs_dev *adev, struct firmware *lib, u32 id) in avs_hda_load_library() 472 int avs_hda_transfer_modules(struct avs_dev *adev, bool load, in avs_hda_transfer_modules() [all …]
|
D | board_selection.c | 293 static const struct avs_acpi_boards *avs_get_i2s_boards(struct avs_dev *adev) in avs_get_i2s_boards() 310 static int __maybe_unused avs_register_probe_board(struct avs_dev *adev) in avs_register_probe_board() 337 static int avs_register_dmic_board(struct avs_dev *adev) in avs_register_dmic_board() 384 static int avs_register_i2s_board(struct avs_dev *adev, struct snd_soc_acpi_mach *mach) in avs_register_i2s_board() 426 static int avs_register_i2s_boards(struct avs_dev *adev) in avs_register_i2s_boards() 477 static int avs_register_hda_board(struct avs_dev *adev, struct hda_codec *codec) in avs_register_hda_board() 517 static int avs_register_hda_boards(struct avs_dev *adev) in avs_register_hda_boards() 542 int avs_register_all_boards(struct avs_dev *adev) in avs_register_all_boards() 570 void avs_unregister_all_boards(struct avs_dev *adev) in avs_unregister_all_boards()
|
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() 39 static void avs_dsp_delete_probe(struct avs_dev *adev) in avs_dsp_delete_probe() 56 struct avs_dev *adev = to_avs_dev(dai->dev); in avs_probe_compr_open() 81 struct avs_dev *adev = to_avs_dev(dai->dev); in avs_probe_compr_free() 125 struct avs_dev *adev = to_avs_dev(dai->dev); in avs_probe_compr_set_params() 181 struct avs_dev *adev = to_avs_dev(dai->dev); in avs_probe_compr_trigger() 290 int avs_probe_platform_register(struct avs_dev *adev, const char *name) in avs_probe_platform_register()
|
D | core.c | 50 void avs_hda_power_gating_enable(struct avs_dev *adev, bool enable) in avs_hda_power_gating_enable() 64 void avs_hda_clock_gating_enable(struct avs_dev *adev, bool enable) in avs_hda_clock_gating_enable() 69 void avs_hda_l1sen_enable(struct avs_dev *adev, bool enable) in avs_hda_l1sen_enable() 187 struct avs_dev *adev = container_of(work, struct avs_dev, probe_work); in avs_hda_probe_work() 322 static int avs_hdac_acquire_irq(struct avs_dev *adev) in avs_hdac_acquire_irq() 358 static int avs_bus_init(struct avs_dev *adev, struct pci_dev *pci, const struct pci_device_id *id) in avs_bus_init() 403 struct avs_dev *adev; in avs_pci_probe() 487 struct avs_dev *adev = hdac_to_avs(bus); in avs_pci_shutdown() 511 struct avs_dev *adev = hdac_to_avs(bus); in avs_pci_remove() 566 static int avs_suspend_standby(struct avs_dev *adev) in avs_suspend_standby() [all …]
|
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 | pcm.c | 62 struct avs_dev *adev = to_avs_dev(dai->dev); in avs_dai_startup() 94 struct avs_dev *adev = to_avs_dev(dai->dev); in avs_dai_hw_params() 139 static int avs_dai_prepare(struct avs_dev *adev, struct snd_pcm_substream *substream, in avs_dai_prepare() 171 struct avs_dev *adev = to_avs_dev(dai->dev); in avs_dai_nonhda_be_shutdown() 458 struct avs_dev *adev = to_avs_dev(dai->dev); in avs_dai_fe_startup() 504 struct avs_dev *adev = to_avs_dev(dai->dev); in avs_dai_fe_shutdown() 605 struct avs_dev *adev = to_avs_dev(dai->dev); in avs_dai_fe_prepare() 740 struct avs_dev *adev = to_avs_dev(acomp->base.dev); in avs_component_load_libraries() 775 struct avs_dev *adev; in avs_component_probe() 849 struct avs_dev *adev = to_avs_dev(component->dev); in avs_component_remove() [all …]
|