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

12

/illumos-gate/usr/src/uts/common/io/mii/
H A Dmii_natsemi.c65 if ((MII_PHY_MFG(ph->phy_id) != MII_OUI_NATIONAL_SEMI) &&
66 (MII_PHY_MFG(ph->phy_id) != MII_OUI_NATIONAL_SEMI_2)) {
71 switch (MII_PHY_MODEL(ph->phy_id)) {
H A Dmii_cicada.c75 switch (MII_PHY_MFG(ph->phy_id)) {
78 switch (MII_PHY_MODEL(ph->phy_id)) {
H A Dmii_intel.c98 if (MII_PHY_MFG(ph->phy_id) != MII_OUI_INTEL) {
102 switch (MII_PHY_MODEL(ph->phy_id)) {
H A Dmii_other.c127 uint32_t vid = MII_PHY_MFG(ph->phy_id);
128 uint32_t pid = MII_PHY_MODEL(ph->phy_id);
130 if ((ph->phy_id == 0) || (ph->phy_id == 0xffffffffU)) {
H A Dmii_qualsemi.c94 if ((MII_PHY_MFG(ph->phy_id) == MII_OUI_QUALITY_SEMI) &&
95 (MII_PHY_MODEL(ph->phy_id) == MII_MODEL_QUALITY_SEMI_QS6612)) {
H A Dmii_realtek.c50 if ((ph->phy_id == 0) &&
56 } else if (ph->phy_id == 0x8201) {
H A Dmiipriv.h52 uint32_t phy_id; member in struct:phy_handle
H A Dmii_marvell.c254 if (MII_PHY_REV(ph->phy_id) == 0) {
455 switch (MII_PHY_MFG(ph->phy_id)) {
458 switch (MII_PHY_MODEL(ph->phy_id)) {
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/mpt_sas/
H A Dmptsas_smhba.h70 uint8_t phy_id, uint16_t *attached_devhdl);
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas_smhba.c127 uint8_t phy_id, uint16_t *attached_devhdl)
130 (void) nvlist_add_uint8(*phy_props, SAS_PHY_ID, phy_id);
186 mptsas_smhba_set_one_phy_props(mptsas_t *mpt, dev_info_t *dip, uint8_t phy_id, argument
191 ASSERT(phy_id < mpt->m_num_phys);
194 &mpt->m_phy_info[phy_id].smhba_info, phy_id, attached_devhdl);
252 phynum = phyp->phy_id;
390 page_address = (MPI2_SAS_PHY_PGAD_FORM_PHY_NUMBER | pptr->phy_id);
466 mpt->m_phy_info[i].smhba_info.phy_id = (uint8_t)i;
126 mptsas_smhba_create_phy_props(nvlist_t **phy_props, smhba_info_t *pSmhba, uint8_t phy_id, uint16_t *attached_devhdl) argument
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dw89c840.c265 static int mdio_read(int base_address, int phy_id, int location);
267 static void mdio_write(int base_address, int phy_id, int location, int value);
794 static int mdio_read(int base_address, int phy_id, int location) argument
797 int mii_cmd = (0xf6 << 10) | (phy_id << 5) | location;
824 static void mdio_write(int base_address, int phy_id, int location, int value)
827 int mii_cmd = (0x5002 << 16) | (phy_id << 23) | (location<<18) | value;
830 if (location == 4 && phy_id == w840private.phys[0])
H A Dpcnet32.c247 int phy_id; member in struct:mii_if_info
280 static int mdio_read(struct nic *nic __unused, int phy_id, int reg_num);
282 static void mdio_write(struct nic *nic __unused, int phy_id, int reg_num,
929 lp->mii_if.phy_id = lp->phys[0];
955 static int mdio_read(struct nic *nic __unused, int phy_id, int reg_num) argument
966 ((phy_id & 0x1f) << 5) | (reg_num & 0x1f));
974 static void mdio_write(struct nic *nic __unused, int phy_id, int reg_num,
985 ((phy_id & 0x1f) << 5) | (reg_num & 0x1f));
H A Dsundance.c70 int phy_id; member in struct:mii_if_info
310 static int mdio_read(struct nic *nic, int phy_id, unsigned int location);
311 static void mdio_write(struct nic *nic, int phy_id, unsigned int location,
649 sdc->mii_if.phy_id = sdc->phys[0];
805 mdio_read(struct nic *nic __unused, int phy_id, unsigned int location) argument
808 int mii_cmd = (0xf6 << 10) | (phy_id << 5) | location;
837 mdio_write(struct nic *nic __unused, int phy_id, argument
842 (0x5002 << 16) | (phy_id << 23) | (location << 18) | value;
H A Dtg3.c699 if ((tp->phy_id & PHY_ID_MASK) == PHY_ID_BCM5401) {
721 if ((tp->phy_id & PHY_ID_REV_MASK) == PHY_REV_BCM5401_B0 &&
852 if ((tp->phy_id & PHY_ID_MASK) == PHY_ID_BCM5411 &&
1385 if (tp->phy_id == PHY_ID_SERDES) {
1779 if (tp->phy_id == PHY_ID_SERDES) {
2156 if (tp->phy_id == PHY_ID_SERDES) {
2333 uint32_t phy_id; member in struct:subsys_tbl_ent
2383 tp->phy_id = PHY_ID_INVALID;
2388 tp->phy_id = subsys_id_to_phy_id[i].phy_id;
[all...]
H A Depic100.c59 static int mii_read(int phy_id, int location);
494 mii_read(int phy_id, int location) argument
498 outl((phy_id << 9) | (location << 4) | MII_READOP, mmctl);
H A Deepro100.c286 static int mdio_write(int phy_id, int location, int value) argument
290 outl(0x04000000 | (location<<16) | (phy_id<<21) | value,
309 static int mdio_read(int phy_id, int location) argument
312 outl(0x08000000 | (location<<16) | (phy_id<<21), ioaddr + SCBCtrlMDI);
H A Dsis900.c134 static u16 sis900_mdio_read(int phy_id, int location);
136 static void sis900_mdio_write(int phy_id, int location, int val);
515 static u16 sis900_mdio_read(int phy_id, int location) argument
518 int mii_cmd = MIIread|(phy_id<<MIIpmdShift)|(location<<MIIregShift);
546 static void sis900_mdio_write(int phy_id, int location, int value)
549 int mii_cmd = MIIwrite|(phy_id<<MIIpmdShift)|(location<<MIIregShift);
H A Dnatsemi.c215 static int mdio_read(int phy_id, int location);
388 static int mdio_read(int phy_id, int location) argument
390 if (phy_id == 1 && location < 32)
H A De1000.c740 switch(hw->phy_id) {
1570 DEBUGOUT1("Phy ID = %x \n", hw->phy_id);
3091 hw->phy_id = (uint32_t) (phy_id_high << 16);
3096 hw->phy_id |= (uint32_t) (phy_id_low & PHY_REVISION_MASK);
3103 if(hw->phy_id == M88E1000_E_PHY_ID) match = TRUE;
3106 if(hw->phy_id == M88E1000_I_PHY_ID) match = TRUE;
3113 if(hw->phy_id == M88E1011_I_PHY_ID) match = TRUE;
3119 if(hw->phy_id == IGP01E1000_I_PHY_ID) match = TRUE;
3128 DEBUGOUT1("PHY ID 0x%X detected\n", hw->phy_id);
3131 DEBUGOUT1("Invalid PHY ID 0x%X\n", hw->phy_id);
[all...]
H A Dtulip.c479 static int mdio_read(struct nic *nic, int phy_id, int location);
480 static void mdio_write(struct nic *nic, int phy_id, int location, int value);
566 int mdio_read(struct nic *nic __unused, int phy_id, int location) argument
569 int read_cmd = (0xf6 << 10) | (phy_id << 5) | location;
579 outl(0x60020000 + (phy_id<<23) + (location<<18), ioaddr + 0xA0);
589 if (phy_id == 1) {
627 void mdio_write(struct nic *nic __unused, int phy_id, int location, int value) argument
630 int cmd = (0x5002 << 16) | (phy_id << 23) | (location<<18) | value;
648 if (phy_id != 1)
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_xmii.c187 ngep->phy_id =
190 phy_status, ngep->phy_id));
268 if (MII_PHY_MFG(ngep->phy_id) == MII_ID_CICADA) {
H A Dnge_kstats.c108 { 10, "phy_id" },
162 (knp++)->value.ui64 = ngep->phy_id;
428 *val = ngep->phy_id;
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_stats.c894 *val = i40e->i40e_phy.phy_id[3] << 24 |
895 i40e->i40e_phy.phy_id[2] << 16 |
896 i40e->i40e_phy.phy_id[1] << 8;
903 *val = i40e->i40e_phy.phy_id[0] |
904 i40e->i40e_phy.phy_id[1] << 8 |
905 i40e->i40e_phy.phy_id[2] << 16;
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_82571.c468 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);
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_phy.h157 enum ixgbe_phy_type ixgbe_get_phy_type_from_id(u32 phy_id);

Completed in 194 milliseconds

12