Searched refs:phy_config (Results 1 – 3 of 3) sorted by relevance
/external/syslinux/gpxe/src/drivers/net/rtl818x/ |
D | rtl8180_grf5101.c | 43 u32 phy_config; in write_grf5101() local 45 phy_config = grf5101_encode[(data >> 8) & 0xF]; in write_grf5101() 46 phy_config |= grf5101_encode[(data >> 4) & 0xF] << 4; in write_grf5101() 47 phy_config |= grf5101_encode[data & 0xF] << 8; in write_grf5101() 48 phy_config |= grf5101_encode[(addr >> 1) & 0xF] << 12; in write_grf5101() 49 phy_config |= (addr & 1) << 16; in write_grf5101() 50 phy_config |= grf5101_encode[(data & 0xf000) >> 12] << 24; in write_grf5101() 53 phy_config |= 0x90000000; in write_grf5101() 57 rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, phy_config & 0xffff); in write_grf5101() 58 rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, phy_config >> 16); in write_grf5101()
|
D | rtl8180_max2820.c | 53 u32 phy_config; in write_max2820() local 55 phy_config = 0x90 + (data & 0xf); in write_max2820() 56 phy_config <<= 16; in write_max2820() 57 phy_config += addr; in write_max2820() 58 phy_config <<= 8; in write_max2820() 59 phy_config += (data >> 4) & 0xff; in write_max2820() 63 rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, phy_config & 0xffff); in write_max2820() 64 rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, phy_config >> 16); in write_max2820()
|
D | rtl8180_sa2400.c | 61 u32 phy_config; in write_sa2400() local 64 phy_config = 0xb0000000; in write_sa2400() 66 phy_config |= ((u32)(addr & 0xf)) << 24; in write_sa2400() 67 phy_config |= data & 0xffffff; in write_sa2400() 71 rtl818x_iowrite16(priv, &priv->map->RFPinsOutput, phy_config & 0xffff); in write_sa2400() 72 rtl818x_iowrite16(priv, &priv->map->RFPinsEnable, phy_config >> 16); in write_sa2400()
|