Home
last modified time | relevance | path

Searched refs:tdm (Results 1 – 25 of 67) sorted by relevance

123

/Linux-v5.4/sound/soc/zte/
Dzx-tdm.c83 static inline u32 zx_tdm_readl(struct zx_tdm_info *tdm, u16 reg) in zx_tdm_readl() argument
85 return readl_relaxed(tdm->regbase + reg); in zx_tdm_readl()
88 static inline void zx_tdm_writel(struct zx_tdm_info *tdm, u16 reg, u32 val) in zx_tdm_writel() argument
90 writel_relaxed(val, tdm->regbase + reg); in zx_tdm_writel()
93 static void zx_tdm_tx_en(struct zx_tdm_info *tdm, bool on) in zx_tdm_tx_en() argument
97 val = zx_tdm_readl(tdm, REG_PROCESS_CTRL); in zx_tdm_tx_en()
102 zx_tdm_writel(tdm, REG_PROCESS_CTRL, val); in zx_tdm_tx_en()
105 static void zx_tdm_rx_en(struct zx_tdm_info *tdm, bool on) in zx_tdm_rx_en() argument
109 val = zx_tdm_readl(tdm, REG_PROCESS_CTRL); in zx_tdm_rx_en()
114 zx_tdm_writel(tdm, REG_PROCESS_CTRL, val); in zx_tdm_rx_en()
[all …]
DMakefile4 obj-$(CONFIG_ZX_TDM) += zx-tdm.o
/Linux-v5.4/Documentation/devicetree/bindings/sound/
Dqcom,q6afe.txt54 - qcom,tdm-sync-mode:
55 Usage: required for tdm interface
62 - qcom,tdm-sync-src:
63 Usage: required for tdm interface
69 - qcom,tdm-data-out:
70 Usage: required for tdm interface
76 - qcom,tdm-invert-sync:
77 Usage: required for tdm interface
83 - qcom,tdm-data-delay:
84 Usage: required for tdm interface
[all …]
Dtdm-slot.txt6 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>;
Damlogic,axg-sound-card.txt28 - dai-tdm-slot-rx-mask-{0,1,2,3}: Receive direction slot masks
29 - dai-tdm-slot-tx-mask-{0,1,2,3}: Transmit direction slot masks
34 - dai-tdm-slot-num : Please refer to tdm-slot.txt.
37 - dai-tdm-slot-width : Please refer to tdm-slot.txt. default to 32 if omitted.
53 - dai-tdm-slot-tx-mask : Please refer to tdm-slot.txt.
54 - dai-tdm-slot-rx-mask : Please refer to tdm-slot.txt.
94 dai-tdm-slot-tx-mask-2 = <1 1>;
95 dai-tdm-slot-tx-mask-3 = <1 1>;
96 dai-tdm-slot-rx-mask-1 = <1 1>;
Dzte,tdm.txt6 * zte,zx296718-tdm
13 - zte,tdm-dma-sysctrl : Reference to the sysctrl controller controlling
21 tdm: tdm@1487000 {
22 compatible = "zte,zx296718-tdm";
29 zte,tdm-dma-sysctrl = <&sysctrl 0x10c 4>;
Dst,sti-asoc-card.txt48 - st,tdm-mode: to declare to set TDM mode for unireader and uniplayer IPs.
63 st,tdm-mode = <1>;
128 dai-tdm-slot-width = <32>;
154 dai-tdm-slot-num = <16>;
155 dai-tdm-slot-width = <16>;
156 dai-tdm-slot-tx-mask =
Damlogic,axg-tdm-iface.txt4 - compatible: 'amlogic,axg-tdm-iface'
16 compatible = "amlogic,axg-tdm-iface";
Damlogic,g12a-tohdmitx.txt30 dai-tdm-slot-tx-mask-0 = <1 1>;
44 dai-tdm-slot-tx-mask-0 = <1 1>;
Dsimple-card.txt80 - dai-tdm-slot-num : Please refer to tdm-slot.txt.
81 - dai-tdm-slot-width : Please refer to tdm-slot.txt.
333 dai-tdm-slot-num = <8>;
/Linux-v5.4/Documentation/devicetree/bindings/pinctrl/
Dmarvell,kirkwood-pinctrl.txt130 mpp20 20 gpio, ge1(txd0), ts(mp0), tdm(tx0ql), audio(spdifi),
132 mpp21 21 gpio, ge1(txd1), sata0(act), ts(mp1), tdm(rx0ql),
134 mpp22 22 gpio, ge1(txd2), ts(mp2), tdm(tx2ql), audio(rmclk),
136 mpp23 23 gpio, ge1(txd3), sata0(prsnt), ts(mp3), tdm(rx2ql),
138 mpp24 24 gpio, ge1(rxd0), ts(mp4), tdm(spi-cs0), audio(sdo)
139 mpp25 25 gpio, ge1(rxd1), ts(mp5), tdm(spi-sck), audio(lrclk)
140 mpp26 26 gpio, ge1(rxd2), ts(mp6), tdm(spi-miso), audio(mclk)
141 mpp27 27 gpio, ge1(rxd3), ts(mp7), tdm(spi-mosi), audio(sdi)
142 mpp28 28 gpio, ge1(col), ts(mp8), tdm(int), audio(extclk)
143 mpp29 29 gpio, ge1(txclk), ts(mp9), tdm(rst)
[all …]
Dmarvell,armada-xp-pinctrl.txt45 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)
54 mpp33 33 gpio, tdm(int4), sd0(d1), dram(bat), dram(vttctrl)
[all …]
Dmarvell,armada-370-pinctrl.txt22 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 …]
Dmarvell,armada-375-pinctrl.txt34 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)
Dmarvell,armada-39x-pinctrl.txt69 mpp48 48 gpio, sata0(prsnt) [1], dram(vttctrl), tdm(pclk) [2], audio(mclk) [2], sd0(d4), pcie0(clkr…
70 mpp49 49 gpio, sata2(prsnt) [2], sata3(prsnt) [2], tdm(fsync) [2],
72 mpp50 50 gpio, pcie0(rstout), tdm(drx) [2], audio(extclk) [2], sd0(cmd), ua2(rxd)
73 mpp51 51 gpio, tdm(dtx) [2], audio(sdo) [2], dram(deccerr), ua2(txd)
74 mpp52 52 gpio, pcie0(rstout), tdm(int) [2], audio(sdi) [2], sd0(d6), i2c3(sck)
75 mpp53 53 gpio, sata1(prsnt) [1], sata0(prsnt) [1], tdm(rst) [2], audio(bclk) [2], sd0(d7), i2c3(sda)
Dmarvell,armada-38x-pinctrl.txt66 mpp48 48 gpio, sata0(prsnt), dram(vttctrl), tdm(pclk), audio(mclk), sd0(d4), pcie0(cl…
67 mpp49 49 gpio, sata2(prsnt) [2], sata3(prsnt) [2], tdm(fsync), audio(lrclk), sd0(d5),…
68 mpp50 50 gpio, pcie0(rstout), tdm(drx), audio(extclk), sd0(cmd)
69 mpp51 51 gpio, tdm(dtx), audio(sdo), dram(deccerr), ptp(trig)
70 mpp52 52 gpio, pcie0(rstout), tdm(int), audio(sdi), sd0(d6), ptp(clk)
71 mpp53 53 gpio, sata1(prsnt), sata0(prsnt), tdm(rst), audio(bclk), sd0(d7), ptp(evreq)
Dpinctrl-mt7622.txt196 "pmic", "pwm", "sd", "spi", "tdm", "uart", "watchdog"
298 "tdm_0_out_mclk_bclk_ws" "tdm" 8, 9, 10
299 "tdm_0_in_mclk_bclk_ws" "tdm" 11, 12, 13
300 "tdm_0_out_data" "tdm" 20
301 "tdm_0_in_data" "tdm" 21
302 "tdm_1_out_mclk_bclk_ws" "tdm" 57, 58, 59
303 "tdm_1_in_mclk_bclk_ws" "tdm" 60, 61, 62
304 "tdm_1_out_data" "tdm" 55
305 "tdm_1_in_data" "tdm" 56
/Linux-v5.4/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
Dnetwork.txt58 - fsl,tdm-interface
61 Definition : Specify that hdlc is based on tdm-interface
63 The property below is dependent on 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
93 Usage: required for tdm interface
97 - fsl,tdm-internal-loopback
[all …]
/Linux-v5.4/sound/soc/meson/
DMakefile6 snd-soc-meson-axg-tdm-formatter-objs := axg-tdm-formatter.o
7 snd-soc-meson-axg-tdm-interface-objs := axg-tdm-interface.o
19 obj-$(CONFIG_SND_MESON_AXG_TDM_FORMATTER) += snd-soc-meson-axg-tdm-formatter.o
20 obj-$(CONFIG_SND_MESON_AXG_TDM_INTERFACE) += snd-soc-meson-axg-tdm-interface.o
/Linux-v5.4/arch/arm64/boot/dts/amlogic/
Dmeson-g12-common.dtsi23 compatible = "amlogic,axg-tdm-iface";
34 compatible = "amlogic,axg-tdm-iface";
45 compatible = "amlogic,axg-tdm-iface";
880 tdm_a_din0_pins: tdm-a-din0 {
889 tdm_a_din1_pins: tdm-a-din1 {
897 tdm_a_dout0_pins: tdm-a-dout0 {
906 tdm_a_dout1_pins: tdm-a-dout1 {
915 tdm_a_fs_pins: tdm-a-fs {
924 tdm_a_sclk_pins: tdm-a-sclk {
933 tdm_a_slv_fs_pins: tdm-a-slv-fs {
[all …]
Dmeson-g12b-khadas-vim3.dtsi83 dai-tdm-slot-tx-mask-0 = <1 1>;
84 dai-tdm-slot-tx-mask-1 = <1 1>;
85 dai-tdm-slot-tx-mask-2 = <1 1>;
86 dai-tdm-slot-tx-mask-3 = <1 1>;
Dmeson-g12a-sei510.dts250 dai-tdm-slot-tx-mask-0 = <1 1>;
266 dai-tdm-slot-tx-mask-0 = <1 1>;
267 dai-tdm-slot-tx-mask-1 = <1 1>;
268 dai-tdm-slot-tx-mask-2 = <1 1>;
269 dai-tdm-slot-tx-mask-3 = <1 1>;
/Linux-v5.4/Documentation/devicetree/bindings/arm/marvell/
Dcp110-system-controller.txt91 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), …
93 mpp2 2 gpio, dev(ad15), au(i2sextclk), ge0(rxd1), tdm(dtx), mss_uart(rxd), ptp(pclk_out), i2c1(sck)…
94 mpp3 3 gpio, dev(ad14), au(i2slrclk), ge0(rxd0), tdm(fsync), mss_uart(txd), pcie(rstoutn), i2c1(sda…
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),…
123 mpp32 32 gpio, mii(col), mii(txerr), mss_spi(miso), tdm(drx), au(i2sextclk), au(i2sdi), ge(mdio), s…
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…
126 mpp35 35 gpio, sata1(present_act), i2c1(sda), mss_spi(clk), tdm(pclk), au(i2sdo_spdifo), sdio(card_…
[all …]
/Linux-v5.4/sound/soc/qcom/qdsp6/
Dq6afe-dai.c186 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_set_tdm_slot() local
219 tdm->nslots_per_frame = slots; in q6tdm_set_tdm_slot()
220 tdm->slot_width = slot_width; in q6tdm_set_tdm_slot()
222 tdm->slot_mask = (dai->id & 0x1 ? tx_mask : rx_mask) & cap_mask; in q6tdm_set_tdm_slot()
239 struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; in q6tdm_set_channel_map() local
257 tdm->ch_mapping[i] = tx_slot[i]; in q6tdm_set_channel_map()
260 tdm->ch_mapping[i] = Q6AFE_CMAP_INVALID; in q6tdm_set_channel_map()
262 tdm->num_channels = tx_num; in q6tdm_set_channel_map()
276 tdm->ch_mapping[i] = rx_slot[i]; in q6tdm_set_channel_map()
279 tdm->ch_mapping[i] = Q6AFE_CMAP_INVALID; in q6tdm_set_channel_map()
[all …]
/Linux-v5.4/Documentation/devicetree/bindings/clock/
Dmvebu-gated-clock.txt23 25 tdm Time Division Mplx
48 25 tdm Time Division Mplx
77 25 tdm Time Division Multiplexing
117 25 tdm Time Division Mplx
173 20 tdm Time Division Mplx

123