Searched refs:pupd_offset (Results 1 – 1 of 1) sorted by relevance
220 int pupd_offset = gpio_get_pupd_offset(pin); in mt_set_gpio_pull_enable_chip() local225 (pupd_offset == (int8_t)-1))); in mt_set_gpio_pull_enable_chip()229 mmio_clrbits_32(pupd_addr, 3U << pupd_offset); in mt_set_gpio_pull_enable_chip()241 mmio_setbits_32(pupd_addr, 1U << pupd_offset); in mt_set_gpio_pull_enable_chip()242 mmio_clrbits_32(pupd_addr, 1U << (pupd_offset + 1)); in mt_set_gpio_pull_enable_chip()249 assert(!(pupd_offset == (int8_t)-1)); in mt_set_gpio_pull_enable_chip()250 mmio_setbits_32(pupd_addr, 1U << pupd_offset); in mt_set_gpio_pull_enable_chip()251 mmio_clrbits_32(pupd_addr, 1U << (pupd_offset + 1)); in mt_set_gpio_pull_enable_chip()253 assert(!(pupd_offset == (int8_t)-1)); in mt_set_gpio_pull_enable_chip()255 mmio_clrbits_32(pupd_addr, 1U << pupd_offset); in mt_set_gpio_pull_enable_chip()[all …]