Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/drivers/pinctrl/renesas/
Dpinctrl-rzg2l.c111 #define RZG2L_PIN_ID_TO_PORT(id) ((id) / RZG2L_PINS_PER_PORT)
113 #define RZG2L_PIN_ID_TO_PIN(id) ((id) % RZG2L_PINS_PER_PORT)
1189 if (i && !(i % RZG2L_PINS_PER_PORT)) in rzg2l_pinctrl_register()
1288 .n_port_pins = ARRAY_SIZE(r9a07g043_gpio_configs) * RZG2L_PINS_PER_PORT,