Home
last modified time | relevance | path

Searched refs:clock_bits (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/soc/fsl/qe/
Ducc.c124 u32 clock_bits = 0; in ucc_set_qe_mux_rxtx() local
139 case QE_BRG1: clock_bits = 1; break; in ucc_set_qe_mux_rxtx()
140 case QE_BRG2: clock_bits = 2; break; in ucc_set_qe_mux_rxtx()
141 case QE_BRG7: clock_bits = 3; break; in ucc_set_qe_mux_rxtx()
142 case QE_BRG8: clock_bits = 4; break; in ucc_set_qe_mux_rxtx()
143 case QE_CLK9: clock_bits = 5; break; in ucc_set_qe_mux_rxtx()
144 case QE_CLK10: clock_bits = 6; break; in ucc_set_qe_mux_rxtx()
145 case QE_CLK11: clock_bits = 7; break; in ucc_set_qe_mux_rxtx()
146 case QE_CLK12: clock_bits = 8; break; in ucc_set_qe_mux_rxtx()
147 case QE_CLK15: clock_bits = 9; break; in ucc_set_qe_mux_rxtx()
[all …]
/kernel/linux/linux-5.10/sound/pci/echoaudio/
Dlayla20_dsp.c82 u32 clocks_from_dsp, clock_bits; in detect_input_clocks() local
87 clock_bits = ECHO_CLOCK_BIT_INTERNAL; in detect_input_clocks()
90 clock_bits |= ECHO_CLOCK_BIT_SPDIF; in detect_input_clocks()
94 clock_bits |= ECHO_CLOCK_BIT_SUPER; in detect_input_clocks()
96 clock_bits |= ECHO_CLOCK_BIT_WORD; in detect_input_clocks()
99 return clock_bits; in detect_input_clocks()
Ddarla24_dsp.c73 u32 clocks_from_dsp, clock_bits; in detect_input_clocks() local
79 clock_bits = ECHO_CLOCK_BIT_INTERNAL; in detect_input_clocks()
82 clock_bits |= ECHO_CLOCK_BIT_ESYNC; in detect_input_clocks()
84 return clock_bits; in detect_input_clocks()
Dgina24_dsp.c98 u32 clocks_from_dsp, clock_bits; in detect_input_clocks() local
104 clock_bits = ECHO_CLOCK_BIT_INTERNAL; in detect_input_clocks()
107 clock_bits |= ECHO_CLOCK_BIT_SPDIF; in detect_input_clocks()
110 clock_bits |= ECHO_CLOCK_BIT_ADAT; in detect_input_clocks()
113 clock_bits |= ECHO_CLOCK_BIT_ESYNC | ECHO_CLOCK_BIT_ESYNC96; in detect_input_clocks()
115 return clock_bits; in detect_input_clocks()
Dlayla24_dsp.c89 u32 clocks_from_dsp, clock_bits; in detect_input_clocks() local
94 clock_bits = ECHO_CLOCK_BIT_INTERNAL; in detect_input_clocks()
97 clock_bits |= ECHO_CLOCK_BIT_SPDIF; in detect_input_clocks()
100 clock_bits |= ECHO_CLOCK_BIT_ADAT; in detect_input_clocks()
103 clock_bits |= ECHO_CLOCK_BIT_WORD; in detect_input_clocks()
105 return clock_bits; in detect_input_clocks()
Dgina20_dsp.c80 u32 clocks_from_dsp, clock_bits; in detect_input_clocks() local
86 clock_bits = ECHO_CLOCK_BIT_INTERNAL; in detect_input_clocks()
89 clock_bits |= ECHO_CLOCK_BIT_SPDIF; in detect_input_clocks()
91 return clock_bits; in detect_input_clocks()
Dmia_dsp.c83 u32 clocks_from_dsp, clock_bits; in detect_input_clocks() local
89 clock_bits = ECHO_CLOCK_BIT_INTERNAL; in detect_input_clocks()
92 clock_bits |= ECHO_CLOCK_BIT_SPDIF; in detect_input_clocks()
94 return clock_bits; in detect_input_clocks()
Dmona_dsp.c91 u32 clocks_from_dsp, clock_bits; in detect_input_clocks() local
97 clock_bits = ECHO_CLOCK_BIT_INTERNAL; in detect_input_clocks()
100 clock_bits |= ECHO_CLOCK_BIT_SPDIF; in detect_input_clocks()
103 clock_bits |= ECHO_CLOCK_BIT_ADAT; in detect_input_clocks()
106 clock_bits |= ECHO_CLOCK_BIT_WORD; in detect_input_clocks()
108 return clock_bits; in detect_input_clocks()
Dechoaudio_3g.c195 u32 clocks_from_dsp, clock_bits; in detect_input_clocks() local
201 clock_bits = ECHO_CLOCK_BIT_INTERNAL; in detect_input_clocks()
204 clock_bits |= ECHO_CLOCK_BIT_WORD; in detect_input_clocks()
210 clock_bits |= ECHO_CLOCK_BIT_SPDIF; in detect_input_clocks()
214 clock_bits |= ECHO_CLOCK_BIT_ADAT; in detect_input_clocks()
218 return clock_bits; in detect_input_clocks()
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
Dintel_i2c.c47 u32 reserved = 0, clock_bits; in set_clock() local
55 clock_bits = GPIO_CLOCK_DIR_IN | GPIO_CLOCK_DIR_MASK; in set_clock()
57 clock_bits = GPIO_CLOCK_DIR_OUT | GPIO_CLOCK_DIR_MASK | in set_clock()
59 REG_WRITE(chan->reg, reserved | clock_bits); in set_clock()
Dintel_gmbus.c141 u32 clock_bits; in set_clock() local
144 clock_bits = GPIO_CLOCK_DIR_IN | GPIO_CLOCK_DIR_MASK; in set_clock()
146 clock_bits = GPIO_CLOCK_DIR_OUT | GPIO_CLOCK_DIR_MASK | in set_clock()
149 GMBUS_REG_WRITE(gpio->reg, reserved | clock_bits); in set_clock()
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
Dimx8m_vpu_hw.c44 static void imx8m_clk_enable(struct hantro_dev *vpu, u32 clock_bits) in imx8m_clk_enable() argument
49 val |= clock_bits; in imx8m_clk_enable()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_gmbus.c239 u32 clock_bits; in set_clock() local
242 clock_bits = GPIO_CLOCK_DIR_IN | GPIO_CLOCK_DIR_MASK; in set_clock()
244 clock_bits = GPIO_CLOCK_DIR_OUT | GPIO_CLOCK_DIR_MASK | in set_clock()
249 reserved | clock_bits); in set_clock()