Home
last modified time | relevance | path

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

12345678910>>...28

/linux/drivers/firmware/cirrus/
H A Dcs_dsp.c3 * cs_dsp.c -- Cirrus Logic DSP firmware support
329 bool (*validate_version)(struct cs_dsp *dsp, unsigned int version);
330 unsigned int (*parse_sizes)(struct cs_dsp *dsp,
334 int (*setup_algs)(struct cs_dsp *dsp);
338 void (*show_fw_status)(struct cs_dsp *dsp);
339 void (*stop_watchdog)(struct cs_dsp *dsp);
341 int (*enable_memory)(struct cs_dsp *dsp);
342 void (*disable_memory)(struct cs_dsp *dsp);
343 int (*lock_memory)(struct cs_dsp *dsp, unsigned int lock_regions);
345 int (*enable_core)(struct cs_dsp *dsp);
[all …]
/linux/sound/soc/codecs/
H A Dwm_adsp.c50 adsp_err(_obj->dsp, "%s: " fmt, _obj->name ? _obj->name : "legacy", \
53 adsp_dbg(_obj->dsp, "%s: " fmt, _obj->name ? _obj->name : "legacy", \
131 __be32 buf1_size; /* Size of buf1 area in DSP words */
133 __be32 buf1_buf2_size; /* Size of buf1+buf2 in DSP words */
135 __be32 buf_total_size; /* Size of buf1+buf2+buf3 in DSP words */
154 struct wm_adsp *dsp; member
171 struct wm_adsp *dsp; member
203 static int wm_adsp_buffer_init(struct wm_adsp *dsp);
204 static int wm_adsp_buffer_free(struct wm_adsp *dsp);
337 struct wm_adsp *dsp = snd_soc_component_get_drvdata(component); in wm_adsp_fw_get() local
[all …]
H A Dcs-amp-lib.c76 static int cs_amp_write_cal_coeff(struct cs_dsp *dsp, in cs_amp_write_cal_coeff() argument
84 KUNIT_STATIC_STUB_REDIRECT(cs_amp_write_cal_coeff, dsp, controls, ctl_name, val); in cs_amp_write_cal_coeff()
87 scoped_guard(mutex, &dsp->pwr_lock) { in cs_amp_write_cal_coeff()
88 cs_ctl = cs_dsp_get_ctl(dsp, ctl_name, in cs_amp_write_cal_coeff()
95 dev_err(dsp->dev, "Failed to write to '%s': %d\n", ctl_name, ret); in cs_amp_write_cal_coeff()
105 static int cs_amp_read_cal_coeff(struct cs_dsp *dsp, in cs_amp_read_cal_coeff() argument
113 KUNIT_STATIC_STUB_REDIRECT(cs_amp_read_cal_coeff, dsp, controls, ctl_name, val); in cs_amp_read_cal_coeff()
118 scoped_guard(mutex, &dsp->pwr_lock) { in cs_amp_read_cal_coeff()
119 cs_ctl = cs_dsp_get_ctl(dsp, ctl_name, controls->mem_region, controls->alg_id); in cs_amp_read_cal_coeff()
124 dev_err(dsp->dev, "Failed to read '%s': %d\n", ctl_name, ret); in cs_amp_read_cal_coeff()
[all …]
H A Dcs35l56.c834 ret = wm_adsp_run(&cs35l56->dsp); in cs35l56_reinit_patch()
838 ret = cs_amp_write_cal_coeffs(&cs35l56->dsp.cs_dsp, in cs35l56_patch()
842 wm_adsp_stop(&cs35l56->dsp); in cs35l56_patch()
859 cs35l56->dsp.bin_mandatory = (load_firmware && cs35l56->fallback_fw_suffix); in cs35l56_patch()
861 ret = wm_adsp_power_up(&cs35l56->dsp, load_firmware); in cs35l56_patch()
862 if ((ret == -ENOENT) && cs35l56->dsp.bin_mandatory) { in cs35l56_patch()
863 cs35l56->dsp.fwf_suffix = cs35l56->fallback_fw_suffix; in cs35l56_patch()
865 cs35l56->dsp.bin_mandatory = false; in cs35l56_patch()
866 ret = wm_adsp_power_up(&cs35l56->dsp, load_firmware); in cs35l56_patch()
975 kfree(cs35l56->dsp in cs35l56_power_down_after_cal()
1678 cs35l56_control_add_nop(struct wm_adsp * dsp,struct cs_dsp_coeff_ctl * cs_ctl) cs35l56_control_add_nop() argument
1685 struct wm_adsp *dsp; cs35l56_dsp_init() local
[all...]
/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 …]
/linux/Documentation/devicetree/bindings/remoteproc/
H A Dti,keystone-rproc.txt1 TI Keystone DSP devices
4 The TI Keystone 2 family of SoCs usually have one or more (upto 8) TI DSP Core
10 a dedicated local power/sleep controller etc. The DSP processor core in
13 DSP Device Node:
15 Each DSP Core sub-system is represented as a single DT node, and should also
26 "ti,k2hk-dsp" for DSPs on Keystone 2 66AK2H/K SoCs
27 "ti,k2l-dsp" for DSPs on Keystone 2 66AK2L SoCs
28 "ti,k2e-dsp" for DSPs on Keystone 2 66AK2E SoCs
29 "ti,k2g-dsp" for DSPs on Keystone 2 66AK2G SoCs
42 State Control node, and the register offset of the DSP
[all …]
H A Dti,davinci-rproc.txt1 TI Davinci DSP devices
4 The TI Davinci family of SoCs usually contains a TI DSP Core sub-system that
10 controller, a dedicated local power/sleep controller etc. The DSP processor
11 core used in Davinci SoCs is usually a C674x DSP CPU.
13 DSP Device Node:
15 Each DSP Core sub-system is represented as a single DT node.
22 "ti,da850-dsp" for DSPs on OMAP-L138 SoCs
35 interrupts from the DSP. The value should follow the
49 /* DSP Reserved Memory node */
55 dsp_memory_region: dsp-memory@c3000000 {
[all …]
H A Dti,omap-remoteproc.yaml21 The OMAP SoCs usually have a DSP processor sub-system and/or an IPU processor
22 sub-system. The DSP processor sub-system can contain any of the TI's C64x,
23 C66x or C67x family of DSP cores as the main execution unit. The IPU processor
42 - ti,omap4-dsp
43 - ti,omap5-dsp
44 - ti,dra7-dsp
108 'reg-names'. These are mandatory for all DSP and IPU
132 This property is required for all the DSP instances on OMAP4, OMAP5
177 - ti,dra7-dsp
225 //Example 1: OMAP4 DSP
[all …]
/linux/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.dspr[2]); \
[all …]
/linux/Documentation/devicetree/bindings/dsp/
H A Dfsl,dsp.yaml4 $id: http://devicetree.org/schemas/dsp/fsl,dsp.yaml#
7 title: NXP i.MX8 DSP core
14 Some boards from i.MX8 family contain a DSP core used for
20 - fsl,imx8qxp-dsp
21 - fsl,imx8qm-dsp
22 - fsl,imx8mp-dsp
23 - fsl,imx8ulp-dsp
72 used by DSP (see bindings/reserved-memory/reserved-memory.txt)
80 fsl,dsp-ctrl:
113 - fsl,imx8qxp-dsp
[all …]
/linux/arch/arm/mach-omap2/
H A Dpowerdomains2xxx_3xxx_data.c12 * The names for the DSP/IVA2 powerdomains are confusing.
14 * Most OMAP chips have an on-board DSP.
16 * On the 2420, this is a 'C55 DSP called, simply, the DSP. Its
17 * powerdomain is called the "DSP power domain." On the 2430, the
18 * on-board DSP is a 'C64 DSP, now called (along with its hardware
20 * the "DSP power domain." On the 3430, the DSP is a 'C64 DSP like the
25 * core, and has nothing to do with the DSP/IVA2.
27 * Ideally the DSP/IVA2 could just be the same powerdomain, but the PRCM
/linux/arch/arm/boot/dts/ti/keystone/
H A Dkeystone-k2hk.dtsi92 compatible = "ti,keystone-dsp-gpio";
100 compatible = "ti,keystone-dsp-gpio";
108 compatible = "ti,keystone-dsp-gpio";
116 compatible = "ti,keystone-dsp-gpio";
124 compatible = "ti,keystone-dsp-gpio";
132 compatible = "ti,keystone-dsp-gpio";
140 compatible = "ti,keystone-dsp-gpio";
148 compatible = "ti,keystone-dsp-gpio";
156 dsp0: dsp@10800000 {
157 compatible = "ti,k2hk-dsp";
[all …]
/linux/Documentation/devicetree/bindings/gpio/
H A Dti,keystone-dsp-gpio.yaml4 $id: http://devicetree.org/schemas/gpio/ti,keystone-dsp-gpio.yaml#
7 title: Keystone 2 DSP GPIO controller
13 HOST OS userland running on ARM can send interrupts to DSP cores using
14 the DSP GPIO controller IP. It provides 28 IRQ signals per each DSP core.
17 For example TCI6638K2K SoC has 8 DSP GPIO controllers:
20 Keystone 2 DSP GPIO controller has specific features:
22 - setting GPIO value to 1 causes IRQ generation on target DSP core;
28 const: ti,keystone-dsp-gpio
60 compatible = "ti,keystone-dsp-gpio";
/linux/Documentation/hwmon/
H A Dlochnagar.rst33 in1_input Measured voltage for 1V8 DSP (milliVolts)
34 in1_label "1V8 DSP"
35 curr2_input Measured current for 1V8 DSP (milliAmps)
36 curr2_label "1V8 DSP"
37 power2_average Measured average power for 1V8 DSP (microWatts)
39 power2_label "1V8 DSP"
47 in3_input Measured voltage for VDDCORE DSP (milliVolts)
48 in3_label "VDDCORE DSP"
49 curr4_input Measured current for VDDCORE DSP (milliAmps)
50 curr4_label "VDDCORE DSP"
[all …]
/linux/sound/pci/asihpi/
H A Dhpidspcd.h10 Functions for reading DSP code to load into DSP
19 /** Header structure for dsp firmware file
48 /** Expected number of words in the whole dsp code,INCL header */
53 /** internal state of DSP code reader */
65 /** Pointer to DSP code control structure */
70 /** Close the DSP code file */
73 /** Rewind to the beginning of the DSP code file (for verify) */
76 /** Read one word from the dsp code file
80 /**< DSP code descriptor */
84 /** Get a block of dsp code into an internal buffer, and provide a pointer to
[all …]
H A Dhpi6000.c9 These PCI bus adapters are based on the TI C6711 DSP.
16 PROFILE_DSP2 get profile data from DSP2 if present (instead of DSP 1)
74 /* can't access DSP HPI i/f */
76 /* can't access internal DSP memory */
335 /* Don't even try to communicate with crashed DSP */ in HPI_6000()
339 HPI_DEBUG_LOG(DEBUG, "adapter %d dsp crashed\n", in HPI_6000()
471 /* BAR1 - 32K = HPI registers on DSP */ in create_adapter_obj()
474 HPI_DEBUG_LOG(VERBOSE, "csr %p, dsp %p\n", phw->dw2040_HPICSR, in create_adapter_obj()
477 /* set addresses for the possible DSP HPI interfaces */ in create_adapter_obj()
507 /* of the first DSP i in create_adapter_obj()
[all...]
/linux/sound/pci/echoaudio/
H A Dechoaudio_dsp.c23 /* Some vector commands involve the DSP reading or writing data to and from the
24 comm page; if you send one of these commands to the DSP, it will complete the
31 /* Wait up to 20ms for the handshake from the DSP */ in wait_handshake()
41 dev_err(chip->card->dev, "wait_handshake(): Timeout waiting for DSP\n"); in wait_handshake()
47 /* Much of the interaction between the DSP and the driver is done via vector
48 commands; send_vector writes a vector command to the DSP. Typically, this
49 causes the DSP to read or write fields in the comm page.
74 /* write_dsp writes a 32-bit value to the DSP; this is used almost
75 exclusively for loading the DSP. */
91 chip->bad_board = true; /* Set true until DSP re-loaded */ in write_dsp()
[all …]
/linux/sound/soc/sof/
H A Dpm.c18 MODULE_PARM_DESC(on_demand_boot, "Force on-demand DSP boot: 0 - disabled, 1 - enabled");
21 * Helper function to determine the target DSP state during in snd_sof_dsp_power_target()
33 /* DSP should be in D3 if the system is suspending to S3+ */ in snd_sof_dsp_power_target()
35 /* DSP should be in D3 if the system is suspending to S3 */ in snd_sof_dsp_power_target()
40 * Currently, the only criterion for retaining the DSP in D0 in snd_sof_dsp_power_target()
91 dev_dbg(sdev->dev, "Booting DSP firmware\n"); in sof_resume()
98 dev_err(sdev->dev, "%s: failed to load DSP firmware: %d\n", in sof_resume()
112 dev_err(sdev->dev, "%s: failed to boot DSP firmware: %d\n", in sof_resume()
139 /* notify DSP of system resume */ in sof_resume()
153 * possible DSP coredum in sof_resume()
[all...]
/linux/arch/um/drivers/
H A Dhostaudio_kern.c24 #define HOSTAUDIO_DEV_DSP "/dev/sound/dsp"
32 static char *dsp = HOSTAUDIO_DEV_DSP; variable
36 " This is used to specify the host dsp device to the hostaudio driver.\n" \
43 module_param(dsp, charp, 0644);
44 MODULE_PARM_DESC(dsp, DSP_HELP);
52 dsp = name; in set_dsp()
56 __uml_setup("dsp=", set_dsp, "dsp=<dsp device>\n" DSP_HELP);
70 /* /dev/dsp file operations */
185 printk(KERN_DEBUG "hostaudio: open called (host: %s)\n", dsp); in hostaudio_open()
200 ret = os_open_file(dsp, of_set_rw(OPENFLAGS(), r, w), 0); in hostaudio_open()
[all …]
/linux/sound/soc/sof/intel/
H A Dcnl.c15 * Hardware interface for audio DSP on Cannonlake.
30 {"dsp", HDA_DSP_BAR, 0, 0x10000, SOF_DEBUGFS_ACCESS_ALWAYS},
47 /* DSP received the message */ in cnl_ipc4_irq_thread()
58 /* Message from DSP (reply or notification) */ in cnl_ipc4_irq_thread()
90 /* Let DSP know that we have finished processing the message */ in cnl_ipc4_irq_thread()
128 /* reply message from DSP */ in cnl_ipc_irq_thread()
141 /* handle immediate reply from DSP core */ in cnl_ipc_irq_thread()
154 /* new message from DSP */ in cnl_ipc_irq_thread()
161 /* handle messages from DSP */ in cnl_ipc_irq_thread()
171 * to false as the DSP might be able to boot in the next in cnl_ipc_irq_thread()
[all …]
H A Datom.c12 * Hardware interface for audio DSP on Atom devices
20 #include <sound/intel-dsp-config.h>
80 "error: ipc host -> DSP: pending %s complete %s raw 0x%llx\n", in atom_dump()
88 "error: ipc DSP -> host: pending %s complete %s raw 0x%llx\n", in atom_dump()
92 "error: mask DSP: pending %s complete %s raw 0x%llx\n", in atom_dump()
114 /* reply message from DSP, Mask Done interrupt first */ in atom_irq_handler()
124 /* new message from DSP, Mask Busy interrupt first */ in atom_irq_handler()
144 /* reply message from DSP */ in atom_irq_thread()
147 * handle immediate reply from DSP core. If the msg is in atom_irq_thread()
158 /* new message from DSP */ in atom_irq_thread()
[all...]
/linux/sound/soc/sof/mediatek/mt8195/
H A Dmt8195.h6 * Header file for the mt8195 DSP register definition
114 /* dsp wdt */
117 /* dsp mbox */
127 /*dsp sys ao*/
132 /* DSP memories */
148 #define SRAM_PHYS_BASE_FROM_DSP_VIEW 0x40000000 /* MT8195 DSP view */
149 #define DRAM_PHYS_BASE_FROM_DSP_VIEW 0x60000000 /* MT8195 DSP view */
151 /*remap dram between AP and DSP view, 4KB aligned*/
155 /* suspend dsp idle check interval and timeout */
156 #define SUSPEND_DSP_IDLE_TIMEOUT_US 1000000 /* timeout to wait dsp idle, 1 sec */
/linux/Documentation/sound/cards/
H A Demu-mixer.rst2 E-MU Digital Audio System mixer / default DSP code
65 and the DSP microcontroller can operate with the resulting sum.
102 samples for 5.1 playback. The result samples are forwarded to the DSP 0 & 1
109 samples for 5.1 playback. The result samples are forwarded to the DSP 2 & 3
116 samples for 7.1 playback. The result samples are forwarded to the DSP 6 & 7
123 are forwarded to the DSP 4 playback channel.
129 are forwarded to the DSP 5 playback channel.
158 The result samples are forwarded to the DSP 0 & 1 playback channels.
163 The result samples are forwarded to the DSP 2 & 3 playback channels.
168 The result samples are forwarded to the DSP 6 & 7 playback channels.
[all …]
/linux/Documentation/devicetree/bindings/arm/omap/
H A Ddsp.txt1 * TI - DSP (Digital Signal Processor)
3 TI DSP included in OMAP SoC
7 - ti,hwmods: "dsp"
11 dsp {
13 ti,hwmods = "dsp";
/linux/drivers/input/misc/
H A Dcs40l50-vibra.c4 * integrated DSP, and closed-loop algorithms
30 /* DSP */
50 /* Describes an area in DSP memory populated by effects */
65 /* Describes haptic interface of loaded DSP firmware */
85 struct cs40l50_vibra_dsp dsp; member
164 base_index = vib->dsp.banks[effect->type].base_index; in cs40l50_effect_index_set()
165 max_index = vib->dsp.banks[effect->type].max_index; in cs40l50_effect_index_set()
201 effect->gpio_reg = vib->dsp.gpio_base_reg + (gpio_num * 8) - gpio_edge; in cs40l50_effect_gpio_mapping_set()
226 error = regmap_read(vib->regmap, vib->dsp.owt_size_reg, &size); in cs40l50_upload_owt()
247 error = regmap_read(vib->regmap, vib->dsp.owt_offset_reg, &offset); in cs40l50_upload_owt()
[all …]

12345678910>>...28