Lines Matching refs:strncmp
1822 if (strncmp(str, "off", 3) == 0) in apm_setup()
1824 if (strncmp(str, "on", 2) == 0) in apm_setup()
1826 if ((strncmp(str, "bounce-interval=", 16) == 0) || in apm_setup()
1827 (strncmp(str, "bounce_interval=", 16) == 0)) in apm_setup()
1829 if ((strncmp(str, "idle-threshold=", 15) == 0) || in apm_setup()
1830 (strncmp(str, "idle_threshold=", 15) == 0)) in apm_setup()
1832 if ((strncmp(str, "idle-period=", 12) == 0) || in apm_setup()
1833 (strncmp(str, "idle_period=", 12) == 0)) in apm_setup()
1835 invert = (strncmp(str, "no-", 3) == 0) || in apm_setup()
1836 (strncmp(str, "no_", 3) == 0); in apm_setup()
1839 if (strncmp(str, "debug", 5) == 0) in apm_setup()
1841 if ((strncmp(str, "power-off", 9) == 0) || in apm_setup()
1842 (strncmp(str, "power_off", 9) == 0)) in apm_setup()
1844 if (strncmp(str, "smp", 3) == 0) { in apm_setup()
1848 if ((strncmp(str, "allow-ints", 10) == 0) || in apm_setup()
1849 (strncmp(str, "allow_ints", 10) == 0)) in apm_setup()
1851 if ((strncmp(str, "broken-psr", 10) == 0) || in apm_setup()
1852 (strncmp(str, "broken_psr", 10) == 0)) in apm_setup()
1854 if ((strncmp(str, "realmode-power-off", 18) == 0) || in apm_setup()
1855 (strncmp(str, "realmode_power_off", 18) == 0)) in apm_setup()