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

/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
H A Dmptsas.c851 uint8_t phy_id; local
1019 &attached_sas_wwn, &dev_info, &phy_port, &phy_id,
15036 uint8_t phy_id; local
15216 &phy_id, &pdev_hdl, &bay_num, &enclosure, &io_flags);
15229 &phy_id, &pdev_hdl, &bay_num, &enclosure, &io_flags);
15384 uint8_t phy_id; local
15522 &physport, &phy_id, &pdev_hdl,
15536 &phy_id, &pdev_hdl, &bay_num, &enclosure, &io_flags);
15778 uint8_t phy_id; local
15854 &phy_id,
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_intr.c334 uint64_t phy_id, wwn; local
362 phy_id = (uint64_t)af.phy_identifier;
409 (1ULL << phy_id), B_TRUE);
428 (1ULL << phy_id), B_TRUE);
533 (1ULL << phy_id), B_TRUE);
/illumos-gate/usr/src/uts/common/io/mii/
H A Dmiipriv.h52 uint32_t phy_id; member in struct:phy_handle
/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);
H A De1000_82575.c665 u16 phy_id; local
726 ret_val = e1000_read_phy_reg_sgmii_82575(hw, PHY_ID1, &phy_id);
729 phy_id, phy->addr);
734 if (phy_id == M88_VENDOR)
H A De1000_phy.c222 u16 phy_id; local
231 ret_val = phy->ops.read_reg(hw, PHY_ID1, &phy_id);
235 phy->id = (u32)(phy_id << 16);
237 ret_val = phy->ops.read_reg(hw, PHY_ID2, &phy_id);
241 phy->id |= (u32)(phy_id & PHY_REVISION_MASK);
242 phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK);
2985 * @phy_id: phy_id read from the phy
2989 enum e1000_phy_type e1000_get_phy_type_from_id(u32 phy_id) argument
2993 switch (phy_id) {
[all...]
H A De1000_ich8lan.c203 u32 phy_id = 0; local
212 phy_id = (u32)(phy_reg << 16);
216 phy_id = 0;
219 phy_id |= (u32)(phy_reg & PHY_REVISION_MASK);
224 if (hw->phy.id == phy_id)
226 } else if (phy_id) {
227 hw->phy.id = phy_id;
/illumos-gate/usr/src/grub/grub-0.97/netboot/
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 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 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 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 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 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 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)
H A De1000_hw.h912 uint32_t phy_id; member in struct:e1000_hw
H A Dtg3.h2117 uint32_t phy_id; member in struct:tg3
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_phy.c453 u16 phy_id = 0; local
460 IXGBE_MDIO_PMA_PMD_DEV_TYPE, &phy_id);
462 if (phy_id != 0xFFFF && phy_id != 0x0)
501 enum ixgbe_phy_type ixgbe_get_phy_type_from_id(u32 phy_id) argument
507 switch (phy_id) {
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_mac.c577 uint32_t phy_id = 0; local
877 phy_id = nxge_get_cl22_phy_id(nxgep,
879 if (nxge_is_supported_phy(phy_id, CLAUSE_22_TYPE)) {
880 nxgep->statsp->mac_stats.xcvr_id = phy_id;
7579 uint32_t phy_id = 0; local
7591 phy_id = nxge_get_cl22_phy_id(nxgep, addr);
7593 "nxge_is_phy_present: phy_id[0x%x]", phy_id));
7594 if ((phy_id & mask) == (id & mask))
7695 uint32_t phy_id local
7743 uint32_t phy_id = 0; local
[all...]
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge.h783 uint32_t phy_id; member in struct:nge
/illumos-gate/usr/src/uts/intel/io/amd8111s/
H A Damd8111s_hw.h918 unsigned int phy_id; member in struct:mdl
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/mpt_sas/
H A Dmptsas_var.h630 uint8_t phy_id; member in struct:smhba_info
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_adminq_cmd.h1669 u8 phy_id[4]; member in struct:i40e_aq_get_phy_abilities_resp

Completed in 267 milliseconds