Home
last modified time | relevance | path

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

/drivers/mfd/
Dtc6393xb.c466 u8 doecr; in tc6393xb_gpio_direction_input() local
470 doecr = tmio_ioread8(tc6393xb->scr + SCR_GPO_DOECR(offset / 8)); in tc6393xb_gpio_direction_input()
471 doecr &= ~TC_GPIO_BIT(offset); in tc6393xb_gpio_direction_input()
472 tmio_iowrite8(doecr, tc6393xb->scr + SCR_GPO_DOECR(offset / 8)); in tc6393xb_gpio_direction_input()
484 u8 doecr; in tc6393xb_gpio_direction_output() local
490 doecr = tmio_ioread8(tc6393xb->scr + SCR_GPO_DOECR(offset / 8)); in tc6393xb_gpio_direction_output()
491 doecr |= TC_GPIO_BIT(offset); in tc6393xb_gpio_direction_output()
492 tmio_iowrite8(doecr, tc6393xb->scr + SCR_GPO_DOECR(offset / 8)); in tc6393xb_gpio_direction_output()