Searched refs:io_state (Results 1 – 4 of 4) sorted by relevance
41 unsigned char io_state[6]; member55 if (gpiommgpio->io_state[port] & mask) in gpiomm_gpio_get_direction()77 gpiommgpio->io_state[io_port] |= 0xF0; in gpiomm_gpio_direction_input()80 gpiommgpio->io_state[io_port] |= 0x0F; in gpiomm_gpio_direction_input()84 gpiommgpio->io_state[io_port] |= 0xFF; in gpiomm_gpio_direction_input()117 gpiommgpio->io_state[io_port] &= 0x0F; in gpiomm_gpio_direction_output()120 gpiommgpio->io_state[io_port] &= 0xF0; in gpiomm_gpio_direction_output()124 gpiommgpio->io_state[io_port] &= 0x00; in gpiomm_gpio_direction_output()158 if (!(gpiommgpio->io_state[port] & mask)) { in gpiomm_gpio_get()
48 unsigned char io_state[6]; member62 if (dio48egpio->io_state[port] & mask) in dio48e_gpio_get_direction()83 dio48egpio->io_state[io_port] |= 0xF0; in dio48e_gpio_direction_input()86 dio48egpio->io_state[io_port] |= 0x0F; in dio48e_gpio_direction_input()90 dio48egpio->io_state[io_port] |= 0xFF; in dio48e_gpio_direction_input()125 dio48egpio->io_state[io_port] &= 0x0F; in dio48e_gpio_direction_output()128 dio48egpio->io_state[io_port] &= 0xF0; in dio48e_gpio_direction_output()132 dio48egpio->io_state[io_port] &= 0x00; in dio48e_gpio_direction_output()169 if (!(dio48egpio->io_state[port] & mask)) { in dio48e_gpio_get()
45 unsigned char io_state[6]; member59 if (ws16c48gpio->io_state[port] & mask) in ws16c48_gpio_get_direction()74 ws16c48gpio->io_state[port] |= mask; in ws16c48_gpio_direction_input()93 ws16c48gpio->io_state[port] &= ~mask; in ws16c48_gpio_direction_output()116 if (!(ws16c48gpio->io_state[port] & mask)) { in ws16c48_gpio_get()160 if (ws16c48gpio->io_state[port] & mask) { in ws16c48_gpio_set()190 gpio_mask &= ~ws16c48gpio->io_state[index]; in ws16c48_gpio_set_multiple()
102 static int vga_str_to_iostate(char *buf, int str_size, int *io_state) in vga_str_to_iostate() argument107 *io_state = VGA_RSRC_NONE; in vga_str_to_iostate()120 *io_state = VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM; in vga_str_to_iostate()1076 unsigned int io_state; in vga_arb_write() local1097 if (!vga_str_to_iostate(curr_pos, remaining, &io_state)) { in vga_arb_write()1101 if (io_state == VGA_RSRC_NONE) { in vga_arb_write()1112 vga_get_uninterruptible(pdev, io_state); in vga_arb_write()1117 if (io_state & VGA_RSRC_LEGACY_IO) in vga_arb_write()1119 if (io_state & VGA_RSRC_LEGACY_MEM) in vga_arb_write()1134 io_state = VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM; in vga_arb_write()[all …]