Lines Matching refs:strncmp
98 if (strncmp(buf, "none", 4) == 0) { in vga_str_to_iostate()
104 if (strncmp(buf, "io+mem", 6) == 0) in vga_str_to_iostate()
106 else if (strncmp(buf, "io", 2) == 0) in vga_str_to_iostate()
108 else if (strncmp(buf, "mem", 3) == 0) in vga_str_to_iostate()
929 if (strncmp(curr_pos, "lock ", 5) == 0) { in vga_arb_write()
965 } else if (strncmp(curr_pos, "unlock ", 7) == 0) { in vga_arb_write()
971 if (strncmp(curr_pos, "all", 3) == 0) in vga_arb_write()
1021 } else if (strncmp(curr_pos, "trylock ", 8) == 0) { in vga_arb_write()
1062 } else if (strncmp(curr_pos, "target ", 7) == 0) { in vga_arb_write()
1070 if (!strncmp(curr_pos, "default", 7)) in vga_arb_write()
1125 } else if (strncmp(curr_pos, "decodes ", 8) == 0) { in vga_arb_write()