Searched refs:mcbsp (Results 1 – 22 of 22) sorted by relevance
/linux-4.4.14/sound/soc/omap/ |
D | mcbsp.c | 33 static void omap_mcbsp_write(struct omap_mcbsp *mcbsp, u16 reg, u32 val) in omap_mcbsp_write() argument 35 void __iomem *addr = mcbsp->io_base + reg * mcbsp->pdata->reg_step; in omap_mcbsp_write() 37 if (mcbsp->pdata->reg_size == 2) { in omap_mcbsp_write() 38 ((u16 *)mcbsp->reg_cache)[reg] = (u16)val; in omap_mcbsp_write() 41 ((u32 *)mcbsp->reg_cache)[reg] = val; in omap_mcbsp_write() 46 static int omap_mcbsp_read(struct omap_mcbsp *mcbsp, u16 reg, bool from_cache) in omap_mcbsp_read() argument 48 void __iomem *addr = mcbsp->io_base + reg * mcbsp->pdata->reg_step; in omap_mcbsp_read() 50 if (mcbsp->pdata->reg_size == 2) { in omap_mcbsp_read() 52 ((u16 *)mcbsp->reg_cache)[reg]; in omap_mcbsp_read() 55 ((u32 *)mcbsp->reg_cache)[reg]; in omap_mcbsp_read() [all …]
|
D | omap-mcbsp.c | 71 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); in omap_mcbsp_set_threshold() local 87 omap_mcbsp_set_tx_threshold(mcbsp, words); in omap_mcbsp_set_threshold() 89 omap_mcbsp_set_rx_threshold(mcbsp, words); in omap_mcbsp_set_threshold() 99 struct omap_mcbsp *mcbsp = rule->private; in omap_mcbsp_hwrule_min_buffersize() local 104 size = mcbsp->pdata->buffer_size; in omap_mcbsp_hwrule_min_buffersize() 114 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); in omap_mcbsp_dai_startup() local 118 err = omap_mcbsp_request(mcbsp); in omap_mcbsp_dai_startup() 135 if (mcbsp->pdata->buffer_size) { in omap_mcbsp_dai_startup() 145 mcbsp, in omap_mcbsp_dai_startup() 159 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); in omap_mcbsp_dai_shutdown() local [all …]
|
D | mcbsp.h | 329 void omap_mcbsp_config(struct omap_mcbsp *mcbsp, 331 void omap_mcbsp_set_tx_threshold(struct omap_mcbsp *mcbsp, u16 threshold); 332 void omap_mcbsp_set_rx_threshold(struct omap_mcbsp *mcbsp, u16 threshold); 333 u16 omap_mcbsp_get_tx_delay(struct omap_mcbsp *mcbsp); 334 u16 omap_mcbsp_get_rx_delay(struct omap_mcbsp *mcbsp); 335 int omap_mcbsp_get_dma_op_mode(struct omap_mcbsp *mcbsp); 336 int omap_mcbsp_request(struct omap_mcbsp *mcbsp); 337 void omap_mcbsp_free(struct omap_mcbsp *mcbsp); 338 void omap_mcbsp_start(struct omap_mcbsp *mcbsp, int tx, int rx); 339 void omap_mcbsp_stop(struct omap_mcbsp *mcbsp, int tx, int rx); [all …]
|
D | Makefile | 4 snd-soc-omap-mcbsp-objs := omap-mcbsp.o mcbsp.o 10 obj-$(CONFIG_SND_OMAP_SOC_MCBSP) += snd-soc-omap-mcbsp.o
|
/linux-4.4.14/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 24 mcbsp2: mcbsp@49022000 { 25 compatible = "ti,omap3-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-4.4.14/arch/arm/boot/dts/ |
D | omap2430.dtsi | 159 mcbsp1: mcbsp@48074000 { 160 compatible = "ti,omap2430-mcbsp"; 176 mcbsp2: mcbsp@48076000 { 177 compatible = "ti,omap2430-mcbsp"; 192 mcbsp3: mcbsp@4808c000 { 193 compatible = "ti,omap2430-mcbsp"; 208 mcbsp4: mcbsp@4808e000 { 209 compatible = "ti,omap2430-mcbsp"; 224 mcbsp5: mcbsp@48096000 { 225 compatible = "ti,omap2430-mcbsp";
|
D | omap2420.dtsi | 135 mcbsp1: mcbsp@48074000 { 136 compatible = "ti,omap2420-mcbsp"; 149 mcbsp2: mcbsp@48076000 { 150 compatible = "ti,omap2420-mcbsp";
|
D | omap3.dtsi | 483 mcbsp1: mcbsp@48074000 { 484 compatible = "ti,omap3-mcbsp"; 499 mcbsp2: mcbsp@49022000 { 500 compatible = "ti,omap3-mcbsp"; 517 mcbsp3: mcbsp@49024000 { 518 compatible = "ti,omap3-mcbsp"; 535 mcbsp4: mcbsp@49026000 { 536 compatible = "ti,omap3-mcbsp"; 551 mcbsp5: mcbsp@48096000 { 552 compatible = "ti,omap3-mcbsp";
|
D | omap4.dtsi | 600 mcbsp1: mcbsp@40122000 { 601 compatible = "ti,omap4-mcbsp"; 615 mcbsp2: mcbsp@40124000 { 616 compatible = "ti,omap4-mcbsp"; 630 mcbsp3: mcbsp@40126000 { 631 compatible = "ti,omap4-mcbsp"; 645 mcbsp4: mcbsp@48096000 { 646 compatible = "ti,omap4-mcbsp";
|
D | omap3-cm-t3x30.dtsi | 18 ti,mcbsp = <&mcbsp2>;
|
D | omap5.dtsi | 660 mcbsp1: mcbsp@40122000 { 661 compatible = "ti,omap4-mcbsp"; 675 mcbsp2: mcbsp@40124000 { 676 compatible = "ti,omap4-mcbsp"; 690 mcbsp3: mcbsp@40126000 { 691 compatible = "ti,omap4-mcbsp";
|
D | omap3-igep.dtsi | 24 ti,mcbsp = <&mcbsp2>;
|
D | omap3-overo-base.dtsi | 29 ti,mcbsp = <&mcbsp2>;
|
D | omap3-beagle-xm.dts | 62 ti,mcbsp = <&mcbsp2>;
|
D | omap3-tao3530.dtsi | 56 ti,mcbsp = <&mcbsp2>;
|
D | omap3-devkit8000-common.dtsi | 52 ti,mcbsp = <&mcbsp2>;
|
D | omap3-beagle.dts | 73 ti,mcbsp = <&mcbsp2>;
|
D | omap3-lilly-a83x.dtsi | 40 ti,mcbsp = <&mcbsp2>;
|
D | omap3-gta04.dtsi | 48 ti,mcbsp = <&mcbsp2>;
|
/linux-4.4.14/arch/arm/mach-omap1/ |
D | Makefile | 11 obj-y += mcbsp.o
|
/linux-4.4.14/arch/arm/mach-omap2/ |
D | Makefile | 27 obj-y += mcbsp.o
|