Symbol: RZG2L_PINS_PER_PORT
drivers/pinctrl/renesas/pinctrl-rzg2l.c
207
#define RZG2L_PIN_ID_TO_PORT(id) ((id) / RZG2L_PINS_PER_PORT)
drivers/pinctrl/renesas/pinctrl-rzg2l.c
208
#define RZG2L_PIN_ID_TO_PIN(id) ((id) % RZG2L_PINS_PER_PORT)
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3078
u32 nports = pctrl->data->n_port_pins / RZG2L_PINS_PER_PORT;
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3283
if (i && !(i % RZG2L_PINS_PER_PORT))
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3290
i % RZG2L_PINS_PER_PORT);
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3344
BUILD_BUG_ON(ARRAY_SIZE(r9a07g044_gpio_configs) * RZG2L_PINS_PER_PORT >
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3347
BUILD_BUG_ON(ARRAY_SIZE(r9a07g043_gpio_configs) * RZG2L_PINS_PER_PORT >
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3350
BUILD_BUG_ON(ARRAY_SIZE(r9a08g045_gpio_configs) * RZG2L_PINS_PER_PORT >
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3353
BUILD_BUG_ON(ARRAY_SIZE(r9a08g046_gpio_configs) * RZG2L_PINS_PER_PORT >
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3356
BUILD_BUG_ON(ARRAY_SIZE(r9a09g047_gpio_configs) * RZG2L_PINS_PER_PORT >
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3359
BUILD_BUG_ON(ARRAY_SIZE(r9a09g057_gpio_configs) * RZG2L_PINS_PER_PORT >
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3409
u32 nports = pctrl->data->n_port_pins / RZG2L_PINS_PER_PORT;
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3423
unsigned int pin = port * RZG2L_PINS_PER_PORT;
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3425
for (unsigned int i = 0; i < RZG2L_PINS_PER_PORT; i++)
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3600
u32 nports = pctrl->data->n_port_pins / RZG2L_PINS_PER_PORT;
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3872
.n_port_pins = ARRAY_SIZE(r9a07g043_gpio_configs) * RZG2L_PINS_PER_PORT,
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3891
.n_port_pins = ARRAY_SIZE(r9a07g044_gpio_configs) * RZG2L_PINS_PER_PORT,
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3907
.n_port_pins = ARRAY_SIZE(r9a08g045_gpio_configs) * RZG2L_PINS_PER_PORT,
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3924
.n_port_pins = ARRAY_SIZE(r9a08g046_gpio_configs) * RZG2L_PINS_PER_PORT,
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3941
.n_port_pins = ARRAY_SIZE(r9a09g047_gpio_configs) * RZG2L_PINS_PER_PORT,
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3963
.n_port_pins = ARRAY_SIZE(r9a09g057_gpio_configs) * RZG2L_PINS_PER_PORT,
drivers/pinctrl/renesas/pinctrl-rzg2l.c
3985
.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))