Lines Matching refs:strcmp
62 if (strcmp("off", argv[2]) == 0) { in cmd_sensor_stream()
66 if (strcmp("on", argv[2]) != 0) { in cmd_sensor_stream()
71 if (strcmp("double_tap", argv[3]) == 0) { in cmd_sensor_stream()
73 } else if (strcmp("data_ready", argv[3]) == 0) { in cmd_sensor_stream()
75 } else if (strcmp("delta", argv[3]) == 0) { in cmd_sensor_stream()
77 } else if (strcmp("freefall", argv[3]) == 0) { in cmd_sensor_stream()
79 } else if (strcmp("motion", argv[3]) == 0) { in cmd_sensor_stream()
81 } else if (strcmp("near_far", argv[3]) == 0) { in cmd_sensor_stream()
83 } else if (strcmp("stationary", argv[3]) == 0) { in cmd_sensor_stream()
85 } else if (strcmp("threshold", argv[3]) == 0) { in cmd_sensor_stream()
87 } else if (strcmp("fifo_wm", argv[3]) == 0) { in cmd_sensor_stream()
89 } else if (strcmp("fifo_full", argv[3]) == 0) { in cmd_sensor_stream()
91 } else if (strcmp("tap", argv[3]) == 0) { in cmd_sensor_stream()
98 if (strcmp("incl", argv[4]) == 0) { in cmd_sensor_stream()
100 } else if (strcmp("drop", argv[4]) == 0) { in cmd_sensor_stream()
102 } else if (strcmp("nop", argv[4]) == 0) { in cmd_sensor_stream()