Searched defs:phy_id (Results 1 - 14 of 14) sorted by relevance

/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/
H A Deepro100.c579 static int ifec_mdio_read ( struct net_device *netdev, int phy_id, argument
589 outl ( 0x08000000 | ( location << 16 ) | ( phy_id << 21 ),
644 int phy_id, int location, int value )
653 outl ( 0x04000000 | ( location << 16 ) | ( phy_id << 21 ) | value,
643 ifec_mdio_write( struct net_device *netdev, int phy_id, int location, int value ) argument
H A Dpcnet32.c517 int phy_id; local
521 phy_id = ( ( priv->a->read_bcr ( ioaddr, 33 ) ) >> 5 ) & 0x1f;
534 phy_id = i;
536 priv->a->write_bcr ( ioaddr, 33, phy_id << 5 );
H A Depic100.c61 static int mii_read(int phy_id, int location);
499 mii_read(int phy_id, int location) argument
503 outl((phy_id << 9) | (location << 4) | MII_READOP, mmctl);
H A Dsis900.c151 static u16 sis900_mdio_read(int phy_id, int location);
153 static void sis900_mdio_write(int phy_id, int location, int val);
541 static u16 sis900_mdio_read(int phy_id, int location)
544 int mii_cmd = MIIread|(phy_id<<MIIpmdShift)|(location<<MIIregShift);
572 static void sis900_mdio_write(int phy_id, int location, int value)
575 int mii_cmd = MIIwrite|(phy_id<<MIIpmdShift)|(location<<MIIregShift);
535 sis900_mdio_read(int phy_id, int location) argument
H A Dsis190.c99 static void mdio_write(void *ioaddr, int phy_id, int reg, int val) argument
102 (((u32) reg) << EhnMIIregShift) | (phy_id << EhnMIIpmdShift) |
106 static int mdio_read(void *ioaddr, int phy_id, int reg) argument
109 (((u32) reg) << EhnMIIregShift) | (phy_id << EhnMIIpmdShift));
114 static void __mdio_write(struct net_device *dev, int phy_id, int reg, int val) argument
118 mdio_write(tp->mmio_addr, phy_id, reg, val);
121 static int __mdio_read(struct net_device *dev, int phy_id, int reg) argument
125 return mdio_read(tp->mmio_addr, phy_id, reg);
128 static u16 mdio_read_latched(void *ioaddr, int phy_id, int reg) argument
130 mdio_read(ioaddr, phy_id, re
458 int phy_id = tp->mii_if.phy_id; local
748 sis190_init_phy(struct sis190_private *tp, struct sis190_phy *phy, unsigned int phy_id, u16 mii_status) argument
788 int phy_id = tp->mii_if.phy_id; local
816 int phy_id; local
1068 int phy_id = tp->mii_if.phy_id; local
[all...]
H A Dw89c840.c271 static int mdio_read(int base_address, int phy_id, int location);
273 static void mdio_write(int base_address, int phy_id, int location, int value);
815 static int mdio_read(int base_address, int phy_id, int location) argument
818 int mii_cmd = (0xf6 << 10) | (phy_id << 5) | location;
845 static void mdio_write(int base_address, int phy_id, int location, int value)
848 int mii_cmd = (0x5002 << 16) | (phy_id << 23) | (location<<18) | value;
851 if (location == 4 && phy_id == w840private.phys[0])
H A Dsis190.h271 int phy_id; member in struct:sis190_phy
H A Dsundance.c294 static int mdio_read(struct nic *nic, int phy_id, unsigned int location);
295 static void mdio_write(struct nic *nic, int phy_id, unsigned int location,
641 sdc->mii_if.phy_id = sdc->phys[0];
811 mdio_read(struct nic *nic __unused, int phy_id, unsigned int location) argument
814 int mii_cmd = (0xf6 << 10) | (phy_id << 5) | location;
843 mdio_write(struct nic *nic __unused, int phy_id, argument
848 (0x5002 << 16) | (phy_id << 23) | (location << 18) | value;
H A Dtulip.c489 static int mdio_read(struct nic *nic, int phy_id, int location);
490 static void mdio_write(struct nic *nic, int phy_id, int location, int value);
559 int mdio_read(struct nic *nic __unused, int phy_id, int location)
562 int read_cmd = (0xf6 << 10) | (phy_id << 5) | location;
570 outl(0x60020000 + (phy_id<<23) + (location<<18), ioaddr + 0xA0);
580 if (phy_id == 1) {
618 void mdio_write(struct nic *nic __unused, int phy_id, int location, int value)
621 int cmd = (0x5002 << 16) | (phy_id << 23) | (location<<18) | value;
637 if (phy_id != 1)
555 mdio_read(struct nic *nic __unused, int phy_id, int location) argument
614 mdio_write(struct nic *nic __unused, int phy_id, int location, int value) argument
H A Dvia-velocity.h1831 u32 phy_id; member in struct:velocity_info
H A Dbnx2.h4097 u32 phy_id; member in struct:bnx2
/vbox/src/VBox/Devices/PC/ipxe/src/include/
H A Dmii.h143 int phy_id; member in struct:mii_if_info
153 int (*mdio_read) (struct net_device *dev, int phy_id, int location);
154 void (*mdio_write) (struct net_device *dev, int phy_id, int location, int val);
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/tg3/
H A Dtg3_phy.c137 u32 phy_id; member in struct:subsys_tbl_ent
722 if ((tp->phy_id & TG3_PHY_ID_MASK) == TG3_PHY_ID_BCM5401) {
929 tp->phy_id = hw_phy_id;
935 if (tp->phy_id != TG3_PHY_ID_INVALID) {
951 tp->phy_id = p->phy_id;
952 if (!tp->phy_id ||
953 tp->phy_id == TG3_PHY_ID_BCM8002)
997 if ((tp->phy_id & TG3_PHY_ID_MASK) == TG3_PHY_ID_BCM5401) {
1202 else if ((tp->phy_id
[all...]
H A Dtg3.h3150 u32 phy_id; member in struct:tg3

Completed in 344 milliseconds