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

123456

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-arm/arch-ep93xx/
H A Dplatform.h16 unsigned char phy_id; member in struct:ep93xx_eth_data
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/aic94xx/
H A Daic94xx_scb.c88 int phy_id = dl->status_block[0] & DL_PHY_MASK; local
89 struct asd_phy *phy = &asd_ha->phys[phy_id];
97 ASD_DPRINTK("phy%d: device unplugged\n", phy_id);
98 asd_turn_led(asd_ha, phy_id, 0);
104 asd_turn_led(asd_ha, phy_id, 1);
107 phy_id, phy->sas_phy.linkrate, phy->sas_phy.iproto);
112 asd_turn_led(asd_ha, phy_id, 1);
117 ASD_DPRINTK("phy%d error while OOB: oob status:0x%x\n", phy_id,
119 asd_turn_led(asd_ha, phy_id, 0);
236 int edb_id, int phy_id)
234 asd_bytes_dmaed_tasklet(struct asd_ascb *ascb, struct done_list_struct *dl, int edb_id, int phy_id) argument
257 asd_link_reset_err_tasklet(struct asd_ascb *ascb, struct done_list_struct *dl, int phy_id) argument
310 asd_primitive_rcvd_tasklet(struct asd_ascb *ascb, struct done_list_struct *dl, int phy_id) argument
421 int phy_id = sb_opcode & DL_PHY_MASK; local
641 u8 phy_id = control_phy->phy_id; local
768 asd_build_control_phy(struct asd_ascb *ascb, int phy_id, u8 subfunc) argument
820 u8 phy_id = link_adm->phy_id; local
832 asd_build_initiate_link_adm_task(struct asd_ascb *ascb, int phy_id, u8 subfunc) argument
[all...]
H A Daic94xx_hwi.c84 phy->identify_frame->phy_id = phy->sas_phy.id;
1266 * @phy_id: the PHY id whose LED we want to manupulate
1269 void asd_turn_led(struct asd_ha_struct *asd_ha, int phy_id, int op) argument
1271 if (phy_id < ASD_MAX_PHYS) {
1272 u32 v = asd_read_reg_dword(asd_ha, LmCONTROL(phy_id));
1277 asd_write_reg_dword(asd_ha, LmCONTROL(phy_id), v);
1284 * @phy_id: integer, the phy id
1290 void asd_control_led(struct asd_ha_struct *asd_ha, int phy_id, int op) argument
1292 if (phy_id < ASD_MAX_PHYS) {
1297 v |= (1 << phy_id);
1313 asd_enable_phy(struct asd_ha_struct *asd_ha, int phy_id) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dmii.c64 ecmd->phy_address = mii->phy_id;
67 advert = mii->mdio_read(dev, mii->phy_id, MII_ADVERTISE);
69 advert2 = mii->mdio_read(dev, mii->phy_id, MII_CTRL1000);
84 bmcr = mii->mdio_read(dev, mii->phy_id, MII_BMCR);
85 lpa = mii->mdio_read(dev, mii->phy_id, MII_LPA);
87 bmcr2 = mii->mdio_read(dev, mii->phy_id, MII_CTRL1000);
88 lpa2 = mii->mdio_read(dev, mii->phy_id, MII_STAT1000);
145 if (ecmd->phy_address != mii->phy_id)
167 advert = mii->mdio_read(dev, mii->phy_id, MII_ADVERTISE);
170 advert2 = mii->mdio_read(dev, mii->phy_id, MII_CTRL100
[all...]
H A Dsis190.c307 int phy_id; member in struct:sis190_phy
391 static void mdio_write(void __iomem *ioaddr, int phy_id, int reg, int val) argument
394 (((u32) reg) << EhnMIIregShift) | (phy_id << EhnMIIpmdShift) |
398 static int mdio_read(void __iomem *ioaddr, int phy_id, int reg) argument
401 (((u32) reg) << EhnMIIregShift) | (phy_id << EhnMIIpmdShift));
406 static void __mdio_write(struct net_device *dev, int phy_id, int reg, int val) argument
410 mdio_write(tp->mmio_addr, phy_id, reg, val);
413 static int __mdio_read(struct net_device *dev, int phy_id, int reg) argument
417 return mdio_read(tp->mmio_addr, phy_id, reg);
420 static u16 mdio_read_latched(void __iomem *ioaddr, int phy_id, in argument
907 int phy_id = tp->mii_if.phy_id; local
1292 sis190_init_phy(struct net_device *dev, struct sis190_private *tp, struct sis190_phy *phy, unsigned int phy_id, u16 mii_status) argument
1330 int phy_id = tp->mii_if.phy_id; local
1358 int phy_id; local
1669 int phy_id = tp->mii_if.phy_id; local
[all...]
H A Dsungem_phy.c70 static int reset_one_mii_phy(struct mii_phy* phy, int phy_id) argument
75 val = __phy_read(phy, phy_id, MII_BMCR);
78 __phy_write(phy, phy_id, MII_BMCR, val);
83 val = __phy_read(phy, phy_id, MII_BMCR);
89 __phy_write(phy, phy_id, MII_BMCR, val & ~BMCR_ISOLATE);
885 .phy_id = 0x00406210,
904 .phy_id = 0x004061e0,
922 .phy_id = 0x0143bc30,
941 .phy_id = 0x00206040,
960 .phy_id
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/libsas/
H A Dsas_expander.c35 static int sas_configure_phy(struct domain_device *dev, int phy_id,
147 static void sas_set_ex_phy(struct domain_device *dev, int phy_id, argument
151 struct ex_phy *phy = &ex->ex_phy[phy_id];
158 phy->phy = sas_phy_alloc(&rphy->dev, phy_id);
175 phy->phy_id = phy_id;
192 phy->phy->identify.phy_identifier = phy_id;
203 SAS_ADDR(dev->sas_addr), phy->phy_id,
409 int sas_smp_phy_control(struct domain_device *dev, int phy_id, argument
428 pc_req[9] = phy_id;
442 sas_ex_disable_phy(struct domain_device *dev, int phy_id) argument
518 sas_get_report_phy_sata(struct domain_device *dev, int phy_id, struct smp_resp *rps_resp) argument
572 sas_ex_discover_end_dev( struct domain_device *parent, int phy_id) argument
674 sas_ex_join_wide_port(struct domain_device *parent, int phy_id) argument
696 sas_ex_discover_expander( struct domain_device *parent, int phy_id) argument
767 sas_ex_discover_dev(struct domain_device *dev, int phy_id) argument
1161 sas_configure_present(struct domain_device *dev, int phy_id, u8 *sas_addr, int *index, int *present) argument
1235 sas_configure_set(struct domain_device *dev, int phy_id, u8 *sas_addr, int index, int include) argument
1275 sas_configure_phy(struct domain_device *dev, int phy_id, u8 *sas_addr, int include) argument
1453 sas_get_phy_discover(struct domain_device *dev, int phy_id, struct smp_resp *disc_resp) argument
1479 sas_get_phy_change_count(struct domain_device *dev, int phy_id, int *pcc) argument
1497 sas_get_phy_attached_sas_addr(struct domain_device *dev, int phy_id, u8 *attached_sas_addr) argument
1519 sas_find_bcast_phy(struct domain_device *dev, int *phy_id, int from_phy) argument
1621 sas_unregister_devs_sas_addr(struct domain_device *parent, int phy_id) argument
1688 sas_discover_new(struct domain_device *dev, int phy_id) argument
1715 sas_rediscover_dev(struct domain_device *dev, int phy_id) argument
1750 sas_rediscover(struct domain_device *dev, const int phy_id) argument
1799 int i = 0, phy_id; local
[all...]
H A Dsas_internal.h72 int sas_smp_phy_control(struct domain_device *dev, int phy_id,
135 static inline void sas_add_parent_port(struct domain_device *dev, int phy_id) argument
138 struct ex_phy *ex_phy = &ex->ex_phy[phy_id];
141 ex->parent_port = sas_port_alloc(&dev->rphy->dev, phy_id);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/fec_8xx/
H A Dfec_mii.c57 int fec_mii_read(struct net_device *dev, int phy_id, int location) argument
76 FW(fecp, mii_data, (phy_id << 23) | mk_mii_read(location));
92 void fec_mii_write(struct net_device *dev, int phy_id, int location, int value) argument
111 FW(fecp, mii_data, (phy_id << 23) | mk_mii_write(location, value));
181 fec_mii_write(dev, fep->mii_if.phy_id, MII_DM9161_INTR, 0x0000);
188 fec_mii_read(dev, fep->mii_if.phy_id, MII_DM9161_INTR);
195 fec_mii_write(dev, fep->mii_if.phy_id, MII_DM9161_INTR, 0x0f00);
215 fec_mii_write(dev, fep->mii_if.phy_id, MII_LXT971_IER, 0x00F2);
222 fec_mii_read(dev, fep->mii_if.phy_id, MII_LXT971_ISR);
229 fec_mii_write(dev, fep->mii_if.phy_id, MII_LXT971_IE
272 int phy_hwid, phy_id; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/phy/
H A Dphy_device.c47 struct phy_device* phy_device_create(struct mii_bus *bus, int addr, int phy_id) argument
66 dev->phy_id = phy_id;
88 u32 phy_id; local
98 phy_id = (phy_reg & 0xffff) << 16;
106 phy_id |= (phy_reg & 0xffff);
108 /* If the phy_id is all Fs, there is no device there */
109 if (0xffffffff == phy_id)
112 dev = phy_device_create(bus, addr, phy_id);
138 * @phy_id
151 phy_connect(struct net_device *dev, const char *phy_id, void (*handler)(struct net_device *), u32 flags, phy_interface_t interface) argument
209 phy_attach(struct net_device *dev, const char *phy_id, u32 flags, phy_interface_t interface) argument
[all...]
H A Dbroadcom.c103 .phy_id = 0x00206070,
117 .phy_id = 0x002060e0,
131 .phy_id = 0x002060c0,
H A Ddavicom.c143 .phy_id = 0x0181b880,
154 .phy_id = 0x0181b8a0,
165 .phy_id = 0x00181b80,
H A Dcicada.c107 .phy_id = 0x000fc410,
122 .phy_id = 0x000fc440,
H A Dlxt.c124 .phy_id = 0x78100000,
138 .phy_id = 0x001378e0,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dphy.h81 int (*read)(struct mii_bus *bus, int phy_id, int regnum);
82 int (*write)(struct mii_bus *bus, int phy_id, int regnum, u16 val);
205 * phy_id: UID for this device found during discovery
239 u32 phy_id; member in struct:phy_device
297 * phy_id: The result of reading the UID registers of this PHY
301 * phy_id_mask: Defines the important bits of the phy_id
316 u32 phy_id; member in struct:phy_driver
362 const char *phy_id, u32 flags, phy_interface_t interface);
363 struct phy_device * phy_connect(struct net_device *dev, const char *phy_id,
400 struct phy_device* phy_device_create(struct mii_bus *bus, int addr, int phy_id);
[all...]
H A Dmii.h140 __u16 phy_id; member in struct:mii_ioctl_data
153 int phy_id; member in struct:mii_if_info
163 int (*mdio_read) (struct net_device *dev, int phy_id, int location);
164 void (*mdio_write) (struct net_device *dev, int phy_id, int location, int val);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ieee1394/
H A Dieee1394.h128 u32 phy_id:6; member in struct:selfid
148 u32 phy_id:6; member in struct:ext_selfid
175 u32 phy_id:6; member in struct:selfid
195 u32 phy_id:6; member in struct:ext_selfid
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/ibm_emac/
H A Dibm_emac_phy.h38 u32 phy_id; /* Concatenated ID1 << 16 | ID2 */ member in struct:mii_phy_def
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/usb/
H A Dasix.c568 static int asix_mdio_read(struct net_device *netdev, int phy_id, int loc) argument
575 asix_read_cmd(dev, AX_CMD_READ_MII_REG, phy_id,
580 devdbg(dev, "asix_mdio_read() phy_id=0x%02x, loc=0x%02x, returns=0x%04x", phy_id, loc, le16_to_cpu(res & 0xffff));
586 asix_mdio_write(struct net_device *netdev, int phy_id, int loc, int val) argument
591 devdbg(dev, "asix_mdio_write() phy_id=0x%02x, loc=0x%02x, val=0x%04x", phy_id, loc, val);
594 asix_write_cmd(dev, AX_CMD_WRITE_MII_REG, phy_id,
604 u32 phy_id; local
606 phy_reg = asix_mdio_read(dev->net, dev->mii.phy_id, MII_PHYSID
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/sysdev/
H A Dtsi108_dev.c81 const unsigned int *phy_id; local
123 phy_id = of_get_property(phy, "phy-id", NULL);
131 tsi_eth_data.phy = *phy_id;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/pasemi/
H A Dgpio_mdio.c125 static int gpio_mdio_read(struct mii_bus *bus, int phy_id, int location) argument
129 u8 addr = phy_id & 0xff;
164 static int gpio_mdio_write(struct mii_bus *bus, int phy_id, int location, u16 val) argument
168 u8 addr = phy_id & 0xff;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mach-ep93xx/
H A Dadssphere.c47 .phy_id = 1,
H A Dedb9302a.c47 .phy_id = 1,
H A Dedb9315a.c47 .phy_id = 1,
H A Dgesbc9312.c47 .phy_id = 1,

Completed in 206 milliseconds

123456