Searched refs:io_state (Results 1 – 4 of 4) sorted by relevance
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()1077 unsigned int io_state; in vga_arb_write() local1098 if (!vga_str_to_iostate(curr_pos, remaining, &io_state)) { in vga_arb_write()1102 if (io_state == VGA_RSRC_NONE) { in vga_arb_write()1113 vga_get_uninterruptible(pdev, io_state); in vga_arb_write()1118 if (io_state & VGA_RSRC_LEGACY_IO) in vga_arb_write()1120 if (io_state & VGA_RSRC_LEGACY_MEM) in vga_arb_write()1135 io_state = VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM; in vga_arb_write()[all …]
41 unsigned char io_state[6]; member55 return !!(gpiommgpio->io_state[port] & mask); in gpiomm_gpio_get_direction()74 gpiommgpio->io_state[io_port] |= 0xF0; in gpiomm_gpio_direction_input()77 gpiommgpio->io_state[io_port] |= 0x0F; in gpiomm_gpio_direction_input()81 gpiommgpio->io_state[io_port] |= 0xFF; in gpiomm_gpio_direction_input()114 gpiommgpio->io_state[io_port] &= 0x0F; in gpiomm_gpio_direction_output()117 gpiommgpio->io_state[io_port] &= 0xF0; in gpiomm_gpio_direction_output()121 gpiommgpio->io_state[io_port] &= 0x00; in gpiomm_gpio_direction_output()155 if (!(gpiommgpio->io_state[port] & mask)) { in gpiomm_gpio_get()
48 unsigned char io_state[6]; member62 return !!(dio48egpio->io_state[port] & mask); in dio48e_gpio_get_direction()80 dio48egpio->io_state[io_port] |= 0xF0; in dio48e_gpio_direction_input()83 dio48egpio->io_state[io_port] |= 0x0F; in dio48e_gpio_direction_input()87 dio48egpio->io_state[io_port] |= 0xFF; in dio48e_gpio_direction_input()122 dio48egpio->io_state[io_port] &= 0x0F; in dio48e_gpio_direction_output()125 dio48egpio->io_state[io_port] &= 0xF0; in dio48e_gpio_direction_output()129 dio48egpio->io_state[io_port] &= 0x00; in dio48e_gpio_direction_output()166 if (!(dio48egpio->io_state[port] & mask)) { in dio48e_gpio_get()
45 unsigned char io_state[6]; member59 return !!(ws16c48gpio->io_state[port] & mask); in ws16c48_gpio_get_direction()71 ws16c48gpio->io_state[port] |= mask; in ws16c48_gpio_direction_input()90 ws16c48gpio->io_state[port] &= ~mask; in ws16c48_gpio_direction_output()113 if (!(ws16c48gpio->io_state[port] & mask)) { in ws16c48_gpio_get()180 if (ws16c48gpio->io_state[port] & mask) { in ws16c48_gpio_set()216 iomask = mask[BIT_WORD(i)] & ~ws16c48gpio->io_state[port]; in ws16c48_gpio_set_multiple()