Searched refs:drv_mode (Results 1 – 3 of 3) sorted by relevance
17 uint32_t drv_mode = CY_GPIO_DM_ANALOG; in soc_gpio_get_drv_mode() local22 drv_mode = CY_GPIO_DM_OD_DRIVESLOW_IN_OFF; in soc_gpio_get_drv_mode()24 drv_mode = CY_GPIO_DM_OD_DRIVESHIGH_IN_OFF; in soc_gpio_get_drv_mode()26 drv_mode = CY_GPIO_DM_STRONG_IN_OFF; in soc_gpio_get_drv_mode()28 drv_mode = CY_GPIO_DM_PULLUP_DOWN_IN_OFF; in soc_gpio_get_drv_mode()30 drv_mode = CY_GPIO_DM_PULLUP_IN_OFF; in soc_gpio_get_drv_mode()32 drv_mode = CY_GPIO_DM_PULLDOWN_IN_OFF; in soc_gpio_get_drv_mode()38 drv_mode |= CY_GPIO_DM_HIGHZ; in soc_gpio_get_drv_mode()41 return drv_mode; in soc_gpio_get_drv_mode()46 uint32_t drv_mode = soc_gpio_get_drv_mode(pin->flags); in soc_gpio_configure() local[all …]
48 uint32_t drv_mode = CY_GPIO_DM_ANALOG; in soc_gpio_get_drv_mode() local55 drv_mode = CY_GPIO_DM_OD_DRIVESLOW_IN_OFF; in soc_gpio_get_drv_mode()59 drv_mode = CY_GPIO_DM_OD_DRIVESHIGH_IN_OFF; in soc_gpio_get_drv_mode()63 drv_mode = CY_GPIO_DM_STRONG_IN_OFF; in soc_gpio_get_drv_mode()67 drv_mode = CY_GPIO_DM_PULLUP_DOWN_IN_OFF; in soc_gpio_get_drv_mode()71 drv_mode = CY_GPIO_DM_PULLUP_IN_OFF; in soc_gpio_get_drv_mode()75 drv_mode = CY_GPIO_DM_PULLDOWN_IN_OFF; in soc_gpio_get_drv_mode()82 drv_mode |= CY_GPIO_DM_HIGHZ; in soc_gpio_get_drv_mode()85 return drv_mode; in soc_gpio_get_drv_mode()94 uint32_t drv_mode = soc_gpio_get_drv_mode(pins[i].pincfg); in pinctrl_configure_pins() local[all …]
46 uint32_t drv_mode; in gpio_psoc6_config() local51 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()