Home
last modified time | relevance | path

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

/linux/drivers/pinctrl/
H A Dpinctrl-rockchip.c1413 int pins_per_reg; in px30_calc_schmitt_reg_and_bit() local
1418 pins_per_reg = PX30_SCHMITT_PINS_PER_PMU_REG; in px30_calc_schmitt_reg_and_bit()
1422 pins_per_reg = PX30_SCHMITT_PINS_PER_GRF_REG; in px30_calc_schmitt_reg_and_bit()
1426 *reg += ((pin_num / pins_per_reg) * 4); in px30_calc_schmitt_reg_and_bit()
1427 *bit = pin_num % pins_per_reg; in px30_calc_schmitt_reg_and_bit()
1507 int pins_per_reg; in rv1108_calc_schmitt_reg_and_bit() local
1512 pins_per_reg = RV1108_SCHMITT_PINS_PER_PMU_REG; in rv1108_calc_schmitt_reg_and_bit()
1516 pins_per_reg = RV1108_SCHMITT_PINS_PER_GRF_REG; in rv1108_calc_schmitt_reg_and_bit()
1519 *reg += ((pin_num / pins_per_reg) * 4); in rv1108_calc_schmitt_reg_and_bit()
1520 *bit = pin_num % pins_per_reg; in rv1108_calc_schmitt_reg_and_bit()
[all …]