Lines Matching refs:SWord
1286 SK_U16 SWord; in SkXmInitMac() local
1293 SK_IN16(IoC, MR_ADDR(Port, TX_MFF_CTRL1), &SWord); in SkXmInitMac()
1295 if ((SWord & MFF_SET_MAC_RST) != 0) { in SkXmInitMac()
1315 XM_IN16(IoC, Port, XM_MMU_CMD, &SWord); in SkXmInitMac()
1317 XM_OUT16(IoC, Port, XM_MMU_CMD, SWord | XM_MMU_NO_PRE); in SkXmInitMac()
1348 SkXmPhyRead(pAC, IoC, Port, PHY_BCOM_AUX_CTRL, &SWord); in SkXmInitMac()
1351 (SK_U16)(SWord | PHY_B_AC_DIS_PM)); in SkXmInitMac()
1357 XM_IN16(IoC, Port, XM_ISRC, &SWord); in SkXmInitMac()
1383 SK_IN16(IoC, (B2_MAC_2 + Port * 8 + i * 2), &SWord); in SkXmInitMac()
1385 XM_OUT16(IoC, Port, (XM_SA + i * 2), SWord); in SkXmInitMac()
1399 SWord = SK_XM_THR_SL; /* for single port */ in SkXmInitMac()
1404 SWord = SK_XM_THR_REDL; /* redundant link */ in SkXmInitMac()
1407 SWord = SK_XM_THR_MULL; /* load balancing */ in SkXmInitMac()
1410 SWord = SK_XM_THR_JUMBO; /* jumbo frames */ in SkXmInitMac()
1417 XM_OUT16(IoC, Port, XM_TX_THR, SWord); in SkXmInitMac()
1423 SWord = XM_RX_STRIP_FCS | XM_RX_LENERR_OK; in SkXmInitMac()
1426 SWord |= XM_RX_BIG_PK_OK; in SkXmInitMac()
1435 SWord |= XM_RX_DIS_CEXT; in SkXmInitMac()
1438 XM_OUT16(IoC, Port, XM_RX_CMD, SWord); in SkXmInitMac()
1500 SK_U16 SWord; in SkGmInitMac() local
1529 GM_IN16(IoC, Port, GM_GP_CTRL, &SWord); in SkGmInitMac()
1532 SWord |= GM_GPCR_AU_ALL_DIS; in SkGmInitMac()
1535 GM_OUT16(IoC, Port, GM_GP_CTRL, SWord); in SkGmInitMac()
1537 SWord = GM_GPCR_AU_ALL_DIS; in SkGmInitMac()
1540 SWord = 0; in SkGmInitMac()
1547 SWord |= GM_GPCR_SPEED_1000 | GM_GPCR_SPEED_100; in SkGmInitMac()
1550 SWord |= GM_GPCR_SPEED_100; in SkGmInitMac()
1559 SWord |= GM_GPCR_DUP_FULL; in SkGmInitMac()
1568 SWord |= GM_GPCR_FC_TX_DIS | GM_GPCR_FC_RX_DIS | GM_GPCR_AU_FCT_DIS; in SkGmInitMac()
1572 SWord |= GM_GPCR_FC_RX_DIS | GM_GPCR_AU_FCT_DIS; in SkGmInitMac()
1581 GM_OUT16(IoC, Port, GM_GP_CTRL, SWord); in SkGmInitMac()
1584 SK_IN16(IoC, GMAC_IRQ_SRC, &SWord); in SkGmInitMac()
1608 GM_IN16(IoC, Port, GM_TX_PARAM, &SWord); in SkGmInitMac()
1611 SWord = TX_JAM_LEN_VAL(pPrt->PMacJamLen) | in SkGmInitMac()
1615 GM_OUT16(IoC, Port, GM_TX_PARAM, SWord); in SkGmInitMac()
1619 GM_IN16(IoC, Port, GM_SERIAL_MODE, &SWord); in SkGmInitMac()
1622 SWord = GM_SMOD_VLAN_ENA | IPG_DATA_VAL(pPrt->PMacIpgData); in SkGmInitMac()
1626 SWord |= GM_SMOD_LIMIT_4; in SkGmInitMac()
1631 SWord |= GM_SMOD_JUMBO_ENA; in SkGmInitMac()
1634 GM_OUT16(IoC, Port, GM_SERIAL_MODE, SWord); in SkGmInitMac()
1650 SK_IN16(IoC, (B2_MAC_2 + Port * 8 + i * 2), &SWord); in SkGmInitMac()
1656 SWord = ((SWord & 0xff00) >> 8) | ((SWord & 0x00ff) << 8); in SkGmInitMac()
1659 GM_OUT16(IoC, Port, (GM_SRC_ADDR_1L + (2 - i) * 4), SWord); in SkGmInitMac()
1662 GM_OUT16(IoC, Port, (GM_SRC_ADDR_1L + i * 4), SWord); in SkGmInitMac()
1665 GM_OUT16(IoC, Port, (GM_SRC_ADDR_1L + i * 4), SWord); in SkGmInitMac()
1669 SK_IN16(IoC, (B2_MAC_1 + Port * 8 + i * 2), &SWord); in SkGmInitMac()
1671 GM_OUT16(IoC, Port, (GM_SRC_ADDR_2L + i * 4), SWord); in SkGmInitMac()
1687 GM_IN16(IoC, Port, GM_GP_STAT, &SWord); in SkGmInitMac()
1690 ("MAC Stat Reg.=0x%04X\n", SWord)); in SkGmInitMac()
1694 c_print("MAC Stat Reg=0x%04X\n", SWord); in SkGmInitMac()
3579 SK_U16 SWord; in SkMacRxTxEnable() local
3642 SkXmPhyRead(pAC, IoC, Port, PHY_BCOM_AUX_CTRL, &SWord); in SkMacRxTxEnable()
3644 (SK_U16)(SWord & ~PHY_B_AC_DIS_PM)); in SkMacRxTxEnable()