| /linux/sound/soc/ti/ |
| H A D | omap-mcbsp.c | 3 * omap-mcbsp.c -- OMAP ALSA SoC DAI driver using McBSP port 23 #include "omap-mcbsp-priv.h" 24 #include "omap-mcbsp.h" 38 static void omap_mcbsp_dump_reg(struct omap_mcbsp *mcbsp) in omap_mcbsp_dump_reg() argument 40 dev_dbg(mcbsp->dev, "**** McBSP%d regs ****\n", mcbsp->id); in omap_mcbsp_dump_reg() 41 dev_dbg(mcbsp->dev, "DRR2: 0x%04x\n", MCBSP_READ(mcbsp, DRR in omap_mcbsp_dump_reg() 57 omap2_mcbsp_set_clks_src(struct omap_mcbsp * mcbsp,u8 fck_src_id) omap2_mcbsp_set_clks_src() argument 94 struct omap_mcbsp *mcbsp = data; omap_mcbsp_irq_handler() local 135 struct omap_mcbsp *mcbsp = data; omap_mcbsp_tx_irq_handler() local 153 struct omap_mcbsp *mcbsp = data; omap_mcbsp_rx_irq_handler() local 175 omap_mcbsp_config(struct omap_mcbsp * mcbsp,const struct omap_mcbsp_reg_cfg * config) omap_mcbsp_config() argument 215 omap_mcbsp_dma_reg_params(struct omap_mcbsp * mcbsp,unsigned int stream) omap_mcbsp_dma_reg_params() argument 240 omap_mcbsp_set_tx_threshold(struct omap_mcbsp * mcbsp,u16 threshold) omap_mcbsp_set_tx_threshold() argument 251 omap_mcbsp_set_rx_threshold(struct omap_mcbsp * mcbsp,u16 threshold) omap_mcbsp_set_rx_threshold() argument 260 omap_mcbsp_get_tx_delay(struct omap_mcbsp * mcbsp) omap_mcbsp_get_tx_delay() argument 275 omap_mcbsp_get_rx_delay(struct omap_mcbsp * mcbsp) omap_mcbsp_get_rx_delay() argument 291 omap_mcbsp_request(struct omap_mcbsp * mcbsp) omap_mcbsp_request() argument 365 omap_mcbsp_free(struct omap_mcbsp * mcbsp) omap_mcbsp_free() argument 414 omap_mcbsp_start(struct omap_mcbsp * mcbsp,int stream) omap_mcbsp_start() argument 473 omap_mcbsp_stop(struct omap_mcbsp * mcbsp,int stream) omap_mcbsp_stop() argument 555 struct omap_mcbsp *mcbsp = dev_get_drvdata(dev); dma_op_mode_show() local 577 struct omap_mcbsp *mcbsp = dev_get_drvdata(dev); dma_op_mode_store() local 616 struct omap_mcbsp *mcbsp = platform_get_drvdata(pdev); omap_mcbsp_init() local 726 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_set_threshold() local 758 struct omap_mcbsp *mcbsp = rule->private; omap_mcbsp_hwrule_min_buffersize() local 773 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_startup() local 818 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_shutdown() local 840 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_prepare() local 862 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_trigger() local 891 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_delay() local 918 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_hw_params() local 1073 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_set_dai_fmt() local 1182 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_set_clkdiv() local 1199 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai); omap_mcbsp_dai_set_dai_sysclk() local 1260 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(dai); omap_mcbsp_probe() local 1273 struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(dai); omap_mcbsp_remove() local 1366 struct omap_mcbsp *mcbsp; asoc_mcbsp_probe() local 1417 struct omap_mcbsp *mcbsp = platform_get_drvdata(pdev); asoc_mcbsp_remove() local [all...] |
| H A D | omap-mcbsp-st.c | 3 * McBSP Sidetone support 23 #include "omap-mcbsp.h" 24 #include "omap-mcbsp-priv.h" 35 /********************** McBSP SSELCR bit definitions ***********************/ 38 /********************** McBSP Sidetone SYSCONFIG bit definitions ***********/ 41 /********************** McBSP Sidetone SGAINCR bit definitions *************/ 45 /********************** McBSP Sidetone SFIRCR bit definitions **************/ 48 /********************** McBSP Sidetone SSELCR bit definitions **************/ 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 in omap_mcbsp_st_write() 69 omap_mcbsp_st_read(struct omap_mcbsp * mcbsp,u16 reg) omap_mcbsp_st_read() argument 74 MCBSP_ST_READ(mcbsp,reg) global() argument 75 MCBSP_ST_WRITE(mcbsp,reg,val) global() argument 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 D | omap-mcbsp-priv.h | 12 #include <linux/platform_data/asoc-ti-mcbsp.h> 20 /* McBSP register numbers. Register address offset = num * reg_step */ 73 /************************** McBSP SPCR1 bit definitions ***********************/ 86 /************************** McBSP SPCR2 bit definitions ***********************/ 97 /************************** McBSP PCR bit definitions *************************/ 114 /************************** McBSP RCR1 bit definitions ************************/ 118 /************************** McBSP XCR1 bit definitions ************************/ 122 /*************************** McBSP RCR2 bit definitions ***********************/ 130 /*************************** McBSP XCR2 bit definitions ***********************/ 138 /************************* McBSP SRGR1 bit definitions ************************/ [all …]
|
| H A D | omap-mcbsp.h | 3 * omap-mcbsp.h 16 /* Source clocks for McBSP sample rate generator */ 25 /* McBSP dividers */
|
| H A D | Makefile | 16 snd-soc-omap-mcbsp-y := omap-mcbsp.o omap-mcbsp-st.o 22 obj-$(CONFIG_SND_SOC_OMAP_MCBSP) += snd-soc-omap-mcbsp.o
|
| H A D | Kconfig | 19 tristate "daVinci Audio Serial Port (ASP) or McBSP support" 23 Say Y or M here if you want audio support via daVinci ASP or McBSP. 25 daVinci McBSP (w/o the multichannel support). 52 tristate "Multichannel Buffered Serial Port (McBSP) support" 56 Say Y or M here if you want to have support for McBSP IP found in
|
| H A D | davinci-i2s.h | 3 * ALSA SoC I2S (McBSP) Audio Layer for TI DAVINCI processor 12 /* McBSP dividers */
|
| H A D | ams-delta.c | 19 #include <linux/platform_data/asoc-ti-mcbsp.h> 21 #include "omap-mcbsp.h" 528 DAILINK_COMP_ARRAY(COMP_CPU("omap-mcbsp.1")), 530 DAILINK_COMP_ARRAY(COMP_PLATFORM("omap-mcbsp.1")));
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | omap-mcbsp.txt | 1 * Texas Instruments OMAP2+ McBSP module 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 12 - interrupts: Interrupt numbers for the McBSP port, as an array in case the 13 McBSP IP have more interrupt lines: 19 - ti,hwmods: Name of the hwmod associated to the McBSP port 23 mcbsp2: mcbsp@49022000 { 24 compatible = "ti,omap3-mcbsp";
|
| H A D | davinci-mcbsp.yaml | 4 $id: http://devicetree.org/schemas/sound/davinci-mcbsp.yaml# 7 title: McBSP Controller for TI SoCs 18 - ti,da850-mcbsp 74 McBSP will insert a blank period (high-impedance period) before the first 81 McBSP will discard the bit preceding the data stream (called framing bit). 99 compatible = "ti,da850-mcbsp";
|
| H A D | nokia,rx51.txt | 5 - nokia,cpu-dai: phandle for the McBSP node
|
| /linux/arch/arm/mach-omap2/ |
| H A D | mcbsp.c | 3 * linux/arch/arm/mach-omap2/mcbsp.c 18 #include <linux/platform_data/asoc-ti-mcbsp.h> 28 * FIXME: Find a mechanism to enable/disable runtime the McBSP ICLK autoidle.
|
| H A D | pdata-quirks.c | 25 #include <linux/platform_data/asoc-ti-mcbsp.h> 470 /* McBSP modules with sidetone core */ 472 OF_DEV_AUXDATA("ti,omap3-mcbsp", 0x49022000, "49022000.mcbsp", &mcbsp_pdata), 473 OF_DEV_AUXDATA("ti,omap3-mcbsp", 0x49024000, "49024000.mcbsp", &mcbsp_pdata),
|
| H A D | omap_hwmod_2420_data.c | 142 * 'mcbsp' class 147 .name = "mcbsp",
|
| H A D | omap_hwmod_2430_data.c | 191 * 'mcbsp' class 203 .name = "mcbsp",
|
| /linux/drivers/clk/ti/ |
| H A D | clk-2xxx.c | 79 DT_CLK("omap-mcbsp.1", "ick", "mcbsp1_ick"), 82 DT_CLK("omap-mcbsp.2", "ick", "mcbsp2_ick"), 170 DT_CLK("omap-mcbsp.3", "ick", "mcbsp3_ick"), 173 DT_CLK("omap-mcbsp.4", "ick", "mcbsp4_ick"), 176 DT_CLK("omap-mcbsp.5", "ick", "mcbsp5_ick"),
|
| H A D | clk-44xx.c | 752 DT_CLK("40122000.mcbsp", "prcm_fck", "abe-clkctrl:0028:26"), 753 DT_CLK("40124000.mcbsp", "prcm_fck", "abe-clkctrl:0030:26"), 754 DT_CLK("40126000.mcbsp", "prcm_fck", "abe-clkctrl:0038:26"), 756 DT_CLK("48096000.mcbsp", "prcm_fck", "l4-per-clkctrl:00c0:26"),
|
| H A D | clk-54xx.c | 568 DT_CLK("40122000.mcbsp", "prcm_fck", "abe-clkctrl:0028:26"), 571 DT_CLK("40124000.mcbsp", "prcm_fck", "abe-clkctrl:0030:26"), 574 DT_CLK("40126000.mcbsp", "prcm_fck", "abe-clkctrl:0038:26"),
|
| /linux/arch/arm/mach-omap1/ |
| H A D | dma.c | 266 { "omap-mcbsp.1", "tx", SDMA_FILTER_PARAM(8) }, 267 { "omap-mcbsp.1", "rx", SDMA_FILTER_PARAM(9) }, 268 { "omap-mcbsp.3", "tx", SDMA_FILTER_PARAM(10) }, 269 { "omap-mcbsp.3", "rx", SDMA_FILTER_PARAM(11) }, 270 { "omap-mcbsp.2", "tx", SDMA_FILTER_PARAM(16) }, 271 { "omap-mcbsp.2", "rx", SDMA_FILTER_PARAM(17) },
|
| H A D | mcbsp.c | 3 * linux/arch/arm/mach-omap1/mcbsp.c 20 #include <linux/platform_data/asoc-ti-mcbsp.h> 299 printk(KERN_ERR "Could not register McBSP devices\n"); in omap_mcbsp_register_board_cfg() 307 new_mcbsp = platform_device_alloc("omap-mcbsp", i + 1); in omap_mcbsp_register_board_cfg()
|
| H A D | Makefile | 12 obj-y += mcbsp.o
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | omap2420.dtsi | 151 mcbsp1: mcbsp@48074000 { 152 compatible = "ti,omap2420-mcbsp"; 165 mcbsp2: mcbsp@48076000 { 166 compatible = "ti,omap2420-mcbsp";
|
| H A D | omap5-l4-abe.dtsi | 107 mcbsp1: mcbsp@0 { 108 compatible = "ti,omap4-mcbsp"; 142 mcbsp2: mcbsp@0 { 143 compatible = "ti,omap4-mcbsp"; 177 mcbsp3: mcbsp@0 { 178 compatible = "ti,omap4-mcbsp";
|
| /linux/drivers/clk/davinci/ |
| H A D | psc-da850.c | 57 LPSC_CLKDEV1(mcbsp0_clkdev, NULL, "davinci-mcbsp.0"); 58 LPSC_CLKDEV1(mcbsp1_clkdev, NULL, "davinci-mcbsp.1");
|
| /linux/include/linux/platform_data/ |
| H A D | asoc-ti-mcbsp.h | 26 /* McBSP platform and instance specific features */
|