Lines Matching refs:bit_off
130 int bit_off, reg_off; in dc_set_mux() local
133 dc_client_sel(group, ®_off, &bit_off); in dc_set_mux()
136 reg &= ~(3 << bit_off); in dc_set_mux()
137 reg |= (selector << bit_off); in dc_set_mux()
148 int bit_off, reg_off; in dc_pmx_request_gpio() local
151 dc_client_sel(offset, ®_off, &bit_off); in dc_pmx_request_gpio()
154 if ((reg & (3 << bit_off)) != 0) in dc_pmx_request_gpio()
172 int bit_off = gpio % PINS_PER_COLLECTION; in dc_gpio_direction_input() local
178 drive &= ~BIT(bit_off); in dc_gpio_direction_input()
192 int bit_off = gpio % PINS_PER_COLLECTION; in dc_gpio_direction_output() local
200 drive |= BIT(bit_off); in dc_gpio_direction_output()
211 int bit_off = gpio % PINS_PER_COLLECTION; in dc_gpio_get() local
216 return !!(input & BIT(bit_off)); in dc_gpio_get()
223 int bit_off = gpio % PINS_PER_COLLECTION; in dc_gpio_set() local
230 output |= BIT(bit_off); in dc_gpio_set()
232 output &= ~BIT(bit_off); in dc_gpio_set()