Home
last modified time | relevance | path

Searched refs:drv_mode (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/pinctrl/
Dpinctrl_ifx_cat1.c47 uint32_t drv_mode = CY_GPIO_DM_ANALOG; in soc_gpio_get_drv_mode() local
54 drv_mode = (_flags & SOC_GPIO_INPUTENABLE) ? CY_GPIO_DM_OD_DRIVESLOW in soc_gpio_get_drv_mode()
59 drv_mode = (_flags & SOC_GPIO_INPUTENABLE) ? CY_GPIO_DM_OD_DRIVESHIGH in soc_gpio_get_drv_mode()
64 drv_mode = (_flags & SOC_GPIO_INPUTENABLE) ? CY_GPIO_DM_STRONG in soc_gpio_get_drv_mode()
69 drv_mode = (_flags & SOC_GPIO_INPUTENABLE) ? CY_GPIO_DM_PULLUP_DOWN in soc_gpio_get_drv_mode()
74 drv_mode = (_flags & SOC_GPIO_INPUTENABLE) ? CY_GPIO_DM_PULLUP in soc_gpio_get_drv_mode()
79 drv_mode = (_flags & SOC_GPIO_INPUTENABLE) ? CY_GPIO_DM_PULLDOWN in soc_gpio_get_drv_mode()
83 drv_mode = CY_GPIO_DM_HIGHZ; in soc_gpio_get_drv_mode()
88 return drv_mode; in soc_gpio_get_drv_mode()
96 uint32_t drv_mode = soc_gpio_get_drv_mode(pins[i].pincfg); in pinctrl_configure_pins() local
[all …]
/Zephyr-latest/drivers/gpio/
Dgpio_psoc6.c46 uint32_t drv_mode; in gpio_psoc6_config() local
51 drv_mode = (flags & GPIO_LINE_OPEN_DRAIN) ? in gpio_psoc6_config()
57 drv_mode = CY_GPIO_DM_STRONG_IN_OFF; in gpio_psoc6_config()
63 drv_mode = CY_GPIO_DM_PULLUP_DOWN_IN_OFF; in gpio_psoc6_config()
65 drv_mode = CY_GPIO_DM_PULLUP_IN_OFF; in gpio_psoc6_config()
67 drv_mode = CY_GPIO_DM_PULLDOWN_IN_OFF; in gpio_psoc6_config()
69 drv_mode = CY_GPIO_DM_ANALOG; in gpio_psoc6_config()
77 drv_mode |= CY_GPIO_DM_HIGHZ; in gpio_psoc6_config()
80 Cy_GPIO_Pin_FastInit(port, pin, drv_mode, pin_val, HSIOM_SEL_GPIO); in gpio_psoc6_config()
86 (unsigned int) port, pin, drv_mode, pin_val); in gpio_psoc6_config()