Lines Matching refs:tx_pause
610 u8 *tx_pause, u8 *rx_pause) in cgx_lmac_get_pause_frm_status() argument
625 *tx_pause = !!(cfg & CGX_SMUX_TX_CTL_L2P_BP_CONV); in cgx_lmac_get_pause_frm_status()
633 u8 rx_pause, tx_pause; in cgx_lmac_enadis_rx_pause_fwding() local
649 cgx_lmac_get_pause_frm_status(cgx, lmac_id, &rx_pause, &tx_pause); in cgx_lmac_enadis_rx_pause_fwding()
805 u8 tx_pause, u8 rx_pause) in cgx_lmac_enadis_pause_frm() argument
823 cfg |= tx_pause ? CGX_SMUX_TX_CTL_L2P_BP_CONV : 0x0; in cgx_lmac_enadis_pause_frm()
827 if (tx_pause) { in cgx_lmac_enadis_pause_frm()
889 int verify_lmac_fc_cfg(void *cgxd, int lmac_id, u8 tx_pause, u8 rx_pause, in verify_lmac_fc_cfg() argument
904 if (!tx_pause) in verify_lmac_fc_cfg()
916 if (!tx_pause && bitmap_weight(lmac->tx_fc_pfvf_bmap.bmap, lmac->tx_fc_pfvf_bmap.max)) { in verify_lmac_fc_cfg()
925 int cgx_lmac_pfc_config(void *cgxd, int lmac_id, u8 tx_pause, in cgx_lmac_pfc_config() argument
935 if (tx_pause && !pfc_en) in cgx_lmac_pfc_config()
951 if (tx_pause) { in cgx_lmac_pfc_config()
968 int cgx_lmac_get_pfc_frm_cfg(void *cgxd, int lmac_id, u8 *tx_pause, in cgx_lmac_get_pfc_frm_cfg() argument
980 *tx_pause = !!(cfg & CGXX_SMUX_CBFC_CTL_TX_EN); in cgx_lmac_get_pfc_frm_cfg()