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

/linux-4.4.14/drivers/mfd/
H A Dtc6393xb.c477 u8 doecr; tc6393xb_gpio_direction_input() local
481 doecr = tmio_ioread8(tc6393xb->scr + SCR_GPO_DOECR(offset / 8)); tc6393xb_gpio_direction_input()
482 doecr &= ~TC_GPIO_BIT(offset); tc6393xb_gpio_direction_input()
483 tmio_iowrite8(doecr, tc6393xb->scr + SCR_GPO_DOECR(offset / 8)); tc6393xb_gpio_direction_input()
495 u8 doecr; tc6393xb_gpio_direction_output() local
501 doecr = tmio_ioread8(tc6393xb->scr + SCR_GPO_DOECR(offset / 8)); tc6393xb_gpio_direction_output()
502 doecr |= TC_GPIO_BIT(offset); tc6393xb_gpio_direction_output()
503 tmio_iowrite8(doecr, tc6393xb->scr + SCR_GPO_DOECR(offset / 8)); tc6393xb_gpio_direction_output()

Completed in 195 milliseconds