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);
1104 RTL_W8 (HltClk, 'H'); /* 'R' would leave the clock running. */
1159 RTL_W8 (Cfg9346, EE_ENB & ~EE_CS);
1160 RTL_W8 (Cfg9346, EE_ENB);
1166 RTL_W8 (Cfg9346, EE_ENB | dataval);
1168 RTL_W8 (Cfg9346, EE_ENB | dataval | EE_SHIFT_CLK);
1171 RTL_W8 (Cfg9346, EE_ENB);
1175 RTL_W8 (Cfg9346, EE_ENB | EE_SHIFT_CLK);
1180 RTL_W8 (Cfg9346, EE_ENB);
1185 RTL_W8(Cfg9346, 0);
1226 RTL_W8 (Config4, MDIO_WRITE1);
1228 RTL_W8 (Config4, MDIO_WRITE1 | MDIO_CLK);
1256 RTL_W8 (Config4, MDIO_DIR | dataval);
1258 RTL_W8 (Config4, MDIO_DIR | dataval | MDIO_CLK);
1264 RTL_W8 (Config4, 0);
1267 RTL_W8 (Config4, MDIO_CLK);
1289 RTL_W8 (Cfg9346, Cfg9346_Unlock);
1291 RTL_W8 (Cfg9346, Cfg9346_Lock);
1304 RTL_W8 (Config4, dataval);
1306 RTL_W8 (Config4, dataval | MDIO_CLK);
1311 RTL_W8 (Config4, 0);
1313 RTL_W8 (Config4, MDIO_CLK);
1390 RTL_W8 (HltClk, 'R');
1406 RTL_W8 (ChipCmd, CmdRxEnb | CmdTxEnb);
1418 RTL_W8 (Config3, RTL_R8 (Config3) & ~Cfg3_Magic);
1424 RTL_W8 (Cfg9346, Cfg9346_Lock);
1440 RTL_W8 (ChipCmd, CmdRxEnb | CmdTxEnb);
1590 RTL_W8 (Cfg9346, Cfg9346_Unlock);
1591 RTL_W8 (Config1, tp->mii.full_duplex ? 0x60 : 0x20);
1592 RTL_W8 (Cfg9346, Cfg9346_Lock);
1685 RTL_W8 (ChipCmd, CmdRxEnb);
1863 RTL_W8 (ChipCmd, tmp8 & ~CmdRxEnb);
1864 RTL_W8 (ChipCmd, tmp8);
1896 RTL_W8 (ChipCmd, CmdRxEnb | CmdTxEnb);
1905 RTL_W8 (Cfg9346, Cfg9346_Lock);
2271 RTL_W8 (ChipCmd, 0);
2294 RTL_W8 (Cfg9346, Cfg9346_Unlock);
2297 RTL_W8 (HltClk, 'H'); /* 'R' would leave the clock running. */
2360 RTL_W8 (Cfg9346, Cfg9346_Unlock);
2361 RTL_W8 (Config3, cfg3);
2362 RTL_W8 (Cfg9346, Cfg9346_Lock);
2374 RTL_W8 (Config5, cfg5); /* need not unlock via Cfg9346 */
2623 RTL_W8 (ChipCmd, 0);