Home
last modified time | relevance | path

Searched refs:mcbsp (Results 1 - 25 of 28) sorted by relevance

12

/kernel/linux/linux-5.10/sound/soc/ti/
H A Domap-mcbsp.c3 * omap-mcbsp.c -- OMAP ALSA SoC DAI driver using McBSP port
24 #include "omap-mcbsp-priv.h"
25 #include "omap-mcbsp.h"
39 static void omap_mcbsp_dump_reg(struct omap_mcbsp *mcbsp) in omap_mcbsp_dump_reg() argument
41 dev_dbg(mcbsp->dev, "**** McBSP%d regs ****\n", mcbsp->id); in omap_mcbsp_dump_reg()
42 dev_dbg(mcbsp->dev, "DRR2: 0x%04x\n", MCBSP_READ(mcbsp, DRR2)); in omap_mcbsp_dump_reg()
43 dev_dbg(mcbsp->dev, "DRR1: 0x%04x\n", MCBSP_READ(mcbsp, DRR in omap_mcbsp_dump_reg()
58 omap2_mcbsp_set_clks_src(struct omap_mcbsp *mcbsp, u8 fck_src_id) omap2_mcbsp_set_clks_src() argument
95 struct omap_mcbsp *mcbsp = data; omap_mcbsp_irq_handler() local
136 struct omap_mcbsp *mcbsp = data; omap_mcbsp_tx_irq_handler() local
154 struct omap_mcbsp *mcbsp = data; omap_mcbsp_rx_irq_handler() local
176 omap_mcbsp_config(struct omap_mcbsp *mcbsp, const struct omap_mcbsp_reg_cfg *config) omap_mcbsp_config() argument
216 omap_mcbsp_dma_reg_params(struct omap_mcbsp *mcbsp, unsigned int stream) omap_mcbsp_dma_reg_params() argument
241 omap_mcbsp_set_tx_threshold(struct omap_mcbsp *mcbsp, u16 threshold) omap_mcbsp_set_tx_threshold() argument
252 omap_mcbsp_set_rx_threshold(struct omap_mcbsp *mcbsp, u16 threshold) omap_mcbsp_set_rx_threshold() argument
261 omap_mcbsp_get_tx_delay(struct omap_mcbsp *mcbsp) omap_mcbsp_get_tx_delay() argument
276 omap_mcbsp_get_rx_delay(struct omap_mcbsp *mcbsp) omap_mcbsp_get_rx_delay() argument
292 omap_mcbsp_request(struct omap_mcbsp *mcbsp) omap_mcbsp_request() argument
366 omap_mcbsp_free(struct omap_mcbsp *mcbsp) omap_mcbsp_free() argument
416 omap_mcbsp_start(struct omap_mcbsp *mcbsp, int stream) omap_mcbsp_start() argument
475 omap_mcbsp_stop(struct omap_mcbsp *mcbsp, int stream) omap_mcbsp_stop() argument
557 struct omap_mcbsp *mcbsp = dev_get_drvdata(dev); dma_op_mode_show() local
579 struct omap_mcbsp *mcbsp = dev_get_drvdata(dev); dma_op_mode_store() local
618 struct omap_mcbsp *mcbsp = platform_get_drvdata(pdev); omap_mcbsp_init() local
738 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_set_threshold() local
770 struct omap_mcbsp *mcbsp = rule->private; omap_mcbsp_hwrule_min_buffersize() local
785 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_startup() local
830 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_shutdown() local
852 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_prepare() local
874 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_trigger() local
903 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_delay() local
930 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_hw_params() local
1085 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_set_dai_fmt() local
1194 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_set_clkdiv() local
1211 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_set_dai_sysclk() local
1284 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(dai); omap_mcbsp_probe() local
1297 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(dai); omap_mcbsp_remove() local
1375 struct omap_mcbsp *mcbsp; asoc_mcbsp_probe() local
1429 struct omap_mcbsp *mcbsp = platform_get_drvdata(pdev); asoc_mcbsp_remove() local
[all...]
H A Domap-mcbsp-st.c24 #include "omap-mcbsp.h"
25 #include "omap-mcbsp-priv.h"
65 static void omap_mcbsp_st_write(struct omap_mcbsp *mcbsp, u16 reg, u32 val) in omap_mcbsp_st_write() argument
67 writel_relaxed(val, mcbsp->st_data->io_base_st + reg); in omap_mcbsp_st_write()
70 static int omap_mcbsp_st_read(struct omap_mcbsp *mcbsp, u16 reg) in omap_mcbsp_st_read() argument
72 return readl_relaxed(mcbsp->st_data->io_base_st + reg); in omap_mcbsp_st_read()
75 #define MCBSP_ST_READ(mcbsp, reg) omap_mcbsp_st_read(mcbsp, OMAP_ST_REG_##reg)
76 #define MCBSP_ST_WRITE(mcbsp, reg, val) \
77 omap_mcbsp_st_write(mcbsp, OMAP_ST_REG
79 omap_mcbsp_st_on(struct omap_mcbsp *mcbsp) omap_mcbsp_st_on() argument
99 omap_mcbsp_st_off(struct omap_mcbsp *mcbsp) omap_mcbsp_st_off() argument
117 omap_mcbsp_st_fir_write(struct omap_mcbsp *mcbsp, s16 *fir) omap_mcbsp_st_fir_write() argument
143 omap_mcbsp_st_chgain(struct omap_mcbsp *mcbsp) omap_mcbsp_st_chgain() argument
151 omap_mcbsp_st_set_chgain(struct omap_mcbsp *mcbsp, int channel, s16 chgain) omap_mcbsp_st_set_chgain() argument
175 omap_mcbsp_st_get_chgain(struct omap_mcbsp *mcbsp, int channel, s16 *chgain) omap_mcbsp_st_get_chgain() argument
196 omap_mcbsp_st_enable(struct omap_mcbsp *mcbsp) omap_mcbsp_st_enable() argument
211 omap_mcbsp_st_disable(struct omap_mcbsp *mcbsp) omap_mcbsp_st_disable() argument
227 omap_mcbsp_st_is_enabled(struct omap_mcbsp *mcbsp) omap_mcbsp_st_is_enabled() argument
240 struct omap_mcbsp *mcbsp = dev_get_drvdata(dev); st_taps_show() local
260 struct omap_mcbsp *mcbsp = dev_get_drvdata(dev); st_taps_store() local
304 omap_mcbsp_st_start(struct omap_mcbsp *mcbsp) omap_mcbsp_st_start() argument
321 omap_mcbsp_st_stop(struct omap_mcbsp *mcbsp) omap_mcbsp_st_stop() argument
337 struct omap_mcbsp *mcbsp = platform_get_drvdata(pdev); omap_mcbsp_st_init() local
373 struct omap_mcbsp *mcbsp = platform_get_drvdata(pdev); omap_mcbsp_st_cleanup() local
438 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_st_put_mode() local
456 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_st_get_mode() local
490 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_st_add_controls() local
[all...]
H A Domap-mcbsp-priv.h12 #include <linux/platform_data/asoc-ti-mcbsp.h>
261 /* Protect the field .free, while checking if the mcbsp is in use */
282 static inline void omap_mcbsp_write(struct omap_mcbsp *mcbsp, u16 reg, u32 val) in omap_mcbsp_write() argument
284 void __iomem *addr = mcbsp->io_base + reg * mcbsp->pdata->reg_step; in omap_mcbsp_write()
286 if (mcbsp->pdata->reg_size == 2) { in omap_mcbsp_write()
287 ((u16 *)mcbsp->reg_cache)[reg] = (u16)val; in omap_mcbsp_write()
290 ((u32 *)mcbsp->reg_cache)[reg] = val; in omap_mcbsp_write()
295 static inline int omap_mcbsp_read(struct omap_mcbsp *mcbsp, u16 reg, in omap_mcbsp_read() argument
298 void __iomem *addr = mcbsp in omap_mcbsp_read()
[all...]
H A DMakefile17 snd-soc-omap-mcbsp-objs := omap-mcbsp.o omap-mcbsp-st.o
24 obj-$(CONFIG_SND_SOC_OMAP_MCBSP) += snd-soc-omap-mcbsp.o
H A Dosk5912.c19 #include <linux/platform_data/asoc-ti-mcbsp.h>
21 #include "omap-mcbsp.h"
81 DAILINK_COMP_ARRAY(COMP_CPU("omap-mcbsp.1")),
84 DAILINK_COMP_ARRAY(COMP_PLATFORM("omap-mcbsp.1")));
H A Domap3pandora.c20 #include <linux/platform_data/asoc-ti-mcbsp.h>
22 #include "omap-mcbsp.h"
179 DAILINK_COMP_ARRAY(COMP_CPU("omap-mcbsp.2")),
181 DAILINK_COMP_ARRAY(COMP_PLATFORM("omap-mcbsp.2")));
184 DAILINK_COMP_ARRAY(COMP_CPU("omap-mcbsp.4")),
186 DAILINK_COMP_ARRAY(COMP_PLATFORM("omap-mcbsp.4")));
H A Dn810.c20 #include <linux/platform_data/asoc-ti-mcbsp.h>
22 #include "omap-mcbsp.h"
252 DAILINK_COMP_ARRAY(COMP_CPU("48076000.mcbsp")),
255 DAILINK_COMP_ARRAY(COMP_PLATFORM("48076000.mcbsp")));
H A Dams-delta.c21 #include <linux/platform_data/asoc-ti-mcbsp.h>
23 #include "omap-mcbsp.h"
528 DAILINK_COMP_ARRAY(COMP_CPU("omap-mcbsp.1")),
530 DAILINK_COMP_ARRAY(COMP_PLATFORM("omap-mcbsp.1")));
/kernel/linux/linux-6.6/sound/soc/ti/
H A Domap-mcbsp.c3 * omap-mcbsp.c -- OMAP ALSA SoC DAI driver using McBSP port
24 #include "omap-mcbsp-priv.h"
25 #include "omap-mcbsp.h"
39 static void omap_mcbsp_dump_reg(struct omap_mcbsp *mcbsp) in omap_mcbsp_dump_reg() argument
41 dev_dbg(mcbsp->dev, "**** McBSP%d regs ****\n", mcbsp->id); in omap_mcbsp_dump_reg()
42 dev_dbg(mcbsp->dev, "DRR2: 0x%04x\n", MCBSP_READ(mcbsp, DRR2)); in omap_mcbsp_dump_reg()
43 dev_dbg(mcbsp->dev, "DRR1: 0x%04x\n", MCBSP_READ(mcbsp, DRR in omap_mcbsp_dump_reg()
58 omap2_mcbsp_set_clks_src(struct omap_mcbsp *mcbsp, u8 fck_src_id) omap2_mcbsp_set_clks_src() argument
95 struct omap_mcbsp *mcbsp = data; omap_mcbsp_irq_handler() local
136 struct omap_mcbsp *mcbsp = data; omap_mcbsp_tx_irq_handler() local
154 struct omap_mcbsp *mcbsp = data; omap_mcbsp_rx_irq_handler() local
176 omap_mcbsp_config(struct omap_mcbsp *mcbsp, const struct omap_mcbsp_reg_cfg *config) omap_mcbsp_config() argument
216 omap_mcbsp_dma_reg_params(struct omap_mcbsp *mcbsp, unsigned int stream) omap_mcbsp_dma_reg_params() argument
241 omap_mcbsp_set_tx_threshold(struct omap_mcbsp *mcbsp, u16 threshold) omap_mcbsp_set_tx_threshold() argument
252 omap_mcbsp_set_rx_threshold(struct omap_mcbsp *mcbsp, u16 threshold) omap_mcbsp_set_rx_threshold() argument
261 omap_mcbsp_get_tx_delay(struct omap_mcbsp *mcbsp) omap_mcbsp_get_tx_delay() argument
276 omap_mcbsp_get_rx_delay(struct omap_mcbsp *mcbsp) omap_mcbsp_get_rx_delay() argument
292 omap_mcbsp_request(struct omap_mcbsp *mcbsp) omap_mcbsp_request() argument
366 omap_mcbsp_free(struct omap_mcbsp *mcbsp) omap_mcbsp_free() argument
415 omap_mcbsp_start(struct omap_mcbsp *mcbsp, int stream) omap_mcbsp_start() argument
474 omap_mcbsp_stop(struct omap_mcbsp *mcbsp, int stream) omap_mcbsp_stop() argument
556 struct omap_mcbsp *mcbsp = dev_get_drvdata(dev); dma_op_mode_show() local
578 struct omap_mcbsp *mcbsp = dev_get_drvdata(dev); dma_op_mode_store() local
617 struct omap_mcbsp *mcbsp = platform_get_drvdata(pdev); omap_mcbsp_init() local
727 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_set_threshold() local
759 struct omap_mcbsp *mcbsp = rule->private; omap_mcbsp_hwrule_min_buffersize() local
774 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_startup() local
819 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_shutdown() local
841 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_prepare() local
863 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_trigger() local
892 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_delay() local
919 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_hw_params() local
1074 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_set_dai_fmt() local
1183 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_set_clkdiv() local
1200 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_set_dai_sysclk() local
1261 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(dai); omap_mcbsp_probe() local
1274 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(dai); omap_mcbsp_remove() local
1365 struct omap_mcbsp *mcbsp; asoc_mcbsp_probe() local
1419 struct omap_mcbsp *mcbsp = platform_get_drvdata(pdev); asoc_mcbsp_remove() local
[all...]
H A Domap-mcbsp-st.c23 #include "omap-mcbsp.h"
24 #include "omap-mcbsp-priv.h"
64 static void omap_mcbsp_st_write(struct omap_mcbsp *mcbsp, u16 reg, u32 val) in omap_mcbsp_st_write() argument
66 writel_relaxed(val, mcbsp->st_data->io_base_st + reg); in omap_mcbsp_st_write()
69 static int omap_mcbsp_st_read(struct omap_mcbsp *mcbsp, u16 reg) in omap_mcbsp_st_read() argument
71 return readl_relaxed(mcbsp->st_data->io_base_st + reg); in omap_mcbsp_st_read()
74 #define MCBSP_ST_READ(mcbsp, reg) omap_mcbsp_st_read(mcbsp, OMAP_ST_REG_##reg)
75 #define MCBSP_ST_WRITE(mcbsp, reg, val) \
76 omap_mcbsp_st_write(mcbsp, OMAP_ST_REG
78 omap_mcbsp_st_on(struct omap_mcbsp *mcbsp) omap_mcbsp_st_on() argument
98 omap_mcbsp_st_off(struct omap_mcbsp *mcbsp) omap_mcbsp_st_off() argument
116 omap_mcbsp_st_fir_write(struct omap_mcbsp *mcbsp, s16 *fir) omap_mcbsp_st_fir_write() argument
142 omap_mcbsp_st_chgain(struct omap_mcbsp *mcbsp) omap_mcbsp_st_chgain() argument
150 omap_mcbsp_st_set_chgain(struct omap_mcbsp *mcbsp, int channel, s16 chgain) omap_mcbsp_st_set_chgain() argument
174 omap_mcbsp_st_get_chgain(struct omap_mcbsp *mcbsp, int channel, s16 *chgain) omap_mcbsp_st_get_chgain() argument
195 omap_mcbsp_st_enable(struct omap_mcbsp *mcbsp) omap_mcbsp_st_enable() argument
210 omap_mcbsp_st_disable(struct omap_mcbsp *mcbsp) omap_mcbsp_st_disable() argument
226 omap_mcbsp_st_is_enabled(struct omap_mcbsp *mcbsp) omap_mcbsp_st_is_enabled() argument
239 struct omap_mcbsp *mcbsp = dev_get_drvdata(dev); st_taps_show() local
259 struct omap_mcbsp *mcbsp = dev_get_drvdata(dev); st_taps_store() local
303 omap_mcbsp_st_start(struct omap_mcbsp *mcbsp) omap_mcbsp_st_start() argument
320 omap_mcbsp_st_stop(struct omap_mcbsp *mcbsp) omap_mcbsp_st_stop() argument
336 struct omap_mcbsp *mcbsp = platform_get_drvdata(pdev); omap_mcbsp_st_init() local
427 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_st_put_mode() local
445 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_st_get_mode() local
479 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_st_add_controls() local
[all...]
H A Domap-mcbsp-priv.h12 #include <linux/platform_data/asoc-ti-mcbsp.h>
261 /* Protect the field .free, while checking if the mcbsp is in use */
282 static inline void omap_mcbsp_write(struct omap_mcbsp *mcbsp, u16 reg, u32 val) in omap_mcbsp_write() argument
284 void __iomem *addr = mcbsp->io_base + reg * mcbsp->pdata->reg_step; in omap_mcbsp_write()
286 if (mcbsp->pdata->reg_size == 2) { in omap_mcbsp_write()
287 ((u16 *)mcbsp->reg_cache)[reg] = (u16)val; in omap_mcbsp_write()
290 ((u32 *)mcbsp->reg_cache)[reg] = val; in omap_mcbsp_write()
295 static inline int omap_mcbsp_read(struct omap_mcbsp *mcbsp, u16 reg, in omap_mcbsp_read() argument
298 void __iomem *addr = mcbsp in omap_mcbsp_read()
[all...]
H A DMakefile16 snd-soc-omap-mcbsp-objs := omap-mcbsp.o omap-mcbsp-st.o
22 obj-$(CONFIG_SND_SOC_OMAP_MCBSP) += snd-soc-omap-mcbsp.o
H A Dosk5912.c19 #include <linux/platform_data/asoc-ti-mcbsp.h>
21 #include "omap-mcbsp.h"
81 DAILINK_COMP_ARRAY(COMP_CPU("omap-mcbsp.1")),
84 DAILINK_COMP_ARRAY(COMP_PLATFORM("omap-mcbsp.1")));
H A Domap3pandora.c20 #include <linux/platform_data/asoc-ti-mcbsp.h>
22 #include "omap-mcbsp.h"
179 DAILINK_COMP_ARRAY(COMP_CPU("omap-mcbsp.2")),
181 DAILINK_COMP_ARRAY(COMP_PLATFORM("omap-mcbsp.2")));
184 DAILINK_COMP_ARRAY(COMP_CPU("omap-mcbsp.4")),
186 DAILINK_COMP_ARRAY(COMP_PLATFORM("omap-mcbsp.4")));
H A Dn810.c20 #include <linux/platform_data/asoc-ti-mcbsp.h>
22 #include "omap-mcbsp.h"
252 DAILINK_COMP_ARRAY(COMP_CPU("48076000.mcbsp")),
255 DAILINK_COMP_ARRAY(COMP_PLATFORM("48076000.mcbsp")));
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
H A Dmcbsp.c3 * linux/arch/arm/mach-omap2/mcbsp.c
18 #include <linux/platform_data/asoc-ti-mcbsp.h>
H A DMakefile28 obj-y += mcbsp.o
H A Dpdata-quirks.c25 #include <linux/platform_data/asoc-ti-mcbsp.h>
500 OF_DEV_AUXDATA("ti,omap3-mcbsp", 0x49022000, "49022000.mcbsp", &mcbsp_pdata),
501 OF_DEV_AUXDATA("ti,omap3-mcbsp", 0x49024000, "49024000.mcbsp", &mcbsp_pdata),
/kernel/linux/linux-6.6/arch/arm/mach-omap2/
H A Dmcbsp.c3 * linux/arch/arm/mach-omap2/mcbsp.c
18 #include <linux/platform_data/asoc-ti-mcbsp.h>
H A Dpdata-quirks.c25 #include <linux/platform_data/asoc-ti-mcbsp.h>
462 OF_DEV_AUXDATA("ti,omap3-mcbsp", 0x49022000, "49022000.mcbsp", &mcbsp_pdata),
463 OF_DEV_AUXDATA("ti,omap3-mcbsp", 0x49024000, "49024000.mcbsp", &mcbsp_pdata),
H A DMakefile27 obj-$(CONFIG_OMAP_HWMOD) += mcbsp.o
/kernel/linux/linux-6.6/arch/arm/mach-omap1/
H A DMakefile12 obj-y += mcbsp.o
H A Dmcbsp.c3 * linux/arch/arm/mach-omap1/mcbsp.c
20 #include <linux/platform_data/asoc-ti-mcbsp.h>
308 new_mcbsp = platform_device_alloc("omap-mcbsp", i + 1); in omap_mcbsp_register_board_cfg()
/kernel/linux/linux-5.10/arch/arm/mach-omap1/
H A DMakefile12 obj-y += mcbsp.o
H A Dmcbsp.c3 * linux/arch/arm/mach-omap1/mcbsp.c
22 #include <linux/platform_data/asoc-ti-mcbsp.h>
400 new_mcbsp = platform_device_alloc("omap-mcbsp", i + 1); in omap_mcbsp_register_board_cfg()

Completed in 12 milliseconds

12