/kernel/linux/linux-5.10/drivers/pinctrl/ |
H A D | pinctrl-at91-pio4.c | 67 #define ATMEL_GET_PIN_NO(pinfunc) ((pinfunc) & 0xff) 68 #define ATMEL_GET_PIN_FUNC(pinfunc) ((pinfunc >> 16) & 0xf) 69 #define ATMEL_GET_PIN_IOSET(pinfunc) ((pinfunc >> 20) & 0xf) 511 u32 pinfunc, const char **grp_name, in atmel_pctl_xlate_pinfunc() 518 pin_id = ATMEL_GET_PIN_NO(pinfunc); in atmel_pctl_xlate_pinfunc() 519 func_id = ATMEL_GET_PIN_FUNC(pinfunc); in atmel_pctl_xlate_pinfunc() 532 atmel_pioctrl->pins[pin_id]->ioset = ATMEL_GET_PIN_IOSET(pinfunc); in atmel_pctl_xlate_pinfunc() 509 atmel_pctl_xlate_pinfunc(struct pinctrl_dev *pctldev, struct device_node *np, u32 pinfunc, const char **grp_name, const char **func_name) atmel_pctl_xlate_pinfunc() argument 551 u32 pinfunc; atmel_pctl_dt_subnode_to_map() local [all...] |
/kernel/linux/linux-6.6/drivers/pinctrl/ |
H A D | pinctrl-at91-pio4.c | 72 #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, in atmel_pctl_xlate_pinfunc() 532 pin_id = ATMEL_GET_PIN_NO(pinfunc); in atmel_pctl_xlate_pinfunc() 533 func_id = ATMEL_GET_PIN_FUNC(pinfunc); in atmel_pctl_xlate_pinfunc() 546 atmel_pioctrl->pins[pin_id]->ioset = ATMEL_GET_PIN_IOSET(pinfunc); in atmel_pctl_xlate_pinfunc() 523 atmel_pctl_xlate_pinfunc(struct pinctrl_dev *pctldev, struct device_node *np, u32 pinfunc, const char **grp_name, const char **func_name) atmel_pctl_xlate_pinfunc() argument 565 u32 pinfunc; atmel_pctl_dt_subnode_to_map() local [all...] |
H A D | pinctrl-apple-gpio.c | 109 u32 pinfunc, pin, func; in apple_gpio_dt_node_to_map() local 135 ret = of_property_read_u32_index(node, "pinmux", i, &pinfunc); in apple_gpio_dt_node_to_map() 139 pin = APPLE_PIN(pinfunc); in apple_gpio_dt_node_to_map() 140 func = APPLE_FUNC(pinfunc); in apple_gpio_dt_node_to_map()
|
/kernel/linux/linux-5.10/drivers/pinctrl/mediatek/ |
H A D | pinctrl-paris.c | 395 u32 pinfunc, pin, func; in mtk_pctrl_dt_subnode_to_map() local 435 err = of_property_read_u32_index(node, "pinmux", i, &pinfunc); in mtk_pctrl_dt_subnode_to_map() 439 pin = MTK_GET_PIN_NO(pinfunc); in mtk_pctrl_dt_subnode_to_map() 440 func = MTK_GET_PIN_FUNC(pinfunc); in mtk_pctrl_dt_subnode_to_map()
|
H A D | pinctrl-mtk-common.c | 497 u32 pinfunc, pin, func; in mtk_pctrl_dt_subnode_to_map() local 544 i, &pinfunc); in mtk_pctrl_dt_subnode_to_map() 548 pin = MTK_GET_PIN_NO(pinfunc); in mtk_pctrl_dt_subnode_to_map() 549 func = MTK_GET_PIN_FUNC(pinfunc); in mtk_pctrl_dt_subnode_to_map()
|
/kernel/linux/linux-6.6/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mtk-common.c | 529 u32 pinfunc, pin, func; in mtk_pctrl_dt_subnode_to_map() local 576 i, &pinfunc); in mtk_pctrl_dt_subnode_to_map() 580 pin = MTK_GET_PIN_NO(pinfunc); in mtk_pctrl_dt_subnode_to_map() 581 func = MTK_GET_PIN_FUNC(pinfunc); in mtk_pctrl_dt_subnode_to_map()
|
H A D | pinctrl-paris.c | 461 u32 pinfunc, pin, func; in mtk_pctrl_dt_subnode_to_map() local 501 err = of_property_read_u32_index(node, "pinmux", i, &pinfunc); in mtk_pctrl_dt_subnode_to_map() 505 pin = MTK_GET_PIN_NO(pinfunc); in mtk_pctrl_dt_subnode_to_map() 506 func = MTK_GET_PIN_FUNC(pinfunc); in mtk_pctrl_dt_subnode_to_map()
|
/kernel/linux/linux-5.10/drivers/pinctrl/stm32/ |
H A D | pinctrl-stm32.c | 588 u32 pinfunc, pin, func; in stm32_pctrl_dt_subnode_to_map() local 634 i, &pinfunc); in stm32_pctrl_dt_subnode_to_map() 638 pin = STM32_GET_PIN_NO(pinfunc); in stm32_pctrl_dt_subnode_to_map() 639 func = STM32_GET_PIN_FUNC(pinfunc); in stm32_pctrl_dt_subnode_to_map()
|
/kernel/linux/linux-6.6/drivers/pinctrl/stm32/ |
H A D | pinctrl-stm32.c | 594 u32 pinfunc, pin, func; in stm32_pctrl_dt_subnode_to_map() local 640 i, &pinfunc); in stm32_pctrl_dt_subnode_to_map() 644 pin = STM32_GET_PIN_NO(pinfunc); in stm32_pctrl_dt_subnode_to_map() 645 func = STM32_GET_PIN_FUNC(pinfunc); in stm32_pctrl_dt_subnode_to_map()
|