Home
last modified time | relevance | path

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

/linux-6.12.1/include/dt-bindings/pinctrl/
Drzg2l-pinctrl.h12 #define RZG2L_PINS_PER_PORT 8 macro
18 #define RZG2L_PORT_PINMUX(b, p, f) ((b) * RZG2L_PINS_PER_PORT + (p) | ((f) << 16))
21 #define RZG2L_GPIO(port, pin) ((port) * RZG2L_PINS_PER_PORT + (pin))
/linux-6.12.1/drivers/pinctrl/renesas/
Dpinctrl-rzg2l.c167 #define RZG2L_PIN_ID_TO_PORT(id) ((id) / RZG2L_PINS_PER_PORT)
168 #define RZG2L_PIN_ID_TO_PIN(id) ((id) % RZG2L_PINS_PER_PORT)
2502 u32 nports = pctrl->data->n_port_pins / RZG2L_PINS_PER_PORT; in rzg2l_pinctrl_reg_cache_alloc()
2666 if (i && !(i % RZG2L_PINS_PER_PORT)) in rzg2l_pinctrl_register()
2673 i % RZG2L_PINS_PER_PORT); in rzg2l_pinctrl_register()
2727 BUILD_BUG_ON(ARRAY_SIZE(r9a07g044_gpio_configs) * RZG2L_PINS_PER_PORT > in rzg2l_pinctrl_probe()
2730 BUILD_BUG_ON(ARRAY_SIZE(r9a07g043_gpio_configs) * RZG2L_PINS_PER_PORT > in rzg2l_pinctrl_probe()
2733 BUILD_BUG_ON(ARRAY_SIZE(r9a08g045_gpio_configs) * RZG2L_PINS_PER_PORT > in rzg2l_pinctrl_probe()
2736 BUILD_BUG_ON(ARRAY_SIZE(r9a09g057_gpio_configs) * RZG2L_PINS_PER_PORT > in rzg2l_pinctrl_probe()
2776 u32 nports = pctrl->data->n_port_pins / RZG2L_PINS_PER_PORT; in rzg2l_pinctrl_pm_setup_regs()
[all …]