Searched refs:gpioreg (Results 1 – 1 of 1) sorted by relevance
235 u8 gpioreg = readb_relaxed(gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_set() local238 gpioreg |= MSC313_GPIO_OUT; in msc313_gpio_set()240 gpioreg &= ~MSC313_GPIO_OUT; in msc313_gpio_set()242 writeb_relaxed(gpioreg, gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_set()255 u8 gpioreg = readb_relaxed(gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_direction_input() local257 gpioreg |= MSC313_GPIO_OEN; in msc313_gpio_direction_input()258 writeb_relaxed(gpioreg, gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_direction_input()266 u8 gpioreg = readb_relaxed(gpio->base + gpio->gpio_data->offsets[offset]); in msc313_gpio_direction_output() local268 gpioreg &= ~MSC313_GPIO_OEN; in msc313_gpio_direction_output()270 gpioreg |= MSC313_GPIO_OUT; in msc313_gpio_direction_output()[all …]