/linux-6.1.9/sound/soc/ti/ |
D | omap-mcbsp.c | 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, 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 …]
|
D | omap-mcbsp-st.c | 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) 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 …]
|
D | omap-mcbsp-priv.h | 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->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 …]
|
D | Makefile | 17 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-6.1.9/Documentation/devicetree/bindings/sound/ |
D | omap-mcbsp.txt | 4 - 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";
|
D | davinci-mcbsp.txt | 11 "ti,da850-mcbsp" : for DA850, AM180x and OPAM-L138 platforms 37 mcbsp0: mcbsp@1d10000 { 38 compatible = "ti,da850-mcbsp";
|
D | omap-twl4030.txt | 6 - 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-6.1.9/arch/arm/boot/dts/ |
D | omap2430.dtsi | 175 mcbsp1: mcbsp@48074000 { 176 compatible = "ti,omap2430-mcbsp"; 192 mcbsp2: mcbsp@48076000 { 193 compatible = "ti,omap2430-mcbsp"; 208 mcbsp3: mcbsp@4808c000 { 209 compatible = "ti,omap2430-mcbsp"; 224 mcbsp4: mcbsp@4808e000 { 225 compatible = "ti,omap2430-mcbsp"; 240 mcbsp5: mcbsp@48096000 { 241 compatible = "ti,omap2430-mcbsp";
|
D | omap2420.dtsi | 151 mcbsp1: mcbsp@48074000 { 152 compatible = "ti,omap2420-mcbsp"; 165 mcbsp2: mcbsp@48076000 { 166 compatible = "ti,omap2420-mcbsp";
|
D | omap3.dtsi | 562 mcbsp1: mcbsp@48074000 { 563 compatible = "ti,omap3-mcbsp"; 604 mcbsp2: mcbsp@49022000 { 605 compatible = "ti,omap3-mcbsp"; 624 mcbsp3: mcbsp@49024000 { 625 compatible = "ti,omap3-mcbsp"; 644 mcbsp4: mcbsp@49026000 { 645 compatible = "ti,omap3-mcbsp"; 663 mcbsp5: mcbsp@48096000 { 664 compatible = "ti,omap3-mcbsp";
|
D | omap5-l4-abe.dtsi | 107 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";
|
D | omap4-l4-abe.dtsi | 107 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";
|
D | omap3-cm-t3x30.dtsi | 19 ti,mcbsp = <&mcbsp2>;
|
D | logicpd-som-lv-baseboard.dtsi | 20 ti,mcbsp = <&mcbsp2>;
|
D | omap3-overo-base.dtsi | 32 ti,mcbsp = <&mcbsp2>;
|
D | omap3-igep.dtsi | 25 ti,mcbsp = <&mcbsp2>;
|
D | omap3-beagle-xm.dts | 67 ti,mcbsp = <&mcbsp2>;
|
D | omap3-devkit8000-common.dtsi | 49 ti,mcbsp = <&mcbsp2>;
|
D | omap3-tao3530.dtsi | 58 ti,mcbsp = <&mcbsp2>;
|
D | omap3-beagle.dts | 71 ti,mcbsp = <&mcbsp2>;
|
D | logicpd-torpedo-baseboard.dtsi | 41 ti,mcbsp = <&mcbsp2>;
|
D | omap3-lilly-a83x.dtsi | 36 ti,mcbsp = <&mcbsp2>;
|
D | omap3-gta04.dtsi | 83 ti,mcbsp = <&mcbsp2>;
|
/linux-6.1.9/arch/arm/mach-omap1/ |
D | Makefile | 12 obj-y += mcbsp.o
|
/linux-6.1.9/arch/arm/mach-omap2/ |
D | Makefile | 27 obj-$(CONFIG_OMAP_HWMOD) += mcbsp.o
|