Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/pinctrl/
Dpinctrl-falcon.c49 #define PORT_PIN(x) (x % PINS) macro
251 !!pad_getbit(mem, LTQ_PADC_DCC, PORT_PIN(pin))); in falcon_pinconf_get()
256 !!pad_getbit(mem, LTQ_PADC_SRC, PORT_PIN(pin))); in falcon_pinconf_get()
260 if (pad_getbit(mem, LTQ_PADC_PDEN, PORT_PIN(pin))) in falcon_pinconf_get()
262 else if (pad_getbit(mem, LTQ_PADC_PUEN, PORT_PIN(pin))) in falcon_pinconf_get()
313 pad_w32(mem, BIT(PORT_PIN(pin)), reg); in falcon_pinconf_set()
314 if (!(pad_r32(mem, reg) & BIT(PORT_PIN(pin)))) in falcon_pinconf_set()
331 pad_r32(info->membase[port], LTQ_PADC_MUX(PORT_PIN(offset)))); in falcon_pinconf_dbg_show()
387 LTQ_PADC_MUX(PORT_PIN(info->mfp[mfp].pin))); in falcon_mux_apply()
Dpinctrl-xway.c29 #define PORT_PIN(x) (x % PINS) macro
1349 !gpio_getbit(info->membase[0], reg, PORT_PIN(pin))); in xway_pinconf_get()
1357 if (!gpio_getbit(info->membase[0], reg, PORT_PIN(pin))) { in xway_pinconf_get()
1366 if (!gpio_getbit(info->membase[0], reg, PORT_PIN(pin))) in xway_pinconf_get()
1375 gpio_getbit(info->membase[0], reg, PORT_PIN(pin))); in xway_pinconf_get()
1409 PORT_PIN(pin)); in xway_pinconf_set()
1413 PORT_PIN(pin)); in xway_pinconf_set()
1424 PORT_PIN(pin)); in xway_pinconf_set()
1427 gpio_setbit(info->membase[0], reg, PORT_PIN(pin)); in xway_pinconf_set()
1436 PORT_PIN(pin)); in xway_pinconf_set()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/pinctrl/
Dfsl,imx27-pinctrl.txt13 configurable pins each. PIN is PORT * 32 + PORT_PIN, PORT_PIN is the pin