Lines Matching refs:strncmp
100 if (strncmp(buf, "none", 4) == 0) { in vga_str_to_iostate()
106 if (strncmp(buf, "io+mem", 6) == 0) in vga_str_to_iostate()
108 else if (strncmp(buf, "io", 2) == 0) in vga_str_to_iostate()
110 else if (strncmp(buf, "mem", 3) == 0) in vga_str_to_iostate()
937 if (strncmp(curr_pos, "lock ", 5) == 0) { in vga_arb_write()
973 } else if (strncmp(curr_pos, "unlock ", 7) == 0) { in vga_arb_write()
979 if (strncmp(curr_pos, "all", 3) == 0) in vga_arb_write()
1029 } else if (strncmp(curr_pos, "trylock ", 8) == 0) { in vga_arb_write()
1070 } else if (strncmp(curr_pos, "target ", 7) == 0) { in vga_arb_write()
1078 if (!strncmp(curr_pos, "default", 7)) in vga_arb_write()
1136 } else if (strncmp(curr_pos, "decodes ", 8) == 0) { in vga_arb_write()