Lines Matching refs:idletime
128 { "idletime", dhd_idletime, DHD_GET_VAR, DHD_SET_VAR,
1085 int32 idletime;
1091 idletime = 0;
1093 idletime = DHD_IDLE_IMMEDIATE;
1095 idletime = strtol(argv[1], &endptr, 0);
1101 if ((idletime < 0) && (idletime != DHD_IDLE_IMMEDIATE)) {
1107 strcpy(buf, "idletime");
1109 memcpy(endptr, &idletime, sizeof(uint32));
1117 idletime = *(int32*)buf;
1119 if (idletime == 0) {
1121 } else if (idletime == DHD_IDLE_IMMEDIATE) {
1123 } else if (idletime > 0) {
1124 printf("%d\n", idletime);
1125 } else printf("%d (invalid)\n", idletime);