Searched refs:phy_id (Results 1 - 12 of 12) sorted by relevance

/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dw89c840.c265 static int mdio_read(int base_address, int phy_id, int location);
267 static void mdio_write(int base_address, int phy_id, int location, int value);
794 static int mdio_read(int base_address, int phy_id, int location) argument
797 int mii_cmd = (0xf6 << 10) | (phy_id << 5) | location;
824 static void mdio_write(int base_address, int phy_id, int location, int value)
827 int mii_cmd = (0x5002 << 16) | (phy_id << 23) | (location<<18) | value;
830 if (location == 4 && phy_id == w840private.phys[0])
H A Dpcnet32.c247 int phy_id; member in struct:mii_if_info
280 static int mdio_read(struct nic *nic __unused, int phy_id, int reg_num);
282 static void mdio_write(struct nic *nic __unused, int phy_id, int reg_num,
929 lp->mii_if.phy_id = lp->phys[0];
955 static int mdio_read(struct nic *nic __unused, int phy_id, int reg_num) argument
966 ((phy_id & 0x1f) << 5) | (reg_num & 0x1f));
974 static void mdio_write(struct nic *nic __unused, int phy_id, int reg_num,
985 ((phy_id & 0x1f) << 5) | (reg_num & 0x1f));
H A Dsundance.c70 int phy_id; member in struct:mii_if_info
310 static int mdio_read(struct nic *nic, int phy_id, unsigned int location);
311 static void mdio_write(struct nic *nic, int phy_id, unsigned int location,
649 sdc->mii_if.phy_id = sdc->phys[0];
805 mdio_read(struct nic *nic __unused, int phy_id, unsigned int location) argument
808 int mii_cmd = (0xf6 << 10) | (phy_id << 5) | location;
837 mdio_write(struct nic *nic __unused, int phy_id, argument
842 (0x5002 << 16) | (phy_id << 23) | (location << 18) | value;
H A Dtg3.c699 if ((tp->phy_id & PHY_ID_MASK) == PHY_ID_BCM5401) {
721 if ((tp->phy_id & PHY_ID_REV_MASK) == PHY_REV_BCM5401_B0 &&
852 if ((tp->phy_id & PHY_ID_MASK) == PHY_ID_BCM5411 &&
1385 if (tp->phy_id == PHY_ID_SERDES) {
1779 if (tp->phy_id == PHY_ID_SERDES) {
2156 if (tp->phy_id == PHY_ID_SERDES) {
2333 uint32_t phy_id; member in struct:subsys_tbl_ent
2383 tp->phy_id = PHY_ID_INVALID;
2388 tp->phy_id = subsys_id_to_phy_id[i].phy_id;
[all...]
H A Depic100.c59 static int mii_read(int phy_id, int location);
494 mii_read(int phy_id, int location) argument
498 outl((phy_id << 9) | (location << 4) | MII_READOP, mmctl);
H A Deepro100.c286 static int mdio_write(int phy_id, int location, int value) argument
290 outl(0x04000000 | (location<<16) | (phy_id<<21) | value,
309 static int mdio_read(int phy_id, int location) argument
312 outl(0x08000000 | (location<<16) | (phy_id<<21), ioaddr + SCBCtrlMDI);
H A Dsis900.c134 static u16 sis900_mdio_read(int phy_id, int location);
136 static void sis900_mdio_write(int phy_id, int location, int val);
515 static u16 sis900_mdio_read(int phy_id, int location) argument
518 int mii_cmd = MIIread|(phy_id<<MIIpmdShift)|(location<<MIIregShift);
546 static void sis900_mdio_write(int phy_id, int location, int value)
549 int mii_cmd = MIIwrite|(phy_id<<MIIpmdShift)|(location<<MIIregShift);
H A Dnatsemi.c215 static int mdio_read(int phy_id, int location);
388 static int mdio_read(int phy_id, int location) argument
390 if (phy_id == 1 && location < 32)
H A De1000.c740 switch(hw->phy_id) {
1570 DEBUGOUT1("Phy ID = %x \n", hw->phy_id);
3091 hw->phy_id = (uint32_t) (phy_id_high << 16);
3096 hw->phy_id |= (uint32_t) (phy_id_low & PHY_REVISION_MASK);
3103 if(hw->phy_id == M88E1000_E_PHY_ID) match = TRUE;
3106 if(hw->phy_id == M88E1000_I_PHY_ID) match = TRUE;
3113 if(hw->phy_id == M88E1011_I_PHY_ID) match = TRUE;
3119 if(hw->phy_id == IGP01E1000_I_PHY_ID) match = TRUE;
3128 DEBUGOUT1("PHY ID 0x%X detected\n", hw->phy_id);
3131 DEBUGOUT1("Invalid PHY ID 0x%X\n", hw->phy_id);
[all...]
H A Dtulip.c479 static int mdio_read(struct nic *nic, int phy_id, int location);
480 static void mdio_write(struct nic *nic, int phy_id, int location, int value);
566 int mdio_read(struct nic *nic __unused, int phy_id, int location) argument
569 int read_cmd = (0xf6 << 10) | (phy_id << 5) | location;
579 outl(0x60020000 + (phy_id<<23) + (location<<18), ioaddr + 0xA0);
589 if (phy_id == 1) {
627 void mdio_write(struct nic *nic __unused, int phy_id, int location, int value) argument
630 int cmd = (0x5002 << 16) | (phy_id << 23) | (location<<18) | value;
648 if (phy_id != 1)
H A De1000_hw.h912 uint32_t phy_id; member in struct:e1000_hw
H A Dtg3.h2117 uint32_t phy_id; member in struct:tg3

Completed in 89 milliseconds