Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/pinctrl/
Dpinctrl-rockchip.c1370 int pins_per_reg; in px30_calc_schmitt_reg_and_bit() local
1375 pins_per_reg = PX30_SCHMITT_PINS_PER_PMU_REG; in px30_calc_schmitt_reg_and_bit()
1379 pins_per_reg = PX30_SCHMITT_PINS_PER_GRF_REG; in px30_calc_schmitt_reg_and_bit()
1383 *reg += ((pin_num / pins_per_reg) * 4); in px30_calc_schmitt_reg_and_bit()
1384 *bit = pin_num % pins_per_reg; in px30_calc_schmitt_reg_and_bit()
1460 int pins_per_reg; in rv1108_calc_schmitt_reg_and_bit() local
1465 pins_per_reg = RV1108_SCHMITT_PINS_PER_PMU_REG; in rv1108_calc_schmitt_reg_and_bit()
1469 pins_per_reg = RV1108_SCHMITT_PINS_PER_GRF_REG; in rv1108_calc_schmitt_reg_and_bit()
1472 *reg += ((pin_num / pins_per_reg) * 4); in rv1108_calc_schmitt_reg_and_bit()
1473 *bit = pin_num % pins_per_reg; in rv1108_calc_schmitt_reg_and_bit()