Searched defs:phy_config (Results 1 - 3 of 3) sorted by relevance

/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/rtl818x/
H A Drtl8180_grf5101.c43 u32 phy_config; local
45 phy_config = grf5101_encode[(data >> 8) & 0xF];
46 phy_config |= grf5101_encode[(data >> 4) & 0xF] << 4;
47 phy_config |= grf5101_encode[data & 0xF] << 8;
48 phy_config |= grf5101_encode[(addr >> 1) & 0xF] << 12;
49 phy_config |= (addr & 1) << 16;
50 phy_config |= grf5101_encode[(data & 0xf000) >> 12] << 24;
53 phy_config |= 0x90000000;
57 rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, phy_config & 0xffff);
58 rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, phy_config >> 1
[all...]
H A Drtl8180_max2820.c53 u32 phy_config; local
55 phy_config = 0x90 + (data & 0xf);
56 phy_config <<= 16;
57 phy_config += addr;
58 phy_config <<= 8;
59 phy_config += (data >> 4) & 0xff;
63 rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, phy_config & 0xffff);
64 rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, phy_config >> 16);
H A Drtl8180_sa2400.c61 u32 phy_config; local
64 phy_config = 0xb0000000;
66 phy_config |= ((u32)(addr & 0xf)) << 24;
67 phy_config |= data & 0xffffff;
71 rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, phy_config & 0xffff);
72 rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, phy_config >> 16);

Completed in 40 milliseconds