/illumos-gate/usr/src/uts/common/io/igc/core/ |
H A D | igc_phy.c | 473 u16 phy_ctrl; in igc_copper_link_autoneg() local 499 ret_val = phy->ops.read_reg(hw, PHY_CONTROL, &phy_ctrl); in igc_copper_link_autoneg() 503 phy_ctrl |= (MII_CR_AUTO_NEG_EN | MII_CR_RESTART_AUTO_NEG); in igc_copper_link_autoneg() 504 ret_val = phy->ops.write_reg(hw, PHY_CONTROL, phy_ctrl); in igc_copper_link_autoneg() 590 void igc_phy_force_speed_duplex_setup(struct igc_hw *hw, u16 *phy_ctrl) in igc_phy_force_speed_duplex_setup() argument 609 *phy_ctrl &= ~MII_CR_AUTO_NEG_EN; in igc_phy_force_speed_duplex_setup() 614 *phy_ctrl &= ~MII_CR_FULL_DUPLEX; in igc_phy_force_speed_duplex_setup() 618 *phy_ctrl |= MII_CR_FULL_DUPLEX; in igc_phy_force_speed_duplex_setup() 625 *phy_ctrl |= MII_CR_SPEED_100; in igc_phy_force_speed_duplex_setup() 626 *phy_ctrl &= ~MII_CR_SPEED_1000; in igc_phy_force_speed_duplex_setup() [all …]
|
H A D | igc_phy.h | 19 void igc_phy_force_speed_duplex_setup(struct igc_hw *hw, u16 *phy_ctrl);
|
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_main.c | 5059 uint16_t phy_ctrl; in e1000g_smartspeed() local 5103 PHY_1000T_CTRL, phy_ctrl); in e1000g_smartspeed() 5116 PHY_CONTROL, phy_ctrl); in e1000g_smartspeed() 5138 phy_ctrl |= CR_1000T_MS_ENABLE; in e1000g_smartspeed() 5146 phy_ctrl |= in e1000g_smartspeed() 5680 uint16_t phy_ctrl; in e1000g_set_internal_loopback() local 5707 phy_ctrl | MII_CR_RESET); in e1000g_set_internal_loopback() 5957 uint16_t phy_ctrl; in e1000g_set_external_loopback_100() local 5974 phy_ctrl); /* 0x2100 */ in e1000g_set_external_loopback_100() 5994 uint16_t phy_ctrl; in e1000g_set_external_loopback_10() local [all …]
|
H A D | e1000g_sw.h | 979 uint16_t phy_ctrl; /* contents of PHY_CTRL */ member
|
/illumos-gate/usr/src/uts/common/io/bnx/570x/driver/common/lmdev/ |
H A D | bnx_hw_phy.c | 2748 u32_t phy_ctrl; in get_copper_phy_link() local 2783 DbgBreakIf(phy_ctrl & ( in get_copper_phy_link() 2794 if(phy_ctrl & PHY_CTRL_AUTO_NEG_ENABLE) in get_copper_phy_link() 2887 if(phy_ctrl & PHY_CTRL_SPEED_SELECT_100MBPS) in get_copper_phy_link() 2905 if(phy_ctrl & PHY_CTRL_FULL_DUPLEX_MODE) in get_copper_phy_link() 3053 u32_t phy_ctrl; in serdes_fallback() local 3482 u32_t phy_ctrl; in get_5706_serdes_link() local 3499 if(phy_ctrl & PHY_CTRL_AUTO_NEG_ENABLE) in get_5706_serdes_link() 3530 if(phy_ctrl & PHY_CTRL_FULL_DUPLEX_MODE) in get_5706_serdes_link() 3704 u32_t val, phy_ctrl, phy_status; in lm_init_mac_link() local [all …]
|
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_phy.c | 1628 u16 phy_ctrl; in e1000_copper_link_autoneg() local 1654 ret_val = phy->ops.read_reg(hw, PHY_CONTROL, &phy_ctrl); in e1000_copper_link_autoneg() 1659 ret_val = phy->ops.write_reg(hw, PHY_CONTROL, phy_ctrl); in e1000_copper_link_autoneg() 2033 *phy_ctrl &= ~MII_CR_AUTO_NEG_EN; in e1000_phy_force_speed_duplex_setup() 2038 *phy_ctrl &= ~MII_CR_FULL_DUPLEX; in e1000_phy_force_speed_duplex_setup() 2042 *phy_ctrl |= MII_CR_FULL_DUPLEX; in e1000_phy_force_speed_duplex_setup() 2049 *phy_ctrl |= MII_CR_SPEED_100; in e1000_phy_force_speed_duplex_setup() 2050 *phy_ctrl &= ~MII_CR_SPEED_1000; in e1000_phy_force_speed_duplex_setup() 2054 *phy_ctrl &= ~(MII_CR_SPEED_1000 | MII_CR_SPEED_100); in e1000_phy_force_speed_duplex_setup() 2821 u16 phy_ctrl; in e1000_phy_sw_reset_generic() local [all …]
|
H A D | e1000_ich8lan.c | 3257 u32 phy_ctrl; in e1000_set_d0_lplu_state_ich8lan() local 3269 phy_ctrl |= E1000_PHY_CTRL_D0A_LPLU; in e1000_set_d0_lplu_state_ich8lan() 3294 phy_ctrl &= ~E1000_PHY_CTRL_D0A_LPLU; in e1000_set_d0_lplu_state_ich8lan() 3353 u32 phy_ctrl; in e1000_set_d3_lplu_state_ich8lan() local 3362 phy_ctrl &= ~E1000_PHY_CTRL_NOND0A_LPLU; in e1000_set_d3_lplu_state_ich8lan() 3403 phy_ctrl |= E1000_PHY_CTRL_NOND0A_LPLU; in e1000_set_d3_lplu_state_ich8lan() 5504 u32 phy_ctrl; in e1000_kmrn_lock_loss_workaround_ich8lan() local 5542 phy_ctrl |= (E1000_PHY_CTRL_GBE_DISABLE | in e1000_kmrn_lock_loss_workaround_ich8lan() 5687 u32 phy_ctrl; in e1000_suspend_workarounds_ich8lan() local 5693 phy_ctrl |= E1000_PHY_CTRL_GBE_DISABLE; in e1000_suspend_workarounds_ich8lan() [all …]
|
H A D | e1000_phy.h | 70 void e1000_phy_force_speed_duplex_setup(struct e1000_hw *hw, u16 *phy_ctrl);
|
/illumos-gate/usr/src/uts/common/io/1394/adapters/ |
H A D | hci1394_ohci.c | 1129 &ohci_hdl->ohci_regs->phy_ctrl); in hci1394_ohci_phy_read_no_lock() 1137 ddi_put32(ohci_hdl->ohci_reg_handle, &ohci_hdl->ohci_regs->phy_ctrl, in hci1394_ohci_phy_read_no_lock() 1152 &ohci_hdl->ohci_regs->phy_ctrl); in hci1394_ohci_phy_read_no_lock() 1183 &ohci_hdl->ohci_regs->phy_ctrl) & OHCI_PHYC_RDDATA_MASK) >> in hci1394_ohci_phy_read_no_lock() 1214 &ohci_hdl->ohci_regs->phy_ctrl); in hci1394_ohci_phy_write_no_lock() 1223 &ohci_hdl->ohci_regs->phy_ctrl, ohci_reg); in hci1394_ohci_phy_write_no_lock() 1237 &ohci_hdl->ohci_regs->phy_ctrl); in hci1394_ohci_phy_write_no_lock()
|
/illumos-gate/usr/src/uts/common/sys/1394/adapters/ |
H A D | hci1394_ohci.h | 476 uint32_t phy_ctrl; member
|
/illumos-gate/usr/src/uts/common/io/igb/ |
H A D | igb_main.c | 3981 uint16_t phy_ctrl; in igb_set_internal_phy_loopback() local 3998 phy_ctrl = MII_CR_FULL_DUPLEX | MII_CR_SPEED_1000 | MII_CR_LOOPBACK; in igb_set_internal_phy_loopback() 3999 (void) e1000_write_phy_reg(hw, PHY_CONTROL, phy_ctrl); in igb_set_internal_phy_loopback() 5096 uint16_t phy_ctrl; in igb_get_phy_state() local 5108 (void) e1000_read_phy_reg(hw, PHY_CONTROL, &phy_ctrl); in igb_get_phy_state()
|