| /linux/sound/soc/starfive/ |
| 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 …]
|
| /linux/Documentation/devicetree/bindings/pinctrl/ |
| 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 …]
|
| 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 …]
|
| 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 …]
|
| 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)
|
| /linux/drivers/soc/fsl/qe/ |
| A D | tsa.c | 605 struct tsa_tdm *tdm; in tsa_of_parse_tdm_route() local 649 tdm = &tsa->tdm[tdm_id]; in tsa_of_parse_tdm_route() 684 struct tsa_tdm *tdm; in tsa_of_parse_tdms() local 735 tdm = &tsa->tdm[tdm_id]; in tsa_of_parse_tdms() 804 tdm->l1rsync_clk = clk; in tsa_of_parse_tdms() 818 tdm->l1rclk_clk = clk; in tsa_of_parse_tdms() 833 tdm->l1tsync_clk = clk; in tsa_of_parse_tdms() 847 tdm->l1tclk_clk = clk; in tsa_of_parse_tdms() 873 tdm->is_enable = true; in tsa_of_parse_tdms() 919 if (tsa->tdm[0].is_enable) in tsa_cpm1_setup() [all …]
|
| /linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/ |
| A D | fsl,ucc-hdlc.yaml | 39 fsl,tdm-interface: 69 fsl,tdm-framer-type: 74 fsl,tdm-id: 81 required for tdm interface. 88 required for tdm interface. 95 required for tdm interface 98 fsl,tdm-internal-loopback: 101 optional for tdm interface 128 fsl,tdm-framer-type = "e1"; 129 fsl,tdm-id = <0>; [all …]
|
| /linux/Documentation/devicetree/bindings/sound/ |
| 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",
|
| 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>;
|
| 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 …]
|
| A D | fsl,qmc-audio.yaml | 110 dai-tdm-slot-num = <4>; 111 dai-tdm-slot-width = <8>; 113 dai-tdm-slot-tx-mask = <0 0 0 1 0 1 0 1 0 1>; 114 dai-tdm-slot-rx-mask = <0 0 0 1 0 1 0 1 0 1>; 125 dai-tdm-slot-num = <4>; 126 dai-tdm-slot-width = <8>; 128 dai-tdm-slot-tx-mask = <0 0 1 0 1 0 1 0 1>; 129 dai-tdm-slot-rx-mask = <0 0 1 0 1 0 1 0 1>; 140 dai-tdm-slot-num = <2>; 141 dai-tdm-slot-width = <8>; [all …]
|
| 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.
|
| 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.
|
| 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>;
|
| 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";
|
| A D | amlogic,axg-sound-card.yaml | 49 dai-tdm-slot-num: 56 dai-tdm-slot-width: 73 "^dai-tdm-slot-(t|r)x-mask-[0-3]$": 97 "^dai-tdm-slot-(t|r)x-mask$": 152 dai-tdm-slot-tx-mask-2 = <1 1>; 153 dai-tdm-slot-tx-mask-3 = <1 1>; 154 dai-tdm-slot-rx-mask-1 = <1 1>;
|
| /linux/Documentation/devicetree/bindings/net/ |
| A D | lantiq,pef2256.yaml | 116 'dai-tdm-slot-num', 'dai-tdm-slot-width', 'dai-tdm-slot-tx-mask' and 117 'dai-tdm-slot-rx-mask' must be present in the sound card node for 119 'dai-tdm-tdm-slot-with' must be set to 8. 192 dai-tdm-slot-num = <4>; 193 dai-tdm-slot-width = <8>; 195 dai-tdm-slot-tx-mask = <0 1 1 1 1>; 196 dai-tdm-slot-rx-mask = <0 1 1 1 1>; 206 dai-tdm-slot-num = <4>; 207 dai-tdm-slot-width = <8>; 209 dai-tdm-slot-tx-mask = <0 0 0 0 0 1 1 1 1>; [all …]
|
| /linux/sound/soc/qcom/qdsp6/ |
| A D | q6afe-dai.c | 127 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_set_tdm_slot() local 160 tdm->nslots_per_frame = slots; in q6tdm_set_tdm_slot() 161 tdm->slot_width = slot_width; in q6tdm_set_tdm_slot() 180 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_set_channel_map() local 198 tdm->ch_mapping[i] = tx_slot[i]; in q6tdm_set_channel_map() 203 tdm->num_channels = tx_num; in q6tdm_set_channel_map() 217 tdm->ch_mapping[i] = rx_slot[i]; in q6tdm_set_channel_map() 222 tdm->num_channels = rx_num; in q6tdm_set_channel_map() 240 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_hw_params() local 242 tdm->bit_width = params_width(params); in q6tdm_hw_params() [all …]
|
| /linux/arch/arm64/boot/dts/amlogic/ |
| A D | meson-g12-common.dtsi | 1069 tdm_a_din0_pins: tdm-a-din0 { 1078 tdm_a_din1_pins: tdm-a-din1 { 1104 tdm_a_fs_pins: tdm-a-fs { 1113 tdm_a_sclk_pins: tdm-a-sclk { 1139 tdm_b_din0_pins: tdm-b-din0 { 1147 tdm_b_din1_pins: tdm-b-din1 { 1155 tdm_b_din2_pins: tdm-b-din2 { 1224 tdm_b_fs_pins: tdm-b-fs { 1233 tdm_b_sclk_pins: tdm-b-sclk { 1433 tdm_c_fs_a_pins: tdm-c-fs-a { [all …]
|
| A D | meson-sm1-bananapi-m2-pro.dts | 53 dai-tdm-slot-tx-mask-0 = <1 1>; 54 dai-tdm-slot-tx-mask-1 = <1 1>; 55 dai-tdm-slot-tx-mask-2 = <1 1>; 56 dai-tdm-slot-tx-mask-3 = <1 1>;
|
| A D | meson-sm1-a95xf3-air.dts | 53 dai-tdm-slot-tx-mask-0 = <1 1>; 54 dai-tdm-slot-tx-mask-1 = <1 1>; 55 dai-tdm-slot-tx-mask-2 = <1 1>; 56 dai-tdm-slot-tx-mask-3 = <1 1>;
|
| A D | meson-sm1-x96-air.dts | 53 dai-tdm-slot-tx-mask-0 = <1 1>; 54 dai-tdm-slot-tx-mask-1 = <1 1>; 55 dai-tdm-slot-tx-mask-2 = <1 1>; 56 dai-tdm-slot-tx-mask-3 = <1 1>;
|
| /linux/Documentation/devicetree/bindings/arm/marvell/ |
| 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 …]
|
| /linux/sound/soc/meson/ |
| A D | Makefile | 14 snd-soc-meson-axg-tdm-formatter-y := axg-tdm-formatter.o 15 snd-soc-meson-axg-tdm-interface-y := 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
|
| /linux/sound/soc/intel/avs/ |
| A D | utils.h | 62 #define AVS_STRING_FMT(prefix, suffix, ssp, tdm) \ argument 63 (tdm) ? prefix "%d:%d" suffix : prefix "%d" suffix, (ssp), (tdm)
|