Lines Matching refs:strncmp
1871 if (strncmp(str, "off", 3) == 0) in apm_setup()
1873 if (strncmp(str, "on", 2) == 0) in apm_setup()
1875 if ((strncmp(str, "bounce-interval=", 16) == 0) || in apm_setup()
1876 (strncmp(str, "bounce_interval=", 16) == 0)) in apm_setup()
1878 if ((strncmp(str, "idle-threshold=", 15) == 0) || in apm_setup()
1879 (strncmp(str, "idle_threshold=", 15) == 0)) in apm_setup()
1881 if ((strncmp(str, "idle-period=", 12) == 0) || in apm_setup()
1882 (strncmp(str, "idle_period=", 12) == 0)) in apm_setup()
1884 invert = (strncmp(str, "no-", 3) == 0) || in apm_setup()
1885 (strncmp(str, "no_", 3) == 0); in apm_setup()
1888 if (strncmp(str, "debug", 5) == 0) in apm_setup()
1890 if ((strncmp(str, "power-off", 9) == 0) || in apm_setup()
1891 (strncmp(str, "power_off", 9) == 0)) in apm_setup()
1893 if (strncmp(str, "smp", 3) == 0) { in apm_setup()
1897 if ((strncmp(str, "allow-ints", 10) == 0) || in apm_setup()
1898 (strncmp(str, "allow_ints", 10) == 0)) in apm_setup()
1900 if ((strncmp(str, "broken-psr", 10) == 0) || in apm_setup()
1901 (strncmp(str, "broken_psr", 10) == 0)) in apm_setup()
1903 if ((strncmp(str, "realmode-power-off", 18) == 0) || in apm_setup()
1904 (strncmp(str, "realmode_power_off", 18) == 0)) in apm_setup()