Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/emulex/benet/
Dbe_main.c2140 int eqd, start; in be_get_new_eqd() local
2153 eqd = aic->et_eqd; in be_get_new_eqd()
2154 return eqd; in be_get_new_eqd()
2186 eqd = (pps / 15000) << 2; in be_get_new_eqd()
2188 if (eqd < 8) in be_get_new_eqd()
2189 eqd = 0; in be_get_new_eqd()
2190 eqd = min_t(u32, eqd, aic->max_eqd); in be_get_new_eqd()
2191 eqd = max_t(u32, eqd, aic->min_eqd); in be_get_new_eqd()
2195 return eqd; in be_get_new_eqd()
2204 int eqd; in be_get_eq_delay_mult_enc() local
[all …]
/Linux-v5.4/drivers/scsi/be2iscsi/
Dbe_main.c5202 int eqd, i, num = 0; in beiscsi_eqd_update_work() local
5224 eqd = (pps / 1500) << 2; in beiscsi_eqd_update_work()
5226 if (eqd < 8) in beiscsi_eqd_update_work()
5227 eqd = 0; in beiscsi_eqd_update_work()
5228 eqd = min_t(u32, eqd, BEISCSI_EQ_DELAY_MAX); in beiscsi_eqd_update_work()
5229 eqd = max_t(u32, eqd, BEISCSI_EQ_DELAY_MIN); in beiscsi_eqd_update_work()
5234 if (eqd != aic->prev_eqd) { in beiscsi_eqd_update_work()
5235 set_eqd[num].delay_multiplier = (eqd * 65)/100; in beiscsi_eqd_update_work()
5237 aic->prev_eqd = eqd; in beiscsi_eqd_update_work()