Home
last modified time | relevance | path

Searched refs:io_state (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/drivers/gpio/
Dgpio-gpio-mm.c49 unsigned char io_state[6]; member
63 return !!(gpiommgpio->io_state[port] & mask); in gpiomm_gpio_get_direction()
82 gpiommgpio->io_state[io_port] |= 0xF0; in gpiomm_gpio_direction_input()
85 gpiommgpio->io_state[io_port] |= 0x0F; in gpiomm_gpio_direction_input()
89 gpiommgpio->io_state[io_port] |= 0xFF; in gpiomm_gpio_direction_input()
122 gpiommgpio->io_state[io_port] &= 0x0F; in gpiomm_gpio_direction_output()
125 gpiommgpio->io_state[io_port] &= 0xF0; in gpiomm_gpio_direction_output()
129 gpiommgpio->io_state[io_port] &= 0x00; in gpiomm_gpio_direction_output()
163 if (!(gpiommgpio->io_state[port] & mask)) { in gpiomm_gpio_get()
Dgpio-104-dio-48e.c56 unsigned char io_state[6]; member
70 return !!(dio48egpio->io_state[port] & mask); in dio48e_gpio_get_direction()
88 dio48egpio->io_state[io_port] |= 0xF0; in dio48e_gpio_direction_input()
91 dio48egpio->io_state[io_port] |= 0x0F; in dio48e_gpio_direction_input()
95 dio48egpio->io_state[io_port] |= 0xFF; in dio48e_gpio_direction_input()
130 dio48egpio->io_state[io_port] &= 0x0F; in dio48e_gpio_direction_output()
133 dio48egpio->io_state[io_port] &= 0xF0; in dio48e_gpio_direction_output()
137 dio48egpio->io_state[io_port] &= 0x00; in dio48e_gpio_direction_output()
174 if (!(dio48egpio->io_state[port] & mask)) { in dio48e_gpio_get()
Dgpio-ws16c48.c53 unsigned char io_state[6]; member
67 return !!(ws16c48gpio->io_state[port] & mask); in ws16c48_gpio_get_direction()
79 ws16c48gpio->io_state[port] |= mask; in ws16c48_gpio_direction_input()
98 ws16c48gpio->io_state[port] &= ~mask; in ws16c48_gpio_direction_output()
121 if (!(ws16c48gpio->io_state[port] & mask)) { in ws16c48_gpio_get()
188 if (ws16c48gpio->io_state[port] & mask) { in ws16c48_gpio_set()
224 iomask = mask[BIT_WORD(i)] & ~ws16c48gpio->io_state[port]; in ws16c48_gpio_set_multiple()