Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/gpio/
Dgpio_fxl6408.c230 uint8_t reg_pud; in setup_pin_pullupdown() local
238 reg_pud = drv_data->reg_cache.pud_sel; in setup_pin_pullupdown()
241 WRITE_BIT(reg_pud, pin, (flags & GPIO_PULL_UP) != 0U); in setup_pin_pullupdown()
243 ret = update_pul_sel_regs(dev, reg_pud); in setup_pin_pullupdown()
250 reg_pud = drv_data->reg_cache.pud_en; in setup_pin_pullupdown()
252 WRITE_BIT(reg_pud, pin, in setup_pin_pullupdown()
255 ret = update_pul_en_regs(dev, reg_pud); in setup_pin_pullupdown()
Dgpio_pca95xx.c413 uint16_t reg_pud; in setup_pin_pullupdown() local
434 reg_pud = drv_data->reg_cache.pud_sel; in setup_pin_pullupdown()
437 WRITE_BIT(reg_pud, pin, (flags & GPIO_PULL_UP) != 0U); in setup_pin_pullupdown()
439 ret = update_pul_sel_reg(dev, pin, reg_pud); in setup_pin_pullupdown()
446 reg_pud = drv_data->reg_cache.pud_en; in setup_pin_pullupdown()
448 WRITE_BIT(reg_pud, pin, in setup_pin_pullupdown()
451 ret = update_pul_en_reg(dev, pin, reg_pud); in setup_pin_pullupdown()