Home
last modified time | relevance | path

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

/openbmc/linux/drivers/soc/fsl/qe/
H A Ducc.c203 if (!clock_bits) in ucc_set_qe_mux_rxtx()
232 clock_bits = 1; in ucc_get_tdm_common_clk()
235 clock_bits = 2; in ucc_get_tdm_common_clk()
238 clock_bits = 4; in ucc_get_tdm_common_clk()
241 clock_bits = 5; in ucc_get_tdm_common_clk()
253 clock_bits = 1; in ucc_get_tdm_common_clk()
256 clock_bits = 2; in ucc_get_tdm_common_clk()
259 clock_bits = 4; in ucc_get_tdm_common_clk()
262 clock_bits = 5; in ucc_get_tdm_common_clk()
491 int clock_bits; in ucc_get_tdm_rxtx_clk() local
[all …]
/openbmc/linux/sound/pci/echoaudio/
H A Dlayla20_dsp.c84 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()
96 clock_bits |= ECHO_CLOCK_BIT_SUPER; in detect_input_clocks()
98 clock_bits |= ECHO_CLOCK_BIT_WORD; in detect_input_clocks()
101 return clock_bits; in detect_input_clocks()
H A Ddarla24_dsp.c75 u32 clocks_from_dsp, clock_bits; in detect_input_clocks() local
81 clock_bits = ECHO_CLOCK_BIT_INTERNAL; in detect_input_clocks()
84 clock_bits |= ECHO_CLOCK_BIT_ESYNC; in detect_input_clocks()
86 return clock_bits; in detect_input_clocks()
H A Dgina24_dsp.c100 u32 clocks_from_dsp, clock_bits; in detect_input_clocks() local
106 clock_bits = ECHO_CLOCK_BIT_INTERNAL; in detect_input_clocks()
109 clock_bits |= ECHO_CLOCK_BIT_SPDIF; in detect_input_clocks()
112 clock_bits |= ECHO_CLOCK_BIT_ADAT; in detect_input_clocks()
115 clock_bits |= ECHO_CLOCK_BIT_ESYNC | ECHO_CLOCK_BIT_ESYNC96; in detect_input_clocks()
117 return clock_bits; in detect_input_clocks()
H A Dgina20_dsp.c82 u32 clocks_from_dsp, clock_bits; in detect_input_clocks() local
88 clock_bits = ECHO_CLOCK_BIT_INTERNAL; in detect_input_clocks()
91 clock_bits |= ECHO_CLOCK_BIT_SPDIF; in detect_input_clocks()
93 return clock_bits; in detect_input_clocks()
H A Dlayla24_dsp.c92 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()
H A Dmia_dsp.c85 u32 clocks_from_dsp, clock_bits; in detect_input_clocks() local
91 clock_bits = ECHO_CLOCK_BIT_INTERNAL; in detect_input_clocks()
94 clock_bits |= ECHO_CLOCK_BIT_SPDIF; in detect_input_clocks()
96 return clock_bits; in detect_input_clocks()
H A Dmona_dsp.c93 u32 clocks_from_dsp, clock_bits; in detect_input_clocks() local
99 clock_bits = ECHO_CLOCK_BIT_INTERNAL; in detect_input_clocks()
102 clock_bits |= ECHO_CLOCK_BIT_SPDIF; in detect_input_clocks()
105 clock_bits |= ECHO_CLOCK_BIT_ADAT; in detect_input_clocks()
108 clock_bits |= ECHO_CLOCK_BIT_WORD; in detect_input_clocks()
110 return clock_bits; in detect_input_clocks()
H A 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()
/openbmc/linux/drivers/gpu/drm/gma500/
H A 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()
H A 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()
/openbmc/linux/drivers/media/platform/verisilicon/
H A Dimx8m_vpu_hw.c45 static void imx8m_clk_enable(struct hantro_dev *vpu, u32 clock_bits) in imx8m_clk_enable() argument
50 val |= clock_bits; in imx8m_clk_enable()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_gmbus.c279 u32 clock_bits; in set_clock() local
282 clock_bits = GPIO_CLOCK_DIR_IN | GPIO_CLOCK_DIR_MASK; in set_clock()
284 clock_bits = GPIO_CLOCK_DIR_OUT | GPIO_CLOCK_DIR_MASK | in set_clock()
287 intel_de_write_notrace(i915, bus->gpio_reg, reserved | clock_bits); in set_clock()