Home
last modified time | relevance | path

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

/external/arm-trusted-firmware/plat/mediatek/mt8183/drivers/gpio/
Dmtgpio.c224 assert(!((PULL_offset[pin].offset == (int8_t)-1) && in mt_set_gpio_pull_enable_chip()
228 if (PULL_offset[pin].offset == (int8_t)-1) in mt_set_gpio_pull_enable_chip()
232 1U << PULL_offset[pin].offset); in mt_set_gpio_pull_enable_chip()
234 if (PULL_offset[pin].offset == (int8_t)-1) { in mt_set_gpio_pull_enable_chip()
246 1U << PULL_offset[pin].offset); in mt_set_gpio_pull_enable_chip()
273 assert(!((PULL_offset[pin].offset == (int8_t)-1) && in mt_get_gpio_pull_enable_chip()
276 if (PULL_offset[pin].offset == (int8_t)-1) { in mt_get_gpio_pull_enable_chip()
281 return ((reg & (1U << PULL_offset[pin].offset)) ? 1 : 0); in mt_get_gpio_pull_enable_chip()
295 assert(!((PULL_offset[pin].offset == (int8_t) -1) && in mt_set_gpio_pull_select_chip()
301 if (PULL_offset[pin].offset == (int8_t)-1) in mt_set_gpio_pull_select_chip()
[all …]
Dmtgpio_cfg.h26 PIN_offset PULL_offset[] = { variable