Lines Matching refs:tx_pause
188 u8 *tx_pause, u8 *rx_pause) in rpm_lmac_get_pause_frm_status() argument
199 *tx_pause = !(cfg & RPMX_MTI_MAC100X_COMMAND_CONFIG_TX_P_DISABLE); in rpm_lmac_get_pause_frm_status()
285 static void rpm2_lmac_cfg_bp(rpm_t *rpm, int lmac_id, u8 tx_pause, u8 rx_pause) in rpm2_lmac_cfg_bp() argument
290 if (tx_pause) { in rpm2_lmac_cfg_bp()
305 static void rpm_lmac_cfg_bp(rpm_t *rpm, int lmac_id, u8 tx_pause, u8 rx_pause) in rpm_lmac_cfg_bp() argument
310 if (tx_pause) { in rpm_lmac_cfg_bp()
325 int rpm_lmac_enadis_pause_frm(void *rpmd, int lmac_id, u8 tx_pause, in rpm_lmac_enadis_pause_frm() argument
343 cfg |= tx_pause ? 0x0 : RPMX_MTI_MAC100X_COMMAND_CONFIG_TX_P_DISABLE; in rpm_lmac_enadis_pause_frm()
347 rpm2_lmac_cfg_bp(rpm, lmac_id, tx_pause, rx_pause); in rpm_lmac_enadis_pause_frm()
349 rpm_lmac_cfg_bp(rpm, lmac_id, tx_pause, rx_pause); in rpm_lmac_enadis_pause_frm()
597 int rpm_lmac_pfc_config(void *rpmd, int lmac_id, u8 tx_pause, u8 rx_pause, u16 pfc_en) in rpm_lmac_pfc_config() argument
619 if (tx_pause) { in rpm_lmac_pfc_config()
629 if (!rx_pause && !tx_pause) in rpm_lmac_pfc_config()
644 int rpm_lmac_get_pfc_frm_cfg(void *rpmd, int lmac_id, u8 *tx_pause, u8 *rx_pause) in rpm_lmac_get_pfc_frm_cfg() argument
655 *tx_pause = !(cfg & RPMX_MTI_MAC100X_COMMAND_CONFIG_TX_P_DISABLE); in rpm_lmac_get_pfc_frm_cfg()