Searched refs:lmac_credits (Results 1 – 1 of 1) sorted by relevance
256 u64 lmac_credits; in nic_update_hw_frs() local269 lmac_credits = nic_reg_read(nic, NIC_PF_LMAC_0_7_CREDIT + (lmac * 8)); in nic_update_hw_frs()270 lmac_credits &= ~(0xFFFFFULL << 12); in nic_update_hw_frs()271 lmac_credits |= (((((48 * 1024) / lmac_cnt) - new_frs) / 16) << 12); in nic_update_hw_frs()272 nic_reg_write(nic, NIC_PF_LMAC_0_7_CREDIT + (lmac * 8), lmac_credits); in nic_update_hw_frs()