Home
last modified time | relevance | path

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

12

/linux-5.19.10/sound/soc/ti/
Domap-mcbsp.c39 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, DRR1)); in omap_mcbsp_dump_reg()
44 dev_dbg(mcbsp->dev, "DXR2: 0x%04x\n", MCBSP_READ(mcbsp, DXR2)); in omap_mcbsp_dump_reg()
45 dev_dbg(mcbsp->dev, "DXR1: 0x%04x\n", MCBSP_READ(mcbsp, DXR1)); in omap_mcbsp_dump_reg()
46 dev_dbg(mcbsp->dev, "SPCR2: 0x%04x\n", MCBSP_READ(mcbsp, SPCR2)); in omap_mcbsp_dump_reg()
47 dev_dbg(mcbsp->dev, "SPCR1: 0x%04x\n", MCBSP_READ(mcbsp, SPCR1)); in omap_mcbsp_dump_reg()
48 dev_dbg(mcbsp->dev, "RCR2: 0x%04x\n", MCBSP_READ(mcbsp, RCR2)); in omap_mcbsp_dump_reg()
49 dev_dbg(mcbsp->dev, "RCR1: 0x%04x\n", MCBSP_READ(mcbsp, RCR1)); in omap_mcbsp_dump_reg()
[all …]
Domap-mcbsp-st.c65 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) argument
76 #define MCBSP_ST_WRITE(mcbsp, reg, val) \ argument
77 omap_mcbsp_st_write(mcbsp, OMAP_ST_REG_##reg, val)
79 static void omap_mcbsp_st_on(struct omap_mcbsp *mcbsp) in omap_mcbsp_st_on() argument
83 if (mcbsp->pdata->force_ick_on) in omap_mcbsp_st_on()
84 mcbsp->pdata->force_ick_on(mcbsp->st_data->mcbsp_iclk, true); in omap_mcbsp_st_on()
[all …]
Domap-mcbsp-priv.h282 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->io_base + reg * mcbsp->pdata->reg_step; in omap_mcbsp_read()
300 if (mcbsp->pdata->reg_size == 2) { in omap_mcbsp_read()
302 ((u16 *)mcbsp->reg_cache)[reg]; in omap_mcbsp_read()
305 ((u32 *)mcbsp->reg_cache)[reg]; in omap_mcbsp_read()
[all …]
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
/linux-5.19.10/Documentation/devicetree/bindings/sound/
Domap-mcbsp.txt4 - compatible: "ti,omap2420-mcbsp" for McBSP on OMAP2420
5 "ti,omap2430-mcbsp" for McBSP on OMAP2430
6 "ti,omap3-mcbsp" for McBSP on OMAP3
7 "ti,omap4-mcbsp" for McBSP on OMAP4 and newer SoC
23 mcbsp2: mcbsp@49022000 {
24 compatible = "ti,omap3-mcbsp";
Ddavinci-mcbsp.txt11 "ti,da850-mcbsp" : for DA850, AM180x and OPAM-L138 platforms
37 mcbsp0: mcbsp@1d10000 {
38 compatible = "ti,da850-mcbsp";
Domap-twl4030.txt6 - ti,mcbsp: phandle for the McBSP node
10 - ti,mcbsp-voice: phandle for the McBSP node connected to the voice port of twl
61 ti,mcbsp = <&mcbsp2>;
/linux-5.19.10/arch/arm/boot/dts/
Domap2430.dtsi178 mcbsp1: mcbsp@48074000 {
179 compatible = "ti,omap2430-mcbsp";
195 mcbsp2: mcbsp@48076000 {
196 compatible = "ti,omap2430-mcbsp";
211 mcbsp3: mcbsp@4808c000 {
212 compatible = "ti,omap2430-mcbsp";
227 mcbsp4: mcbsp@4808e000 {
228 compatible = "ti,omap2430-mcbsp";
243 mcbsp5: mcbsp@48096000 {
244 compatible = "ti,omap2430-mcbsp";
Domap2420.dtsi154 mcbsp1: mcbsp@48074000 {
155 compatible = "ti,omap2420-mcbsp";
168 mcbsp2: mcbsp@48076000 {
169 compatible = "ti,omap2420-mcbsp";
Domap3.dtsi565 mcbsp1: mcbsp@48074000 {
566 compatible = "ti,omap3-mcbsp";
607 mcbsp2: mcbsp@49022000 {
608 compatible = "ti,omap3-mcbsp";
627 mcbsp3: mcbsp@49024000 {
628 compatible = "ti,omap3-mcbsp";
647 mcbsp4: mcbsp@49026000 {
648 compatible = "ti,omap3-mcbsp";
666 mcbsp5: mcbsp@48096000 {
667 compatible = "ti,omap3-mcbsp";
Domap5-l4-abe.dtsi107 mcbsp1: mcbsp@0 {
108 compatible = "ti,omap4-mcbsp";
140 mcbsp2: mcbsp@0 {
141 compatible = "ti,omap4-mcbsp";
173 mcbsp3: mcbsp@0 {
174 compatible = "ti,omap4-mcbsp";
Domap4-l4-abe.dtsi107 mcbsp1: mcbsp@0 {
108 compatible = "ti,omap4-mcbsp";
140 mcbsp2: mcbsp@0 {
141 compatible = "ti,omap4-mcbsp";
173 mcbsp3: mcbsp@0 {
174 compatible = "ti,omap4-mcbsp";
Domap3-cm-t3x30.dtsi19 ti,mcbsp = <&mcbsp2>;
Dlogicpd-som-lv-baseboard.dtsi20 ti,mcbsp = <&mcbsp2>;
Domap3-overo-base.dtsi32 ti,mcbsp = <&mcbsp2>;
Domap3-igep.dtsi25 ti,mcbsp = <&mcbsp2>;
Domap3-beagle-xm.dts67 ti,mcbsp = <&mcbsp2>;
Domap3-devkit8000-common.dtsi49 ti,mcbsp = <&mcbsp2>;
Domap3-tao3530.dtsi58 ti,mcbsp = <&mcbsp2>;
Domap3-beagle.dts71 ti,mcbsp = <&mcbsp2>;
Dlogicpd-torpedo-baseboard.dtsi41 ti,mcbsp = <&mcbsp2>;
Domap3-lilly-a83x.dtsi36 ti,mcbsp = <&mcbsp2>;
Domap3-gta04.dtsi83 ti,mcbsp = <&mcbsp2>;
/linux-5.19.10/arch/arm/mach-omap1/
DMakefile14 obj-y += mcbsp.o
/linux-5.19.10/arch/arm/mach-omap2/
DMakefile27 obj-$(CONFIG_OMAP_HWMOD) += mcbsp.o

12