Lines Matching refs:cfg1
259 uint32_t raw_pin, reg, cfg0, cfg1; in gpio_intel_config() local
277 cfg1 = sys_read32(reg + 4); in gpio_intel_config()
309 cfg1 &= ~(PAD_CFG1_TERM_MASK | PAD_CFG1_IOSTERM_MASK); in gpio_intel_config()
311 cfg1 |= (PAD_CFG1_TERM_PU_20K | PAD_CFG1_IOSTERM_PU); in gpio_intel_config()
313 cfg1 |= (PAD_CFG1_TERM_PD_20K | PAD_CFG1_IOSTERM_PD); in gpio_intel_config()
315 cfg1 |= (PAD_CFG1_TERM_NONE | PAD_CFG1_IOSTERM_FUNC); in gpio_intel_config()
319 cfg1 &= ~PAD_CFG1_IOSSTATE_MASK; in gpio_intel_config()
323 sys_write32(cfg1, reg + 4); in gpio_intel_config()
334 uint32_t raw_pin, cfg0, cfg1; in gpio_intel_pin_interrupt_configure() local
359 cfg1 = sys_read32(reg + 4); in gpio_intel_pin_interrupt_configure()
411 sys_write32(cfg1, reg + 4); in gpio_intel_pin_interrupt_configure()