Symbol: RZG2L_PINS_PER_PORT
drivers/pinctrl/renesas/pinctrl-rzg2l.c
171
#define RZG2L_PIN_ID_TO_PORT(id) ((id) / RZG2L_PINS_PER_PORT)
drivers/pinctrl/renesas/pinctrl-rzg2l.c
172
#define RZG2L_PIN_ID_TO_PIN(id) ((id) % RZG2L_PINS_PER_PORT)
drivers/pinctrl/renesas/pinctrl-rzg2l.c
2714
u32 nports = pctrl->data->n_port_pins / RZG2L_PINS_PER_PORT;
drivers/pinctrl/renesas/pinctrl-rzg2l.c
2889
if (i && !(i % RZG2L_PINS_PER_PORT))
drivers/pinctrl/renesas/pinctrl-rzg2l.c
2896
i % RZG2L_PINS_PER_PORT);
drivers/pinctrl/renesas/pinctrl-rzg2l.c
2950
BUILD_BUG_ON(ARRAY_SIZE(r9a07g044_gpio_configs) * RZG2L_PINS_PER_PORT >
drivers/pinctrl/renesas/pinctrl-rzg2l.c
2953
BUILD_BUG_ON(ARRAY_SIZE(r9a07g043_gpio_configs) * RZG2L_PINS_PER_PORT >
drivers/pinctrl/renesas/pinctrl-rzg2l.c
2956
BUILD_BUG_ON(ARRAY_SIZE(r9a08g045_gpio_configs) * RZG2L_PINS_PER_PORT >
drivers/pinctrl/renesas/pinctrl-rzg2l.c
2959
BUILD_BUG_ON(ARRAY_SIZE(r9a09g047_gpio_configs) * RZG2L_PINS_PER_PORT >
drivers/pinctrl/renesas/pinctrl-rzg2l.c
2962
BUILD_BUG_ON(ARRAY_SIZE(r9a09g057_gpio_configs) * RZG2L_PINS_PER_PORT >
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3002
u32 nports = pctrl->data->n_port_pins / RZG2L_PINS_PER_PORT;
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3129
u32 nports = pctrl->data->n_port_pins / RZG2L_PINS_PER_PORT;
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3346
.n_port_pins = ARRAY_SIZE(r9a07g043_gpio_configs) * RZG2L_PINS_PER_PORT,
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3365
.n_port_pins = ARRAY_SIZE(r9a07g044_gpio_configs) * RZG2L_PINS_PER_PORT,
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3381
.n_port_pins = ARRAY_SIZE(r9a08g045_gpio_configs) * RZG2L_PINS_PER_PORT,
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3396
.n_port_pins = ARRAY_SIZE(r9a09g047_gpio_configs) * RZG2L_PINS_PER_PORT,
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3418
.n_port_pins = ARRAY_SIZE(r9a09g057_gpio_configs) * RZG2L_PINS_PER_PORT,
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3440
.n_port_pins = ARRAY_SIZE(r9a09g057_gpio_configs) * RZG2L_PINS_PER_PORT,
include/dt-bindings/pinctrl/rzg2l-pinctrl.h
18
#define RZG2L_PORT_PINMUX(b, p, f) ((b) * RZG2L_PINS_PER_PORT + (p) | ((f) << 16))
include/dt-bindings/pinctrl/rzg2l-pinctrl.h
21
#define RZG2L_GPIO(port, pin) ((port) * RZG2L_PINS_PER_PORT + (pin))
scripts/dtc/include-prefixes/dt-bindings/pinctrl/rzg2l-pinctrl.h
18
#define RZG2L_PORT_PINMUX(b, p, f) ((b) * RZG2L_PINS_PER_PORT + (p) | ((f) << 16))
scripts/dtc/include-prefixes/dt-bindings/pinctrl/rzg2l-pinctrl.h
21
#define RZG2L_GPIO(port, pin) ((port) * RZG2L_PINS_PER_PORT + (pin))