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

/external/grub/netboot/
H A 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) argument
791 int mii_cmd = (0xf6 << 10) | (phy_id << 5) | location;
817 static void mdio_write(int base_address, int phy_id, int location, int value) argument
820 int mii_cmd = (0x5002 << 16) | (phy_id << 23) | (location<<18) | value;
823 if (location == 4 && phy_id == w840private.phys[0])
H A Dsis900.c126 static u16 sis900_mdio_read(int phy_id, int location);
127 static void sis900_mdio_write(int phy_id, int location, int val);
415 static u16 sis900_mdio_read(int phy_id, int location)
418 int mii_cmd = MIIread|(phy_id<<MIIpmdShift)|(location<<MIIregShift);
444 static void sis900_mdio_write(int phy_id, int location, int value)
447 int mii_cmd = MIIwrite|(phy_id<<MIIpmdShift)|(location<<MIIregShift);
409 sis900_mdio_read(int phy_id, int location) argument
438 sis900_mdio_write(int phy_id, int location, int value) argument
H A Depic100.c59 static int mii_read(int phy_id, int location);
470 mii_read(int phy_id, int location) argument
474 outl((phy_id << 9) | (location << 4) | MII_READOP, mmctl);
H A Deepro100.c277 static int mdio_write(int phy_id, int location, int value) argument
281 outl(0x04000000 | (location<<16) | (phy_id<<21) | value,
299 static int mdio_read(int phy_id, int location) argument
302 outl(0x08000000 | (location<<16) | (phy_id<<21), ioaddr + SCBCtrlMDI);
H A Dnatsemi.c223 static int mdio_read(int phy_id, int location);
391 static int mdio_read(int phy_id, int location)
393 if (phy_id == 1 && location < 32)
390 mdio_read(int phy_id, int location) argument
H A Dtulip.c480 static int mdio_read(struct nic *nic, int phy_id, int location);
481 static void mdio_write(struct nic *nic, int phy_id, int location, int value);
572 int mdio_read(struct nic *nic, int phy_id, int location)
575 int read_cmd = (0xf6 << 10) | (phy_id << 5) | location;
585 outl(0x60020000 + (phy_id<<23) + (location<<18), ioaddr + 0xA0);
595 if (phy_id == 1) {
633 void mdio_write(struct nic *nic, int phy_id, int location, int value)
636 int cmd = (0x5002 << 16) | (phy_id << 23) | (location<<18) | value;
654 if (phy_id != 1)
568 mdio_read(struct nic *nic, int phy_id, int location) argument
629 mdio_write(struct nic *nic, int phy_id, int location, int value) argument
H A 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_6/wpa_supplicant/src/drivers/
H A Ddriver_roboswitch.c100 mii->phy_id = ROBO_PHY_ADDR;
116 mii->phy_id = ROBO_PHY_ADDR;
404 if (if_mii(&drv->ifr)->phy_id != ROBO_PHY_ADDR) {
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Ddriver_roboswitch.c90 mii->phy_id = ROBO_PHY_ADDR;
106 mii->phy_id = ROBO_PHY_ADDR;
401 if (if_mii(&drv->ifr)->phy_id != ROBO_PHY_ADDR) {
/external/wpa_supplicant_8/src/drivers/
H A Ddriver_roboswitch.c90 mii->phy_id = ROBO_PHY_ADDR;
106 mii->phy_id = ROBO_PHY_ADDR;
401 if (if_mii(&drv->ifr)->phy_id != ROBO_PHY_ADDR) {
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Ddriver_roboswitch.c90 mii->phy_id = ROBO_PHY_ADDR;
106 mii->phy_id = ROBO_PHY_ADDR;
401 if (if_mii(&drv->ifr)->phy_id != ROBO_PHY_ADDR) {
/external/valgrind/main/coregrind/m_syswrap/
H A Dsyswrap-linux.c4145 (Addr)&((struct vki_mii_ioctl_data *)&((struct vki_ifreq *)ARG3)->vki_ifr_data)->phy_id,
4146 sizeof(((struct vki_mii_ioctl_data *)&((struct vki_ifreq *)ARG3)->vki_ifr_data)->phy_id) );
4248 (Addr)&((struct vki_mii_ioctl_data *)&((struct vki_ifreq *)ARG3)->vki_ifr_data)->phy_id,
4249 sizeof(((struct vki_mii_ioctl_data *)&((struct vki_ifreq *)ARG3)->vki_ifr_data)->phy_id) );
5369 (Addr)&((struct vki_mii_ioctl_data *)&((struct vki_ifreq *)ARG3)->vki_ifr_data)->phy_id,
5370 sizeof(((struct vki_mii_ioctl_data *)&((struct vki_ifreq *)ARG3)->vki_ifr_data)->phy_id) );
/external/valgrind/main/include/vki/
H A Dvki-linux.h1030 vki_u16 phy_id; member in struct:vki_mii_ioctl_data

Completed in 577 milliseconds