Searched refs:doecr (Results 1 – 1 of 1) sorted by relevance
466 u8 doecr; in tc6393xb_gpio_direction_input() local470 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() local490 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()