/freebsd-9.3-release/sys/mips/cavium/octe/ |
H A D | ethernet-mdio.h | 37 int cvm_oct_mdio_read(struct ifnet *ifp, int phy_id, int location); 38 void cvm_oct_mdio_write(struct ifnet *ifp, int phy_id, int location, int val);
|
H A D | ethernet-mv88e61xx.c | 79 cvm_oct_mv88e61xx_smi_read(struct ifnet *ifp, int phy_id, int location) argument 88 cvm_oct_mdio_write(ifp, priv->phy_id, MV88E61XX_SMI_REG_CMD, 90 MV88E61XX_SMI_CMD_READ | MV88E61XX_SMI_CMD_PHY(phy_id) | 97 return (cvm_oct_mdio_read(ifp, priv->phy_id, MV88E61XX_SMI_REG_DAT)); 101 cvm_oct_mv88e61xx_smi_write(struct ifnet *ifp, int phy_id, int location, int val) argument 106 cvm_oct_mdio_write(ifp, priv->phy_id, MV88E61XX_SMI_REG_DAT, val); 107 cvm_oct_mdio_write(ifp, priv->phy_id, MV88E61XX_SMI_REG_CMD, 109 MV88E61XX_SMI_CMD_WRITE | MV88E61XX_SMI_CMD_PHY(phy_id) | 122 cmd = cvm_oct_mdio_read(ifp, priv->phy_id, MV88E61XX_SMI_REG_CMD);
|
H A D | ethernet-mdio.c | 56 * @param phy_id The MII phy id 60 int cvm_oct_mdio_read(struct ifnet *ifp, int phy_id, int location) argument 68 smi_cmd.s.phy_adr = phy_id; 89 * @param phy_id The MII phy id 93 void cvm_oct_mdio_write(struct ifnet *ifp, int phy_id, int location, int val) argument 105 smi_cmd.s.phy_adr = phy_id; 126 priv->phy_id = cvmx_helper_board_get_mii_address(priv->port);
|
H A D | cavium-ethernet.h | 74 int phy_id; member in struct:__anon9464
|
H A D | octe.c | 148 if (priv->phy_id != -1) { 152 BMSR_DEFCAPMASK, priv->phy_id, MII_OFFSET_ANY, 0); 158 device_printf(dev, "missing phy %u device %s\n", priv->phy_id, priv->phy_device); 234 KASSERT(phy == priv->phy_id, 235 ("read from phy %u but our phy is %u", phy, priv->phy_id)); 257 KASSERT(phy == priv->phy_id, 258 ("write to phy %u but our phy is %u", phy, priv->phy_id));
|
H A D | ethernet-common.c | 297 if (priv->phy_id == 16)
|
/freebsd-9.3-release/sys/dev/isci/scil/ |
H A D | scic_sds_port_registers.h | 119 #define SCU_PCSPExCR_WRITE(port, phy_id, value) \ 122 (port)->port_pe_configuration_register[phy_id], \ 129 #define SCU_PCSPExCR_READ(port, phy_id) \ 132 (port)->port_pe_configuration_register[phy_id] \
|
H A D | scic_sds_controller.c | 827 U32 phy_id; local 849 for (phy_id = 0; phy_id < SCI_MAX_PHYS; phy_id++) 853 this_controller, scu_afe_xcvr[phy_id].afe_channel_control, 0x00000157); 856 this_controller, scu_afe_xcvr[phy_id].afe_xcvr_control0, 0x38016d1a); 859 this_controller, scu_afe_xcvr[phy_id].afe_xcvr_control1, 0x01501014); 862 this_controller, scu_afe_xcvr[phy_id].afe_tx_control, 0x00000000); 865 this_controller, scu_afe_xcvr[phy_id].afe_tx_amp_control0, 0x000bdd08); 867 this_controller, scu_afe_xcvr[phy_id] 1031 U32 phy_id; local [all...] |
H A D | scif_sas_smp_io_request.h | 120 U8 phy_id,
|
H A D | scif_sas_smp_io_request.c | 400 * @param[in] phy_id The phy, whose route entry at route_index is to be configured. 409 U8 phy_id, 424 config_route_info.request.configure_route_information.phy_identifier = phy_id; 406 scif_sas_smp_request_construct_config_route_info( struct SCIF_SAS_CONTROLLER * fw_controller, struct SCIF_SAS_REMOTE_DEVICE * fw_device, U8 phy_id, U16 route_index, SCI_SAS_ADDRESS_T destination_sas_address, BOOL disable_expander_route_entry ) argument
|
/freebsd-9.3-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-mdio.h | 374 * @param phy_id The MII phy id 379 static inline int cvmx_mdio_read(int bus_id, int phy_id, int location) argument 391 rv = mdiobus_read(bus, phy_id, location); 405 smi_cmd.s.phy_adr = phy_id; 424 * @param phy_id The MII phy id 431 static inline int cvmx_mdio_write(int bus_id, int phy_id, int location, int val) argument 443 rv = mdiobus_write(bus, phy_id, location, (u16)val); 461 smi_cmd.s.phy_adr = phy_id; 480 * @param phy_id The MII phy id 487 static inline int cvmx_mdio_45_read(int bus_id, int phy_id, in argument 551 cvmx_mdio_45_write(int bus_id, int phy_id, int device, int location, int val) argument [all...] |
/freebsd-9.3-release/sys/dev/firewire/ |
H A D | fwphyreg.h | 43 uint8_t phy_id:6, member in struct:phyreg_base 76 phy_id:6;
|
H A D | firewire.h | 303 phy_id:6, member in struct:fw_self_id::__anon7856 320 phy_id:6, member in struct:fw_self_id::__anon7857 338 phy_id:6, member in struct:fw_self_id::__anon7858 365 phy_id:6, member in struct:fw_self_id::__anon7859 382 phy_id:6, member in struct:fw_self_id::__anon7860 396 phy_id:6, member in struct:fw_self_id::__anon7861
|
H A D | firewire.c | 1293 s->p1.phy_id, s->p1.port3, s->p1.port4, 1298 s->p2.phy_id, s->p2.port11, s->p2.port12, 1302 s->p1.phy_id, s->p1.sequence_num); 1307 s->p0.phy_id, s->p0.link_active, s->p0.gap_count, 1348 node = self_id->p0.phy_id; 1350 fc->max_node = self_id->p0.phy_id; 1361 if ((fc->irm == -1 || self_id->p0.phy_id > fc->irm) && 1363 fc->irm = self_id->p0.phy_id; 1709 if (s->p0.phy_id == node)
|
/freebsd-9.3-release/sys/dev/ixgbe/ |
H A D | ixgbe_phy.h | 117 enum ixgbe_phy_type ixgbe_get_phy_type_from_id(u32 phy_id);
|
H A D | ixgbe_phy.c | 149 u16 phy_id = 0; local 156 IXGBE_MDIO_PMA_PMD_DEV_TYPE, &phy_id); 158 if (phy_id != 0xFFFF && phy_id != 0x0) 197 enum ixgbe_phy_type ixgbe_get_phy_type_from_id(u32 phy_id) argument 203 switch (phy_id) {
|
/freebsd-9.3-release/sys/dev/e1000/ |
H A D | e1000_82571.c | 468 u16 phy_id = 0; local 487 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); 491 phy->id = (u32)(phy_id << 16); 493 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id); 497 phy->id |= (u32)(phy_id); 498 phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK);
|
H A D | e1000_phy.c | 216 u16 phy_id; local 225 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id); 229 phy->id = (u32)(phy_id << 16); 231 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id); 235 phy->id |= (u32)(phy_id & PHY_REVISION_MASK); 236 phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK); 2960 * @phy_id: phy_id read from the phy 2964 enum e1000_phy_type e1000_get_phy_type_from_id(u32 phy_id) argument 2968 switch (phy_id) { [all...] |
H A D | e1000_phy.h | 89 enum e1000_phy_type e1000_get_phy_type_from_id(u32 phy_id);
|
H A D | e1000_ich8lan.c | 183 u32 phy_id = 0; local 191 phy_id = (u32)(phy_reg << 16); 195 phy_id = 0; 198 phy_id |= (u32)(phy_reg & PHY_REVISION_MASK); 203 if (hw->phy.id == phy_id) 205 } else if (phy_id) { 206 hw->phy.id = phy_id;
|
H A D | e1000_82575.c | 619 u16 phy_id; local 675 ret_val = e1000_read_phy_reg_sgmii_82575(hw, PHY_ID1, &phy_id); 678 phy_id, phy->addr); 683 if (phy_id == M88_VENDOR)
|
/freebsd-9.3-release/sys/dev/cxgb/ |
H A D | cxgb_ioctl.h | 183 uint32_t phy_id; member in struct:ch_mii_data
|
H A D | cxgb_main.c | 2509 mmd = mid->phy_id >> 8; 2515 error = phy->mdio_read(sc, mid->phy_id & 0x1f, mmd, 2518 error = phy->mdio_read(sc, mid->phy_id & 0x1f, 0, 2531 mmd = mid->phy_id >> 8; 2537 error = phy->mdio_write(sc, mid->phy_id & 0x1f, 2540 error = phy->mdio_write(sc, mid->phy_id & 0x1f, 0,
|
/freebsd-9.3-release/usr.sbin/fwcontrol/ |
H A D | fwcontrol.c | 537 printf("%02d sequel packet\n", sid.p0.phy_id); 542 sid.p0.phy_id, 605 b.phy_id, b.r, b.cps,
|
/freebsd-9.3-release/sys/dev/ixgb/ |
H A D | ixgb_hw.h | 699 uint32_t phy_id; /* Phy Identifier */ member in struct:ixgb_hw
|