Searched refs:io_state (Results 1 – 4 of 4) sorted by relevance
48 unsigned char io_state[6]; member62 return !!(gpiommgpio->io_state[port] & mask); in gpiomm_gpio_get_direction()81 gpiommgpio->io_state[io_port] |= 0xF0; in gpiomm_gpio_direction_input()84 gpiommgpio->io_state[io_port] |= 0x0F; in gpiomm_gpio_direction_input()88 gpiommgpio->io_state[io_port] |= 0xFF; in gpiomm_gpio_direction_input()121 gpiommgpio->io_state[io_port] &= 0x0F; in gpiomm_gpio_direction_output()124 gpiommgpio->io_state[io_port] &= 0xF0; in gpiomm_gpio_direction_output()128 gpiommgpio->io_state[io_port] &= 0x00; in gpiomm_gpio_direction_output()162 if (!(gpiommgpio->io_state[port] & mask)) { in gpiomm_gpio_get()
56 unsigned char io_state[6]; member71 return !!(dio48egpio->io_state[port] & mask); in dio48e_gpio_get_direction()89 dio48egpio->io_state[io_port] |= 0xF0; in dio48e_gpio_direction_input()92 dio48egpio->io_state[io_port] |= 0x0F; in dio48e_gpio_direction_input()96 dio48egpio->io_state[io_port] |= 0xFF; in dio48e_gpio_direction_input()131 dio48egpio->io_state[io_port] &= 0x0F; in dio48e_gpio_direction_output()134 dio48egpio->io_state[io_port] &= 0xF0; in dio48e_gpio_direction_output()138 dio48egpio->io_state[io_port] &= 0x00; in dio48e_gpio_direction_output()175 if (!(dio48egpio->io_state[port] & mask)) { in dio48e_gpio_get()
53 unsigned char io_state[6]; member68 return !!(ws16c48gpio->io_state[port] & mask); in ws16c48_gpio_get_direction()80 ws16c48gpio->io_state[port] |= mask; in ws16c48_gpio_direction_input()99 ws16c48gpio->io_state[port] &= ~mask; in ws16c48_gpio_direction_output()122 if (!(ws16c48gpio->io_state[port] & mask)) { in ws16c48_gpio_get()144 if (ws16c48gpio->io_state[port] & mask) { in ws16c48_gpio_set()
96 static int vga_str_to_iostate(char *buf, int str_size, int *io_state) in vga_str_to_iostate() argument101 *io_state = VGA_RSRC_NONE; in vga_str_to_iostate()114 *io_state = VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM; in vga_str_to_iostate()1023 unsigned int io_state; in vga_arb_write() local1049 if (!vga_str_to_iostate(curr_pos, remaining, &io_state)) { in vga_arb_write()1053 if (io_state == VGA_RSRC_NONE) { in vga_arb_write()1064 vga_get_uninterruptible(pdev, io_state); in vga_arb_write()1069 if (io_state & VGA_RSRC_LEGACY_IO) in vga_arb_write()1071 if (io_state & VGA_RSRC_LEGACY_MEM) in vga_arb_write()1086 io_state = VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM; in vga_arb_write()[all …]