Lines Matching refs:bank_shift
228 uint8_t bank_shift; in do_tca642x() local
278 bank_shift = ul_arg2 - (gpio_bank * 10); in do_tca642x()
279 ret = tca642x_set_dir(chip, gpio_bank, (1 << bank_shift), in do_tca642x()
280 TCA642X_DIR_IN << bank_shift); in do_tca642x()
282 (1 << bank_shift)) != 0; in do_tca642x()
292 bank_shift = ul_arg2 - (gpio_bank * 10); in do_tca642x()
293 ret = tca642x_set_dir(chip, gpio_bank, (1 << bank_shift), in do_tca642x()
294 (TCA642X_DIR_OUT << bank_shift)); in do_tca642x()
297 gpio_bank, (1 << bank_shift), in do_tca642x()
298 (ul_arg3 << bank_shift)); in do_tca642x()
304 bank_shift = ul_arg2 - (gpio_bank * 10); in do_tca642x()
305 ret = tca642x_set_pol(chip, gpio_bank, (1 << bank_shift), in do_tca642x()
306 (ul_arg3 << bank_shift)); in do_tca642x()