Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/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.c391 uint16_t reg_pud; in setup_pin_pullupdown() local
412 reg_pud = drv_data->reg_cache.pud_sel; in setup_pin_pullupdown()
415 WRITE_BIT(reg_pud, pin, (flags & GPIO_PULL_UP) != 0U); in setup_pin_pullupdown()
417 ret = update_pul_sel_reg(dev, pin, reg_pud); in setup_pin_pullupdown()
424 reg_pud = drv_data->reg_cache.pud_en; in setup_pin_pullupdown()
426 WRITE_BIT(reg_pud, pin, in setup_pin_pullupdown()
429 ret = update_pul_en_reg(dev, pin, reg_pud); in setup_pin_pullupdown()