Home
last modified time | relevance | path

Searched refs:phy_config (Results 1 – 25 of 2824) sorted by relevance

12345678910>>...113

/dports/emulators/qemu42/qemu-4.2.1/roms/ipxe/src/drivers/net/rtl818x/
H A Drtl8180_grf5101.c43 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()
H A Drtl8180_max2820.c53 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()
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/ipxe/src/drivers/net/rtl818x/
H A Drtl8180_grf5101.c43 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()
H A Drtl8180_max2820.c53 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()
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/roms/ipxe/src/drivers/net/rtl818x/
H A Drtl8180_grf5101.c43 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()
H A Drtl8180_max2820.c53 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()
/dports/sysutils/syslinux/syslinux-6.03/gpxe/src/drivers/net/rtl818x/
H A Drtl8180_grf5101.c43 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()
H A Drtl8180_max2820.c53 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()
/dports/emulators/qemu5/qemu-5.2.0/roms/ipxe/src/drivers/net/rtl818x/
H A Drtl8180_grf5101.c43 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()
H A Drtl8180_max2820.c53 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()
/dports/net/ipxe/ipxe-2265a65/src/drivers/net/rtl818x/
H A Drtl8180_grf5101.c43 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()
H A Drtl8180_max2820.c53 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()
/dports/emulators/qemu-utils/qemu-4.2.1/roms/ipxe/src/drivers/net/rtl818x/
H A Drtl8180_grf5101.c43 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()
H A Drtl8180_max2820.c53 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()
/dports/emulators/qemu/qemu-6.2.0/roms/ipxe/src/drivers/net/rtl818x/
H A Drtl8180_grf5101.c43 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()
H A Drtl8180_max2820.c53 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()
/dports/emulators/qemu60/qemu-6.0.0/roms/ipxe/src/drivers/net/rtl818x/
H A Drtl8180_grf5101.c43 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()
H A Drtl8180_max2820.c53 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()
/dports/sysutils/u-boot-olinuxino-lime/u-boot-2021.07/board/freescale/lx2160a/
H A Deth_lx2160aqds.c62 struct phy_config { struct
68 } phy_config[SRDS_MAX_LANES]; member
176 return table[i].phy_config; in get_phy_config()
360 static inline void do_phy_config(const struct phy_config *phy_config) in do_phy_config() argument
366 if (!phy_config[i].dpmacid) in do_phy_config()
461 const struct phy_config *phy_config; in board_eth_init() local
530 if (!phy_config) { in board_eth_init()
534 do_phy_config(phy_config); in board_eth_init()
538 if (!phy_config) { in board_eth_init()
542 do_phy_config(phy_config); in board_eth_init()
[all …]
/dports/sysutils/u-boot-olinuxino-lime2-emmc/u-boot-2021.07/board/freescale/lx2160a/
H A Deth_lx2160aqds.c62 struct phy_config { struct
68 } phy_config[SRDS_MAX_LANES]; member
176 return table[i].phy_config; in get_phy_config()
360 static inline void do_phy_config(const struct phy_config *phy_config) in do_phy_config() argument
366 if (!phy_config[i].dpmacid) in do_phy_config()
461 const struct phy_config *phy_config; in board_eth_init() local
530 if (!phy_config) { in board_eth_init()
534 do_phy_config(phy_config); in board_eth_init()
538 if (!phy_config) { in board_eth_init()
542 do_phy_config(phy_config); in board_eth_init()
[all …]
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/board/freescale/lx2160a/
H A Deth_lx2160aqds.c62 struct phy_config { struct
68 } phy_config[SRDS_MAX_LANES]; member
176 return table[i].phy_config; in get_phy_config()
360 static inline void do_phy_config(const struct phy_config *phy_config) in do_phy_config() argument
366 if (!phy_config[i].dpmacid) in do_phy_config()
461 const struct phy_config *phy_config; in board_eth_init() local
530 if (!phy_config) { in board_eth_init()
534 do_phy_config(phy_config); in board_eth_init()
538 if (!phy_config) { in board_eth_init()
542 do_phy_config(phy_config); in board_eth_init()
[all …]
/dports/sysutils/u-boot-cubox-hummingboard/u-boot-2021.07/board/freescale/lx2160a/
H A Deth_lx2160aqds.c62 struct phy_config { struct
68 } phy_config[SRDS_MAX_LANES]; member
176 return table[i].phy_config; in get_phy_config()
360 static inline void do_phy_config(const struct phy_config *phy_config) in do_phy_config() argument
366 if (!phy_config[i].dpmacid) in do_phy_config()
461 const struct phy_config *phy_config; in board_eth_init() local
530 if (!phy_config) { in board_eth_init()
534 do_phy_config(phy_config); in board_eth_init()
538 if (!phy_config) { in board_eth_init()
542 do_phy_config(phy_config); in board_eth_init()
[all …]
/dports/sysutils/u-boot-cubieboard2/u-boot-2021.07/board/freescale/lx2160a/
H A Deth_lx2160aqds.c62 struct phy_config { struct
68 } phy_config[SRDS_MAX_LANES]; member
176 return table[i].phy_config; in get_phy_config()
360 static inline void do_phy_config(const struct phy_config *phy_config) in do_phy_config() argument
366 if (!phy_config[i].dpmacid) in do_phy_config()
461 const struct phy_config *phy_config; in board_eth_init() local
530 if (!phy_config) { in board_eth_init()
534 do_phy_config(phy_config); in board_eth_init()
538 if (!phy_config) { in board_eth_init()
542 do_phy_config(phy_config); in board_eth_init()
[all …]
/dports/sysutils/u-boot-firefly-rk3399/u-boot-2021.07/board/freescale/lx2160a/
H A Deth_lx2160aqds.c62 struct phy_config { struct
68 } phy_config[SRDS_MAX_LANES]; member
176 return table[i].phy_config; in get_phy_config()
360 static inline void do_phy_config(const struct phy_config *phy_config) in do_phy_config() argument
366 if (!phy_config[i].dpmacid) in do_phy_config()
461 const struct phy_config *phy_config; in board_eth_init() local
530 if (!phy_config) { in board_eth_init()
534 do_phy_config(phy_config); in board_eth_init()
538 if (!phy_config) { in board_eth_init()
542 do_phy_config(phy_config); in board_eth_init()
[all …]
/dports/sysutils/u-boot-sinovoip-bpi-m3/u-boot-2021.07/board/freescale/lx2160a/
H A Deth_lx2160aqds.c62 struct phy_config { struct
68 } phy_config[SRDS_MAX_LANES]; member
176 return table[i].phy_config; in get_phy_config()
360 static inline void do_phy_config(const struct phy_config *phy_config) in do_phy_config() argument
366 if (!phy_config[i].dpmacid) in do_phy_config()
461 const struct phy_config *phy_config; in board_eth_init() local
530 if (!phy_config) { in board_eth_init()
534 do_phy_config(phy_config); in board_eth_init()
538 if (!phy_config) { in board_eth_init()
542 do_phy_config(phy_config); in board_eth_init()
[all …]

12345678910>>...113