Home
last modified time | relevance | path

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

/linux/sound/soc/intel/avs/
H A Davs.h22 struct avs_dev;
45 int (* const power)(struct avs_dev *, u32, bool);
46 int (* const reset)(struct avs_dev *, u32, bool);
47 int (* const stall)(struct avs_dev *, u32, bool);
48 irqreturn_t (* const dsp_interrupt)(struct avs_dev *);
49 void (* const int_control)(struct avs_dev *, bool);
50 int (* const load_basefw)(struct avs_dev *, struct firmware *);
51 int (* const load_lib)(struct avs_dev *, struct firmware *, u32);
52 int (* const transfer_mods)(struct avs_dev *, bool, struct avs_module_entry *, u32);
53 int (* const config_basefw)(struct avs_dev *);
[all …]
H A Ddebug.h15 struct avs_dev;
27 static inline int avs_log_buffer_status_locked(struct avs_dev *adev, union avs_notify_msg *msg) in avs_log_buffer_status_locked()
53 int avs_register_probe_component(struct avs_dev *adev, const char *name);
58 bool avs_logging_fw(struct avs_dev *adev);
59 void avs_dump_fw_log(struct avs_dev *adev, const void __iomem *src, unsigned int len);
60 void avs_dump_fw_log_wakeup(struct avs_dev *adev, const void __iomem *src, unsigned int len);
62 void avs_debugfs_init(struct avs_dev *adev);
63 void avs_debugfs_exit(struct avs_dev *adev);
66 static inline int avs_register_probe_component(struct avs_dev *adev, const char *name) in avs_register_probe_component()
73 static inline bool avs_logging_fw(struct avs_dev *adev) in avs_logging_fw()
[all …]
H A Dmessages.h14 struct avs_dev;
298 int avs_ipc_set_boot_config(struct avs_dev *adev, u32 dma_id, u32 purge);
301 int avs_ipc_load_modules(struct avs_dev *adev, u16 *mod_ids, u32 num_mod_ids);
302 int avs_ipc_unload_modules(struct avs_dev *adev, u16 *mod_ids, u32 num_mod_ids);
303 int avs_ipc_load_library(struct avs_dev *adev, u32 dma_id, u32 lib_id);
314 int avs_ipc_create_pipeline(struct avs_dev *adev, u16 req_size, u8 priority,
316 int avs_ipc_delete_pipeline(struct avs_dev *adev, u8 instance_id);
317 int avs_ipc_set_pipeline_state(struct avs_dev *adev, u8 instance_id,
319 int avs_ipc_get_pipeline_state(struct avs_dev *adev, u8 instance_id,
323 int avs_ipc_init_instance(struct avs_dev *adev, u16 module_id, u8 instance_id,
[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()
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 …]
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()
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 …]
H A Dipc.c22 avs_dsp_set_d0ix(struct avs_dev *adev, bool enable) in avs_dsp_set_d0ix()
45 static void avs_dsp_schedule_d0ix(struct avs_dev *adev, struct avs_ipc_msg *tx) in avs_dsp_schedule_d0ix()
61 static int avs_dsp_wake_d0i0(struct avs_dev *adev, struct avs_ipc_msg *tx) in avs_dsp_wake_d0i0()
73 int avs_dsp_disable_d0ix(struct avs_dev *adev) in avs_dsp_disable_d0ix()
86 int avs_dsp_enable_d0ix(struct avs_dev *adev) in avs_dsp_enable_d0ix()
96 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()
209 static void avs_dsp_process_notification(struct avs_dev *adev, u64 header) in avs_dsp_process_notification()
287 void avs_dsp_process_response(struct avs_dev *adev, u64 header) in avs_dsp_process_response()
[all …]
H A Ddebugfs.c37 bool avs_logging_fw(struct avs_dev *adev) in avs_logging_fw()
42 void avs_dump_fw_log(struct avs_dev *adev, const void __iomem *src, unsigned int len) in avs_dump_fw_log()
47 void avs_dump_fw_log_wakeup(struct avs_dev *adev, const void __iomem *src, unsigned int len) in avs_dump_fw_log_wakeup()
55 struct avs_dev *adev = file->private_data; in fw_regs_read()
77 struct avs_dev *adev = file->private_data; in debug_window_read()
101 struct avs_dev *adev = file->private_data; in probe_points_read()
138 struct avs_dev *adev = file->private_data; in probe_points_write()
175 struct avs_dev *adev = file->private_data; in probe_points_disconnect_write()
211 struct avs_dev *adev = file->private_data; in strace_read()
232 struct avs_dev *adev = inode->i_private; in strace_open()
[all …]
H A Ddsp.c17 int avs_dsp_core_power(struct avs_dev *adev, u32 core_mask, bool power) in avs_dsp_core_power()
46 int avs_dsp_core_reset(struct avs_dev *adev, u32 core_mask, bool reset) in avs_dsp_core_reset()
70 int avs_dsp_core_stall(struct avs_dev *adev, u32 core_mask, bool stall) in avs_dsp_core_stall()
98 int avs_dsp_core_enable(struct avs_dev *adev, u32 core_mask) in avs_dsp_core_enable()
113 int avs_dsp_core_disable(struct avs_dev *adev, u32 core_mask) in avs_dsp_core_disable()
122 static int avs_dsp_enable(struct avs_dev *adev, u32 core_mask) in avs_dsp_enable()
143 static int avs_dsp_disable(struct avs_dev *adev, u32 core_mask) in avs_dsp_disable()
154 static int avs_dsp_get_core(struct avs_dev *adev, u32 core_id) in avs_dsp_get_core()
195 static int avs_dsp_put_core(struct avs_dev *adev, u32 core_id) in avs_dsp_put_core()
225 int avs_dsp_init_module(struct avs_dev *adev, u16 module_id, u8 ppl_instance_id, in avs_dsp_init_module()
[all …]
H A Dpath.c20 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()
118 static struct avs_tplg_path *avs_condpath_find_variant(struct avs_dev *adev, in avs_condpath_find_variant()
140 static struct avs_path *avs_condpath_find_match(struct avs_dev *adev, in avs_condpath_find_match()
168 avs_nhlt_config_or_default(struct avs_dev *adev, struct avs_tplg_module *t);
170 int avs_path_set_constraint(struct avs_dev *adev, struct avs_tplg_path_template *template, in avs_path_set_constraint()
278 avs_nhlt_config_or_default(struct avs_dev *adev, struct avs_tplg_module *t) in avs_nhlt_config_or_default()
338 static int avs_append_dma_cfg(struct avs_dev *adev, struct avs_copier_gtw_cfg *gtw, in avs_append_dma_cfg()
381 static int avs_fill_gtw_config(struct avs_dev *adev, struct avs_copier_gtw_cfg *gtw, in avs_fill_gtw_config()
[all …]
H A Dskl.c18 void avs_skl_ipc_interrupt(struct avs_dev *adev) in avs_skl_ipc_interrupt()
57 static irqreturn_t avs_skl_dsp_interrupt(struct avs_dev *adev) in avs_skl_dsp_interrupt()
79 avs_skl_enable_logs(struct avs_dev *adev, enum avs_log_enable enable, u32 aging_period, in avs_skl_enable_logs()
111 int avs_skl_log_buffer_offset(struct avs_dev *adev, u32 core) in avs_skl_log_buffer_offset()
119 static int avs_skl_log_buffer_status(struct avs_dev *adev, union avs_notify_msg *msg) in avs_skl_log_buffer_status()
139 static int avs_skl_coredump(struct avs_dev *adev, union avs_notify_msg *msg) in avs_skl_coredump()
153 static bool avs_skl_d0ix_toggle(struct avs_dev *adev, struct avs_ipc_msg *tx, bool wake) in avs_skl_d0ix_toggle()
159 static int avs_skl_set_d0ix(struct avs_dev *adev, bool enable) in avs_skl_set_d0ix()
H A Dmtl.c36 static int avs_mtl_core_power_on(struct avs_dev *adev) in avs_mtl_core_power_on()
67 static int avs_mtl_core_power_off(struct avs_dev *adev) in avs_mtl_core_power_off()
84 int avs_mtl_core_power(struct avs_dev *adev, u32 core_mask, bool power) in avs_mtl_core_power()
95 int avs_mtl_core_reset(struct avs_dev *adev, u32 core_mask, bool power) in avs_mtl_core_reset()
101 int avs_mtl_core_stall(struct avs_dev *adev, u32 core_mask, bool stall) in avs_mtl_core_stall()
128 static void avs_mtl_ipc_interrupt(struct avs_dev *adev) in avs_mtl_ipc_interrupt()
169 irqreturn_t avs_mtl_dsp_interrupt(struct avs_dev *adev) in avs_mtl_dsp_interrupt()
185 void avs_mtl_interrupt_control(struct avs_dev *adev, bool enable) in avs_mtl_interrupt_control()
H A Dpath.h35 struct avs_dev *owner;
75 struct avs_path *avs_path_create(struct avs_dev *adev, u32 dma_id,
85 int avs_path_set_constraint(struct avs_dev *adev, struct avs_tplg_path_template *template,
90 int avs_peakvol_set_volume(struct avs_dev *adev, struct avs_path_module *mod,
92 int avs_peakvol_set_mute(struct avs_dev *adev, struct avs_path_module *mod,
H A Dloader.c102 static int avs_fw_manifest_strip_verify(struct avs_dev *adev, struct firmware *fw, in avs_fw_manifest_strip_verify()
138 int avs_cldma_load_basefw(struct avs_dev *adev, struct firmware *fw) in avs_cldma_load_basefw()
194 int avs_cldma_load_library(struct avs_dev *adev, struct firmware *lib, u32 id) in avs_cldma_load_library()
215 static int avs_cldma_load_module(struct avs_dev *adev, struct avs_module_entry *mentry) in avs_cldma_load_module()
254 int avs_cldma_transfer_modules(struct avs_dev *adev, bool load, in avs_cldma_transfer_modules()
287 avs_hda_init_rom(struct avs_dev *adev, unsigned int dma_id, bool purge) in avs_hda_init_rom()
338 static int avs_imr_load_basefw(struct avs_dev *adev) in avs_imr_load_basefw()
360 int avs_hda_load_basefw(struct avs_dev *adev, struct firmware *fw) in avs_hda_load_basefw()
428 int avs_hda_load_library(struct avs_dev *adev, struct firmware *lib, u32 id) in avs_hda_load_library()
479 int avs_hda_transfer_modules(struct avs_dev *adev, bool load, in avs_hda_transfer_modules()
[all …]
H A Dapl.c19 static irqreturn_t avs_apl_dsp_interrupt(struct avs_dev *adev) in avs_apl_dsp_interrupt()
36 int avs_apl_enable_logs(struct avs_dev *adev, enum avs_log_enable enable, u32 aging_period, in avs_apl_enable_logs()
71 int avs_apl_log_buffer_status(struct avs_dev *adev, union avs_notify_msg *msg) in avs_apl_log_buffer_status()
100 static int avs_apl_wait_log_entry(struct avs_dev *adev, u32 core, in avs_apl_wait_log_entry()
125 int avs_apl_coredump(struct avs_dev *adev, union avs_notify_msg *msg) in avs_apl_coredump()
189 static bool avs_apl_lp_streaming(struct avs_dev *adev) in avs_apl_lp_streaming()
225 bool avs_apl_d0ix_toggle(struct avs_dev *adev, struct avs_ipc_msg *tx, bool wake) in avs_apl_d0ix_toggle()
242 int avs_apl_set_d0ix(struct avs_dev *adev, bool enable) in avs_apl_set_d0ix()
H A Dboard_selection.c385 static struct snd_soc_acpi_mach *avs_get_i2s_machines(struct avs_dev *adev) in avs_get_i2s_machines()
402 static struct platform_device *avs_register_board(struct avs_dev *adev, const char *name, in avs_register_board()
419 static struct platform_device *avs_register_board_pdata(struct avs_dev *adev, const char *name, in avs_register_board_pdata()
439 static int __maybe_unused avs_register_probe_board(struct avs_dev *adev) in avs_register_probe_board()
450 static int avs_register_dmic_board(struct avs_dev *adev) in avs_register_dmic_board()
479 static int avs_register_i2s_test_board(struct avs_dev *adev, int ssp_port, int tdm_slot) in avs_register_i2s_test_board()
503 static int avs_register_i2s_test_boards(struct avs_dev *adev) in avs_register_i2s_test_boards()
541 static int avs_register_i2s_board(struct avs_dev *adev, struct snd_soc_acpi_mach *mach) in avs_register_i2s_board()
557 static int avs_register_i2s_boards(struct avs_dev *adev) in avs_register_i2s_boards()
597 static int avs_register_hda_board(struct avs_dev *adev, struct hda_codec *codec) in avs_register_hda_board()
[all …]
H A Dicl.c19 int avs_icl_enable_logs(struct avs_dev *adev, enum avs_log_enable enable, u32 aging_period, in avs_icl_enable_logs()
87 static int avs_icl_slot_offset(struct avs_dev *adev, union avs_icl_memwnd2_slot_type slot_type) in avs_icl_slot_offset()
100 int avs_icl_log_buffer_offset(struct avs_dev *adev, u32 core) in avs_icl_log_buffer_offset()
114 bool avs_icl_d0ix_toggle(struct avs_dev *adev, struct avs_ipc_msg *tx, bool wake) in avs_icl_d0ix_toggle()
124 int avs_icl_set_d0ix(struct avs_dev *adev, bool enable) in avs_icl_set_d0ix()
132 int avs_icl_load_basefw(struct avs_dev *adev, struct firmware *fw) in avs_icl_load_basefw()
H A Dcore.c54 void avs_hda_power_gating_enable(struct avs_dev *adev, bool enable) in avs_hda_power_gating_enable()
64 struct avs_dev *adev = hdac_to_avs(bus); in avs_hdac_clock_gating_enable()
71 void avs_hda_clock_gating_enable(struct avs_dev *adev, bool enable) in avs_hda_clock_gating_enable()
76 void avs_hda_l1sen_enable(struct avs_dev *adev, bool enable) in avs_hda_l1sen_enable()
108 struct avs_dev *adev = hdac_to_avs(bus); in avs_hdac_bus_init_chip()
204 struct avs_dev *adev = container_of(work, struct avs_dev, probe_work); in avs_hda_probe_work()
322 struct avs_dev *adev = dev_id; in avs_dsp_irq_handler()
329 struct avs_dev *adev = dev_id; in avs_dsp_irq_thread()
343 static int avs_hdac_acquire_irq(struct avs_dev *ade
[all...]
H A Dtgl.c16 static int avs_tgl_dsp_core_power(struct avs_dev *adev, u32 core_mask, bool power) in avs_tgl_dsp_core_power()
25 static int avs_tgl_dsp_core_reset(struct avs_dev *adev, u32 core_mask, bool reset) in avs_tgl_dsp_core_reset()
34 static int avs_tgl_dsp_core_stall(struct avs_dev *adev, u32 core_mask, bool stall) in avs_tgl_dsp_core_stall()
43 static int avs_tgl_config_basefw(struct avs_dev *adev) in avs_tgl_config_basefw()
H A Dcontrol.c16 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()
56 struct avs_dev *adev; in avs_control_volume_get()
89 struct avs_dev *adev; in avs_control_volume_put()
139 struct avs_dev *adev; in avs_control_mute_get()
172 struct avs_dev *adev; in avs_control_mute_put()
H A Dprobes.c17 static int avs_dsp_init_probe(struct avs_dev *adev, struct snd_compr_params *params, int bps, in avs_dsp_init_probe()
47 static void avs_dsp_delete_probe(struct avs_dev *adev) in avs_dsp_delete_probe()
65 struct avs_dev *adev = to_avs_dev(dai->dev); in avs_probe_compr_open()
90 struct avs_dev *adev = to_avs_dev(dai->dev); in avs_probe_compr_free()
134 struct avs_dev *adev = to_avs_dev(dai->dev); in avs_probe_compr_set_params()
187 struct avs_dev *adev = to_avs_dev(dai->dev); in avs_probe_compr_trigger()
296 int avs_register_probe_component(struct avs_dev *adev, const char *name) in avs_register_probe_component()
H A Dptl.c25 static int avs_ptl_core_power_on(struct avs_dev *adev) in avs_ptl_core_power_on()
56 static int avs_ptl_core_power_off(struct avs_dev *adev) in avs_ptl_core_power_off()
73 static int avs_ptl_core_power(struct avs_dev *adev, u32 core_mask, bool power) in avs_ptl_core_power()
H A Dcnl.c15 static void avs_cnl_ipc_interrupt(struct avs_dev *adev) in avs_cnl_ipc_interrupt()
61 irqreturn_t avs_cnl_dsp_interrupt(struct avs_dev *adev) in avs_cnl_dsp_interrupt()
H A Dpcm.c27 struct avs_dev *adev;
122 struct avs_dev *adev = to_avs_dev(dai->component->dev); in avs_dai_startup()
376 struct avs_dev *adev = to_avs_dev(dai->component->dev); in avs_dai_i2shda_be_startup()
387 struct avs_dev *adev = to_avs_dev(dai->component->dev); in avs_dai_dmichda_be_startup()
792 struct avs_dev *adev = hdac_to_avs(bus); in avs_hda_stream_start()
827 struct avs_dev *adev = hdac_to_avs(bus); in avs_hda_stream_stop()
961 struct avs_dev *adev = to_avs_dev(acomp->base.dev); in avs_component_load_libraries()
995 struct avs_dev *adev; in avs_component_probe()
1070 struct avs_dev *adev = to_avs_dev(component->dev); in avs_component_remove()
1434 int avs_register_dmic_component(struct avs_dev *adev, const char *name) in avs_register_dmic_component()
[all …]
H A Dlnl.c14 int avs_lnl_core_stall(struct avs_dev *adev, u32 core_mask, bool stall) in avs_lnl_core_stall()
H A Dsysfs.c14 struct avs_dev *adev = to_avs_dev(dev); in fw_version_show()