Lines Matching defs:RTL_W8
673 #define RTL_W8(reg, val8) iowrite8 ((val8), ioaddr + (reg))
742 RTL_W8 (ChipCmd, CmdReset);
835 RTL_W8 (HltClk, 'R');
870 RTL_W8 (Cfg9346, Cfg9346_Unlock);
871 RTL_W8 (Config1, tmp8);
872 RTL_W8 (Cfg9346, Cfg9346_Lock);
877 RTL_W8 (Cfg9346, Cfg9346_Unlock);
878 RTL_W8 (Config4, tmp8 & ~LWPTN);
879 RTL_W8 (Cfg9346, Cfg9346_Lock);
886 RTL_W8 (Config1, tmp8);
1103 RTL_W8 (HltClk, 'H'); /* 'R' would leave the clock running. */
1158 RTL_W8 (Cfg9346, EE_ENB & ~EE_CS);
1159 RTL_W8 (Cfg9346, EE_ENB);
1165 RTL_W8 (Cfg9346, EE_ENB | dataval);
1167 RTL_W8 (Cfg9346, EE_ENB | dataval | EE_SHIFT_CLK);
1170 RTL_W8 (Cfg9346, EE_ENB);
1174 RTL_W8 (Cfg9346, EE_ENB | EE_SHIFT_CLK);
1179 RTL_W8 (Cfg9346, EE_ENB);
1184 RTL_W8(Cfg9346, 0);
1225 RTL_W8 (Config4, MDIO_WRITE1);
1227 RTL_W8 (Config4, MDIO_WRITE1 | MDIO_CLK);
1255 RTL_W8 (Config4, MDIO_DIR | dataval);
1257 RTL_W8 (Config4, MDIO_DIR | dataval | MDIO_CLK);
1263 RTL_W8 (Config4, 0);
1266 RTL_W8 (Config4, MDIO_CLK);
1288 RTL_W8 (Cfg9346, Cfg9346_Unlock);
1290 RTL_W8 (Cfg9346, Cfg9346_Lock);
1303 RTL_W8 (Config4, dataval);
1305 RTL_W8 (Config4, dataval | MDIO_CLK);
1310 RTL_W8 (Config4, 0);
1312 RTL_W8 (Config4, MDIO_CLK);
1389 RTL_W8 (HltClk, 'R');
1405 RTL_W8 (ChipCmd, CmdRxEnb | CmdTxEnb);
1417 RTL_W8 (Config3, RTL_R8 (Config3) & ~Cfg3_Magic);
1423 RTL_W8 (Cfg9346, Cfg9346_Lock);
1439 RTL_W8 (ChipCmd, CmdRxEnb | CmdTxEnb);
1589 RTL_W8 (Cfg9346, Cfg9346_Unlock);
1590 RTL_W8 (Config1, tp->mii.full_duplex ? 0x60 : 0x20);
1591 RTL_W8 (Cfg9346, Cfg9346_Lock);
1684 RTL_W8 (ChipCmd, CmdRxEnb);
1862 RTL_W8 (ChipCmd, tmp8 & ~CmdRxEnb);
1863 RTL_W8 (ChipCmd, tmp8);
1895 RTL_W8 (ChipCmd, CmdRxEnb | CmdTxEnb);
1904 RTL_W8 (Cfg9346, Cfg9346_Lock);
2270 RTL_W8 (ChipCmd, 0);
2293 RTL_W8 (Cfg9346, Cfg9346_Unlock);
2296 RTL_W8 (HltClk, 'H'); /* 'R' would leave the clock running. */
2359 RTL_W8 (Cfg9346, Cfg9346_Unlock);
2360 RTL_W8 (Config3, cfg3);
2361 RTL_W8 (Cfg9346, Cfg9346_Lock);
2373 RTL_W8 (Config5, cfg5); /* need not unlock via Cfg9346 */
2622 RTL_W8 (ChipCmd, 0);