/openbmc/linux/sound/soc/starfive/ |
H A D | jh7110_tdm.c | 150 tdm->saved_pcmtxcr = jh7110_tdm_readl(tdm, TDM_PCMTXCR); in jh7110_tdm_save_context() 152 tdm->saved_pcmrxcr = jh7110_tdm_readl(tdm, TDM_PCMRXCR); in jh7110_tdm_save_context() 190 if (tdm->rx.sl >= tdm->tx.sl) in jh7110_tdm_syncdiv() 195 if (tdm->rx.sscale >= tdm->tx.sscale) in jh7110_tdm_syncdiv() 200 syncdiv = tdm->pcmclk / tdm->samplerate - 1; in jh7110_tdm_syncdiv() 208 (tdm->rx.sscale <= 1 || tdm->tx.sscale <= 1) && in jh7110_tdm_syncdiv() 304 tdm->saved_pcmgbcr = jh7110_tdm_readl(tdm, TDM_PCMGBCR); in jh7110_tdm_system_suspend() 305 tdm->saved_pcmdiv = jh7110_tdm_readl(tdm, TDM_PCMDIV); in jh7110_tdm_system_suspend() 315 jh7110_tdm_writel(tdm, TDM_PCMGBCR, tdm->saved_pcmgbcr); in jh7110_tdm_system_resume() 316 jh7110_tdm_writel(tdm, TDM_PCMDIV, tdm->saved_pcmdiv); in jh7110_tdm_system_resume() [all …]
|
/openbmc/linux/drivers/soc/fsl/qe/ |
H A D | tsa.c | 366 struct tsa_tdm *tdm; in tsa_of_parse_tdm_route() local 410 tdm = &tsa->tdm[tdm_id]; in tsa_of_parse_tdm_route() 445 struct tsa_tdm *tdm; in tsa_of_parse_tdms() local 485 tdm = &tsa->tdm[tdm_id]; in tsa_of_parse_tdms() 550 tdm->l1rsync_clk = clk; in tsa_of_parse_tdms() 564 tdm->l1rclk_clk = clk; in tsa_of_parse_tdms() 579 tdm->l1tsync_clk = clk; in tsa_of_parse_tdms() 593 tdm->l1tclk_clk = clk; in tsa_of_parse_tdms() 608 tdm->is_enable = true; in tsa_of_parse_tdms() 685 if (tsa->tdm[0].is_enable) in tsa_probe() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | marvell,kirkwood-pinctrl.txt | 143 mpp29 29 gpio, ge1(txclk), ts(mp9), tdm(rst) 145 mpp31 31 gpio, ge1(rxclk), ts(mp11), tdm(fs) 147 mpp33 33 gpo, ge1(txclk), tdm(drx) 148 mpp34 34 gpio, ge1(txen), tdm(spi-cs1) 196 mpp33 33 gpo, ge1(txclk), tdm(drx) 208 mpp45 45 gpio, ts(mp9), tdm(pclk) 209 mpp46 46 gpio, ts(mp10), tdm(fs) 210 mpp47 47 gpio, ts(mp11), tdm(drx) 211 mpp48 48 gpio, ts(mp12), tdm(dtx) 278 mpp45 45 gpio, ts(mp9), tdm(pclk), lcd(e) [all …]
|
H A D | marvell,armada-xp-pinctrl.txt | 45 mpp24 24 gpio, lcd(hsync), sata1(prsnt), tdm(rst) 46 mpp25 25 gpio, lcd(vsync), sata0(prsnt), tdm(pclk) 47 mpp26 26 gpio, lcd(clk), tdm(fsync) 48 mpp27 27 gpio, lcd(e), tdm(dtx), ptp(trig) 49 mpp28 28 gpio, lcd(pwm), tdm(drx), ptp(evreq) 50 mpp29 29 gpio, lcd(ref-clk), tdm(int0), ptp(clk) 51 mpp30 30 gpio, tdm(int1), sd0(clk) 52 mpp31 31 gpio, tdm(int2), sd0(cmd) 53 mpp32 32 gpio, tdm(int3), sd0(d0) 56 mpp35 35 gpio, tdm(int6), sd0(d3), sata1(prsnt) [all …]
|
H A D | marvell,armada-370-pinctrl.txt | 22 mpp6 6 gpio, ge0(txd0), sata0(prsnt), tdm(rst), audio(sdo) 23 mpp7 7 gpo, ge0(txd1), tdm(dtx), audio(lrclk) 24 mpp8 8 gpio, ge0(txd2), uart0(rts), tdm(drx), audio(bclk) 26 mpp10 10 gpio, ge0(txctl), uart0(cts), tdm(fsync), audio(sdi) 31 mpp13 13 gpio, ge0(rxd2), i2c1(sck), sd0(d1), tdm(pclk), 37 mpp16 16 gpio, ge0(rxclk), uart1(rxd), tdm(int), audio(extclk) 40 mpp19 19 gpio, ge0(txclk), ge1(txclkout), tdm(pclk) 77 mpp53 53 gpio, dev(ad14), sd0(clk), tdm(pclk), spi0(cs2), 79 mpp54 54 gpo, dev(ad15), tdm(dtx) 80 mpp55 55 gpio, dev(cs1), uart1(txd), tdm(rst), sata1(prsnt), [all …]
|
H A D | marvell,armada-375-pinctrl.txt | 34 mpp18 18 gpio, tdm(int) 35 mpp19 19 gpio, tdm(rst) 36 mpp20 20 gpio, tdm(pclk) 37 mpp21 21 gpio, tdm(fsync) 38 mpp22 22 gpio, tdm(drx) 39 mpp23 23 gpio, tdm(dtx) 53 mpp37 37 gpio, pcie0(clkreq), tdm(int), ge(mdc)
|
/openbmc/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/ |
H A D | network.txt | 58 - fsl,tdm-interface 74 - fsl,tdm-framer-type 75 Usage: required for tdm interface 80 - fsl,tdm-id 81 Usage: required for tdm interface 87 Usage: required for tdm interface 97 - fsl,tdm-internal-loopback 108 Example for tdm interface: 118 fsl,tdm-framer-type = "e1"; 119 fsl,tdm-id = <0>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | tdm-slot.txt | 6 dai-tdm-slot-num : Number of slots in use. 7 dai-tdm-slot-width : Width in bits for each slot. 8 dai-tdm-slot-tx-mask : Transmit direction slot mask, optional 9 dai-tdm-slot-rx-mask : Receive direction slot mask, optional 12 dai-tdm-slot-num = <2>; 13 dai-tdm-slot-width = <8>; 14 dai-tdm-slot-tx-mask = <0 1>; 15 dai-tdm-slot-rx-mask = <1 0>;
|
H A D | starfive,jh7110-tdm.yaml | 4 $id: http://devicetree.org/schemas/sound/starfive,jh7110-tdm.yaml# 24 - starfive,jh7110-tdm 43 - const: tdm 49 - description: tdm ahb reset line 50 - description: tdm apb reset line 51 - description: tdm core reset line 80 tdm@10090000 { 81 compatible = "starfive,jh7110-tdm"; 90 "tdm_internal", "tdm",
|
H A D | qcom,q6dsp-lpass-ports.yaml | 52 qcom,tdm-sync-mode: 61 qcom,tdm-sync-src: 69 qcom,tdm-data-out: 77 qcom,tdm-invert-sync: 85 qcom,tdm-data-delay: 94 qcom,tdm-data-align: 117 - qcom,tdm-sync-mode 118 - qcom,tdm-sync-src 119 - qcom,tdm-data-out 121 - qcom,tdm-data-delay [all …]
|
H A D | fsl,qmc-audio.yaml | 95 dai-tdm-slot-num = <4>; 96 dai-tdm-slot-width = <8>; 98 dai-tdm-slot-tx-mask = <0 0 0 1 0 1 0 1 0 1>; 99 dai-tdm-slot-rx-mask = <0 0 0 1 0 1 0 1 0 1>; 110 dai-tdm-slot-num = <4>; 111 dai-tdm-slot-width = <8>; 113 dai-tdm-slot-tx-mask = <0 0 1 0 1 0 1 0 1>; 114 dai-tdm-slot-rx-mask = <0 0 1 0 1 0 1 0 1>;
|
H A D | renesas,idt821034.yaml | 17 'dai-tdm-slot-num', 'dai-tdm-slot-width', 'dai-tdm-slot-tx-mask' and 18 'dai-tdm-slot-rx-mask' must be present in the ALSA sound card node for 21 'dai-tdm-tdm-slot-with' must be set to 8.
|
H A D | infineon,peb2466.yaml | 17 'dai-tdm-slot-num', 'dai-tdm-slot-width', 'dai-tdm-slot-tx-mask' and 18 'dai-tdm-slot-rx-mask' must be present in the sound card node for sub-nodes 20 'dai-tdm-tdm-slot-with' must be set to 8.
|
H A D | imx-audio-card.yaml | 41 dai-tdm-slot-num: 42 description: see tdm-slot.txt. 45 dai-tdm-slot-width: 46 description: see tdm-slot.txt. 107 dai-tdm-slot-num = <8>; 108 dai-tdm-slot-width = <32>;
|
H A D | rockchip,i2s-tdm.yaml | 4 $id: http://devicetree.org/schemas/sound/rockchip,i2s-tdm.yaml# 23 - rockchip,px30-i2s-tdm 24 - rockchip,rk1808-i2s-tdm 25 - rockchip,rk3308-i2s-tdm 26 - rockchip,rk3568-i2s-tdm 27 - rockchip,rk3588-i2s-tdm 28 - rockchip,rv1126-i2s-tdm 164 compatible = "rockchip,rk3568-i2s-tdm";
|
H A D | amlogic,axg-sound-card.yaml | 42 dai-tdm-slot-num: 49 dai-tdm-slot-width: 66 "^dai-tdm-slot-(t|r)x-mask-[0-3]$": 90 "^dai-tdm-slot-(t|r)x-mask$": 145 dai-tdm-slot-tx-mask-2 = <1 1>; 146 dai-tdm-slot-tx-mask-3 = <1 1>; 147 dai-tdm-slot-rx-mask-1 = <1 1>;
|
H A D | amlogic,axg-tdm-iface.yaml | 4 $id: http://devicetree.org/schemas/sound/amlogic,axg-tdm-iface.yaml# 17 const: amlogic,axg-tdm-iface 49 compatible = "amlogic,axg-tdm-iface";
|
/openbmc/u-boot/board/freescale/p1022ds/ |
H A D | README | 9 Add the environment 'usb2', 'audclk' and 'tdm' to support pin multiplex 12 'setenv hwconfig tdm' to enable TDM and disable Audio 15 'setenv hwconfig 'usb2;tdm' to enable USB2 and TDM, disable eTsec2 and Audio 21 'setenv hwconfig 'audclk:12;tdm' --- error ! 22 'setenv hwconfig 'audclk:11;tdm' --- error !
|
/openbmc/linux/sound/soc/qcom/qdsp6/ |
H A D | q6afe-dai.c | 126 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_set_tdm_slot() local 159 tdm->nslots_per_frame = slots; in q6tdm_set_tdm_slot() 160 tdm->slot_width = slot_width; in q6tdm_set_tdm_slot() 179 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_set_channel_map() local 197 tdm->ch_mapping[i] = tx_slot[i]; in q6tdm_set_channel_map() 202 tdm->num_channels = tx_num; in q6tdm_set_channel_map() 216 tdm->ch_mapping[i] = rx_slot[i]; in q6tdm_set_channel_map() 221 tdm->num_channels = rx_num; in q6tdm_set_channel_map() 239 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_hw_params() local 241 tdm->bit_width = params_width(params); in q6tdm_hw_params() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-g12-common.dtsi | 1064 tdm_a_din0_pins: tdm-a-din0 { 1073 tdm_a_din1_pins: tdm-a-din1 { 1099 tdm_a_fs_pins: tdm-a-fs { 1108 tdm_a_sclk_pins: tdm-a-sclk { 1134 tdm_b_din0_pins: tdm-b-din0 { 1142 tdm_b_din1_pins: tdm-b-din1 { 1150 tdm_b_din2_pins: tdm-b-din2 { 1219 tdm_b_fs_pins: tdm-b-fs { 1228 tdm_b_sclk_pins: tdm-b-sclk { 1428 tdm_c_fs_a_pins: tdm-c-fs-a { [all …]
|
H A D | meson-sm1-bananapi-m2-pro.dts | 49 dai-tdm-slot-tx-mask-0 = <1 1>; 50 dai-tdm-slot-tx-mask-1 = <1 1>; 51 dai-tdm-slot-tx-mask-2 = <1 1>; 52 dai-tdm-slot-tx-mask-3 = <1 1>;
|
H A D | meson-sm1-a95xf3-air.dts | 49 dai-tdm-slot-tx-mask-0 = <1 1>; 50 dai-tdm-slot-tx-mask-1 = <1 1>; 51 dai-tdm-slot-tx-mask-2 = <1 1>; 52 dai-tdm-slot-tx-mask-3 = <1 1>;
|
H A D | meson-sm1-x96-air.dts | 49 dai-tdm-slot-tx-mask-0 = <1 1>; 50 dai-tdm-slot-tx-mask-1 = <1 1>; 51 dai-tdm-slot-tx-mask-2 = <1 1>; 52 dai-tdm-slot-tx-mask-3 = <1 1>;
|
/openbmc/linux/sound/soc/meson/ |
H A D | Makefile | 14 snd-soc-meson-axg-tdm-formatter-objs := axg-tdm-formatter.o 15 snd-soc-meson-axg-tdm-interface-objs := axg-tdm-interface.o 33 obj-$(CONFIG_SND_MESON_AXG_TDM_FORMATTER) += snd-soc-meson-axg-tdm-formatter.o 34 obj-$(CONFIG_SND_MESON_AXG_TDM_INTERFACE) += snd-soc-meson-axg-tdm-interface.o
|
/openbmc/linux/Documentation/devicetree/bindings/arm/marvell/ |
H A D | cp110-system-controller.txt | 91 mpp0 0 gpio, dev(ale1), au(i2smclk), ge0(rxd3), tdm(pclk), ptp(pulse), mss_i2c(sda), uart0(rxd), sa… 92 mpp1 1 gpio, dev(ale0), au(i2sdo_spdifo), ge0(rxd2), tdm(drx), ptp(clk), mss_i2c(sck), uart0(txd), … 95 mpp4 4 gpio, dev(ad13), au(i2sbclk), ge0(rxctl), tdm(rstn), mss_uart(rxd), uart1(cts), pcie0(clkreq… 96 mpp5 5 gpio, dev(ad12), au(i2sdi), ge0(rxclk), tdm(intn), mss_uart(txd), uart1(rts), pcie1(clkreq),… 124 mpp33 33 gpio, mii(txclk), sdio(pwr10), mss_spi(csn), tdm(fsync), au(i2smclk), sdio(bus_pwr), xg(md… 125 mpp34 34 gpio, mii(rxerr), sdio(pwr11), mss_spi(mosi), tdm(dtx), au(i2slrclk), sdio(wr_protect), ge… 147 mpp56 56 gpio, tdm(drx), au(i2sdo_spdifo), spi0(clk), uart1(rxd), sata1(present_act), sdio(clk) 148 mpp57 57 gpio, mss_i2c(sda), ptp(pclk_out), tdm(intn), au(i2sbclk), spi0(mosi), uart1(txd), sata0(p… 149 mpp58 58 gpio, mss_i2c(sck), ptp(clk), tdm(rstn), au(i2sdi), spi0(miso), uart1(cts), led(clk), sdio… 150 mpp59 59 gpio, mss_gpio7, synce2(clk), tdm(fsync), au(i2slrclk), spi0(csn0), uart0(cts), led(stb), … [all …]
|