Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-rockchip.c1496 #define RV1126_PULL_PINS_PER_REG 8 macro
1512 *reg -= (((31 - pin_num) / RV1126_PULL_PINS_PER_REG + 1) * 4); in rv1126_calc_pull_reg_and_bit()
1513 *bit = pin_num % RV1126_PULL_PINS_PER_REG; in rv1126_calc_pull_reg_and_bit()
1525 *reg += ((pin_num / RV1126_PULL_PINS_PER_REG) * 4); in rv1126_calc_pull_reg_and_bit()
1526 *bit = (pin_num % RV1126_PULL_PINS_PER_REG); in rv1126_calc_pull_reg_and_bit()