Searched refs:pinfunc (Results 1 – 5 of 5) sorted by relevance
| /drivers/pinctrl/ |
| A D | pinctrl-at91-pio4.c | 72 #define ATMEL_GET_PIN_NO(pinfunc) ((pinfunc) & 0xff) argument 73 #define ATMEL_GET_PIN_FUNC(pinfunc) ((pinfunc >> 16) & 0xf) argument 74 #define ATMEL_GET_PIN_IOSET(pinfunc) ((pinfunc >> 20) & 0xf) argument 529 u32 pinfunc, const char **grp_name, in atmel_pctl_xlate_pinfunc() argument 536 pin_id = ATMEL_GET_PIN_NO(pinfunc); in atmel_pctl_xlate_pinfunc() 537 func_id = ATMEL_GET_PIN_FUNC(pinfunc); in atmel_pctl_xlate_pinfunc() 550 atmel_pioctrl->pins[pin_id]->ioset = ATMEL_GET_PIN_IOSET(pinfunc); in atmel_pctl_xlate_pinfunc() 569 u32 pinfunc; in atmel_pctl_dt_subnode_to_map() local 607 ret = of_property_read_u32_index(np, "pinmux", i, &pinfunc); in atmel_pctl_dt_subnode_to_map() 611 ret = atmel_pctl_xlate_pinfunc(pctldev, np, pinfunc, &group, in atmel_pctl_dt_subnode_to_map()
|
| 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()
|
| /drivers/pinctrl/mediatek/ |
| A D | pinctrl-paris.c | 447 u32 pinfunc, pin, func; in mtk_pctrl_dt_subnode_to_map() local 487 err = of_property_read_u32_index(node, "pinmux", i, &pinfunc); in mtk_pctrl_dt_subnode_to_map() 491 pin = MTK_GET_PIN_NO(pinfunc); in mtk_pctrl_dt_subnode_to_map() 492 func = MTK_GET_PIN_FUNC(pinfunc); in mtk_pctrl_dt_subnode_to_map()
|
| 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()
|
| /drivers/pinctrl/stm32/ |
| A D | pinctrl-stm32.c | 713 u32 pinfunc, pin, func; in stm32_pctrl_dt_subnode_to_map() local 759 i, &pinfunc); in stm32_pctrl_dt_subnode_to_map() 763 pin = STM32_GET_PIN_NO(pinfunc); in stm32_pctrl_dt_subnode_to_map() 764 func = STM32_GET_PIN_FUNC(pinfunc); in stm32_pctrl_dt_subnode_to_map()
|
Completed in 25 milliseconds