Home
last modified time | relevance | path

Searched refs:max_sleep (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dpower.c146 int max_sleep[IWL_POWER_VEC_SIZE] = { 0 }; in iwl_static_sleep_cmd() local
174 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()
/linux/drivers/net/wireless/intel/iwlegacy/
H A Dcommon.c1084 u32 max_sleep; in il_build_powertable_cmd() local
1126 max_sleep = le32_to_cpu(tmp); in il_build_powertable_cmd()
1127 if (max_sleep == 0xFF) in il_build_powertable_cmd()
1128 max_sleep = dtim_period * (skip + 1); in il_build_powertable_cmd()
1129 else if (max_sleep > dtim_period) in il_build_powertable_cmd()
1130 max_sleep = (max_sleep / dtim_period) * dtim_period; in il_build_powertable_cmd()
1133 max_sleep = dtim_period; in il_build_powertable_cmd()
1138 if (le32_to_cpu(cmd->sleep_interval[i]) > max_sleep) in il_build_powertable_cmd()
1139 cmd->sleep_interval[i] = cpu_to_le32(max_sleep); in il_build_powertable_cmd()