Searched refs:max_sleep (Results 1 – 3 of 3) sorted by relevance
150 int max_sleep[IWL_POWER_VEC_SIZE] = { 0 }; in iwl_static_sleep_cmd() local178 max_sleep[i] = 1; in iwl_static_sleep_cmd()183 max_sleep[i] = le32_to_cpu(cmd->sleep_interval[i]); in iwl_static_sleep_cmd()184 max_sleep[IWL_POWER_VEC_SIZE - 1] = skip + 1; in iwl_static_sleep_cmd()224 (max_sleep[i] * period)) in iwl_static_sleep_cmd()226 cpu_to_le32(max_sleep[i] * period); in iwl_static_sleep_cmd()
142 unsigned long max_sleep = 16; in pci_vpd_wait() local166 usleep_range(10, max_sleep); in pci_vpd_wait()167 if (max_sleep < 1024) in pci_vpd_wait()168 max_sleep *= 2; in pci_vpd_wait()
1081 u32 max_sleep; in il_build_powertable_cmd() local1123 max_sleep = le32_to_cpu(tmp); in il_build_powertable_cmd()1124 if (max_sleep == 0xFF) in il_build_powertable_cmd()1125 max_sleep = dtim_period * (skip + 1); in il_build_powertable_cmd()1126 else if (max_sleep > dtim_period) in il_build_powertable_cmd()1127 max_sleep = (max_sleep / dtim_period) * dtim_period; in il_build_powertable_cmd()1130 max_sleep = dtim_period; in il_build_powertable_cmd()1135 if (le32_to_cpu(cmd->sleep_interval[i]) > max_sleep) in il_build_powertable_cmd()1136 cmd->sleep_interval[i] = cpu_to_le32(max_sleep); in il_build_powertable_cmd()