Searched refs:phy (Results 1 - 25 of 108) sorted by relevance

12345

/opensolaris-onvv-gate/usr/src/uts/common/io/igb/
H A Digb_phy.c68 struct e1000_phy_info *phy = &hw->phy; local
72 phy->ops.init_params = e1000_null_ops_generic;
73 phy->ops.acquire = e1000_null_ops_generic;
74 phy->ops.check_polarity = e1000_null_ops_generic;
75 phy->ops.check_reset_block = e1000_null_ops_generic;
76 phy->ops.commit = e1000_null_ops_generic;
77 phy->ops.force_speed_duplex = e1000_null_ops_generic;
78 phy->ops.get_cfg_done = e1000_null_ops_generic;
79 phy
171 struct e1000_phy_info *phy = &hw->phy; local
235 struct e1000_phy_info *phy = &hw->phy; local
290 struct e1000_phy_info *phy = &hw->phy; local
346 struct e1000_phy_info *phy = &hw->phy; local
395 struct e1000_phy_info *phy = &hw->phy; local
808 struct e1000_phy_info *phy = &hw->phy; local
853 struct e1000_phy_info *phy = &hw->phy; local
963 struct e1000_phy_info *phy = &hw->phy; local
1106 struct e1000_phy_info *phy = &hw->phy; local
1177 struct e1000_phy_info *phy = &hw->phy; local
1403 struct e1000_phy_info *phy = &hw->phy; local
1478 struct e1000_phy_info *phy = &hw->phy; local
1585 struct e1000_phy_info *phy = &hw->phy; local
1725 struct e1000_phy_info *phy = &hw->phy; local
1816 struct e1000_phy_info *phy = &hw->phy; local
1861 struct e1000_phy_info *phy = &hw->phy; local
1889 struct e1000_phy_info *phy = &hw->phy; local
1936 struct e1000_phy_info *phy = &hw->phy; local
2070 struct e1000_phy_info *phy = &hw->phy; local
2111 struct e1000_phy_info *phy = &hw->phy; local
2185 struct e1000_phy_info *phy = &hw->phy; local
2264 struct e1000_phy_info *phy = &hw->phy; local
2365 struct e1000_phy_info *phy = &hw->phy; local
2638 struct e1000_phy_info *phy = &hw->phy; local
2665 struct e1000_phy_info *phy = &hw->phy; local
2739 struct e1000_phy_info *phy = &hw->phy; local
2805 struct e1000_phy_info *phy = &hw->phy; local
[all...]
H A Digb_82575.c95 struct e1000_phy_info *phy = &hw->phy; local
100 if (hw->phy.media_type != e1000_media_type_copper) {
101 phy->type = e1000_phy_none;
105 phy->ops.power_up = e1000_power_up_phy_copper;
106 phy->ops.power_down = e1000_power_down_phy_copper_82575;
108 phy->autoneg_mask = AUTONEG_ADVERTISE_SPEED_DEFAULT;
109 phy->reset_delay_us = 100;
111 phy->ops.acquire = e1000_acquire_phy_82575;
112 phy
488 struct e1000_phy_info *phy = &hw->phy; local
605 struct e1000_phy_info *phy = &hw->phy; local
1441 struct e1000_phy_info *phy = &hw->phy; local
[all...]
H A Digb_api.c100 if (hw->phy.ops.init_params) {
101 ret_val = hw->phy.ops.init_params(hw);
107 DEBUGOUT("phy.init_phy_params was NULL\n");
747 if (hw->phy.ops.check_reset_block)
748 return (hw->phy.ops.check_reset_block(hw));
765 if (hw->phy.ops.read_reg)
766 return (hw->phy.ops.read_reg(hw, offset, data));
783 if (hw->phy.ops.write_reg)
784 return (hw->phy.ops.write_reg(hw, offset, data));
799 if (hw->phy
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/io/e1000g/
H A De1000_phy.c70 struct e1000_phy_info *phy = &hw->phy; local
74 phy->ops.init_params = e1000_null_ops_generic;
75 phy->ops.acquire = e1000_null_ops_generic;
76 phy->ops.check_polarity = e1000_null_ops_generic;
77 phy->ops.check_reset_block = e1000_null_ops_generic;
78 phy->ops.commit = e1000_null_ops_generic;
79 phy->ops.force_speed_duplex = e1000_null_ops_generic;
80 phy->ops.get_cfg_done = e1000_null_ops_generic;
81 phy
174 struct e1000_phy_info *phy = &hw->phy; local
268 struct e1000_phy_info *phy = &hw->phy; local
323 struct e1000_phy_info *phy = &hw->phy; local
741 struct e1000_phy_info *phy = &hw->phy; local
787 struct e1000_phy_info *phy = &hw->phy; local
934 struct e1000_phy_info *phy = &hw->phy; local
1078 struct e1000_phy_info *phy = &hw->phy; local
1149 struct e1000_phy_info *phy = &hw->phy; local
1379 struct e1000_phy_info *phy = &hw->phy; local
1456 struct e1000_phy_info *phy = &hw->phy; local
1565 struct e1000_phy_info *phy = &hw->phy; local
1708 struct e1000_phy_info *phy = &hw->phy; local
1799 struct e1000_phy_info *phy = &hw->phy; local
1846 struct e1000_phy_info *phy = &hw->phy; local
1874 struct e1000_phy_info *phy = &hw->phy; local
1920 struct e1000_phy_info *phy = &hw->phy; local
2054 struct e1000_phy_info *phy = &hw->phy; local
2094 struct e1000_phy_info *phy = &hw->phy; local
2168 struct e1000_phy_info *phy = &hw->phy; local
2248 struct e1000_phy_info *phy = &hw->phy; local
2349 struct e1000_phy_info *phy = &hw->phy; local
3373 struct e1000_phy_info *phy = &hw->phy; local
3400 struct e1000_phy_info *phy = &hw->phy; local
3472 struct e1000_phy_info *phy = &hw->phy; local
3536 struct e1000_phy_info *phy = &hw->phy; local
[all...]
H A De1000_82541.c83 struct e1000_phy_info *phy = &hw->phy; local
88 phy->addr = 1;
89 phy->autoneg_mask = AUTONEG_ADVERTISE_SPEED_DEFAULT;
90 phy->reset_delay_us = 10000;
91 phy->type = e1000_phy_igp;
94 phy->ops.check_polarity = e1000_check_polarity_igp;
95 phy->ops.force_speed_duplex = e1000_phy_force_speed_duplex_igp;
96 phy->ops.get_cable_length = e1000_get_cable_length_igp_82541;
97 phy
462 struct e1000_phy_info *phy = &hw->phy; local
552 struct e1000_phy_info *phy = &hw->phy; local
693 struct e1000_phy_info *phy = &hw->phy; local
905 struct e1000_phy_info *phy = &hw->phy; local
980 struct e1000_phy_info *phy = &hw->phy; local
[all...]
H A De1000_ich8lan.c176 struct e1000_phy_info *phy = &hw->phy; local
181 phy->addr = 1;
182 phy->reset_delay_us = 100;
184 phy->ops.acquire = e1000_acquire_swflag_ich8lan;
185 phy->ops.check_polarity = e1000_check_polarity_ife;
186 phy->ops.check_reset_block = e1000_check_reset_block_ich8lan;
187 phy->ops.force_speed_duplex = e1000_phy_force_speed_duplex_ife;
188 phy->ops.get_cable_length = e1000_get_cable_length_igp_2;
189 phy
228 struct e1000_phy_info *phy = &hw->phy; local
759 struct e1000_phy_info *phy = &hw->phy; local
1300 struct e1000_phy_info *phy = &hw->phy; local
1400 struct e1000_phy_info *phy = &hw->phy; local
1498 struct e1000_phy_info *phy = &hw->phy; local
[all...]
H A De1000_80003es2lan.c90 struct e1000_phy_info *phy = &hw->phy; local
95 if (hw->phy.media_type != e1000_media_type_copper) {
96 phy->type = e1000_phy_none;
99 phy->ops.power_up = e1000_power_up_phy_copper;
100 phy->ops.power_down = e1000_power_down_phy_copper_80003es2lan;
103 phy->addr = 1;
104 phy->autoneg_mask = AUTONEG_ADVERTISE_SPEED_DEFAULT;
105 phy->reset_delay_us = 100;
106 phy
816 struct e1000_phy_info *phy = &hw->phy; local
1075 struct e1000_phy_info *phy = &hw->phy; local
[all...]
H A De1000_82540.c64 struct e1000_phy_info *phy = &hw->phy; local
67 phy->addr = 1;
68 phy->autoneg_mask = AUTONEG_ADVERTISE_SPEED_DEFAULT;
69 phy->reset_delay_us = 10000;
70 phy->type = e1000_phy_m88;
73 phy->ops.check_polarity = e1000_check_polarity_m88;
74 phy->ops.commit = e1000_phy_sw_reset_generic;
75 phy->ops.force_speed_duplex = e1000_phy_force_speed_duplex_m88;
76 phy
596 struct e1000_phy_info *phy = &hw->phy; local
[all...]
H A De1000_82571.c89 struct e1000_phy_info *phy = &hw->phy; local
94 if (hw->phy.media_type != e1000_media_type_copper) {
95 phy->type = e1000_phy_none;
99 phy->addr = 1;
100 phy->autoneg_mask = AUTONEG_ADVERTISE_SPEED_DEFAULT;
101 phy->reset_delay_us = 100;
103 phy->ops.acquire = e1000_get_hw_semaphore_82571;
104 phy->ops.check_polarity = e1000_check_polarity_igp;
105 phy
464 struct e1000_phy_info *phy = &hw->phy; local
870 struct e1000_phy_info *phy = &hw->phy; local
1799 struct e1000_phy_info *phy = &hw->phy; local
[all...]
H A De1000_82543.c81 struct e1000_phy_info *phy = &hw->phy; local
86 if (hw->phy.media_type != e1000_media_type_copper) {
87 phy->type = e1000_phy_none;
90 phy->ops.power_up = e1000_power_up_phy_copper;
91 phy->ops.power_down = e1000_power_down_phy_copper;
94 phy->addr = 1;
95 phy->autoneg_mask = AUTONEG_ADVERTISE_SPEED_DEFAULT;
96 phy->reset_delay_us = 10000;
97 phy
[all...]
H A De1000_api.c98 if (hw->phy.ops.init_params) {
99 ret_val = hw->phy.ops.init_params(hw);
105 DEBUGOUT("phy.init_phy_params was NULL\n");
883 if (hw->phy.ops.check_reset_block)
884 return (hw->phy.ops.check_reset_block(hw));
901 if (hw->phy.ops.read_reg)
902 return (hw->phy.ops.read_reg(hw, offset, data));
919 if (hw->phy.ops.write_reg)
920 return (hw->phy.ops.write_reg(hw, offset, data));
935 if (hw->phy
[all...]
/opensolaris-onvv-gate/usr/src/uts/intel/io/dnet/
H A Ddnet_mii.h59 typedef ushort_t (*mii_readfunc_t)(dev_info_t *, int phy, int reg);
60 typedef void (*mii_writefunc_t)(dev_info_t *, int phy, int reg, int value);
61 typedef void (*mii_linkfunc_t)(dev_info_t *, int phy, enum mii_phy_state state);
73 int mii_init_phy(mii_handle_t, int phy);
76 int mii_getspeed(mii_handle_t, int phy, int *speed, int *full_duplex);
79 int mii_probe_phy(mii_handle_t, int phy);
82 int mii_rsan(mii_handle_t mac, int phy, enum mii_wait_type wait_type);
85 int mii_fixspeed(mii_handle_t, int phy, int speed, int fullduplex);
88 int mii_autoneg_enab(mii_handle_t mac, int phy);
91 int mii_reset_phy(mii_handle_t, int phy, enu
[all...]
H A Ddnet_mii.c61 static struct phydata *mii_get_valid_phydata(mii_handle_t mac, int phy);
71 static void postreset_ICS1890(mii_handle_t mac, int phy);
72 static void postreset_NS83840(mii_handle_t mac, int phy);
103 * Returns true if PHY at address phy is accessible. This should be
109 mii_probe_phy(mii_handle_t mac, int phy) argument
114 if (!mac || phy < 0 || phy > 31)
120 mac->mii_read(dip, phy, MII_STATUS);
121 status = mac->mii_read(dip, phy, MII_STATUS);
124 mac->mii_read(dip, phy, MII_CONTRO
148 mii_init_phy(mii_handle_t mac, int phy) argument
292 mii_reset_phy(mii_handle_t mac, int phy, enum mii_wait_type wait) argument
352 mii_sync(mii_handle_t mac, int phy) argument
405 mii_disable_fullduplex(mii_handle_t mac, int phy) argument
449 mii_autoneg_enab(mii_handle_t mac, int phy) argument
463 mii_linkup(mii_handle_t mac, int phy) argument
486 mii_getspeed(mii_handle_t mac, int phy, int *speed, int *fulld) argument
514 mii_fixspeed(mii_handle_t mac, int phy, int speed, int fullduplex) argument
551 mii_isolate(mii_handle_t mac, int phy) argument
567 mii_unisolate(mii_handle_t mac, int phy) argument
584 mii_rsan(mii_handle_t mac, int phy, enum mii_wait_type wait) argument
627 mii_dump_phy(mii_handle_t mac, int phy) argument
764 mii_get_valid_phydata(mii_handle_t mac, int phy) argument
778 dump_NS83840(mii_handle_t mac, int phy) argument
813 getspeed_NS83840(mii_handle_t mac, int phy, int *speed, int *fulld) argument
857 getspeed_82553(mii_handle_t mac, int phy, int *speed, int *fulld) argument
870 getspeed_ICS1890(mii_handle_t mac, int phy, int *speed, int *fulld) argument
879 dump_ICS1890(mii_handle_t mac, int phy) argument
889 postreset_NS83840(mii_handle_t mac, int phy) argument
929 postreset_ICS1890(mii_handle_t mac, int phy) argument
939 getspeed_generic(mii_handle_t mac, int phy, int *speed, int *fulld) argument
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_phy.c59 struct ixgbe_phy_info *phy = &hw->phy; local
64 phy->ops.identify = &ixgbe_identify_phy_generic;
65 phy->ops.reset = &ixgbe_reset_phy_generic;
66 phy->ops.read_reg = &ixgbe_read_phy_reg_generic;
67 phy->ops.write_reg = &ixgbe_write_phy_reg_generic;
68 phy->ops.setup_link = &ixgbe_setup_phy_link_generic;
69 phy->ops.setup_link_speed = &ixgbe_setup_phy_link_speed_generic;
70 phy->ops.check_link = NULL;
71 phy
[all...]
H A Dixgbe_82598.c153 struct ixgbe_phy_info *phy = &hw->phy; local
162 phy->ops.init = &ixgbe_init_phy_ops_82598;
192 phy->ops.read_i2c_eeprom = &ixgbe_read_i2c_eeprom_82598;
217 struct ixgbe_phy_info *phy = &hw->phy; local
224 phy->ops.identify(hw);
233 switch (hw->phy.type) {
235 phy->ops.setup_link = &ixgbe_setup_phy_link_tnx;
236 phy
[all...]
H A Dixgbe_82599.c78 if (hw->phy.multispeed_fiber) {
91 (hw->phy.smart_speed == ixgbe_smart_speed_auto ||
92 hw->phy.smart_speed == ixgbe_smart_speed_on))
112 struct ixgbe_phy_info *phy = &hw->phy; local
118 ret_val = phy->ops.identify(hw);
124 if (hw->phy.sfp_type != ixgbe_sfp_type_unknown)
125 hw->phy.ops.reset = NULL;
134 /* Set necessary function pointers based on phy type */
135 switch (hw->phy
212 struct ixgbe_phy_info *phy = &hw->phy; local
[all...]
/opensolaris-onvv-gate/usr/src/lib/sun_sas/common/
H A DSun_sasGetSASPhyAttributes.c33 HBA_UINT32 port, HBA_UINT32 phy, SMHBA_SAS_PHY *pAttributes)
76 /* match phy index. */
77 if (phy >= hba_port_ptr->port_attributes.PortSpecificAttribute.
79 log(LOG_DEBUG, ROUTINE, "Invalid phy index %d", phy);
85 if (phy == phy_ptr->index) {
88 (void) memcpy(pAttributes, &phy_ptr->phy,
97 log(LOG_DEBUG, ROUTINE, "Illegal phy index %d", phy);
32 Sun_sasGetSASPhyAttributes(HBA_HANDLE handle, HBA_UINT32 port, HBA_UINT32 phy, SMHBA_SAS_PHY *pAttributes) argument
H A DSun_sasGetPhyStatistics.c31 * Retrieves the statistics for a specified port.phy on an adapter
34 HBA_UINT32 port, HBA_UINT32 phy, SMHBA_PHYSTATISTICS *pStatistics) {
54 "NULL Phy Statistics buffer of phyIndex: %08lx", phy);
60 "NULL SAS Phy Statistics buffer of phyIndex: %08lx", phy);
69 handle, phy);
78 "Verify Adapter failed for phyIndex: %08lx", phy);
93 "Invalid port index of phyIndex: %08lx", phy);
98 if (phy >= hba_port_ptr->port_attributes.PortSpecificAttribute.
100 log(LOG_DEBUG, ROUTINE, "Invalid phy index %08lx", phy);
33 Sun_sasGetPhyStatistics(HBA_HANDLE handle, HBA_UINT32 port, HBA_UINT32 phy, SMHBA_PHYSTATISTICS *pStatistics) argument
[all...]
H A Ddevtree_phy_disco.c46 * Free the phy allocation.
92 count = di_prop_lookup_bytes(DDI_DEV_T_ANY, node, "phy-info",
97 "Property phy-info not found on port %s%s",
101 log(LOG_DEBUG, ROUTINE, "Property phy-info not found.");
118 rval = nvlist_lookup_nvlist_array(nvl, "phy-info-nvl",
123 "nvlist array phy-info-nvl not\
129 "nvlist array phy-info-nvl not\
172 phy_ptr->phy.PhyIdentifier = phyId;
173 phy_ptr->phy.NegotiatedLinkRate = negoRate;
174 phy_ptr->phy
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/io/chxge/com/
H A Dcphy.h69 int (*advertise)(struct cphy *phy, unsigned int advertise_map);
71 int (*set_speed_duplex)(struct cphy *phy, int speed, int duplex);
72 int (*get_link_status)(struct cphy *phy, int *link_ok, int *speed,
125 static inline void cphy_init(struct cphy *phy, adapter_t *adapter, argument
129 phy->adapter = adapter;
130 phy->addr = phy_addr;
131 phy->ops = phy_ops;
133 phy->mdio_read = mdio_ops->read;
134 phy->mdio_write = mdio_ops->write;
H A Dch_subr.c163 struct cphy *phy = adapter->port[port_id].phy; local
166 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc);
211 struct cphy *phy = adapter->port[p].phy; local
212 int phy_cause = phy->ops->interrupt_handler(phy);
822 t1_link_start(struct cphy *phy, struct cmac *mac, struct link_config *lc) argument
837 phy
868 struct cphy *phy; local
1308 struct cphy *phy = adapter->port[i].phy; local
[all...]
/opensolaris-onvv-gate/usr/src/grub/grub-0.97/netboot/
H A Dtlan.c242 u32 phy[2]; member in struct:tlan_private
416 u32 phy; local
425 phy = priv->phy[priv->phyNum];
438 TLan_MiiReadReg(nic, phy, MII_GEN_ID_HI, &tlphy_id1);
439 TLan_MiiReadReg(nic, phy, MII_GEN_ID_LO, &tlphy_id2);
446 TLan_MiiReadReg(nic, phy, MII_GEN_STS, &status);
448 TLan_MiiReadReg(nic, phy, MII_GEN_STS, &status);
452 TLan_MiiReadReg(nic, phy, MII_AN_LPA, &partner);
453 TLan_MiiReadReg(nic, phy, TLAN_TLPHY_PA
1185 TLan_MiiReadReg(struct nic *nic __unused, u16 phy, u16 reg, u16 * val) argument
1345 TLan_MiiWriteReg(struct nic *nic __unused, u16 phy, u16 reg, u16 val) argument
1436 u32 phy; local
1526 u16 phy; local
1557 u16 phy; local
1651 u16 phy; local
1752 u16 phy; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/io/mii/
H A Dmiipriv.h35 #define PHY_SET(phy, reg, bit) \
36 phy_write(phy, reg, phy_read(phy, reg) | (bit))
37 #define PHY_CLR(phy, reg, bit) \
38 phy_write(phy, reg, phy_read(phy, reg) & ~(bit))
189 * phy_stop is used when the phy services should be stopped. This can
/opensolaris-onvv-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_bay.c207 di_minor_t *minorp, int phy)
222 if (phy == pi_get_phynum(mod, sib)) {
237 if (phy == pi_get_phynum(mod, gsib)) {
275 pi_bay_update_node(topo_mod_t *mod, tnode_t *t_node, uint8_t phy, argument
335 pi_bay_find_nodes(mod, &dnode, &sib, &minor, phy);
338 "PHY %d.\n", phy);
363 uint8_t *phy = NULL; local
368 nphy = pi_get_priphy(mod, mdp, mde_node, phy);
375 phy = topo_mod_alloc(mod, (nphy * sizeof (uint8_t)));
376 if (phy
206 pi_bay_find_nodes(topo_mod_t *mod, di_node_t *nodep, di_node_t *sibp, di_minor_t *minorp, int phy) argument
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/io/ntxn/
H A Dniu.c91 * [15:8] phy id
102 long phy = adapter->physical_port; local
135 address.phy_addr = (unm_crbword_t)phy;
180 int phy = adapter->physical_port; local
184 if ((phy < 0) || (phy > 3))
193 UNM_NIU_GB_STATION_ADDR_1(phy))) >> 16;
195 adapter, UNM_NIU_GB_STATION_ADDR_0(phy)))) << 16;
214 int phy = adapter->physical_port; local
216 if ((phy <
484 int phy = adapter->physical_port; local
[all...]

Completed in 366 milliseconds

12345