Searched refs:dfrg_reg (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_cpt.c | 837 u64 dfrg_reg; in cpt_rxc_time_cfg() local 841 dfrg_reg = rvu_read64(rvu, blkaddr, CPT_AF_RXC_DFRG); in cpt_rxc_time_cfg() 842 save->zombie_thres = FIELD_GET(RXC_ZOMBIE_THRES, dfrg_reg); in cpt_rxc_time_cfg() 843 save->zombie_limit = FIELD_GET(RXC_ZOMBIE_LIMIT, dfrg_reg); in cpt_rxc_time_cfg() 844 save->active_thres = FIELD_GET(RXC_ACTIVE_THRES, dfrg_reg); in cpt_rxc_time_cfg() 845 save->active_limit = FIELD_GET(RXC_ACTIVE_LIMIT, dfrg_reg); in cpt_rxc_time_cfg() 850 dfrg_reg = FIELD_PREP(RXC_ZOMBIE_THRES, req->zombie_thres); in cpt_rxc_time_cfg() 851 dfrg_reg |= FIELD_PREP(RXC_ZOMBIE_LIMIT, req->zombie_limit); in cpt_rxc_time_cfg() 852 dfrg_reg |= FIELD_PREP(RXC_ACTIVE_THRES, req->active_thres); in cpt_rxc_time_cfg() 853 dfrg_reg |= FIELD_PREP(RXC_ACTIVE_LIMIT, req->active_limit); in cpt_rxc_time_cfg() [all …]
|