Searched refs:gpioreg (Results 1 – 1 of 1) sorted by relevance
492 u8 gpioreg = readb_relaxed(gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_set() local495 gpioreg |= MSC313_GPIO_OUT; in msc313_gpio_set()497 gpioreg &= ~MSC313_GPIO_OUT; in msc313_gpio_set()499 writeb_relaxed(gpioreg, gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_set()512 u8 gpioreg = readb_relaxed(gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_direction_input() local514 gpioreg |= MSC313_GPIO_OEN; in msc313_gpio_direction_input()515 writeb_relaxed(gpioreg, gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_direction_input()523 u8 gpioreg = readb_relaxed(gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_direction_output() local525 gpioreg &= ~MSC313_GPIO_OEN; in msc313_gpio_direction_output()527 gpioreg |= MSC313_GPIO_OUT; in msc313_gpio_direction_output()[all …]