Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-rockchip.c1535 #define RV1126_DRV_PINS_PER_REG 4 macro
1549 *reg -= (((31 - pin_num) / RV1126_DRV_PINS_PER_REG + 1) * 4); in rv1126_calc_drv_reg_and_bit()
1551 *bit = pin_num % RV1126_DRV_PINS_PER_REG; in rv1126_calc_drv_reg_and_bit()
1563 *reg += ((pin_num / RV1126_DRV_PINS_PER_REG) * 4); in rv1126_calc_drv_reg_and_bit()
1564 *bit = pin_num % RV1126_DRV_PINS_PER_REG; in rv1126_calc_drv_reg_and_bit()