Home
last modified time | relevance | path

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

/linux-4.4.14/arch/powerpc/sysdev/qe_lib/
Ducc.c123 u32 clock_bits = 0; in ucc_set_qe_mux_rxtx() local
138 case QE_BRG1: clock_bits = 1; break; in ucc_set_qe_mux_rxtx()
139 case QE_BRG2: clock_bits = 2; break; in ucc_set_qe_mux_rxtx()
140 case QE_BRG7: clock_bits = 3; break; in ucc_set_qe_mux_rxtx()
141 case QE_BRG8: clock_bits = 4; break; in ucc_set_qe_mux_rxtx()
142 case QE_CLK9: clock_bits = 5; break; in ucc_set_qe_mux_rxtx()
143 case QE_CLK10: clock_bits = 6; break; in ucc_set_qe_mux_rxtx()
144 case QE_CLK11: clock_bits = 7; break; in ucc_set_qe_mux_rxtx()
145 case QE_CLK12: clock_bits = 8; break; in ucc_set_qe_mux_rxtx()
146 case QE_CLK15: clock_bits = 9; break; in ucc_set_qe_mux_rxtx()
[all …]
/linux-4.4.14/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.c193 u32 clocks_from_dsp, clock_bits; in detect_input_clocks() local
199 clock_bits = ECHO_CLOCK_BIT_INTERNAL; in detect_input_clocks()
202 clock_bits |= ECHO_CLOCK_BIT_WORD; in detect_input_clocks()
208 clock_bits |= ECHO_CLOCK_BIT_SPDIF; in detect_input_clocks()
212 clock_bits |= ECHO_CLOCK_BIT_ADAT; in detect_input_clocks()
216 return clock_bits; in detect_input_clocks()
/linux-4.4.14/drivers/gpu/drm/gma500/
Dintel_i2c.c57 u32 reserved = 0, clock_bits; in set_clock() local
65 clock_bits = GPIO_CLOCK_DIR_IN | GPIO_CLOCK_DIR_MASK; in set_clock()
67 clock_bits = GPIO_CLOCK_DIR_OUT | GPIO_CLOCK_DIR_MASK | in set_clock()
69 REG_WRITE(chan->reg, reserved | clock_bits); in set_clock()
Dintel_gmbus.c140 u32 clock_bits; in set_clock() local
143 clock_bits = GPIO_CLOCK_DIR_IN | GPIO_CLOCK_DIR_MASK; in set_clock()
145 clock_bits = GPIO_CLOCK_DIR_OUT | GPIO_CLOCK_DIR_MASK | in set_clock()
148 GMBUS_REG_WRITE(gpio->reg, reserved | clock_bits); in set_clock()
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_i2c.c177 u32 clock_bits; in set_clock() local
180 clock_bits = GPIO_CLOCK_DIR_IN | GPIO_CLOCK_DIR_MASK; in set_clock()
182 clock_bits = GPIO_CLOCK_DIR_OUT | GPIO_CLOCK_DIR_MASK | in set_clock()
185 I915_WRITE_NOTRACE(bus->gpio_reg, reserved | clock_bits); in set_clock()