Home
last modified time | relevance | path

Searched refs:dsp (Results 1 - 25 of 259) sorted by relevance

1234567891011

/kernel/linux/linux-5.10/drivers/isdn/mISDN/
H A Ddsp_core.c23 * The dsp module provides layer 2 for b-channels (64kbit). It provides
96 * NOTE: The channel must be activated in order to make dsp work, even if
137 * When data is received from upper or lower layer (card), the complete dsp
161 #include "dsp.h"
179 spinlock_t dsp_lock; /* global dsp lock */
188 dsp_rx_off_member(struct dsp *dsp) in dsp_rx_off_member() argument
195 if (!dsp->features_rx_off) in dsp_rx_off_member()
199 if (!dsp->rx_disabled) in dsp_rx_off_member()
202 else if (dsp in dsp_rx_off_member()
235 dsp_rx_off(struct dsp *dsp) dsp_rx_off() argument
255 dsp_fill_empty(struct dsp *dsp) dsp_fill_empty() argument
281 dsp_control_req(struct dsp *dsp, struct mISDNhead *hh, struct sk_buff *skb) dsp_control_req() argument
628 struct dsp *dsp = container_of(ch, struct dsp, ch); get_features() local
666 struct dsp *dsp = container_of(ch, struct dsp, ch); dsp_function() local
954 struct dsp *dsp = container_of(ch, struct dsp, ch); dsp_ctrl() local
1007 struct dsp *dsp = container_of(work, struct dsp, workq); dsp_send_bh() local
[all...]
H A Ddsp_cmx.c132 #include "dsp.h"
159 dsp_cmx_debug(struct dsp *dsp) in dsp_cmx_debug() argument
163 struct dsp *odsp; in dsp_cmx_debug()
172 if (dsp == odsp) in dsp_cmx_debug()
184 member->dsp->name, member->dsp->pcm_slot_tx, in dsp_cmx_debug()
185 member->dsp->pcm_bank_tx, member->dsp->pcm_slot_rx, in dsp_cmx_debug()
186 member->dsp in dsp_cmx_debug()
220 dsp_cmx_add_conf_member(struct dsp *dsp, struct dsp_conf *conf) dsp_cmx_add_conf_member() argument
265 dsp_cmx_del_conf_member(struct dsp *dsp) dsp_cmx_del_conf_member() argument
361 dsp_cmx_hw_message(struct dsp *dsp, u32 message, u32 param1, u32 param2, u32 param3, u32 param4) dsp_cmx_hw_message() argument
384 dsp_cmx_hardware(struct dsp_conf *conf, struct dsp *dsp) dsp_cmx_hardware() argument
1064 dsp_cmx_conf(struct dsp *dsp, u32 conf_id) dsp_cmx_conf() argument
1161 showdelay(struct dsp *dsp, int samples, int delay) showdelay() argument
1182 dsp_cmx_receive(struct dsp *dsp, struct sk_buff *skb) dsp_cmx_receive() argument
1309 dsp_cmx_send_member(struct dsp *dsp, int len, s32 *c, int members) global() argument
1632 struct dsp *dsp; global() local
1860 dsp_cmx_transmit(struct dsp *dsp, struct sk_buff *skb) global() argument
1916 dsp_cmx_hdlc(struct dsp *dsp, struct sk_buff *skb) global() argument
[all...]
H A Ddsp_dtmf.c15 #include "dsp.h"
40 void dsp_dtmf_goertzel_init(struct dsp *dsp) in dsp_dtmf_goertzel_init() argument
42 dsp->dtmf.size = 0; in dsp_dtmf_goertzel_init()
43 dsp->dtmf.lastwhat = '\0'; in dsp_dtmf_goertzel_init()
44 dsp->dtmf.lastdigit = '\0'; in dsp_dtmf_goertzel_init()
45 dsp->dtmf.count = 0; in dsp_dtmf_goertzel_init()
50 void dsp_dtmf_hardware(struct dsp *dsp) in dsp_dtmf_hardware() argument
54 if (!dsp in dsp_dtmf_hardware()
118 dsp_dtmf_goertzel_decode(struct dsp *dsp, u8 *data, int len, int fmt) dsp_dtmf_goertzel_decode() argument
[all...]
H A Ddsp.h91 /* all members within a conference (this is linked 1:1 with the dsp) */
92 struct dsp;
95 struct dsp *dsp; member
170 struct dsp { struct
245 extern void dsp_cmx_debug(struct dsp *dsp);
246 extern void dsp_cmx_hardware(struct dsp_conf *conf, struct dsp *dsp);
247 extern int dsp_cmx_conf(struct dsp *ds
[all...]
H A Ddsp_hwec.c4 * builtin mISDN dsp pipeline element for enabling the hw echocanceller
16 #include "dsp.h"
34 void dsp_hwec_enable(struct dsp *dsp, const char *arg) in dsp_hwec_enable() argument
40 if (!dsp) { in dsp_hwec_enable()
41 printk(KERN_ERR "%s: failed to enable hwec: dsp is NULL\n", in dsp_hwec_enable()
85 if (!dsp->ch.peer->ctrl(&dsp->ch, CONTROL_CHANNEL, &cq)) { in dsp_hwec_enable()
92 void dsp_hwec_disable(struct dsp *dsp) in dsp_hwec_disable() argument
[all...]
H A Ddsp_blowfish.c14 #include "dsp.h"
369 dsp_bf_encrypt(struct dsp *dsp, u8 *data, int len) in dsp_bf_encrypt() argument
371 int i = 0, j = dsp->bf_crypt_pos; in dsp_bf_encrypt()
372 u8 *bf_data_in = dsp->bf_data_in; in dsp_bf_encrypt()
373 u8 *bf_crypt_out = dsp->bf_crypt_out; in dsp_bf_encrypt()
374 u32 *P = dsp->bf_p; in dsp_bf_encrypt()
375 u32 *S = dsp->bf_s; in dsp_bf_encrypt()
448 dsp->bf_crypt_pos = j; in dsp_bf_encrypt()
458 dsp_bf_decrypt(struct dsp *ds argument
599 dsp_bf_init(struct dsp *dsp, const u8 *key, uint keylen) dsp_bf_init() argument
669 dsp_bf_cleanup(struct dsp *dsp) dsp_bf_cleanup() argument
[all...]
/kernel/linux/linux-6.6/drivers/isdn/mISDN/
H A Ddsp_core.c23 * The dsp module provides layer 2 for b-channels (64kbit). It provides
96 * NOTE: The channel must be activated in order to make dsp work, even if
137 * When data is received from upper or lower layer (card), the complete dsp
161 #include "dsp.h"
179 DEFINE_SPINLOCK(dsp_lock); /* global dsp lock */
188 dsp_rx_off_member(struct dsp *dsp) in dsp_rx_off_member() argument
195 if (!dsp->features_rx_off) in dsp_rx_off_member()
199 if (!dsp->rx_disabled) in dsp_rx_off_member()
202 else if (dsp in dsp_rx_off_member()
235 dsp_rx_off(struct dsp *dsp) dsp_rx_off() argument
255 dsp_fill_empty(struct dsp *dsp) dsp_fill_empty() argument
281 dsp_control_req(struct dsp *dsp, struct mISDNhead *hh, struct sk_buff *skb) dsp_control_req() argument
628 struct dsp *dsp = container_of(ch, struct dsp, ch); get_features() local
666 struct dsp *dsp = container_of(ch, struct dsp, ch); dsp_function() local
954 struct dsp *dsp = container_of(ch, struct dsp, ch); dsp_ctrl() local
1006 struct dsp *dsp = container_of(work, struct dsp, workq); dsp_send_bh() local
[all...]
H A Ddsp_cmx.c132 #include "dsp.h"
148 dsp_cmx_debug(struct dsp *dsp) in dsp_cmx_debug() argument
152 struct dsp *odsp; in dsp_cmx_debug()
161 if (dsp == odsp) in dsp_cmx_debug()
173 member->dsp->name, member->dsp->pcm_slot_tx, in dsp_cmx_debug()
174 member->dsp->pcm_bank_tx, member->dsp->pcm_slot_rx, in dsp_cmx_debug()
175 member->dsp in dsp_cmx_debug()
209 dsp_cmx_add_conf_member(struct dsp *dsp, struct dsp_conf *conf) dsp_cmx_add_conf_member() argument
254 dsp_cmx_del_conf_member(struct dsp *dsp) dsp_cmx_del_conf_member() argument
350 dsp_cmx_hw_message(struct dsp *dsp, u32 message, u32 param1, u32 param2, u32 param3, u32 param4) dsp_cmx_hw_message() argument
373 dsp_cmx_hardware(struct dsp_conf *conf, struct dsp *dsp) dsp_cmx_hardware() argument
1053 dsp_cmx_conf(struct dsp *dsp, u32 conf_id) dsp_cmx_conf() argument
1150 showdelay(struct dsp *dsp, int samples, int delay) showdelay() argument
1171 dsp_cmx_receive(struct dsp *dsp, struct sk_buff *skb) dsp_cmx_receive() argument
1298 dsp_cmx_send_member(struct dsp *dsp, int len, s32 *c, int members) global() argument
1621 struct dsp *dsp; global() local
1849 dsp_cmx_transmit(struct dsp *dsp, struct sk_buff *skb) global() argument
1905 dsp_cmx_hdlc(struct dsp *dsp, struct sk_buff *skb) global() argument
[all...]
H A Ddsp_dtmf.c15 #include "dsp.h"
40 void dsp_dtmf_goertzel_init(struct dsp *dsp) in dsp_dtmf_goertzel_init() argument
42 dsp->dtmf.size = 0; in dsp_dtmf_goertzel_init()
43 dsp->dtmf.lastwhat = '\0'; in dsp_dtmf_goertzel_init()
44 dsp->dtmf.lastdigit = '\0'; in dsp_dtmf_goertzel_init()
45 dsp->dtmf.count = 0; in dsp_dtmf_goertzel_init()
50 void dsp_dtmf_hardware(struct dsp *dsp) in dsp_dtmf_hardware() argument
54 if (!dsp in dsp_dtmf_hardware()
118 dsp_dtmf_goertzel_decode(struct dsp *dsp, u8 *data, int len, int fmt) dsp_dtmf_goertzel_decode() argument
[all...]
H A Ddsp.h91 /* all members within a conference (this is linked 1:1 with the dsp) */
92 struct dsp;
95 struct dsp *dsp; member
170 struct dsp { struct
245 extern void dsp_cmx_debug(struct dsp *dsp);
246 extern void dsp_cmx_hardware(struct dsp_conf *conf, struct dsp *dsp);
247 extern int dsp_cmx_conf(struct dsp *ds
[all...]
H A Ddsp_hwec.c4 * builtin mISDN dsp pipeline element for enabling the hw echocanceller
16 #include "dsp.h"
34 void dsp_hwec_enable(struct dsp *dsp, const char *arg) in dsp_hwec_enable() argument
40 if (!dsp) { in dsp_hwec_enable()
41 printk(KERN_ERR "%s: failed to enable hwec: dsp is NULL\n", in dsp_hwec_enable()
85 if (!dsp->ch.peer->ctrl(&dsp->ch, CONTROL_CHANNEL, &cq)) { in dsp_hwec_enable()
92 void dsp_hwec_disable(struct dsp *dsp) in dsp_hwec_disable() argument
[all...]
H A Ddsp_blowfish.c14 #include "dsp.h"
369 dsp_bf_encrypt(struct dsp *dsp, u8 *data, int len) in dsp_bf_encrypt() argument
371 int i = 0, j = dsp->bf_crypt_pos; in dsp_bf_encrypt()
372 u8 *bf_data_in = dsp->bf_data_in; in dsp_bf_encrypt()
373 u8 *bf_crypt_out = dsp->bf_crypt_out; in dsp_bf_encrypt()
374 u32 *P = dsp->bf_p; in dsp_bf_encrypt()
375 u32 *S = dsp->bf_s; in dsp_bf_encrypt()
448 dsp->bf_crypt_pos = j; in dsp_bf_encrypt()
458 dsp_bf_decrypt(struct dsp *ds argument
599 dsp_bf_init(struct dsp *dsp, const u8 *key, uint keylen) dsp_bf_init() argument
669 dsp_bf_cleanup(struct dsp *dsp) dsp_bf_cleanup() argument
[all...]
/kernel/linux/linux-6.6/drivers/firmware/cirrus/
H A Dcs_dsp.c279 bool (*validate_version)(struct cs_dsp *dsp, unsigned int version);
280 unsigned int (*parse_sizes)(struct cs_dsp *dsp,
284 int (*setup_algs)(struct cs_dsp *dsp);
288 void (*show_fw_status)(struct cs_dsp *dsp);
289 void (*stop_watchdog)(struct cs_dsp *dsp);
291 int (*enable_memory)(struct cs_dsp *dsp);
292 void (*disable_memory)(struct cs_dsp *dsp);
293 int (*lock_memory)(struct cs_dsp *dsp, unsigned int lock_regions);
295 int (*enable_core)(struct cs_dsp *dsp);
296 void (*disable_core)(struct cs_dsp *dsp);
377 cs_dsp_debugfs_save_wmfwname(struct cs_dsp *dsp, const char *s) cs_dsp_debugfs_save_wmfwname() argument
385 cs_dsp_debugfs_save_binname(struct cs_dsp *dsp, const char *s) cs_dsp_debugfs_save_binname() argument
393 cs_dsp_debugfs_clear(struct cs_dsp *dsp) cs_dsp_debugfs_clear() argument
405 struct cs_dsp *dsp = file->private_data; cs_dsp_debugfs_wmfw_read() local
425 struct cs_dsp *dsp = file->private_data; cs_dsp_debugfs_bin_read() local
466 struct cs_dsp *dsp = s->private; cs_dsp_debugfs_read_controls_show() local
494 cs_dsp_init_debugfs(struct cs_dsp *dsp, struct dentry *debugfs_root) cs_dsp_init_debugfs() argument
521 cs_dsp_cleanup_debugfs(struct cs_dsp *dsp) cs_dsp_cleanup_debugfs() argument
529 cs_dsp_init_debugfs(struct cs_dsp *dsp, struct dentry *debugfs_root) cs_dsp_init_debugfs() argument
534 cs_dsp_cleanup_debugfs(struct cs_dsp *dsp) cs_dsp_cleanup_debugfs() argument
539 cs_dsp_debugfs_save_wmfwname(struct cs_dsp *dsp, const char *s) cs_dsp_debugfs_save_wmfwname() argument
544 cs_dsp_debugfs_save_binname(struct cs_dsp *dsp, const char *s) cs_dsp_debugfs_save_binname() argument
549 cs_dsp_debugfs_clear(struct cs_dsp *dsp) cs_dsp_debugfs_clear() argument
554 cs_dsp_find_region(struct cs_dsp *dsp, int type) cs_dsp_find_region() argument
601 cs_dsp_read_fw_status(struct cs_dsp *dsp, int noffs, unsigned int *offs) cs_dsp_read_fw_status() argument
616 cs_dsp_adsp2_show_fw_status(struct cs_dsp *dsp) cs_dsp_adsp2_show_fw_status() argument
628 cs_dsp_adsp2v2_show_fw_status(struct cs_dsp *dsp) cs_dsp_adsp2v2_show_fw_status() argument
639 cs_dsp_halo_show_fw_status(struct cs_dsp *dsp) cs_dsp_halo_show_fw_status() argument
655 struct cs_dsp *dsp = ctl->dsp; cs_dsp_coeff_base_reg() local
684 struct cs_dsp *dsp = ctl->dsp; cs_dsp_coeff_write_acked_control() local
750 struct cs_dsp *dsp = ctl->dsp; cs_dsp_coeff_write_ctrl_raw() local
825 struct cs_dsp *dsp = ctl->dsp; cs_dsp_coeff_read_ctrl_raw() local
894 cs_dsp_coeff_init_control_caches(struct cs_dsp *dsp) cs_dsp_coeff_init_control_caches() argument
920 cs_dsp_coeff_sync_controls(struct cs_dsp *dsp) cs_dsp_coeff_sync_controls() argument
939 cs_dsp_signal_event_controls(struct cs_dsp *dsp, unsigned int event) cs_dsp_signal_event_controls() argument
967 cs_dsp_create_control(struct cs_dsp *dsp, const struct cs_dsp_alg_region *alg_region, unsigned int offset, unsigned int len, const char *subname, unsigned int subname_len, unsigned int flags, unsigned int type) cs_dsp_create_control() argument
1099 cs_dsp_coeff_parse_alg(struct cs_dsp *dsp, const u8 **data, struct cs_dsp_coeff_parsed_alg *blk) cs_dsp_coeff_parse_alg() argument
1129 cs_dsp_coeff_parse_coeff(struct cs_dsp *dsp, const u8 **data, struct cs_dsp_coeff_parsed_coeff *blk) cs_dsp_coeff_parse_coeff() argument
1175 cs_dsp_check_coeff_flags(struct cs_dsp *dsp, const struct cs_dsp_coeff_parsed_coeff *coeff_blk, unsigned int f_required, unsigned int f_illegal) cs_dsp_check_coeff_flags() argument
1190 cs_dsp_parse_coeff(struct cs_dsp *dsp, const struct wmfw_region *region) cs_dsp_parse_coeff() argument
1262 cs_dsp_adsp1_parse_sizes(struct cs_dsp *dsp, const char * const file, unsigned int pos, const struct firmware *firmware) cs_dsp_adsp1_parse_sizes() argument
1278 cs_dsp_adsp2_parse_sizes(struct cs_dsp *dsp, const char * const file, unsigned int pos, const struct firmware *firmware) cs_dsp_adsp2_parse_sizes() argument
1294 cs_dsp_validate_version(struct cs_dsp *dsp, unsigned int version) cs_dsp_validate_version() argument
1308 cs_dsp_halo_validate_version(struct cs_dsp *dsp, unsigned int version) cs_dsp_halo_validate_version() argument
1318 cs_dsp_load(struct cs_dsp *dsp, const struct firmware *firmware, const char *file) cs_dsp_load() argument
1518 cs_dsp_get_ctl(struct cs_dsp *dsp, const char *name, int type, unsigned int alg) cs_dsp_get_ctl() argument
1541 cs_dsp_ctl_fixup_base(struct cs_dsp *dsp, const struct cs_dsp_alg_region *alg_region) cs_dsp_ctl_fixup_base() argument
1555 cs_dsp_read_algs(struct cs_dsp *dsp, size_t n_algs, const struct cs_dsp_region *mem, unsigned int pos, unsigned int len) cs_dsp_read_algs() argument
1615 cs_dsp_find_alg_region(struct cs_dsp *dsp, int type, unsigned int id) cs_dsp_find_alg_region() argument
1631 cs_dsp_create_region(struct cs_dsp *dsp, int type, __be32 id, __be32 ver, __be32 base) cs_dsp_create_region() argument
1654 cs_dsp_free_alg_regions(struct cs_dsp *dsp) cs_dsp_free_alg_regions() argument
1667 cs_dsp_parse_wmfw_id_header(struct cs_dsp *dsp, struct wmfw_id_hdr *fw, int nalgs) cs_dsp_parse_wmfw_id_header() argument
1679 cs_dsp_parse_wmfw_v3_id_header(struct cs_dsp *dsp, struct wmfw_v3_id_hdr *fw, int nalgs) cs_dsp_parse_wmfw_v3_id_header() argument
1693 cs_dsp_create_regions(struct cs_dsp *dsp, __be32 id, __be32 ver, int nregions, const int *type, __be32 *base) cs_dsp_create_regions() argument
1708 cs_dsp_adsp1_setup_algs(struct cs_dsp *dsp) cs_dsp_adsp1_setup_algs() argument
1813 cs_dsp_adsp2_setup_algs(struct cs_dsp *dsp) cs_dsp_adsp2_setup_algs() argument
1948 cs_dsp_halo_create_regions(struct cs_dsp *dsp, __be32 id, __be32 ver, __be32 xm_base, __be32 ym_base) cs_dsp_halo_create_regions() argument
1960 cs_dsp_halo_setup_algs(struct cs_dsp *dsp) cs_dsp_halo_setup_algs() argument
2021 cs_dsp_load_coeff(struct cs_dsp *dsp, const struct firmware *firmware, const char *file) cs_dsp_load_coeff() argument
2224 cs_dsp_create_name(struct cs_dsp *dsp) cs_dsp_create_name() argument
2236 cs_dsp_common_init(struct cs_dsp *dsp) cs_dsp_common_init() argument
2258 cs_dsp_adsp1_init(struct cs_dsp *dsp) cs_dsp_adsp1_init() argument
2277 cs_dsp_adsp1_power_up(struct cs_dsp *dsp, const struct firmware *wmfw_firmware, char *wmfw_filename, const struct firmware *coeff_firmware, char *coeff_filename, const char *fw_name) cs_dsp_adsp1_power_up() argument
2362 cs_dsp_adsp1_power_down(struct cs_dsp *dsp) cs_dsp_adsp1_power_down() argument
2390 cs_dsp_adsp2v2_enable_core(struct cs_dsp *dsp) cs_dsp_adsp2v2_enable_core() argument
2417 cs_dsp_adsp2_enable_core(struct cs_dsp *dsp) cs_dsp_adsp2_enable_core() argument
2429 cs_dsp_adsp2_lock(struct cs_dsp *dsp, unsigned int lock_regions) cs_dsp_adsp2_lock() argument
2459 cs_dsp_adsp2_enable_memory(struct cs_dsp *dsp) cs_dsp_adsp2_enable_memory() argument
2465 cs_dsp_adsp2_disable_memory(struct cs_dsp *dsp) cs_dsp_adsp2_disable_memory() argument
2471 cs_dsp_adsp2_disable_core(struct cs_dsp *dsp) cs_dsp_adsp2_disable_core() argument
2481 cs_dsp_adsp2v2_disable_core(struct cs_dsp *dsp) cs_dsp_adsp2v2_disable_core() argument
2488 cs_dsp_halo_configure_mpu(struct cs_dsp *dsp, unsigned int lock_regions) cs_dsp_halo_configure_mpu() argument
2528 cs_dsp_set_dspclk(struct cs_dsp *dsp, unsigned int freq) cs_dsp_set_dspclk() argument
2542 cs_dsp_stop_watchdog(struct cs_dsp *dsp) cs_dsp_stop_watchdog() argument
2548 cs_dsp_halo_stop_watchdog(struct cs_dsp *dsp) cs_dsp_halo_stop_watchdog() argument
2571 cs_dsp_power_up(struct cs_dsp *dsp, const struct firmware *wmfw_firmware, char *wmfw_filename, const struct firmware *coeff_firmware, char *coeff_filename, const char *fw_name) cs_dsp_power_up() argument
2639 cs_dsp_power_down(struct cs_dsp *dsp) cs_dsp_power_down() argument
2666 cs_dsp_adsp2_start_core(struct cs_dsp *dsp) cs_dsp_adsp2_start_core() argument
2673 cs_dsp_adsp2_stop_core(struct cs_dsp *dsp) cs_dsp_adsp2_stop_core() argument
2687 cs_dsp_run(struct cs_dsp *dsp) cs_dsp_run() argument
2758 cs_dsp_stop(struct cs_dsp *dsp) cs_dsp_stop() argument
2791 cs_dsp_halo_start_core(struct cs_dsp *dsp) cs_dsp_halo_start_core() argument
2805 cs_dsp_halo_stop_core(struct cs_dsp *dsp) cs_dsp_halo_stop_core() argument
2821 cs_dsp_adsp2_init(struct cs_dsp *dsp) cs_dsp_adsp2_init() argument
2859 cs_dsp_halo_init(struct cs_dsp *dsp) cs_dsp_halo_init() argument
2874 cs_dsp_remove(struct cs_dsp *dsp) cs_dsp_remove() argument
2904 cs_dsp_read_raw_data_block(struct cs_dsp *dsp, int mem_type, unsigned int mem_addr, unsigned int num_words, __be32 *data) cs_dsp_read_raw_data_block() argument
2936 cs_dsp_read_data_word(struct cs_dsp *dsp, int mem_type, unsigned int mem_addr, u32 *data) cs_dsp_read_data_word() argument
2960 cs_dsp_write_data_word(struct cs_dsp *dsp, int mem_type, unsigned int mem_addr, u32 data) cs_dsp_write_data_word() argument
3007 cs_dsp_adsp2_bus_error(struct cs_dsp *dsp) cs_dsp_adsp2_bus_error() argument
3077 cs_dsp_halo_bus_error(struct cs_dsp *dsp) cs_dsp_halo_bus_error() argument
3137 cs_dsp_halo_wdt_expire(struct cs_dsp *dsp) cs_dsp_halo_wdt_expire() argument
[all...]
/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dwm_adsp.c47 adsp_err(_obj->dsp, "%s: " fmt, _obj->name ? _obj->name : "legacy", \
50 adsp_dbg(_obj->dsp, "%s: " fmt, _obj->name ? _obj->name : "legacy", \
441 struct wm_adsp *dsp; member
458 struct wm_adsp *dsp; member
492 static int wm_adsp_buffer_init(struct wm_adsp *dsp);
493 static int wm_adsp_buffer_free(struct wm_adsp *dsp);
613 struct wm_adsp *dsp; member
650 static void wm_adsp_debugfs_save_wmfwname(struct wm_adsp *dsp, const char *s) in wm_adsp_debugfs_save_wmfwname() argument
654 kfree(dsp->wmfw_file_name); in wm_adsp_debugfs_save_wmfwname()
655 dsp in wm_adsp_debugfs_save_wmfwname()
658 wm_adsp_debugfs_save_binname(struct wm_adsp *dsp, const char *s) wm_adsp_debugfs_save_binname() argument
666 wm_adsp_debugfs_clear(struct wm_adsp *dsp) wm_adsp_debugfs_clear() argument
678 struct wm_adsp *dsp = file->private_data; wm_adsp_debugfs_wmfw_read() local
698 struct wm_adsp *dsp = file->private_data; wm_adsp_debugfs_bin_read() local
734 wm_adsp2_init_debugfs(struct wm_adsp *dsp, struct snd_soc_component *component) wm_adsp2_init_debugfs() argument
754 wm_adsp2_cleanup_debugfs(struct wm_adsp *dsp) wm_adsp2_cleanup_debugfs() argument
760 wm_adsp2_init_debugfs(struct wm_adsp *dsp, struct snd_soc_component *component) wm_adsp2_init_debugfs() argument
765 wm_adsp2_cleanup_debugfs(struct wm_adsp *dsp) wm_adsp2_cleanup_debugfs() argument
769 wm_adsp_debugfs_save_wmfwname(struct wm_adsp *dsp, const char *s) wm_adsp_debugfs_save_wmfwname() argument
774 wm_adsp_debugfs_save_binname(struct wm_adsp *dsp, const char *s) wm_adsp_debugfs_save_binname() argument
779 wm_adsp_debugfs_clear(struct wm_adsp *dsp) wm_adsp_debugfs_clear() argument
789 struct wm_adsp *dsp = snd_soc_component_get_drvdata(component); wm_adsp_fw_get() local
802 struct wm_adsp *dsp = snd_soc_component_get_drvdata(component); wm_adsp_fw_put() local
835 wm_adsp_find_region(struct wm_adsp *dsp, int type) wm_adsp_find_region() argument
882 wm_adsp_read_fw_status(struct wm_adsp *dsp, int noffs, unsigned int *offs) wm_adsp_read_fw_status() argument
897 wm_adsp2_show_fw_status(struct wm_adsp *dsp) wm_adsp2_show_fw_status() argument
909 wm_adsp2v2_show_fw_status(struct wm_adsp *dsp) wm_adsp2v2_show_fw_status() argument
920 wm_halo_show_fw_status(struct wm_adsp *dsp) wm_halo_show_fw_status() argument
940 struct wm_adsp *dsp = ctl->dsp; wm_coeff_base_reg() local
982 struct wm_adsp *dsp = ctl->dsp; wm_coeff_write_acked_control() local
1042 struct wm_adsp *dsp = ctl->dsp; wm_coeff_write_ctrl_raw() local
1150 struct wm_adsp *dsp = ctl->dsp; wm_coeff_read_ctrl_raw() local
1250 struct wm_adsp *dsp; global() member
1286 wmfw_add_ctl(struct wm_adsp *dsp, struct wm_coeff_ctl *ctl) wmfw_add_ctl() argument
1335 wm_coeff_init_control_caches(struct wm_adsp *dsp) wm_coeff_init_control_caches() argument
1361 wm_coeff_sync_controls(struct wm_adsp *dsp) wm_coeff_sync_controls() argument
1380 wm_adsp_signal_event_controls(struct wm_adsp *dsp, unsigned int event) wm_adsp_signal_event_controls() argument
1419 wm_adsp_create_control(struct wm_adsp *dsp, const struct wm_adsp_alg_region *alg_region, unsigned int offset, unsigned int len, const char *subname, unsigned int subname_len, unsigned int flags, unsigned int type) wm_adsp_create_control() argument
1605 wm_coeff_parse_alg(struct wm_adsp *dsp, const u8 **data, struct wm_coeff_parsed_alg *blk) wm_coeff_parse_alg() argument
1635 wm_coeff_parse_coeff(struct wm_adsp *dsp, const u8 **data, struct wm_coeff_parsed_coeff *blk) wm_coeff_parse_coeff() argument
1681 wm_adsp_check_coeff_flags(struct wm_adsp *dsp, const struct wm_coeff_parsed_coeff *coeff_blk, unsigned int f_required, unsigned int f_illegal) wm_adsp_check_coeff_flags() argument
1696 wm_adsp_parse_coeff(struct wm_adsp *dsp, const struct wmfw_region *region) wm_adsp_parse_coeff() argument
1767 wm_adsp1_parse_sizes(struct wm_adsp *dsp, const char * const file, unsigned int pos, const struct firmware *firmware) wm_adsp1_parse_sizes() argument
1783 wm_adsp2_parse_sizes(struct wm_adsp *dsp, const char * const file, unsigned int pos, const struct firmware *firmware) wm_adsp2_parse_sizes() argument
1799 wm_adsp_validate_version(struct wm_adsp *dsp, unsigned int version) wm_adsp_validate_version() argument
1813 wm_halo_validate_version(struct wm_adsp *dsp, unsigned int version) wm_halo_validate_version() argument
1823 wm_adsp_load(struct wm_adsp *dsp) wm_adsp_load() argument
2029 wm_adsp_get_ctl(struct wm_adsp *dsp, const char *name, int type, unsigned int alg) wm_adsp_get_ctl() argument
2052 wm_adsp_write_ctl(struct wm_adsp *dsp, const char *name, int type, unsigned int alg, void *buf, size_t len) wm_adsp_write_ctl() argument
2094 wm_adsp_read_ctl(struct wm_adsp *dsp, const char *name, int type, unsigned int alg, void *buf, size_t len) wm_adsp_read_ctl() argument
2110 wm_adsp_ctl_fixup_base(struct wm_adsp *dsp, const struct wm_adsp_alg_region *alg_region) wm_adsp_ctl_fixup_base() argument
2124 wm_adsp_read_algs(struct wm_adsp *dsp, size_t n_algs, const struct wm_adsp_region *mem, unsigned int pos, unsigned int len) wm_adsp_read_algs() argument
2177 wm_adsp_find_alg_region(struct wm_adsp *dsp, int type, unsigned int id) wm_adsp_find_alg_region() argument
2189 wm_adsp_create_region(struct wm_adsp *dsp, int type, __be32 id, __be32 base) wm_adsp_create_region() argument
2211 wm_adsp_free_alg_regions(struct wm_adsp *dsp) wm_adsp_free_alg_regions() argument
2224 wmfw_parse_id_header(struct wm_adsp *dsp, struct wmfw_id_hdr *fw, int nalgs) wmfw_parse_id_header() argument
2236 wmfw_v3_parse_id_header(struct wm_adsp *dsp, struct wmfw_v3_id_hdr *fw, int nalgs) wmfw_v3_parse_id_header() argument
2250 wm_adsp_create_regions(struct wm_adsp *dsp, __be32 id, int nregions, int *type, __be32 *base) wm_adsp_create_regions() argument
2265 wm_adsp1_setup_algs(struct wm_adsp *dsp) wm_adsp1_setup_algs() argument
2366 wm_adsp2_setup_algs(struct wm_adsp *dsp) wm_adsp2_setup_algs() argument
2495 wm_halo_create_regions(struct wm_adsp *dsp, __be32 id, __be32 xm_base, __be32 ym_base) wm_halo_create_regions() argument
2507 wm_halo_setup_algs(struct wm_adsp *dsp) wm_halo_setup_algs() argument
2567 wm_adsp_load_coeff(struct wm_adsp *dsp) wm_adsp_load_coeff() argument
2761 wm_adsp_create_name(struct wm_adsp *dsp) wm_adsp_create_name() argument
2785 wm_adsp_common_init(struct wm_adsp *dsp) wm_adsp_common_init() argument
2803 wm_adsp1_init(struct wm_adsp *dsp) wm_adsp1_init() argument
2817 struct wm_adsp *dsp = &dsps[w->shift]; wm_adsp1_event() local
2926 wm_adsp2v2_enable_core(struct wm_adsp *dsp) wm_adsp2v2_enable_core() argument
2953 wm_adsp2_enable_core(struct wm_adsp *dsp) wm_adsp2_enable_core() argument
2965 wm_adsp2_lock(struct wm_adsp *dsp, unsigned int lock_regions) wm_adsp2_lock() argument
2995 wm_adsp2_enable_memory(struct wm_adsp *dsp) wm_adsp2_enable_memory() argument
3001 wm_adsp2_disable_memory(struct wm_adsp *dsp) wm_adsp2_disable_memory() argument
3007 wm_adsp2_disable_core(struct wm_adsp *dsp) wm_adsp2_disable_core() argument
3017 wm_adsp2v2_disable_core(struct wm_adsp *dsp) wm_adsp2v2_disable_core() argument
3026 struct wm_adsp *dsp = container_of(work, wm_adsp_boot_work() local
3081 wm_halo_configure_mpu(struct wm_adsp *dsp, unsigned int lock_regions) wm_halo_configure_mpu() argument
3116 struct wm_adsp *dsp = &dsps[w->shift]; wm_adsp2_set_dspclk() local
3136 struct wm_adsp *dsp = &dsps[mc->shift - 1]; wm_adsp2_preloader_get() local
3152 struct wm_adsp *dsp = &dsps[mc->shift - 1]; wm_adsp2_preloader_put() local
3172 wm_adsp_stop_watchdog(struct wm_adsp *dsp) wm_adsp_stop_watchdog() argument
3178 wm_halo_stop_watchdog(struct wm_adsp *dsp) wm_halo_stop_watchdog() argument
3189 struct wm_adsp *dsp = &dsps[w->shift]; wm_adsp_early_event() local
3226 wm_adsp2_start_core(struct wm_adsp *dsp) wm_adsp2_start_core() argument
3233 wm_adsp2_stop_core(struct wm_adsp *dsp) wm_adsp2_stop_core() argument
3244 struct wm_adsp *dsp = &dsps[w->shift]; wm_adsp_event() local
3340 wm_halo_start_core(struct wm_adsp *dsp) wm_halo_start_core() argument
3347 wm_halo_stop_core(struct wm_adsp *dsp) wm_halo_stop_core() argument
3357 wm_adsp2_component_probe(struct wm_adsp *dsp, struct snd_soc_component *component) wm_adsp2_component_probe() argument
3372 wm_adsp2_component_remove(struct wm_adsp *dsp, struct snd_soc_component *component) wm_adsp2_component_remove() argument
3380 wm_adsp2_init(struct wm_adsp *dsp) wm_adsp2_init() argument
3418 wm_halo_init(struct wm_adsp *dsp) wm_halo_init() argument
3434 wm_adsp2_remove(struct wm_adsp *dsp) wm_adsp2_remove() argument
3490 wm_adsp_compr_open(struct wm_adsp *dsp, struct snd_compr_stream *stream) wm_adsp_compr_open() argument
3546 struct wm_adsp *dsp = compr->dsp; wm_adsp_compr_free() local
3566 struct wm_adsp *dsp = compr->dsp; wm_adsp_compr_check_params() local
3670 wm_adsp_read_data_block(struct wm_adsp *dsp, int mem_type, unsigned int mem_addr, unsigned int num_words, u32 *data) wm_adsp_read_data_block() argument
3694 wm_adsp_read_data_word(struct wm_adsp *dsp, int mem_type, unsigned int mem_addr, u32 *data) wm_adsp_read_data_word() argument
3700 wm_adsp_write_data_word(struct wm_adsp *dsp, int mem_type, unsigned int mem_addr, u32 data) wm_adsp_write_data_word() argument
3795 wm_adsp_buffer_alloc(struct wm_adsp *dsp) wm_adsp_buffer_alloc() argument
3812 wm_adsp_buffer_parse_legacy(struct wm_adsp *dsp) wm_adsp_buffer_parse_legacy() argument
3945 wm_adsp_buffer_init(struct wm_adsp *dsp) wm_adsp_buffer_init() argument
3983 wm_adsp_buffer_free(struct wm_adsp *dsp) wm_adsp_buffer_free() argument
4020 struct wm_adsp *dsp = compr->dsp; wm_adsp_compr_trigger() local
4117 wm_adsp_compr_handle_irq(struct wm_adsp *dsp) wm_adsp_compr_handle_irq() argument
4185 struct wm_adsp *dsp = compr->dsp; wm_adsp_compr_pointer() local
4299 struct wm_adsp *dsp = compr->dsp; wm_adsp_compr_read() local
4344 struct wm_adsp *dsp = compr->dsp; wm_adsp_compr_copy() local
4360 wm_adsp_fatal_error(struct wm_adsp *dsp) wm_adsp_fatal_error() argument
4374 struct wm_adsp *dsp = (struct wm_adsp *)data; wm_adsp2_bus_error() local
4440 struct wm_adsp *dsp = (struct wm_adsp *)data; wm_halo_bus_error() local
4497 struct wm_adsp *dsp = data; wm_halo_wdt_expire() local
[all...]
H A Dwm_adsp.h114 bool (*validate_version)(struct wm_adsp *dsp, unsigned int version);
115 unsigned int (*parse_sizes)(struct wm_adsp *dsp,
119 int (*setup_algs)(struct wm_adsp *dsp);
123 void (*show_fw_status)(struct wm_adsp *dsp);
124 void (*stop_watchdog)(struct wm_adsp *dsp);
126 int (*enable_memory)(struct wm_adsp *dsp);
127 void (*disable_memory)(struct wm_adsp *dsp);
128 int (*lock_memory)(struct wm_adsp *dsp, unsigned int lock_regions);
130 int (*enable_core)(struct wm_adsp *dsp);
131 void (*disable_core)(struct wm_adsp *dsp);
[all...]
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dwm_adsp.c46 adsp_err(_obj->dsp, "%s: " fmt, _obj->name ? _obj->name : "legacy", \
49 adsp_dbg(_obj->dsp, "%s: " fmt, _obj->name ? _obj->name : "legacy", \
150 struct wm_adsp *dsp; member
167 struct wm_adsp *dsp; member
199 static int wm_adsp_buffer_init(struct wm_adsp *dsp);
200 static int wm_adsp_buffer_free(struct wm_adsp *dsp);
322 struct wm_adsp *dsp = snd_soc_component_get_drvdata(component); in wm_adsp_fw_get() local
324 ucontrol->value.enumerated.item[0] = dsp[e->shift_l].fw; in wm_adsp_fw_get()
335 struct wm_adsp *dsp = snd_soc_component_get_drvdata(component); in wm_adsp_fw_put() local
338 if (ucontrol->value.enumerated.item[0] == dsp[ in wm_adsp_fw_put()
559 struct wm_adsp *dsp = container_of(cs_ctl->dsp, wm_adsp_ctl_work() local
599 struct wm_adsp *dsp = container_of(cs_ctl->dsp, struct wm_adsp, cs_dsp); wm_adsp_control_add() local
683 wm_adsp_write_ctl(struct wm_adsp *dsp, const char *name, int type, unsigned int alg, void *buf, size_t len) wm_adsp_write_ctl() argument
706 wm_adsp_read_ctl(struct wm_adsp *dsp, const char *name, int type, unsigned int alg, void *buf, size_t len) wm_adsp_read_ctl() argument
720 wm_adsp_release_firmware_files(struct wm_adsp *dsp, const struct firmware *wmfw_firmware, char *wmfw_filename, const struct firmware *coeff_firmware, char *coeff_filename) wm_adsp_release_firmware_files() argument
735 wm_adsp_request_firmware_file(struct wm_adsp *dsp, const struct firmware **firmware, char **filename, const char *dir, const char *system_name, const char *asoc_component_prefix, const char *filetype) wm_adsp_request_firmware_file() argument
794 wm_adsp_request_firmware_files(struct wm_adsp *dsp, const struct firmware **wmfw_firmware, char **wmfw_filename, const struct firmware **coeff_firmware, char **coeff_filename) wm_adsp_request_firmware_files() argument
879 wm_adsp_common_init(struct wm_adsp *dsp) wm_adsp_common_init() argument
887 wm_adsp1_init(struct wm_adsp *dsp) wm_adsp1_init() argument
907 struct wm_adsp *dsp = &dsps[w->shift]; wm_adsp1_event() local
948 struct wm_adsp *dsp = &dsps[w->shift]; wm_adsp2_set_dspclk() local
961 struct wm_adsp *dsp = &dsps[mc->shift - 1]; wm_adsp2_preloader_get() local
977 struct wm_adsp *dsp = &dsps[mc->shift - 1]; wm_adsp2_preloader_put() local
1005 wm_adsp_power_up(struct wm_adsp *dsp, bool load_firmware) wm_adsp_power_up() argument
1034 wm_adsp_power_down(struct wm_adsp *dsp) wm_adsp_power_down() argument
1042 struct wm_adsp *dsp = container_of(work, wm_adsp_boot_work() local
1054 struct wm_adsp *dsp = &dsps[w->shift]; wm_adsp_early_event() local
1073 struct wm_adsp *dsp = container_of(cs_dsp, struct wm_adsp, cs_dsp); wm_adsp_pre_run() local
1083 struct wm_adsp *dsp = container_of(cs_dsp, struct wm_adsp, cs_dsp); wm_adsp_event_post_run() local
1093 struct wm_adsp *dsp = container_of(cs_dsp, struct wm_adsp, cs_dsp); wm_adsp_event_post_stop() local
1106 struct wm_adsp *dsp = &dsps[w->shift]; wm_adsp_event() local
1125 wm_adsp2_component_probe(struct wm_adsp *dsp, struct snd_soc_component *component) wm_adsp2_component_probe() argument
1142 wm_adsp2_component_remove(struct wm_adsp *dsp, struct snd_soc_component *component) wm_adsp2_component_remove() argument
1150 wm_adsp2_init(struct wm_adsp *dsp) wm_adsp2_init() argument
1167 wm_halo_init(struct wm_adsp *dsp) wm_halo_init() argument
1184 wm_adsp2_remove(struct wm_adsp *dsp) wm_adsp2_remove() argument
1233 wm_adsp_compr_open(struct wm_adsp *dsp, struct snd_compr_stream *stream) wm_adsp_compr_open() argument
1289 struct wm_adsp *dsp = compr->dsp; wm_adsp_compr_free() local
1309 struct wm_adsp *dsp = compr->dsp; wm_adsp_compr_check_params() local
1478 wm_adsp_buffer_alloc(struct wm_adsp *dsp) wm_adsp_buffer_alloc() argument
1493 wm_adsp_buffer_parse_legacy(struct wm_adsp *dsp) wm_adsp_buffer_parse_legacy() argument
1560 struct wm_adsp *dsp = container_of(cs_ctl->dsp, struct wm_adsp, cs_dsp); wm_adsp_buffer_parse_coeff() local
1629 wm_adsp_buffer_init(struct wm_adsp *dsp) wm_adsp_buffer_init() argument
1667 wm_adsp_buffer_free(struct wm_adsp *dsp) wm_adsp_buffer_free() argument
1704 struct wm_adsp *dsp = compr->dsp; wm_adsp_compr_trigger() local
1801 wm_adsp_compr_handle_irq(struct wm_adsp *dsp) wm_adsp_compr_handle_irq() argument
1869 struct wm_adsp *dsp = compr->dsp; wm_adsp_compr_pointer() local
1983 struct wm_adsp *dsp = compr->dsp; wm_adsp_compr_read() local
2028 struct wm_adsp *dsp = compr->dsp; wm_adsp_compr_copy() local
2046 struct wm_adsp *dsp = container_of(cs_dsp, struct wm_adsp, cs_dsp); wm_adsp_fatal_error() local
2059 struct wm_adsp *dsp = (struct wm_adsp *)data; wm_adsp2_bus_error() local
2069 struct wm_adsp *dsp = (struct wm_adsp *)data; wm_halo_bus_error() local
2079 struct wm_adsp *dsp = data; wm_halo_wdt_expire() local
[all...]
H A Dwm_adsp.h40 int (*pre_run)(struct wm_adsp *dsp);
81 int wm_adsp1_init(struct wm_adsp *dsp);
82 int wm_adsp2_init(struct wm_adsp *dsp);
83 void wm_adsp2_remove(struct wm_adsp *dsp);
84 int wm_adsp2_component_probe(struct wm_adsp *dsp, struct snd_soc_component *component);
85 int wm_adsp2_component_remove(struct wm_adsp *dsp, struct snd_soc_component *component);
86 int wm_halo_init(struct wm_adsp *dsp);
94 int wm_adsp_power_up(struct wm_adsp *dsp, bool load_firmware);
95 void wm_adsp_power_down(struct wm_adsp *dsp);
115 int wm_adsp_compr_open(struct wm_adsp *dsp, struc
[all...]
/kernel/linux/linux-6.6/include/linux/firmware/cirrus/
H A Dcs_dsp.h74 * @dsp: DSP instance associated with this control
90 struct cs_dsp *dsp; member
205 int (*pre_run)(struct cs_dsp *dsp);
206 int (*post_run)(struct cs_dsp *dsp);
207 void (*pre_stop)(struct cs_dsp *dsp);
208 void (*post_stop)(struct cs_dsp *dsp);
209 void (*watchdog_expired)(struct cs_dsp *dsp);
212 int cs_dsp_adsp1_init(struct cs_dsp *dsp);
213 int cs_dsp_adsp2_init(struct cs_dsp *dsp);
214 int cs_dsp_halo_init(struct cs_dsp *dsp);
[all...]
/kernel/linux/linux-5.10/arch/mips/include/asm/
H A Ddsp.h41 tsk->thread.dsp.dspr[0] = mfhi1(); \
42 tsk->thread.dsp.dspr[1] = mflo1(); \
43 tsk->thread.dsp.dspr[2] = mfhi2(); \
44 tsk->thread.dsp.dspr[3] = mflo2(); \
45 tsk->thread.dsp.dspr[4] = mfhi3(); \
46 tsk->thread.dsp.dspr[5] = mflo3(); \
47 tsk->thread.dsp.dspcontrol = rddsp(DSP_MASK); \
58 mthi1(tsk->thread.dsp.dspr[0]); \
59 mtlo1(tsk->thread.dsp.dspr[1]); \
60 mthi2(tsk->thread.dsp
[all...]
/kernel/linux/linux-6.6/arch/mips/include/asm/
H A Ddsp.h41 tsk->thread.dsp.dspr[0] = mfhi1(); \
42 tsk->thread.dsp.dspr[1] = mflo1(); \
43 tsk->thread.dsp.dspr[2] = mfhi2(); \
44 tsk->thread.dsp.dspr[3] = mflo2(); \
45 tsk->thread.dsp.dspr[4] = mfhi3(); \
46 tsk->thread.dsp.dspr[5] = mflo3(); \
47 tsk->thread.dsp.dspcontrol = rddsp(DSP_MASK); \
58 mthi1(tsk->thread.dsp.dspr[0]); \
59 mtlo1(tsk->thread.dsp.dspr[1]); \
60 mthi2(tsk->thread.dsp
[all...]
/kernel/linux/linux-6.6/sound/pci/hda/
H A Dhda_cs_dsp_ctl.c56 mutex_lock(&cs_ctl->dsp->pwr_lock); in hda_cs_dsp_coeff_put()
58 mutex_unlock(&cs_ctl->dsp->pwr_lock); in hda_cs_dsp_coeff_put()
70 mutex_lock(&cs_ctl->dsp->pwr_lock); in hda_cs_dsp_coeff_get()
72 mutex_unlock(&cs_ctl->dsp->pwr_lock); in hda_cs_dsp_coeff_get()
108 dev_err(cs_ctl->dsp->dev, "KControl %s: length %zu exceeds maximum %d\n", name, in hda_cs_dsp_add_kcontrol()
128 dev_err(cs_ctl->dsp->dev, "Failed to add KControl %s = %d\n", kcontrol.name, ret); in hda_cs_dsp_add_kcontrol()
132 dev_dbg(cs_ctl->dsp->dev, "Added KControl: %s\n", kcontrol.name); in hda_cs_dsp_add_kcontrol()
139 struct cs_dsp *cs_dsp = cs_ctl->dsp; in hda_cs_dsp_control_add()
177 void hda_cs_dsp_add_controls(struct cs_dsp *dsp, const struct hda_cs_dsp_ctl_info *info) in hda_cs_dsp_add_controls() argument
188 lockdep_assert_not_held(&dsp in hda_cs_dsp_add_controls()
210 hda_cs_dsp_write_ctl(struct cs_dsp *dsp, const char *name, int type, unsigned int alg, const void *buf, size_t len) hda_cs_dsp_write_ctl() argument
235 hda_cs_dsp_read_ctl(struct cs_dsp *dsp, const char *name, int type, unsigned int alg, void *buf, size_t len) hda_cs_dsp_read_ctl() argument
[all...]
/kernel/linux/linux-5.10/sound/soc/intel/skylake/
H A Dcnl-sst.c23 #include "../common/sst-dsp.h"
24 #include "../common/sst-dsp-priv.h"
26 #include "cnl-sst-dsp.h"
62 dev_err(ctx->dev, "dsp core0 power up failed\n"); in cnl_prepare_fw()
74 dev_err(ctx->dev, "Start dsp core failed ret: %d\n", ret); in cnl_prepare_fw()
209 dev_err(ctx->dev, "enable dsp core %d failed: %d\n", in cnl_set_dsp_D0()
224 "dsp boot timeout, status=%#x error=%#x\n", in cnl_set_dsp_D0()
265 "dsp core %d to d3 failed; continue reset\n", in cnl_set_dsp_D3()
278 dev_err(ctx->dev, "disable dsp core %d failed: %d\n", in cnl_set_dsp_D3()
314 struct sst_dsp *dsp in cnl_dsp_irq_thread_handler() local
399 cnl_ipc_is_dsp_busy(struct sst_dsp *dsp) cnl_ipc_is_dsp_busy() argument
435 cnl_sst_dsp_init(struct device *dev, void __iomem *mmio_base, int irq, const char *fw_name, struct skl_dsp_loader_ops dsp_ops, struct skl_dev **dsp) cnl_sst_dsp_init() argument
[all...]
H A Dskl-sst-ipc.c9 #include "../common/sst-dsp.h"
10 #include "../common/sst-dsp-priv.h"
12 #include "skl-sst-dsp.h"
287 static bool skl_ipc_is_dsp_busy(struct sst_dsp *dsp) in skl_ipc_is_dsp_busy() argument
291 hipci = sst_dsp_shim_read_unlocked(dsp, SKL_ADSP_REG_HIPCI); in skl_ipc_is_dsp_busy()
301 sst_dsp_outbox_write(ipc->dsp, msg->tx.data, msg->tx.size); in skl_ipc_tx_msg()
302 sst_dsp_shim_write_unlocked(ipc->dsp, SKL_ADSP_REG_HIPCIE, in skl_ipc_tx_msg()
304 sst_dsp_shim_write_unlocked(ipc->dsp, SKL_ADSP_REG_HIPCI, in skl_ipc_tx_msg()
308 int skl_ipc_check_D0i0(struct sst_dsp *dsp, bool state) in skl_ipc_check_D0i0() argument
313 if (!dsp in skl_ipc_check_D0i0()
491 struct sst_dsp *dsp = context; skl_dsp_irq_thread_handler() local
[all...]
/kernel/linux/linux-6.6/sound/soc/intel/skylake/
H A Dcnl-sst.c23 #include "../common/sst-dsp.h"
24 #include "../common/sst-dsp-priv.h"
26 #include "cnl-sst-dsp.h"
62 dev_err(ctx->dev, "dsp core0 power up failed\n"); in cnl_prepare_fw()
74 dev_err(ctx->dev, "Start dsp core failed ret: %d\n", ret); in cnl_prepare_fw()
209 dev_err(ctx->dev, "enable dsp core %d failed: %d\n", in cnl_set_dsp_D0()
224 "dsp boot timeout, status=%#x error=%#x\n", in cnl_set_dsp_D0()
265 "dsp core %d to d3 failed; continue reset\n", in cnl_set_dsp_D3()
278 dev_err(ctx->dev, "disable dsp core %d failed: %d\n", in cnl_set_dsp_D3()
314 struct sst_dsp *dsp in cnl_dsp_irq_thread_handler() local
399 cnl_ipc_is_dsp_busy(struct sst_dsp *dsp) cnl_ipc_is_dsp_busy() argument
435 cnl_sst_dsp_init(struct device *dev, void __iomem *mmio_base, int irq, const char *fw_name, struct skl_dsp_loader_ops dsp_ops, struct skl_dev **dsp) cnl_sst_dsp_init() argument
[all...]
H A Dskl-sst-ipc.c9 #include "../common/sst-dsp.h"
10 #include "../common/sst-dsp-priv.h"
12 #include "skl-sst-dsp.h"
287 static bool skl_ipc_is_dsp_busy(struct sst_dsp *dsp) in skl_ipc_is_dsp_busy() argument
291 hipci = sst_dsp_shim_read_unlocked(dsp, SKL_ADSP_REG_HIPCI); in skl_ipc_is_dsp_busy()
301 sst_dsp_outbox_write(ipc->dsp, msg->tx.data, msg->tx.size); in skl_ipc_tx_msg()
302 sst_dsp_shim_write_unlocked(ipc->dsp, SKL_ADSP_REG_HIPCIE, in skl_ipc_tx_msg()
304 sst_dsp_shim_write_unlocked(ipc->dsp, SKL_ADSP_REG_HIPCI, in skl_ipc_tx_msg()
308 int skl_ipc_check_D0i0(struct sst_dsp *dsp, bool state) in skl_ipc_check_D0i0() argument
313 if (!dsp in skl_ipc_check_D0i0()
491 struct sst_dsp *dsp = context; skl_dsp_irq_thread_handler() local
[all...]

Completed in 21 milliseconds

1234567891011