Searched refs:phy_reg (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_ich8lan.c202 u16 phy_reg = 0; local
209 ret_val = hw->phy.ops.read_reg_locked(hw, PHY_ID1, &phy_reg);
210 if (ret_val || (phy_reg == 0xFFFF))
212 phy_id = (u32)(phy_reg << 16);
214 ret_val = hw->phy.ops.read_reg_locked(hw, PHY_ID2, &phy_reg);
215 if (ret_val || (phy_reg == 0xFFFF)) {
219 phy_id |= (u32)(phy_reg & PHY_REVISION_MASK);
228 hw->phy.revision = (u32)(phy_reg & ~PHY_REVISION_MASK);
252 hw->phy.ops.read_reg_locked(hw, CV_SMB_CTRL, &phy_reg);
253 phy_reg
1263 u16 phy_reg; local
1409 u16 phy_reg; local
1549 u16 phy_reg; local
1616 u16 phy_reg; local
2161 u16 phy_reg = 0; local
2706 u16 i, phy_reg = 0; local
2767 u16 phy_reg, data; local
5642 u16 phy_reg, device_id = hw->device_id; local
5784 u16 phy_reg; local
[all...]
H A De1000_phy.h93 s32 e1000_enable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg);
94 s32 e1000_disable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg);
H A De1000_phy.c3315 * @phy_reg: pointer to store original contents of BM_WUC_ENABLE_REG
3317 * Assumes semaphore already acquired and phy_reg points to a valid memory
3320 s32 e1000_enable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg) argument
3327 if (!phy_reg)
3340 ret_val = e1000_read_phy_reg_mdic(hw, BM_WUC_ENABLE_REG, phy_reg);
3350 temp = *phy_reg;
3370 * @phy_reg: pointer to original contents of BM_WUC_ENABLE_REG
3374 * Assumes semaphore already acquired and *phy_reg is the contents of the
3378 s32 e1000_disable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg) argument
3384 if (!phy_reg)
3434 u16 phy_reg = 0; local
[all...]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dtulip.c1699 u32 phy_reg = inl(ioaddr + 0xB8); local
1706 if (phy_reg & 0x78000000) { /* Ignore baseT4 */
1707 if (phy_reg & 0x20000000) tp->if_port = 5;
1708 else if (phy_reg & 0x40000000) tp->if_port = 3;
1709 else if (phy_reg & 0x10000000) tp->if_port = 4;
1710 else if (phy_reg & 0x08000000) tp->if_port = 0;
1716 if (phy_reg & 0x30000000) {
1723 tp->nic_name, phy_reg, medianame[tp->if_port]);
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_main.c5487 uint16_t phy_reg; local
5541 (void) e1000_read_phy_reg(hw, PHY_REG(2, 21), &phy_reg);
5542 phy_reg &= ~0x0007;
5543 phy_reg |= 0x006;
5544 (void) e1000_write_phy_reg(hw, PHY_REG(2, 21), phy_reg);
5549 (void) e1000_read_phy_reg(hw, PHY_REG(769, 16), &phy_reg);
5551 phy_reg | 0x000C);
5553 (void) e1000_read_phy_reg(hw, PHY_REG(776, 16), &phy_reg);
5555 phy_reg | 0x0040);
5557 (void) e1000_read_phy_reg(hw, PHY_REG(769, 16), &phy_reg);
[all...]
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_xmii.c95 mdio_adr.adr_bits.phy_reg = (uint16_t)regno;
H A Dnge_chip.h1075 uint16_t phy_reg:5; member in struct:_nge_mdio_adr::__anon6308
/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_ohci.c1109 uint_t phy_reg; local
1131 status = hci1394_ohci_phy_read(ohci_hdl, 2, &phy_reg);
1140 if ((phy_reg & OHCI_PHY_EXTND_MASK) != OHCI_PHY_EXTND) {
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_mac.c2881 int phy_dev, phy_reg; local
2891 phy_reg = NLP2020_I2C_SNOOP_ADDR_REG;
2894 phy_dev, phy_reg, phy_data) != NXGE_OK)
2897 phy_reg = NLP2020_I2C_SNOOP_STAT_REG;
2898 (void) nxge_mdio_read(nxgep, ctrl_port, phy_dev, phy_reg, &stat);
2900 (void) nxge_mdio_read(nxgep, ctrl_port, phy_dev, phy_reg,
2904 phy_reg = NLP2020_I2C_SNOOP_DATA_REG;
2905 (void) nxge_mdio_read(nxgep, ctrl_port, phy_dev, phy_reg,

Completed in 121 milliseconds