Lines Matching refs:strncmp
1860 if (strncmp(str, "off", 3) == 0) in apm_setup()
1862 if (strncmp(str, "on", 2) == 0) in apm_setup()
1864 if ((strncmp(str, "bounce-interval=", 16) == 0) || in apm_setup()
1865 (strncmp(str, "bounce_interval=", 16) == 0)) in apm_setup()
1867 if ((strncmp(str, "idle-threshold=", 15) == 0) || in apm_setup()
1868 (strncmp(str, "idle_threshold=", 15) == 0)) in apm_setup()
1870 if ((strncmp(str, "idle-period=", 12) == 0) || in apm_setup()
1871 (strncmp(str, "idle_period=", 12) == 0)) in apm_setup()
1873 invert = (strncmp(str, "no-", 3) == 0) || in apm_setup()
1874 (strncmp(str, "no_", 3) == 0); in apm_setup()
1877 if (strncmp(str, "debug", 5) == 0) in apm_setup()
1879 if ((strncmp(str, "power-off", 9) == 0) || in apm_setup()
1880 (strncmp(str, "power_off", 9) == 0)) in apm_setup()
1882 if (strncmp(str, "smp", 3) == 0) { in apm_setup()
1886 if ((strncmp(str, "allow-ints", 10) == 0) || in apm_setup()
1887 (strncmp(str, "allow_ints", 10) == 0)) in apm_setup()
1889 if ((strncmp(str, "broken-psr", 10) == 0) || in apm_setup()
1890 (strncmp(str, "broken_psr", 10) == 0)) in apm_setup()
1892 if ((strncmp(str, "realmode-power-off", 18) == 0) || in apm_setup()
1893 (strncmp(str, "realmode_power_off", 18) == 0)) in apm_setup()