Searched refs:pinfunc (Results 1 - 5 of 5) sorted by relevance

/linux-master/drivers/pinctrl/
H A Dpinctrl-at91-pio4.c72 #define ATMEL_GET_PIN_NO(pinfunc) ((pinfunc) & 0xff)
73 #define ATMEL_GET_PIN_FUNC(pinfunc) ((pinfunc >> 16) & 0xf)
74 #define ATMEL_GET_PIN_IOSET(pinfunc) ((pinfunc >> 20) & 0xf)
525 u32 pinfunc, const char **grp_name,
532 pin_id = ATMEL_GET_PIN_NO(pinfunc);
533 func_id = ATMEL_GET_PIN_FUNC(pinfunc);
546 atmel_pioctrl->pins[pin_id]->ioset = ATMEL_GET_PIN_IOSET(pinfunc);
523 atmel_pctl_xlate_pinfunc(struct pinctrl_dev *pctldev, struct device_node *np, u32 pinfunc, const char **grp_name, const char **func_name) argument
565 u32 pinfunc; local
[all...]
H A Dpinctrl-apple-gpio.c109 u32 pinfunc, pin, func; local
135 ret = of_property_read_u32_index(node, "pinmux", i, &pinfunc);
139 pin = APPLE_PIN(pinfunc);
140 func = APPLE_FUNC(pinfunc);
/linux-master/drivers/pinctrl/mediatek/
H A Dpinctrl-paris.c447 u32 pinfunc, pin, func; local
487 err = of_property_read_u32_index(node, "pinmux", i, &pinfunc);
491 pin = MTK_GET_PIN_NO(pinfunc);
492 func = MTK_GET_PIN_FUNC(pinfunc);
H A Dpinctrl-mtk-common.c529 u32 pinfunc, pin, func; local
576 i, &pinfunc);
580 pin = MTK_GET_PIN_NO(pinfunc);
581 func = MTK_GET_PIN_FUNC(pinfunc);
/linux-master/drivers/pinctrl/stm32/
H A Dpinctrl-stm32.c583 u32 pinfunc, pin, func; local
629 i, &pinfunc);
633 pin = STM32_GET_PIN_NO(pinfunc);
634 func = STM32_GET_PIN_FUNC(pinfunc);

Completed in 158 milliseconds