Searched refs:max_sleep (Results 1 – 3 of 3) sorted by relevance
146 int max_sleep[IWL_POWER_VEC_SIZE] = { 0 }; in iwl_static_sleep_cmd() local174 max_sleep[i] = 1; in iwl_static_sleep_cmd()179 max_sleep[i] = le32_to_cpu(cmd->sleep_interval[i]); in iwl_static_sleep_cmd()180 max_sleep[IWL_POWER_VEC_SIZE - 1] = skip + 1; in iwl_static_sleep_cmd()220 (max_sleep[i] * period)) in iwl_static_sleep_cmd()222 cpu_to_le32(max_sleep[i] * period); in iwl_static_sleep_cmd()
130 unsigned long max_sleep = 16; in pci_vpd_wait() local146 usleep_range(10, max_sleep); in pci_vpd_wait()147 if (max_sleep < 1024) in pci_vpd_wait()148 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()