Searched refs:drv_num (Results 1 – 2 of 2) sorted by relevance
91 int drv_num = (pin_num / 8); in rk3399_calc_drv_reg_and_bit() local99 *reg = bank->drv[drv_num].offset; in rk3399_calc_drv_reg_and_bit()100 if (bank->drv[drv_num].drv_type == DRV_TYPE_IO_1V8_3V0_AUTO || in rk3399_calc_drv_reg_and_bit()101 bank->drv[drv_num].drv_type == DRV_TYPE_IO_3V3_ONLY) in rk3399_calc_drv_reg_and_bit()
1957 int drv_num = (pin_num / 8); in rk3399_calc_drv_reg_and_bit() local1965 *reg = bank->drv[drv_num].offset; in rk3399_calc_drv_reg_and_bit()1966 if ((bank->drv[drv_num].drv_type == DRV_TYPE_IO_1V8_3V0_AUTO) || in rk3399_calc_drv_reg_and_bit()1967 (bank->drv[drv_num].drv_type == DRV_TYPE_IO_3V3_ONLY)) in rk3399_calc_drv_reg_and_bit()