Home
last modified time | relevance | path

Searched refs:phy_id (Results 1 – 10 of 10) sorted by relevance

/external/grub/netboot/
Dw89c840.c273 static int mdio_read(int base_address, int phy_id, int location);
274 static void mdio_write(int base_address, int phy_id, int location, int value);
788 static int mdio_read(int base_address, int phy_id, int location) in mdio_read() argument
791 int mii_cmd = (0xf6 << 10) | (phy_id << 5) | location; in mdio_read()
817 static void mdio_write(int base_address, int phy_id, int location, int value) in mdio_write() argument
820 int mii_cmd = (0x5002 << 16) | (phy_id << 23) | (location<<18) | value; in mdio_write()
823 if (location == 4 && phy_id == w840private.phys[0]) in mdio_write()
Dsis900.c124 static u16 sis900_mdio_read(int phy_id, int location);
125 static void sis900_mdio_write(int phy_id, int location, int val);
409 static u16 sis900_mdio_read(int phy_id, int location) in sis900_mdio_read() argument
412 int mii_cmd = MIIread|(phy_id<<MIIpmdShift)|(location<<MIIregShift); in sis900_mdio_read()
438 static void sis900_mdio_write(int phy_id, int location, int value) in sis900_mdio_write() argument
441 int mii_cmd = MIIwrite|(phy_id<<MIIpmdShift)|(location<<MIIregShift); in sis900_mdio_write()
Deepro100.c277 static int mdio_write(int phy_id, int location, int value) in mdio_write() argument
281 outl(0x04000000 | (location<<16) | (phy_id<<21) | value, in mdio_write()
299 static int mdio_read(int phy_id, int location) in mdio_read() argument
302 outl(0x08000000 | (location<<16) | (phy_id<<21), ioaddr + SCBCtrlMDI); in mdio_read()
Depic100.c59 static int mii_read(int phy_id, int location);
470 mii_read(int phy_id, int location) in mii_read() argument
474 outl((phy_id << 9) | (location << 4) | MII_READOP, mmctl); in mii_read()
Dnatsemi.c222 static int mdio_read(int phy_id, int location);
390 static int mdio_read(int phy_id, int location) in mdio_read() argument
392 if (phy_id == 1 && location < 32) in mdio_read()
Dtulip.c478 static int mdio_read(struct nic *nic, int phy_id, int location);
479 static void mdio_write(struct nic *nic, int phy_id, int location, int value);
568 int mdio_read(struct nic *nic, int phy_id, int location) in mdio_read() argument
571 int read_cmd = (0xf6 << 10) | (phy_id << 5) | location; in mdio_read()
581 outl(0x60020000 + (phy_id<<23) + (location<<18), ioaddr + 0xA0); in mdio_read()
591 if (phy_id == 1) { in mdio_read()
629 void mdio_write(struct nic *nic, int phy_id, int location, int value) in mdio_write() argument
632 int cmd = (0x5002 << 16) | (phy_id << 23) | (location<<18) | value; in mdio_write()
650 if (phy_id != 1) in mdio_write()
Dtlan.c2389 data->phy_id = phy;
2393 TLan_MiiReadReg(dev, data->phy_id & 0x1f, data->reg_num & 0x1f, &data->val_out);
2401 TLan_MiiWriteReg(dev, data->phy_id & 0x1f, data->reg_num & 0x1f, data->val_in);
/external/wpa_supplicant_8/src/drivers/
Ddriver_roboswitch.c90 mii->phy_id = ROBO_PHY_ADDR; in wpa_driver_roboswitch_mdio_read()
106 mii->phy_id = ROBO_PHY_ADDR; in wpa_driver_roboswitch_mdio_write()
401 if (if_mii(&drv->ifr)->phy_id != ROBO_PHY_ADDR) { in wpa_driver_roboswitch_init()
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-linux.c4535 … (Addr)&((struct vki_mii_ioctl_data *)&((struct vki_ifreq *)ARG3)->vki_ifr_data)->phy_id, in PRE()
4536 … sizeof(((struct vki_mii_ioctl_data *)&((struct vki_ifreq *)ARG3)->vki_ifr_data)->phy_id) ); in PRE()
4645 … (Addr)&((struct vki_mii_ioctl_data *)&((struct vki_ifreq *)ARG3)->vki_ifr_data)->phy_id, in PRE()
4646 … sizeof(((struct vki_mii_ioctl_data *)&((struct vki_ifreq *)ARG3)->vki_ifr_data)->phy_id) ); in PRE()
5863 … (Addr)&((struct vki_mii_ioctl_data *)&((struct vki_ifreq *)ARG3)->vki_ifr_data)->phy_id, in POST()
5864 … sizeof(((struct vki_mii_ioctl_data *)&((struct vki_ifreq *)ARG3)->vki_ifr_data)->phy_id) ); in POST()
/external/valgrind/main/include/vki/
Dvki-linux.h1059 vki_u16 phy_id; member