Searched refs:phy_id (Results 51 - 75 of 135) sorted by relevance

123456

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/platforms/83xx/
H A Dmpc834x_sys.c132 pdata->phy_id = 0;
140 pdata->phy_id = 1;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/platforms/85xx/
H A Dmpc8560_ads.c168 pdata->phy_id = 0;
176 pdata->phy_id = 1;
H A Dsbc8560.c139 pdata->phy_id = 25;
147 pdata->phy_id = 26;
H A Dstx_gp3.c133 pdata->phy_id = 2;
141 pdata->phy_id = 4;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/phy/
H A Dfixed.c139 static int fixed_mii_read(struct mii_bus *bus, int phy_id, int location) argument
158 static int fixed_mii_write(struct mii_bus *bus, int phy_id, int location, u16 val) argument
278 the mdio bus has phy_id match... In order not to do it
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/arm/
H A Dep93xx_eth.c185 static int ep93xx_mdio_read(struct net_device *dev, int phy_id, int reg);
557 if ((ep93xx_mdio_read(dev, ep->mii.phy_id, MII_BMSR) & 0x0040) != 0)
699 static int ep93xx_mdio_read(struct net_device *dev, int phy_id, int reg) argument
705 wrl(ep, REG_MIICMD, REG_MIICMD_READ | (phy_id << 5) | reg);
723 static void ep93xx_mdio_write(struct net_device *dev, int phy_id, int reg, int data) argument
729 wrl(ep, REG_MIICMD, REG_MIICMD_WRITE | (phy_id << 5) | reg);
871 ep->mii.phy_id = data->phy_id;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/fec_8xx/
H A Dfec_8xx.h137 int fec_mii_read(struct net_device *dev, int phy_id, int location);
138 void fec_mii_write(struct net_device *dev, int phy_id, int location, int value);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/fs_enet/
H A Dfs_enet.h95 int phy_id, int location);
98 int phy_id, int location, int value);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/usb/
H A Dmcs7830.c341 static int mcs7830_mdio_read(struct net_device *netdev, int phy_id, argument
348 static void mcs7830_mdio_write(struct net_device *netdev, int phy_id, argument
468 dev->mii.phy_id = *((u8 *) net->dev_addr + 1);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Damd8111e.c126 static int amd8111e_read_phy(struct amd8111e_priv* lp, int phy_id, int reg, u32* val) argument
136 writel( PHY_RD_CMD | ((phy_id & 0x1f) << 21) |
156 static int amd8111e_write_phy(struct amd8111e_priv* lp,int phy_id, int reg, u32 val) argument
166 writel( PHY_WR_CMD | ((phy_id & 0x1f) << 21) |
186 static int amd8111e_mdio_read(struct net_device * dev, int phy_id, int reg_num) argument
191 amd8111e_read_phy(lp,phy_id,reg_num,&reg_val);
199 static void amd8111e_mdio_write(struct net_device * dev, int phy_id, int reg_num, int val) argument
203 amd8111e_write_phy(lp, phy_id, reg_num, val);
1646 data->phy_id = lp->ext_phy_addr;
1652 err = amd8111e_read_phy(lp, data->phy_id,
[all...]
H A Dpci-skeleton.c497 static int mdio_read (struct net_device *dev, int phy_id, int location);
498 static void mdio_write (struct net_device *dev, int phy_id, int location,
982 static int mdio_read (struct net_device *dev, int phy_id, int location) argument
986 int mii_cmd = (0xf6 << 10) | (phy_id << 5) | location;
992 if (phy_id > 31) { /* Really a 8139. Use internal registers. */
1024 static void mdio_write (struct net_device *dev, int phy_id, int location, argument
1030 (0x5002 << 16) | (phy_id << 23) | (location << 18) | value;
1035 if (phy_id > 31) { /* Really a 8139. Use internal registers. */
1777 data->phy_id = tp->phys[0] & 0x3f;
1782 data->val_out = mdio_read (dev, data->phy_id
[all...]
H A Dsmc911x.c784 lp->mii.phy_id = phyaddr & 31;
795 lp->mii.phy_id = 1;
800 dev->name, id1, id2, lp->mii.phy_id);
811 int phyaddr = lp->mii.phy_id;
919 int phyaddr = lp->mii.phy_id;
957 int phyaddr = lp->mii.phy_id;
1056 int phyaddr = lp->mii.phy_id;
1535 smc911x_phy_powerdown(dev, lp->mii.phy_id);
1589 if (lp->mii.phy_id==1)
1594 SMC_GET_PHY_SPECIAL(lp->mii.phy_id, statu
[all...]
H A Dyellowfin.c343 static int mdio_read(void __iomem *ioaddr, int phy_id, int location);
344 static void mdio_write(void __iomem *ioaddr, int phy_id, int location, int value);
544 static int mdio_read(void __iomem *ioaddr, int phy_id, int location) argument
548 iowrite16((phy_id<<8) + location, ioaddr + MII_Addr);
556 static void mdio_write(void __iomem *ioaddr, int phy_id, int location, int value) argument
560 iowrite16((phy_id<<8) + location, ioaddr + MII_Addr);
1357 data->phy_id = np->phys[0] & 0x1f;
1361 data->val_out = mdio_read(ioaddr, data->phy_id & 0x1f, data->reg_num & 0x1f);
1367 if (data->phy_id == np->phys[0]) {
1380 mdio_write(ioaddr, data->phy_id
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/pcmcia/
H A Dsmc91c92_cs.c299 static int mdio_read(struct net_device *dev, int phy_id, int loc);
300 static void mdio_write(struct net_device *dev, int phy_id, int loc, int value);
1061 smc->mii_if.phy_id = (i < 32) ? i : -1;
1093 if (smc->mii_if.phy_id != -1) {
1095 smc->mii_if.phy_id, j);
1149 static int mdio_read(struct net_device *dev, int phy_id, int loc) argument
1152 u_int cmd = (0x06<<10)|(phy_id<<5)|loc;
1169 static void mdio_write(struct net_device *dev, int phy_id, int loc, int value) argument
1172 u_int cmd = (0x05<<28)|(phy_id<<23)|(loc<<18)|(1<<17)|value;
1872 mdio_write(dev, smc->mii_if.phy_id,
[all...]
H A D3c574_cs.c232 static int mdio_read(kio_addr_t ioaddr, int phy_id, int location);
233 static void mdio_write(kio_addr_t ioaddr, int phy_id, int location, int value);
582 static int mdio_read(kio_addr_t ioaddr, int phy_id, int location) argument
585 int read_cmd = (0xf6 << 10) | (phy_id << 5) | location;
607 static void mdio_write(kio_addr_t ioaddr, int phy_id, int location, int value) argument
609 int write_cmd = 0x50020000 | (phy_id << 23) | (location << 18) | value;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-ep93xx/
H A Dts72xx.c161 .phy_id = 1,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/tulip/
H A Dwinbond-840.c323 static int mdio_read(struct net_device *dev, int phy_id, int location);
324 static void mdio_write(struct net_device *dev, int phy_id, int location, int value);
458 np->mii_if.phy_id = np->phys[0];
566 static int mdio_read(struct net_device *dev, int phy_id, int location) argument
570 int mii_cmd = (0xf6 << 10) | (phy_id << 5) | location;
596 static void mdio_write(struct net_device *dev, int phy_id, int location, int value) argument
600 int mii_cmd = (0x5002 << 16) | (phy_id << 23) | (location<<18) | value;
603 if (location == 4 && phy_id == np->phys[0])
1457 data->phy_id = ((struct netdev_private *)netdev_priv(dev))->phys[0] & 0x1f;
1462 data->val_out = mdio_read(dev, data->phy_id
[all...]
H A Dtulip.h437 int tulip_mdio_read(struct net_device *dev, int phy_id, int location);
438 void tulip_mdio_write(struct net_device *dev, int phy_id, int location, int value);
H A Dtulip_core.c856 data->phy_id = phy;
858 data->phy_id = 32;
860 data->phy_id = 1;
865 if (data->phy_id == 32 && (tp->flags & HAS_NWAY)) {
895 data->val_out = tulip_mdio_read (dev, data->phy_id & 0x1f, regnum);
904 if (data->phy_id == phy) {
918 if (data->phy_id == 32 && (tp->flags & HAS_NWAY)) {
931 tulip_mdio_write (dev, data->phy_id & 0x1f, regnum, data->val_in);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/cris/
H A Deth_v10.c207 static int e100_get_mdio_reg(struct net_device *dev, int phy_id, int location);
208 static void e100_set_mdio_reg(struct net_device *dev, int phy_id, int location, int value);
359 np->mii_if.phy_id = mdio_phy_addr;
779 e100_get_mdio_reg(struct net_device *dev, int phy_id, int location) argument
786 cmd = (MDIO_START << 14) | (MDIO_READ << 12) | (phy_id << 7) |
802 e100_set_mdio_reg(struct net_device *dev, int phy_id, int location, int value) argument
807 cmd = (MDIO_START << 14) | (MDIO_WRITE << 12) | (phy_id << 7) |
1228 data->phy_id = mdio_phy_addr;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/udev/extras/path_id/
H A Dpath_id296 read phy_id < $sas_phy_dev/phy_identifier
314 sas_phy_address="$phy_address:$phy_port:$phy_id"
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/message/fusion/
H A Dmptsas.c124 u8 phy_id; member in struct:mptsas_hotplug_event
148 u8 phy_id; /* phy number of parent device */ member in struct:mptsas_devinfo
173 u8 phy_id; /* phy index */ member in struct:mptsas_phyinfo
484 port_details->phy_bitmask &= ~ (1 << phy_info->phy_id);
496 dsaswideprintk((KERN_DEBUG "phy_id=%d sas_address=0x%018llX\n",
511 if (phy_info->phy_id < 64 )
513 (1 << phy_info->phy_id);
516 "phy_id=%d sas_address=0x%018llX\n",
553 if (phy_info_cmp->phy_id < 64 )
555 (1 << phy_info_cmp->phy_id);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ieee1394/
H A Dieee1394_core.c281 if (sid->phy_id != nodeid) {
283 "%d", sid->phy_id);
290 host->irm_id = LOCAL_BUS | sid->phy_id;
295 if ((esid->phy_id != nodeid)
298 "%d/%d", esid->phy_id, esid->seq_nr);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/aic94xx/
H A Daic94xx_sas.h438 u8 phy_id; member in struct:control_phy
485 u8 phy_id; member in struct:initiate_link_adm
583 u8 phy_id; member in struct:send_prim
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ppc/8xx_io/
H A Dfec.c170 uint phy_id; member in struct:fec_enet_private
1330 fep->phy_id |= (mii_reg & 0xffff);
1333 if(phy_info[i]->id == (fep->phy_id >> 4))
1338 dev->name, fep->phy_id);
1344 dev->name, fep->phy_addr, fep->phy->name, fep->phy_id);
1362 fep->phy_id = phytype << 16;

Completed in 381 milliseconds

123456