/linux-master/tools/power/cpupower/bench/ |
H A D | benchmark.c | 82 long sleep_time = 0, load_time = 0; local 87 sleep_time = config->sleep; 117 _round, load_time, sleep_time); 127 usleep(sleep_time); 130 performance_time += then - now - sleep_time; 135 (long)(then - now), sleep_time, 141 progress_time += sleep_time + load_time; 153 usleep(sleep_time); 156 powersave_time += then - now - sleep_time; 161 (long)(then - now), sleep_time, [all...] |
H A D | system.c | 128 unsigned long sleep_time = 0; local 133 sleep_time += 2 * config->cycles * 142 (int)((sleep_time + load_time) / 60000000));
|
/linux-master/tools/power/acpi/tools/ec/ |
H A D | ec_access.c | 30 static int sleep_time; variable 69 sleep_time = atoi(optarg); 70 if (sleep_time <= 0) { 71 sleep_time = 0; 147 if (!sleep_time) 152 sleep(sleep_time);
|
/linux-master/tools/laptop/dslm/ |
H A D | dslm.c | 75 time_t sleep_time = 0; local 97 else if (last_state == 0) sleep_time += time_diff; 113 tmp = (float)sleep_time / (float)total_time * 100; 114 printf(" Time in sleep state: %lus (%.2f%%)\n", sleep_time, tmp);
|
/linux-master/drivers/rtc/ |
H A D | class.c | 150 struct timespec64 sleep_time; local 177 sleep_time = timespec64_sub(new_rtc, old_rtc); 186 sleep_time = timespec64_sub(sleep_time, 189 if (sleep_time.tv_sec >= 0) 190 timekeeping_inject_sleeptime64(&sleep_time);
|
/linux-master/drivers/input/mouse/ |
H A D | cyapa.c | 572 u8 cyapa_sleep_time_to_pwr_cmd(u16 sleep_time) argument 576 sleep_time = clamp_val(sleep_time, 20, 1000); 577 encoded_time = sleep_time < 100 ? sleep_time / 10 : sleep_time / 20 + 5; 744 u16 sleep_time; local 753 sleep_time = cyapa->suspend_sleep_time; 770 sleep_time); 782 u16 sleep_time; local 868 u16 sleep_time; local [all...] |
H A D | cyapa_gen6.c | 428 u8 power_mode, u16 sleep_time, enum cyapa_pm_stage pm_stage) 456 PIP_DEV_GET_SLEEP_TIME(cyapa) == sleep_time) { 522 if (interval_setting->lp1_interval == sleep_time) { 524 } else if (interval_setting->lp2_interval == sleep_time) { 528 interval_setting->lp1_interval = sleep_time; 531 interval_setting->lp2_interval = sleep_time; 545 PIP_DEV_SET_SLEEP_TIME(cyapa, sleep_time); 547 cyapa_sleep_time_to_pwr_cmd(sleep_time)); 427 cyapa_gen6_set_power_mode(struct cyapa *cyapa, u8 power_mode, u16 sleep_time, enum cyapa_pm_stage pm_stage) argument
|
H A D | cyapa_gen3.c | 913 int sleep_time; local 937 sleep_time = (int)cyapa_get_wait_time_for_pwr_cmd(ret & PWR_MODE_MASK); 961 while (sleep_time > 0) { 962 if (sleep_time > interval) 965 msleep(sleep_time); 966 sleep_time -= interval; 970 msleep(sleep_time);
|
H A D | cyapa.h | 396 u8 cyapa_sleep_time_to_pwr_cmd(u16 sleep_time);
|
/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_fence.c | 283 unsigned long sleep_time = NSEC_PER_MSEC / 1000; local 299 kt = sleep_time; 301 sleep_time *= 2; 302 if (sleep_time > NSEC_PER_MSEC) 303 sleep_time = NSEC_PER_MSEC;
|
/linux-master/include/linux/ |
H A D | pktcdvd.h | 126 long sleep_time; /* Set this to non-zero to make the state */ member in struct:packet_data
|
/linux-master/drivers/virt/nitro_enclaves/ |
H A D | ne_pci_dev.c | 432 const unsigned int sleep_time = 10; /* 10 ms */ local 447 msleep_interruptible(sleep_time); 448 sleep_time_count += sleep_time;
|
/linux-master/drivers/net/wireless/intel/iwlegacy/ |
H A D | 3945-debug.c | 446 " %-30s %10u %10u %10u %10u\n", "sleep_time:", 447 le32_to_cpu(general->sleep_time), 448 accum_general->sleep_time, delta_general->sleep_time, 449 max_general->sleep_time);
|
/linux-master/drivers/gpu/drm/omapdrm/dss/ |
H A D | pll.c | 453 u32 sleep_time; local 460 sleep_time = DIV_ROUND_UP(1000*1000*1000, cinfo->fint); 471 usleep_range(sleep_time, sleep_time + 5);
|
/linux-master/tools/tracing/rtla/src/ |
H A D | osnoise_hist.c | 30 int sleep_time; member in struct:osnoise_hist_params 707 if (!params->sleep_time) 708 params->sleep_time = 1; 906 sleep(params->sleep_time);
|
H A D | osnoise_top.c | 37 int sleep_time; member in struct:osnoise_top_params 535 if (!params->sleep_time) 536 params->sleep_time = 1; 739 sleep(params->sleep_time);
|
H A D | timerlat_top.c | 34 int sleep_time; member in struct:timerlat_top_params 629 if (!params->sleep_time) 630 params->sleep_time = 1; 898 sleep(params->sleep_time);
|
H A D | timerlat_hist.c | 33 int sleep_time; member in struct:timerlat_hist_params 821 if (!params->sleep_time) 822 params->sleep_time = 1; 1078 sleep(params->sleep_time);
|
/linux-master/drivers/mtd/lpddr/ |
H A D | lpddr_cmds.c | 128 unsigned int timeo, reset_timeo, sleep_time; local 138 sleep_time = chip_op_time / 2; 153 if (sleep_time >= 1000000/HZ) { 159 msleep(sleep_time/1000); 160 timeo -= sleep_time; 161 sleep_time = 1000000/HZ;
|
/linux-master/drivers/media/dvb-frontends/ |
H A D | dib9000.c | 1995 int sleep_time, sleep_time_slave; local 2047 sleep_time = dib9000_fw_tune(state->fe[0]); 2050 if (sleep_time == FE_CALLBACK_TIME_NEVER) 2051 sleep_time = sleep_time_slave; 2052 else if ((sleep_time_slave != FE_CALLBACK_TIME_NEVER) && (sleep_time_slave > sleep_time)) 2053 sleep_time = sleep_time_slave; 2055 if (sleep_time != FE_CALLBACK_TIME_NEVER) 2056 msleep(sleep_time / 10); 2104 sleep_time = FE_CALLBACK_TIME_NEVER; 2108 if (sleep_time [all...] |
/linux-master/drivers/video/fbdev/omap/ |
H A D | lcd_mipid.c | 174 int cmd, sleep_time = 50; local 190 sleep_time = 120; 191 msleep(sleep_time);
|
/linux-master/drivers/iio/light/ |
H A D | isl29028.c | 63 int sleep_time; member in struct:isl29028_prox_data 157 msleep(isl29028_prox_data[prox_index].sleep_time);
|
/linux-master/drivers/block/ |
H A D | pktcdvd.c | 1217 pkt->sleep_time = max(PACKET_WAIT_TIME, 1); 1333 if ((pkt->write_size < pkt->frames) && (pkt->sleep_time > 0)) 1336 pkt->sleep_time = 0; 1455 if (pkt->sleep_time && pkt->sleep_time < min_sleep_time) 1456 min_sleep_time = pkt->sleep_time; 1467 if (!pkt->sleep_time) 1469 pkt->sleep_time -= min_sleep_time - residue; 1470 if (pkt->sleep_time <= 0) { 1471 pkt->sleep_time [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | stats.h | 250 __le32 sleep_time; member in struct:mvm_statistics_general_common_v19 279 __le32 sleep_time; member in struct:mvm_statistics_general_common
|
/linux-master/sound/soc/codecs/ |
H A D | tas2781-fmwlib.c | 760 unsigned int sleep_time = 0; local 769 sleep_time = be16_to_cpup((__be16 *)&data[2]) * 1000; 770 usleep_range(sleep_time, sleep_time + 50); 1531 unsigned int sleep_time; local 1583 sleep_time = ((book << 8) + page)*1000; 1584 usleep_range(sleep_time, sleep_time + 50);
|