Lines Matching refs:curr_pos
1058 char kbuf[64], *curr_pos; in vga_arb_write() local
1068 curr_pos = kbuf; in vga_arb_write()
1071 if (strncmp(curr_pos, "lock ", 5) == 0) { in vga_arb_write()
1072 curr_pos += 5; in vga_arb_write()
1077 if (!vga_str_to_iostate(curr_pos, remaining, &io_state)) { in vga_arb_write()
1107 } else if (strncmp(curr_pos, "unlock ", 7) == 0) { in vga_arb_write()
1108 curr_pos += 7; in vga_arb_write()
1113 if (strncmp(curr_pos, "all", 3) == 0) in vga_arb_write()
1117 (curr_pos, remaining, &io_state)) { in vga_arb_write()
1163 } else if (strncmp(curr_pos, "trylock ", 8) == 0) { in vga_arb_write()
1164 curr_pos += 8; in vga_arb_write()
1169 if (!vga_str_to_iostate(curr_pos, remaining, &io_state)) { in vga_arb_write()
1204 } else if (strncmp(curr_pos, "target ", 7) == 0) { in vga_arb_write()
1208 curr_pos += 7; in vga_arb_write()
1212 if (!strncmp(curr_pos, "default", 7)) in vga_arb_write()
1215 if (!vga_pci_str_to_vars(curr_pos, remaining, in vga_arb_write()
1229 pr_debug("%s ==> %04x:%02x:%02x.%x pdev %p\n", curr_pos, in vga_arb_write()
1271 } else if (strncmp(curr_pos, "decodes ", 8) == 0) { in vga_arb_write()
1272 curr_pos += 8; in vga_arb_write()
1276 if (!vga_str_to_iostate(curr_pos, remaining, &io_state)) { in vga_arb_write()