Searched refs:bgx_poll_reg (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/cavium/thunder/
H A Dthunder_bgx.c104 static int bgx_poll_reg(struct bgx *bgx, u8 lmac, u64 reg, u64 mask, bool zero) bgx_poll_reg() function
398 if (bgx_poll_reg(bgx, lmacid, BGX_GMP_PCS_MRX_CTL, bgx_lmac_sgmii_init()
410 if (bgx_poll_reg(bgx, lmacid, BGX_GMP_PCS_MRX_STATUS, bgx_lmac_sgmii_init()
425 if (bgx_poll_reg(bgx, lmacid, BGX_SPUX_CONTROL1, SPU_CTL_RESET, true)) { bgx_lmac_xaui_init()
529 if (bgx_poll_reg(bgx, lmacid, BGX_SPUX_CONTROL1, SPU_CTL_RESET, true)) { bgx_xaui_check_link()
536 if (bgx_poll_reg(bgx, lmacid, BGX_SPUX_BR_STATUS1, bgx_xaui_check_link()
543 if (bgx_poll_reg(bgx, lmacid, BGX_SPUX_BX_STATUS, bgx_xaui_check_link()
572 if (bgx_poll_reg(bgx, lmacid, BGX_SMUX_RX_CTL, bgx_xaui_check_link()
579 if (bgx_poll_reg(bgx, lmacid, BGX_SMUX_CTL, SMU_CTL_RX_IDLE, false)) { bgx_xaui_check_link()
585 if (bgx_poll_reg(bgx, lmacid, BGX_SMUX_CTL, SMU_CTL_TX_IDLE, false)) { bgx_xaui_check_link()
597 if (bgx_poll_reg(bgx, lmacid, BGX_SPUX_STATUS1, bgx_xaui_check_link()
619 bgx_poll_reg(lmac->bgx, lmac->lmacid, BGX_SPUX_STATUS1, bgx_poll_for_link()

Completed in 68 milliseconds