Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/plat/mediatek/mt8183/drivers/gpio/
Dmtgpio.c220 int pupd_offset = gpio_get_pupd_offset(pin); in mt_set_gpio_pull_enable_chip() local
225 (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 …]