Lines Matching refs:curr_pos
911 char *kbuf, *curr_pos; in vga_arb_write() local
926 curr_pos = kbuf; in vga_arb_write()
929 if (strncmp(curr_pos, "lock ", 5) == 0) { in vga_arb_write()
930 curr_pos += 5; in vga_arb_write()
935 if (!vga_str_to_iostate(curr_pos, remaining, &io_state)) { in vga_arb_write()
965 } else if (strncmp(curr_pos, "unlock ", 7) == 0) { in vga_arb_write()
966 curr_pos += 7; in vga_arb_write()
971 if (strncmp(curr_pos, "all", 3) == 0) in vga_arb_write()
975 (curr_pos, remaining, &io_state)) { in vga_arb_write()
1021 } else if (strncmp(curr_pos, "trylock ", 8) == 0) { in vga_arb_write()
1022 curr_pos += 8; in vga_arb_write()
1027 if (!vga_str_to_iostate(curr_pos, remaining, &io_state)) { in vga_arb_write()
1062 } else if (strncmp(curr_pos, "target ", 7) == 0) { in vga_arb_write()
1066 curr_pos += 7; in vga_arb_write()
1070 if (!strncmp(curr_pos, "default", 7)) in vga_arb_write()
1073 if (!vga_pci_str_to_vars(curr_pos, remaining, in vga_arb_write()
1078 pr_debug("vgaarb: %s ==> %x:%x:%x.%x\n", curr_pos, in vga_arb_write()
1125 } else if (strncmp(curr_pos, "decodes ", 8) == 0) { in vga_arb_write()
1126 curr_pos += 8; in vga_arb_write()
1130 if (!vga_str_to_iostate(curr_pos, remaining, &io_state)) { in vga_arb_write()