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

12

/external/syslinux/gpxe/src/net/
H A Dmii.c44 mii->mdio_read ( mii->dev, mii->phy_id, MII_BMSR );
45 if ( mii->mdio_read ( mii->dev, mii->phy_id, MII_BMSR ) & BMSR_LSTATUS )
120 advertise = mii->mdio_read ( mii->dev, mii->phy_id, MII_ADVERTISE );
123 lpa = mii->mdio_read ( mii->dev, mii->phy_id, MII_LPA );
125 lpa2 = mii->mdio_read ( mii->dev, mii->phy_id, MII_STAT1000 );
/external/syslinux/gpxe/src/drivers/net/
H A Dsis190.c100 static void mdio_write(void *ioaddr, int phy_id, int reg, int val) argument
103 (((u32) reg) << EhnMIIregShift) | (phy_id << EhnMIIpmdShift) |
107 static int mdio_read(void *ioaddr, int phy_id, int reg) argument
110 (((u32) reg) << EhnMIIregShift) | (phy_id << EhnMIIpmdShift));
115 static void __mdio_write(struct net_device *dev, int phy_id, int reg, int val) argument
119 mdio_write(tp->mmio_addr, phy_id, reg, val);
122 static int __mdio_read(struct net_device *dev, int phy_id, int reg) argument
126 return mdio_read(tp->mmio_addr, phy_id, reg);
129 static u16 mdio_read_latched(void *ioaddr, int phy_id, int reg) argument
131 mdio_read(ioaddr, phy_id, re
459 int phy_id = tp->mii_if.phy_id; local
749 sis190_init_phy(struct sis190_private *tp, struct sis190_phy *phy, unsigned int phy_id, u16 mii_status) argument
789 int phy_id = tp->mii_if.phy_id; local
817 int phy_id; local
1069 int phy_id = tp->mii_if.phy_id; local
[all...]
H A Dw89c840.c262 static int mdio_read(int base_address, int phy_id, int location);
264 static void mdio_write(int base_address, int phy_id, int location, int value);
806 static int mdio_read(int base_address, int phy_id, int location) argument
809 int mii_cmd = (0xf6 << 10) | (phy_id << 5) | location;
836 static void mdio_write(int base_address, int phy_id, int location, int value)
839 int mii_cmd = (0x5002 << 16) | (phy_id << 23) | (location<<18) | value;
842 if (location == 4 && phy_id == w840private.phys[0])
H A Dpcnet32.c254 static int mdio_read(struct nic *nic __unused, int phy_id, int reg_num);
256 static void mdio_write(struct nic *nic __unused, int phy_id, int reg_num,
930 lp->mii_if.phy_id = lp->phys[0];
960 static int mdio_read(struct nic *nic __unused, int phy_id, int reg_num) argument
971 ((phy_id & 0x1f) << 5) | (reg_num & 0x1f));
979 static void mdio_write(struct nic *nic __unused, int phy_id, int reg_num,
990 ((phy_id & 0x1f) << 5) | (reg_num & 0x1f));
H A Dsundance.c285 static int mdio_read(struct nic *nic, int phy_id, unsigned int location);
286 static void mdio_write(struct nic *nic, int phy_id, unsigned int location,
631 sdc->mii_if.phy_id = sdc->phys[0];
801 mdio_read(struct nic *nic __unused, int phy_id, unsigned int location) argument
804 int mii_cmd = (0xf6 << 10) | (phy_id << 5) | location;
833 mdio_write(struct nic *nic __unused, int phy_id, argument
838 (0x5002 << 16) | (phy_id << 23) | (location << 18) | value;
H A Depic100.c62 static int mii_read(int phy_id, int location);
502 mii_read(int phy_id, int location) argument
506 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 Dtg3.c719 if ((tp->phy_id & PHY_ID_MASK) == PHY_ID_BCM5401) {
741 if ((tp->phy_id & PHY_ID_REV_MASK) == PHY_REV_BCM5401_B0 &&
872 if ((tp->phy_id & PHY_ID_MASK) == PHY_ID_BCM5411 &&
1405 if (tp->phy_id == PHY_ID_SERDES) {
1843 if (tp->phy_id == PHY_ID_SERDES) {
2235 if (tp->phy_id == PHY_ID_SERDES) {
2413 uint32_t phy_id; member in struct:subsys_tbl_ent
2467 tp->phy_id = PHY_ID_INVALID;
2472 tp->phy_id = subsys_id_to_phy_id[i].phy_id;
[all...]
H A Deepro100.c616 static int ifec_mdio_read ( struct net_device *netdev, int phy_id, argument
626 outl ( 0x08000000 | ( location << 16 ) | ( phy_id << 21 ),
681 int phy_id, int location, int value )
690 outl ( 0x04000000 | ( location << 16 ) | ( phy_id << 21 ) | value,
680 ifec_mdio_write( struct net_device *netdev, int phy_id, int location, int value ) argument
H A Dsis190.h271 int phy_id; member in struct:sis190_phy
H A Dtulip.c495 static int mdio_read(struct nic *nic, int phy_id, int location);
496 static void mdio_write(struct nic *nic, int phy_id, int location, int value);
586 int mdio_read(struct nic *nic __unused, int phy_id, int location)
589 int read_cmd = (0xf6 << 10) | (phy_id << 5) | location;
599 outl(0x60020000 + (phy_id<<23) + (location<<18), ioaddr + 0xA0);
609 if (phy_id == 1) {
647 void mdio_write(struct nic *nic __unused, int phy_id, int location, int value)
650 int cmd = (0x5002 << 16) | (phy_id << 23) | (location<<18) | value;
668 if (phy_id != 1)
582 mdio_read(struct nic *nic __unused, int phy_id, int location) argument
643 mdio_write(struct nic *nic __unused, int phy_id, int location, int value) argument
H A Dvia-velocity.c729 vptr->phy_id = MII_GET_PHY_ID(vptr->mac_regs);
1311 switch (PHYID_GET_PHY_ID(vptr->phy_id)) {
1629 if (PHYID_GET_PHY_ID(vptr->phy_id) == PHYID_CICADA_CS8201) {
H A Datl1e.c173 static int atl1e_mdio_read(struct net_device *netdev, int phy_id __unused,
183 static void atl1e_mdio_write(struct net_device *netdev, int phy_id __unused,
H A Dmtd80x.c365 static int mdio_read(struct nic * , int phy_id, int location);
H A Dbnx2.c1127 bp->phy_id = val << 16;
1129 bp->phy_id |= val & 0xffff;
H A Dvia-velocity.h1829 u32 phy_id; member in struct:velocity_info
H A Dtg3.h2031 uint32_t phy_id; member in struct:tg3
/external/syslinux/gpxe/src/include/
H A Dmii.h146 int phy_id; member in struct:mii_if_info
156 int (*mdio_read) (struct net_device *dev, int phy_id, int location);
157 void (*mdio_write) (struct net_device *dev, int phy_id, int location, int val);
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_roboswitch.c90 mii->phy_id = ROBO_PHY_ADDR;
107 mii->phy_id = ROBO_PHY_ADDR;
405 if (if_mii(&drv->ifr)->phy_id != ROBO_PHY_ADDR &&
406 if_mii(&drv->ifr)->phy_id != 0) {
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_roboswitch.c90 mii->phy_id = ROBO_PHY_ADDR;
107 mii->phy_id = ROBO_PHY_ADDR;
405 if (if_mii(&drv->ifr)->phy_id != ROBO_PHY_ADDR &&
406 if_mii(&drv->ifr)->phy_id != 0) {
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_roboswitch.c90 mii->phy_id = ROBO_PHY_ADDR;
107 mii->phy_id = ROBO_PHY_ADDR;
405 if (if_mii(&drv->ifr)->phy_id != ROBO_PHY_ADDR &&
406 if_mii(&drv->ifr)->phy_id != 0) {
/external/kernel-headers/original/uapi/linux/
H A Dmii.h156 __u16 phy_id; member in struct:mii_ioctl_data
/external/iw/
H A Dinfo.c114 static int64_t phy_id = -1; local
123 if (nla_get_u32(tb_msg[NL80211_ATTR_WIPHY]) == phy_id)
127 phy_id = nla_get_u32(tb_msg[NL80211_ATTR_WIPHY]);
/external/syslinux/gpxe/src/drivers/net/e1000/
H A De1000_hw.c171 switch (hw->phy_id) {
1467 DEBUGOUT1("Phy ID = %#08x \n", hw->phy_id);
1861 (hw->phy_id == M88E1111_I_PHY_ID)) {
4109 if (hw->phy_id != 0)
4117 hw->phy_id = IGP01E1000_I_PHY_ID;
4136 hw->phy_id = (uint32_t) (phy_id_high << 16);
4142 hw->phy_id |= (uint32_t) (phy_id_low & PHY_REVISION_MASK);
4147 if (hw->phy_id == M88E1000_E_PHY_ID) match = TRUE;
4150 if (hw->phy_id == M88E1000_I_PHY_ID) match = TRUE;
4157 if (hw->phy_id
[all...]
/external/valgrind/coregrind/m_syswrap/
H A Dsyswrap-linux.c6565 (Addr)&((struct vki_mii_ioctl_data *)&((struct vki_ifreq *)ARG3)->vki_ifr_data)->phy_id,
6566 sizeof(((struct vki_mii_ioctl_data *)&((struct vki_ifreq *)ARG3)->vki_ifr_data)->phy_id) );
6675 (Addr)&((struct vki_mii_ioctl_data *)&((struct vki_ifreq *)ARG3)->vki_ifr_data)->phy_id,
6676 sizeof(((struct vki_mii_ioctl_data *)&((struct vki_ifreq *)ARG3)->vki_ifr_data)->phy_id) );
9416 (Addr)&((struct vki_mii_ioctl_data *)&((struct vki_ifreq *)ARG3)->vki_ifr_data)->phy_id,
9417 sizeof(((struct vki_mii_ioctl_data *)&((struct vki_ifreq *)ARG3)->vki_ifr_data)->phy_id) );

Completed in 349 milliseconds

12