Home
last modified time | relevance | path

Searched refs:avs_dev (Results 1 – 21 of 21) sorted by relevance

/linux-6.15/sound/soc/intel/avs/
H A Davs.h22 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);
54 int (* const config_basefw)(struct avs_dev *);
61 int (* const set_d0ix)(struct avs_dev *, bool);
130 struct avs_dev { struct
266 int avs_dsp_enable_d0ix(struct avs_dev *adev);
394 bool avs_logging_fw(struct avs_dev *adev);
400 void avs_debugfs_init(struct avs_dev *adev);
[all …]
H A Dmessages.h14 struct avs_dev;
301 int avs_ipc_load_library(struct avs_dev *adev, u32 dma_id, u32 lib_id);
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,
325 int avs_ipc_bind(struct avs_dev *adev, u16 module_id, u8 instance_id,
328 int avs_ipc_unbind(struct avs_dev *adev, u16 module_id, u8 instance_id,
331 int avs_ipc_set_large_config(struct avs_dev *adev, u16 module_id,
345 int avs_ipc_set_dx(struct avs_dev *adev, u32 core_mask, bool powerup);
487 int avs_ipc_set_fw_config(struct avs_dev *adev, size_t num_tlvs, ...);
[all …]
H A Dutils.c16 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()
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()
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()
194 int avs_module_id_alloc(struct avs_dev *adev, u16 module_id) in avs_module_id_alloc()
213 void avs_module_id_free(struct avs_dev *adev, u16 module_id, u8 instance_id) in avs_module_id_free()
277 void avs_release_last_firmware(struct avs_dev *adev) in avs_release_last_firmware()
[all …]
H A Dmessages.c15 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()
55 int avs_ipc_load_library(struct avs_dev *adev, u32 dma_id, u32 lib_id) in avs_ipc_load_library()
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()
201 int avs_ipc_bind(struct avs_dev *adev, u16 module_id, u8 instance_id, in avs_ipc_bind()
269 int avs_ipc_set_large_config(struct avs_dev *adev, u16 module_id, in avs_ipc_set_large_config()
356 int avs_ipc_set_dx(struct avs_dev *adev, u32 core_mask, bool powerup) in avs_ipc_set_dx()
513 int avs_ipc_set_fw_config(struct avs_dev *adev, size_t num_tlvs, ...) in avs_ipc_set_fw_config()
[all …]
H A Dipc.c21 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()
183 static void avs_dsp_receive_rx(struct avs_dev *adev, u64 header) in avs_dsp_receive_rx()
285 void avs_dsp_process_response(struct avs_dev *adev, u64 header) in avs_dsp_process_response()
308 struct avs_dev *adev = to_avs_dev(ipc->dev); in avs_ipc_is_busy()
476 int avs_dsp_send_msg(struct avs_dev *adev, struct avs_ipc_msg *request, in avs_dsp_send_msg()
[all …]
H A Ddebugfs.c36 bool avs_logging_fw(struct avs_dev *adev) in avs_logging_fw()
54 struct avs_dev *adev = file->private_data; in fw_regs_read()
76 struct avs_dev *adev = file->private_data; in debug_window_read()
100 struct avs_dev *adev = file->private_data; in probe_points_read()
140 struct avs_dev *adev = file->private_data; in probe_points_write()
177 struct avs_dev *adev = file->private_data; in probe_points_disconnect_write()
213 struct avs_dev *adev = file->private_data; in strace_read()
234 struct avs_dev *adev = inode->i_private; in strace_open()
254 struct avs_dev *adev = file->private_data; in strace_release()
354 struct avs_dev *adev = file->private_data; in trace_control_read()
[all …]
H A Ddsp.c19 int avs_dsp_core_power(struct avs_dev *adev, u32 core_mask, bool power) in avs_dsp_core_power()
48 int avs_dsp_core_reset(struct avs_dev *adev, u32 core_mask, bool reset) in avs_dsp_core_reset()
72 int avs_dsp_core_stall(struct avs_dev *adev, u32 core_mask, bool stall) in avs_dsp_core_stall()
100 int avs_dsp_core_enable(struct avs_dev *adev, u32 core_mask) in avs_dsp_core_enable()
115 int avs_dsp_core_disable(struct avs_dev *adev, u32 core_mask) in avs_dsp_core_disable()
124 static int avs_dsp_enable(struct avs_dev *adev, u32 core_mask) in avs_dsp_enable()
145 static int avs_dsp_disable(struct avs_dev *adev, u32 core_mask) in avs_dsp_disable()
156 static int avs_dsp_get_core(struct avs_dev *adev, u32 core_id) in avs_dsp_get_core()
197 static int avs_dsp_put_core(struct avs_dev *adev, u32 core_id) in avs_dsp_put_core()
301 int avs_dsp_create_pipeline(struct avs_dev *adev, u16 req_size, u8 priority, in avs_dsp_create_pipeline()
[all …]
H A Dskl.c17 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()
H A Dpath.h22 struct avs_dev *owner;
62 struct avs_path *avs_path_create(struct avs_dev *adev, u32 dma_id,
72 int avs_path_set_constraint(struct avs_dev *adev, struct avs_tplg_path_template *template,
77 int avs_peakvol_set_volume(struct avs_dev *adev, struct avs_path_module *mod,
79 int avs_peakvol_set_mute(struct avs_dev *adev, struct avs_path_module *mod,
H A Dpath.c20 avs_path_find_tplg(struct avs_dev *adev, const char *name) in avs_path_find_tplg()
95 avs_path_find_variant(struct avs_dev *adev, in avs_path_find_variant()
773 avs_path_module_create(struct avs_dev *adev, in avs_path_module_create()
883 static int avs_path_pipeline_arm(struct avs_dev *adev, in avs_path_pipeline_arm()
1094 struct avs_dev *adev = path->owner; in avs_path_free()
1128 static int avs_path_bind_prepare(struct avs_dev *adev, in avs_path_bind_prepare()
1162 struct avs_dev *adev = path->owner; in avs_path_bind()
1195 struct avs_dev *adev = path->owner; in avs_path_unbind()
1224 struct avs_dev *adev = path->owner; in avs_path_reset()
1247 struct avs_dev *adev = path->owner; in avs_path_pause()
[all …]
H A Dapl.c18 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()
H A Dloader.c137 int avs_cldma_load_basefw(struct avs_dev *adev, struct firmware *fw) in avs_cldma_load_basefw()
253 int avs_cldma_transfer_modules(struct avs_dev *adev, bool load, in avs_cldma_transfer_modules()
337 static int avs_imr_load_basefw(struct avs_dev *adev) in avs_imr_load_basefw()
359 int avs_hda_load_basefw(struct avs_dev *adev, struct firmware *fw) in avs_hda_load_basefw()
478 int avs_hda_transfer_modules(struct avs_dev *adev, bool load, in avs_hda_transfer_modules()
553 static int avs_dsp_load_basefw(struct avs_dev *adev) in avs_dsp_load_basefw()
606 static int avs_load_firmware(struct avs_dev *adev, bool purge) in avs_load_firmware()
660 static int avs_config_basefw(struct avs_dev *adev) in avs_config_basefw()
673 int avs_dsp_boot_firmware(struct avs_dev *adev, bool purge) in avs_dsp_boot_firmware()
684 static int avs_dsp_alloc_resources(struct avs_dev *adev) in avs_dsp_alloc_resources()
[all …]
H A Dtgl.c15 static int avs_tgl_dsp_core_power(struct avs_dev *adev, u32 core_mask, bool power) in avs_tgl_dsp_core_power()
24 static int avs_tgl_dsp_core_reset(struct avs_dev *adev, u32 core_mask, bool reset) in avs_tgl_dsp_core_reset()
33 static int avs_tgl_dsp_core_stall(struct avs_dev *adev, u32 core_mask, bool stall) in avs_tgl_dsp_core_stall()
42 static int avs_tgl_config_basefw(struct avs_dev *adev) in avs_tgl_config_basefw()
H A Dicl.c18 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()
H A Dcore.c53 void avs_hda_power_gating_enable(struct avs_dev *adev, bool enable) in avs_hda_power_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()
421 struct avs_dev *adev; in avs_pci_probe()
523 struct avs_dev *adev = hdac_to_avs(bus); in avs_pci_shutdown()
545 struct avs_dev *adev = hdac_to_avs(bus); in avs_pci_remove()
599 static int avs_suspend_standby(struct avs_dev *adev) in avs_suspend_standby()
[all …]
H A Dprobes.c16 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()
H A Dcontrol.c16 static struct avs_dev *avs_get_kcontrol_adev(struct snd_kcontrol *kcontrol) in avs_get_kcontrol_adev()
25 static struct avs_path_module *avs_get_volume_module(struct avs_dev *adev, u32 id) in avs_get_volume_module()
57 struct avs_dev *adev; in avs_control_volume_get()
90 struct avs_dev *adev; in avs_control_volume_put()
140 struct avs_dev *adev; in avs_control_mute_get()
173 struct avs_dev *adev; in avs_control_mute_put()
H A Dboard_selection.c400 static const struct avs_acpi_boards *avs_get_i2s_boards(struct avs_dev *adev) in avs_get_i2s_boards()
417 static int __maybe_unused avs_register_probe_board(struct avs_dev *adev) in avs_register_probe_board()
444 static int avs_register_dmic_board(struct avs_dev *adev) in avs_register_dmic_board()
490 static int avs_register_i2s_board(struct avs_dev *adev, struct snd_soc_acpi_mach *mach) in avs_register_i2s_board()
532 static int avs_register_i2s_boards(struct avs_dev *adev) in avs_register_i2s_boards()
583 static int avs_register_hda_board(struct avs_dev *adev, struct hda_codec *codec) in avs_register_hda_board()
623 static int avs_register_hda_boards(struct avs_dev *adev) in avs_register_hda_boards()
648 int avs_register_all_boards(struct avs_dev *adev) in avs_register_all_boards()
676 void avs_unregister_all_boards(struct avs_dev *adev) in avs_unregister_all_boards()
H A Dcnl.c14 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()
H A Dsysfs.c14 struct avs_dev *adev = to_avs_dev(dev); in fw_version_show()
H A Dpcm.c26 struct avs_dev *adev;
123 struct avs_dev *adev = to_avs_dev(dai->component->dev); in avs_dai_startup()
737 struct avs_dev *adev = hdac_to_avs(bus); in avs_hda_stream_start()
772 struct avs_dev *adev = hdac_to_avs(bus); in avs_hda_stream_stop()
906 struct avs_dev *adev = to_avs_dev(acomp->base.dev); in avs_component_load_libraries()
941 struct avs_dev *adev; in avs_component_probe()
1016 struct avs_dev *adev = to_avs_dev(component->dev); in avs_component_remove()
1378 int avs_dmic_platform_register(struct avs_dev *adev, const char *name) in avs_dmic_platform_register()
1414 int avs_i2s_platform_register(struct avs_dev *adev, const char *name, unsigned long port_mask, in avs_i2s_platform_register()
1695 int avs_hda_platform_register(struct avs_dev *adev, const char *name) in avs_hda_platform_register()