Searched refs:gpioreg (Results 1 – 1 of 1) sorted by relevance
491 u8 gpioreg = readb_relaxed(gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_set() local494 gpioreg |= MSC313_GPIO_OUT; in msc313_gpio_set()496 gpioreg &= ~MSC313_GPIO_OUT; in msc313_gpio_set()498 writeb_relaxed(gpioreg, gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_set()511 u8 gpioreg = readb_relaxed(gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_direction_input() local513 gpioreg |= MSC313_GPIO_OEN; in msc313_gpio_direction_input()514 writeb_relaxed(gpioreg, gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_direction_input()522 u8 gpioreg = readb_relaxed(gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_direction_output() local524 gpioreg &= ~MSC313_GPIO_OEN; in msc313_gpio_direction_output()526 gpioreg |= MSC313_GPIO_OUT; in msc313_gpio_direction_output()[all …]