/drivers/rtc/ |
D | class.c | 97 struct timespec64 sleep_time; in rtc_resume() local 124 sleep_time = timespec64_sub(new_rtc, old_rtc); in rtc_resume() 133 sleep_time = timespec64_sub(sleep_time, in rtc_resume() 136 if (sleep_time.tv_sec >= 0) in rtc_resume() 137 timekeeping_inject_sleeptime64(&sleep_time); in rtc_resume()
|
/drivers/input/mouse/ |
D | cyapa.c | 572 u8 cyapa_sleep_time_to_pwr_cmd(u16 sleep_time) in cyapa_sleep_time_to_pwr_cmd() argument 576 sleep_time = clamp_val(sleep_time, 20, 1000); in cyapa_sleep_time_to_pwr_cmd() 577 encoded_time = sleep_time < 100 ? sleep_time / 10 : sleep_time / 20 + 5; in cyapa_sleep_time_to_pwr_cmd() 744 u16 sleep_time; in cyapa_show_suspend_scanrate() local 753 sleep_time = cyapa->suspend_sleep_time; in cyapa_show_suspend_scanrate() 770 sleep_time); in cyapa_show_suspend_scanrate() 782 u16 sleep_time; in cyapa_update_suspend_scanrate() local 793 } else if (!kstrtou16(buf, 10, &sleep_time)) { in cyapa_update_suspend_scanrate() 794 cyapa->suspend_sleep_time = min_t(u16, sleep_time, 1000); in cyapa_update_suspend_scanrate() 869 u16 sleep_time; in cyapa_show_rt_suspend_scanrate() local [all …]
|
D | cyapa_gen6.c | 428 u8 power_mode, u16 sleep_time, enum cyapa_pm_stage pm_stage) in cyapa_gen6_set_power_mode() argument 456 PIP_DEV_GET_SLEEP_TIME(cyapa) == sleep_time) { in cyapa_gen6_set_power_mode() 522 if (interval_setting->lp1_interval == sleep_time) { in cyapa_gen6_set_power_mode() 524 } else if (interval_setting->lp2_interval == sleep_time) { in cyapa_gen6_set_power_mode() 528 interval_setting->lp1_interval = sleep_time; in cyapa_gen6_set_power_mode() 531 interval_setting->lp2_interval = sleep_time; in cyapa_gen6_set_power_mode() 545 PIP_DEV_SET_SLEEP_TIME(cyapa, sleep_time); in cyapa_gen6_set_power_mode() 547 cyapa_sleep_time_to_pwr_cmd(sleep_time)); in cyapa_gen6_set_power_mode()
|
D | cyapa_gen3.c | 913 int sleep_time; in cyapa_gen3_set_power_mode() local 937 sleep_time = (int)cyapa_get_wait_time_for_pwr_cmd(ret & PWR_MODE_MASK); in cyapa_gen3_set_power_mode() 960 while (sleep_time > 0) { in cyapa_gen3_set_power_mode() 961 if (sleep_time > interval) in cyapa_gen3_set_power_mode() 964 msleep(sleep_time); in cyapa_gen3_set_power_mode() 965 sleep_time -= interval; in cyapa_gen3_set_power_mode() 969 msleep(sleep_time); in cyapa_gen3_set_power_mode()
|
D | cyapa_gen5.c | 1615 u8 power_mode, u16 sleep_time, enum cyapa_pm_stage pm_stage) in cyapa_gen5_set_power_mode() argument 1646 PIP_DEV_GET_SLEEP_TIME(cyapa) == sleep_time) { in cyapa_gen5_set_power_mode() 1701 sleep_time != PIP_DEV_GET_SLEEP_TIME(cyapa)) in cyapa_gen5_set_power_mode() 1704 sleep_time) == 0) in cyapa_gen5_set_power_mode() 1705 PIP_DEV_SET_SLEEP_TIME(cyapa, sleep_time); in cyapa_gen5_set_power_mode() 1707 if (sleep_time <= GEN5_POWER_READY_MAX_INTRVL_TIME) in cyapa_gen5_set_power_mode() 1732 cyapa_sleep_time_to_pwr_cmd(sleep_time)); in cyapa_gen5_set_power_mode()
|
D | cyapa.h | 396 u8 cyapa_sleep_time_to_pwr_cmd(u16 sleep_time);
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_fence.c | 259 unsigned long sleep_time = NSEC_PER_MSEC / 1000; in nouveau_fence_wait_legacy() local 275 kt = sleep_time; in nouveau_fence_wait_legacy() 277 sleep_time *= 2; in nouveau_fence_wait_legacy() 278 if (sleep_time > NSEC_PER_MSEC) in nouveau_fence_wait_legacy() 279 sleep_time = NSEC_PER_MSEC; in nouveau_fence_wait_legacy()
|
/drivers/mtd/lpddr/ |
D | lpddr_cmds.c | 101 unsigned int timeo, reset_timeo, sleep_time; in wait_for_ready() local 111 sleep_time = chip_op_time / 2; in wait_for_ready() 126 if (sleep_time >= 1000000/HZ) { in wait_for_ready() 132 msleep(sleep_time/1000); in wait_for_ready() 133 timeo -= sleep_time; in wait_for_ready() 134 sleep_time = 1000000/HZ; in wait_for_ready()
|
/drivers/gpu/drm/omapdrm/dss/ |
D | pll.c | 447 u32 sleep_time; in dss_pll_write_config_type_a() local 454 sleep_time = DIV_ROUND_UP(1000*1000*1000, cinfo->fint); in dss_pll_write_config_type_a() 465 usleep_range(sleep_time, sleep_time + 5); in dss_pll_write_config_type_a()
|
/drivers/media/dvb-frontends/ |
D | dib9000.c | 1995 int sleep_time, sleep_time_slave; in dib9000_set_frontend() local 2047 sleep_time = dib9000_fw_tune(state->fe[0]); in dib9000_set_frontend() 2050 if (sleep_time == FE_CALLBACK_TIME_NEVER) in dib9000_set_frontend() 2051 sleep_time = sleep_time_slave; in dib9000_set_frontend() 2052 else if ((sleep_time_slave != FE_CALLBACK_TIME_NEVER) && (sleep_time_slave > sleep_time)) in dib9000_set_frontend() 2053 sleep_time = sleep_time_slave; in dib9000_set_frontend() 2055 if (sleep_time != FE_CALLBACK_TIME_NEVER) in dib9000_set_frontend() 2056 msleep(sleep_time / 10); in dib9000_set_frontend() 2104 sleep_time = FE_CALLBACK_TIME_NEVER; in dib9000_set_frontend() 2108 if (sleep_time == FE_CALLBACK_TIME_NEVER) in dib9000_set_frontend() [all …]
|
/drivers/net/wireless/intel/iwlegacy/ |
D | 3945-debug.c | 447 le32_to_cpu(general->sleep_time), in il3945_ucode_general_stats_read() 448 accum_general->sleep_time, delta_general->sleep_time, in il3945_ucode_general_stats_read() 449 max_general->sleep_time); in il3945_ucode_general_stats_read()
|
D | 4965-debug.c | 685 le32_to_cpu(general->sleep_time), in il4965_ucode_general_stats_read() 686 accum_general->sleep_time, delta_general->sleep_time, in il4965_ucode_general_stats_read() 687 max_general->sleep_time); in il4965_ucode_general_stats_read()
|
D | commands.h | 2303 __le32 sleep_time; member 2770 __le32 sleep_time; member 2914 __le32 sleep_time; member
|
/drivers/video/fbdev/omap/ |
D | lcd_mipid.c | 172 int cmd, sleep_time = 50; in set_sleep_mode() local 188 sleep_time = 120; in set_sleep_mode() 189 msleep(sleep_time); in set_sleep_mode()
|
/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | stats.h | 306 __le32 sleep_time; member 335 __le32 sleep_time; member
|
/drivers/block/ |
D | pktcdvd.c | 1250 pkt->sleep_time = max(PACKET_WAIT_TIME, 1); in pkt_handle_queue() 1329 if ((pkt->write_size < pkt->frames) && (pkt->sleep_time > 0)) in pkt_run_state_machine() 1332 pkt->sleep_time = 0; in pkt_run_state_machine() 1471 if (pkt->sleep_time && pkt->sleep_time < min_sleep_time) in kcdrwd() 1472 min_sleep_time = pkt->sleep_time; in kcdrwd() 1483 if (!pkt->sleep_time) in kcdrwd() 1485 pkt->sleep_time -= min_sleep_time - residue; in kcdrwd() 1486 if (pkt->sleep_time <= 0) { in kcdrwd() 1487 pkt->sleep_time = 0; in kcdrwd()
|
/drivers/iio/light/ |
D | isl29028.c | 63 int sleep_time; member 157 msleep(isl29028_prox_data[prox_index].sleep_time); in isl29028_enable_proximity()
|
/drivers/power/supply/ |
D | ab8500_fg.c | 1530 int sleep_time; in ab8500_fg_algorithm_discharging() local 1553 sleep_time = di->bm->fg_params->init_timer; in ab8500_fg_algorithm_discharging() 1562 di->init_cnt += sleep_time; in ab8500_fg_algorithm_discharging() 1578 sleep_time = di->bm->fg_params->recovery_sleep_timer; in ab8500_fg_algorithm_discharging() 1600 sleep_time * HZ); in ab8500_fg_algorithm_discharging() 1602 di->recovery_cnt += sleep_time; in ab8500_fg_algorithm_discharging()
|
/drivers/media/tuners/ |
D | r820t.c | 523 unsigned sleep_time = 10000; in r820t_set_pll() local 550 sleep_time = 20000; in r820t_set_pll() 667 usleep_range(sleep_time, sleep_time + 1000); in r820t_set_pll()
|
/drivers/mtd/chips/ |
D | cfi_cmdset_0001.c | 1276 unsigned int timeo, sleep_time, reset_timeo; in inval_cache_and_wait_for_operation() local 1287 sleep_time = chip_op_time / 2; in inval_cache_and_wait_for_operation() 1324 if (sleep_time >= 1000000/HZ) { in inval_cache_and_wait_for_operation() 1330 msleep(sleep_time/1000); in inval_cache_and_wait_for_operation() 1331 timeo -= sleep_time; in inval_cache_and_wait_for_operation() 1332 sleep_time = 1000000/HZ; in inval_cache_and_wait_for_operation()
|
/drivers/usb/misc/ |
D | ftdi-elan.c | 2206 int sleep_time = 0; in ftdi_elan_check_controller() local 2231 sleep_time = 0; in ftdi_elan_check_controller() 2237 sleep_time = 10; in ftdi_elan_check_controller() 2242 sleep_time = 50; in ftdi_elan_check_controller() 2251 msleep(sleep_time); in ftdi_elan_check_controller()
|
/drivers/usb/host/ |
D | u132-hcd.c | 1600 int sleep_time = 0; in u132_run() local 1619 sleep_time = 0; in u132_run() 1625 sleep_time = 10; in u132_run() 1630 sleep_time = 50; in u132_run() 1639 msleep(sleep_time); in u132_run()
|
/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | debugfs.c | 1371 le32_to_cpu(general->sleep_time), in iwl_dbgfs_ucode_general_stats_read() 1372 accum_general->sleep_time, in iwl_dbgfs_ucode_general_stats_read() 1373 delta_general->sleep_time, max_general->sleep_time); in iwl_dbgfs_ucode_general_stats_read()
|
D | commands.h | 2161 __le32 sleep_time; member 2674 __le32 sleep_time; member
|