/openbmc/linux/drivers/soc/fsl/qe/ |
H A D | ucc.c | 124 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 …]
|
/openbmc/linux/sound/pci/echoaudio/ |
H A D | layla20_dsp.c | 84 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 D | darla24_dsp.c | 75 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 D | gina24_dsp.c | 100 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 D | layla24_dsp.c | 92 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 D | gina20_dsp.c | 82 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 D | mona_dsp.c | 93 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 D | mia_dsp.c | 85 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 D | echoaudio_3g.c | 195 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 D | intel_i2c.c | 47 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 D | intel_gmbus.c | 141 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 D | imx8m_vpu_hw.c | 45 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 D | intel_gmbus.c | 279 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()
|