Home
last modified time | relevance | path

Searched full:dsp (Results 1 – 25 of 1198) sorted by relevance

12345678910>>...48

/openbmc/linux/drivers/isdn/mISDN/
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()
154 printk(KERN_DEBUG "-----Current DSP\n"); 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->pcm_bank_rx, member->dsp->hfc_conf, in dsp_cmx_debug()
176 member->dsp->tx_data, member->dsp->rx_is_off, in dsp_cmx_debug()
177 (member->dsp == dsp) ? " *this*" : ""); in dsp_cmx_debug()
[all …]
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
139 * must lock timer events by DSP poll timer.
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->dtmf.software) in dsp_rx_off_member()
[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->dtmf.enable) in dsp_dtmf_hardware()
57 if (!dsp->features.hfc_dtmf) in dsp_dtmf_hardware()
61 if (dsp->tx_volume) { in dsp_dtmf_hardware()
[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); argument
246 extern void dsp_cmx_hardware(struct dsp_conf *conf, struct dsp *dsp);
247 extern int dsp_cmx_conf(struct dsp *dsp, u32 conf_id);
248 extern void dsp_cmx_receive(struct dsp *dsp, struct sk_buff *skb);
249 extern void dsp_cmx_hdlc(struct dsp *dsp, struct sk_buff *skb);
251 extern void dsp_cmx_transmit(struct dsp *dsp, struct sk_buff *skb);
[all …]
/openbmc/linux/drivers/firmware/cirrus/
H A Dcs_dsp.c3 * cs_dsp.c -- Cirrus Logic DSP firmware support
279 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);
[all …]
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/
H A Dcirrus,lochnagar.yaml72 enum: [ codec-aif1, codec-aif2, codec-aif3, dsp-aif1,
73 dsp-aif2, psia1, psia2, gf-aif1, gf-aif2, gf-aif3,
84 codec-gpio7, codec-gpio8, dsp-gpio1, dsp-gpio2,
85 dsp-gpio3, dsp-gpio4, dsp-gpio5, dsp-gpio6,
90 codec-aif3-lrclk, codec-aif3-txdat, dsp-aif1-bclk,
91 dsp-aif1-rxdat, dsp-aif1-lrclk, dsp-aif1-txdat,
92 dsp-aif2-bclk, dsp-aif2-rxdat, dsp-aif2-lrclk,
93 dsp-aif2-txdat, psia1-bclk, psia1-rxdat, psia1-lrclk,
100 gf-aif2-lrclk, gf-aif2-txdat, dsp-uart1-rx,
101 dsp-uart1-tx, dsp-uart2-rx, dsp-uart2-tx,
[all …]
/openbmc/linux/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", \
127 __be32 buf1_size; /* Size of buf1 area in DSP words */
129 __be32 buf1_buf2_size; /* Size of buf1+buf2 in DSP words */
131 __be32 buf_total_size; /* Size of buf1+buf2+buf3 in DSP words */
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
[all …]
/openbmc/qemu/tests/tcg/mips/user/ase/dsp/
H A Dtest_dsp_r1_extr_rs_w.c6 int rt, ach, acl, dsp; in main() local
17 : "=r"(rt), "=r"(dsp) in main()
20 dsp = (dsp >> 23) & 0x01; in main()
21 assert(dsp == 1); in main()
25 dsp = 0; in main()
29 : "r"(dsp) in main()
40 : "=r"(rt), "=r"(dsp) in main()
43 dsp = (dsp >> 23) & 0x01; in main()
44 assert(dsp == 0); in main()
48 dsp = 0; in main()
[all …]
H A Dtest_dsp_r1_extr_s_h.c6 int rt, ach, acl, dsp; in main() local
17 : "=r"(rt), "=r"(dsp) in main()
20 dsp = (dsp >> 23) & 0x01; in main()
21 assert(dsp == 1); in main()
32 : "=r"(rt), "=r"(dsp) in main()
35 dsp = (dsp >> 23) & 0x01; in main()
36 assert(dsp == 1); in main()
39 /* Clear dsp */ in main()
40 dsp = 0; in main()
44 : "r"(dsp) in main()
[all …]
H A Dtest_dsp_r1_extr_r_w.c6 int rt, ach, acl, dsp; in main() local
17 : "=r"(rt), "=r"(dsp) in main()
20 dsp = (dsp >> 23) & 0x01; in main()
21 assert(dsp == 1); in main()
25 dsp = 0; in main()
29 : "r"(dsp) in main()
40 : "=r"(rt), "=r"(dsp) in main()
43 dsp = (dsp >> 23) & 0x01; in main()
44 assert(dsp == 0); in main()
48 dsp = 0; in main()
[all …]
H A Dtest_dsp_r1_extr_w.c6 int rt, ach, acl, dsp; in main() local
17 : "=r"(rt), "=r"(dsp) in main()
20 dsp = (dsp >> 23) & 0x01; in main()
21 assert(dsp == 1); in main()
25 dsp = 0; in main()
29 : "r"(dsp) in main()
40 : "=r"(rt), "=r"(dsp) in main()
43 dsp = (dsp >> 23) & 0x01; in main()
44 assert(dsp == 0); in main()
48 dsp = 0; in main()
[all …]
H A Dtest_dsp_r1_extrv_s_h.c6 int rt, rs, ach, acl, dsp; in main() local
11 dsp = 0x07; in main()
21 : "=r"(rt), "+r"(dsp) in main()
24 dsp = (dsp >> 23) & 0x01; in main()
25 assert(dsp == 1); in main()
38 : "=r"(rt), "+r"(dsp) in main()
41 dsp = (dsp >> 23) & 0x01; in main()
42 assert(dsp == 1); in main()
45 /* Clear dsp */ in main()
46 dsp = 0; in main()
[all …]
H A Dtest_dsp_r1_extrv_w.c6 int rt, rs, ach, acl, dsp; in main() local
11 dsp = 0x07; in main()
21 : "=r"(rt), "+r"(dsp) in main()
24 dsp = (dsp >> 23) & 0x01; in main()
25 assert(dsp == 1); in main()
29 dsp = 0; in main()
33 : "r"(dsp) in main()
46 : "=r"(rt), "+r"(dsp) in main()
49 dsp = (dsp >> 23) & 0x01; in main()
50 assert(dsp == 0); in main()
[all …]
H A Dtest_dsp_r1_extrv_r_w.c6 int rt, rs, ach, acl, dsp; in main() local
11 dsp = 0x07; in main()
21 : "=r"(rt), "+r"(dsp) in main()
24 dsp = (dsp >> 23) & 0x01; in main()
25 assert(dsp == 1); in main()
29 dsp = 0; in main()
33 : "r"(dsp) in main()
46 : "=r"(rt), "+r"(dsp) in main()
49 dsp = (dsp >> 23) & 0x01; in main()
50 assert(dsp == 0); in main()
[all …]
H A Dtest_dsp_r1_subq_s_w.c6 int rd, rs, rt, dsp; in main() local
18 : "=r"(rd), "=r"(dsp) in main()
21 dsp = (dsp >> 20) & 0x01; in main()
22 assert(dsp == resultdsp); in main()
34 : "=r"(rd), "=r"(dsp) in main()
37 dsp = (dsp >> 20) & 0x01; in main()
38 assert(dsp == resultdsp); in main()
50 : "=r"(rd), "=r"(dsp) in main()
53 dsp = (dsp >> 20) & 0x01; in main()
54 assert(dsp == resultdsp); in main()
[all …]
H A Dtest_dsp_r1_extp.c6 int rt, ach, acl, dsp; in main() local
11 dsp = 0x07; in main()
20 : "=r"(rt), "+r"(dsp) in main()
23 dsp = (dsp >> 14) & 0x01; in main()
24 assert(dsp == 0); in main()
29 dsp = 0x01; in main()
37 : "=r"(rt), "+r"(dsp) in main()
40 dsp = (dsp >> 14) & 0x01; in main()
41 assert(dsp == 1); in main()
45 dsp = 0x1F; in main()
[all …]
H A Dtest_dsp_r1_extrv_rs_w.c6 int rt, rs, ach, acl, dsp; in main() local
19 : "=r"(rt), "+r"(dsp) in main()
22 dsp = (dsp >> 23) & 0x01; in main()
23 assert(dsp == 1); in main()
27 dsp = 0; in main()
31 : "r"(dsp) in main()
44 : "=r"(rt), "+r"(dsp) in main()
47 dsp = (dsp >> 23) & 0x01; in main()
48 assert(dsp == 0); in main()
52 dsp = 0; in main()
[all …]
H A Dtest_dsp_r2_mul_s_ph.c6 int rd, rs, rt, dsp; in main() local
17 : "=r"(rd), "=r"(dsp) in main()
20 dsp = (dsp >> 21) & 0x01; in main()
22 assert(dsp == resultdsp); in main()
32 : "=r"(rd), "=r"(dsp) in main()
35 dsp = (dsp >> 21) & 0x01; in main()
37 assert(dsp == resultdsp); in main()
39 dsp = 0; in main()
43 : "r"(dsp) in main()
54 : "=r"(rd), "=r"(dsp) in main()
[all …]
H A Dtest_dsp_r1_dpaq_sa_l_w.c6 int rs, rt, dsp; in main() local
22 : "+r"(ach), "+r"(acl), "=r"(dsp) in main()
25 dsp = (dsp >> 17) & 0x01; in main()
26 assert(dsp == resultdsp); in main()
45 : "+r"(ach), "+r"(acl), "=r"(dsp) in main()
48 dsp = (dsp >> 17) & 0x01; in main()
49 assert(dsp == resultdsp); in main()
68 : "+r"(ach), "+r"(acl), "=r"(dsp) in main()
71 dsp = (dsp >> 17) & 0x01; in main()
72 assert(dsp == resultdsp); in main()
[all …]
/openbmc/linux/include/linux/firmware/cirrus/
H A Dcs_dsp.h3 * cs_dsp.h -- Cirrus Logic DSP firmware support
46 * struct cs_dsp_region - Describes a logical memory region in DSP address space
56 * struct cs_dsp_alg_region - Describes a logical algorithm region in DSP address space
74 * @dsp: DSP instance associated with this control
90 struct cs_dsp *dsp; member
111 * struct cs_dsp - Configuration and state of a Cirrus Logic DSP
112 * @name: The name of the DSP instance
113 * @rev: Revision of the DSP
114 * @num: DSP instance number
115 * @type: Type of DSP
[all …]
/openbmc/qemu/target/rx/
H A Dinsns.decode21 &bcnd cd dsp sz
22 &jdsp dsp sz
35 @b1_bcnd_s .... cd:1 ... &bcnd dsp=%b1_bdsp sz=1
36 @b1_bra_s .... .... &jdsp dsp=%b1_bdsp sz=1
51 @b2_bcnd_b .... cd:4 dsp:s8 &bcnd sz=2
52 @b2_bra_b .... .... dsp:s8 &jdsp sz=2
71 @b3_bcnd_w .... ... cd:1 .... .... .... .... &bcnd dsp=%b3_bdsp sz=3
72 @b3_bra_w .... .... .... .... .... .... &jdsp dsp=%b3_bdsp sz=3
84 &jdsp dsp=%b4_bdsp sz=4
95 # ADC dsp[rs].l, rd
[all …]
/openbmc/linux/Documentation/devicetree/bindings/dsp/
H A Dmediatek,mt8186-dsp.yaml4 $id: http://devicetree.org/schemas/dsp/mediatek,mt8186-dsp.yaml#
7 title: MediaTek mt8186 DSP core
13 MediaTek mt8186 SoC contains a DSP core used for
19 - mediatek,mt8186-dsp
20 - mediatek,mt8188-dsp
24 - description: Address and size of the DSP config registers
25 - description: Address and size of the DSP SRAM
26 - description: Address and size of the DSP secure registers
27 - description: Address and size of the DSP bus registers
38 - description: mux for audio dsp clock
[all …]
H A Dmediatek,mt8195-dsp.yaml4 $id: http://devicetree.org/schemas/dsp/mediatek,mt8195-dsp.yaml#
7 title: Mediatek mt8195 DSP core
13 Some boards from mt8195 contain a DSP core used for
18 const: mediatek,mt8195-dsp
22 - description: Address and size of the DSP Cfg registers
23 - description: Address and size of the DSP SRAM
32 - description: mux for audio dsp clock
34 - description: mux for audio dsp local bus
35 - description: default audio dsp local bus clock source
36 - description: clock gate for audio dsp clock
[all …]
/openbmc/linux/include/media/drv-intf/
H A Dmsp3400.h25 the DSP (the tuner input first goes through the demodulator).
27 The DSP handles things like volume, bass/treble, balance, and some chips
29 and SCART1/2. Each output can select which DSP input to use. So the MAIN
36 Most DSP outputs are also the outputs of the msp3400. However, the SCART
38 SCART2 output from the DSP, or the msp3400 SCART inputs, thus completely
39 bypassing the DSP.
49 3) which DSP input to use for each DSP output
63 /* Inputs to the DSP unit: two independent selections have to be made:
70 /* SCART input to DSP selection */
76 #define MSP_IN_MUTE 7 /* Mute DSP input */
[all …]
/openbmc/linux/sound/soc/intel/skylake/
H A Dcnl-sst.c3 * cnl-sst.c - DSP library functions for CNL platform
10 * HDA DSP library functions for SKL platform
23 #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()
[all …]

12345678910>>...48