Searched refs:phy_ctrl (Results 1 – 3 of 3) sorted by relevance
/openbsd/sys/dev/pci/ |
H A D | igc_phy.c | 466 uint16_t phy_ctrl; in igc_copper_link_autoneg() local 493 ret_val = phy->ops.read_reg(hw, PHY_CONTROL, &phy_ctrl); in igc_copper_link_autoneg() 497 phy_ctrl |= (MII_CR_AUTO_NEG_EN | MII_CR_RESTART_AUTO_NEG); in igc_copper_link_autoneg() 498 ret_val = phy->ops.write_reg(hw, PHY_CONTROL, phy_ctrl); in igc_copper_link_autoneg()
|
H A D | if_em_hw.c | 8991 uint32_t phy_ctrl = 0; in em_set_d3_lplu_state() local 9014 phy_ctrl = E1000_READ_REG(hw, PHY_CTRL); in em_set_d3_lplu_state() 9032 phy_ctrl &= ~E1000_PHY_CTRL_NOND0A_LPLU; in em_set_d3_lplu_state() 9033 E1000_WRITE_REG(hw, PHY_CTRL, phy_ctrl); in em_set_d3_lplu_state() 9084 phy_ctrl |= E1000_PHY_CTRL_NOND0A_LPLU; in em_set_d3_lplu_state() 9127 uint32_t phy_ctrl = 0; in em_set_d0_lplu_state() local 9136 phy_ctrl = E1000_READ_REG(hw, PHY_CTRL); in em_set_d0_lplu_state() 9146 phy_ctrl &= ~E1000_PHY_CTRL_D0A_LPLU; in em_set_d0_lplu_state() 9147 E1000_WRITE_REG(hw, PHY_CTRL, phy_ctrl); in em_set_d0_lplu_state() 9186 phy_ctrl |= E1000_PHY_CTRL_D0A_LPLU; in em_set_d0_lplu_state() [all …]
|
/openbsd/sys/dev/ic/ |
H A D | bwi.c | 8845 uint16_t phy_ctrl; in bwi_encap() local 8946 phy_ctrl = __SHIFTIN(mac->mac_rf.rf_ant_mode, in bwi_encap() 8949 phy_ctrl |= BWI_TXH_PHY_C_OFDM; in bwi_encap() 8951 phy_ctrl |= BWI_TXH_PHY_C_SHPREAMBLE; in bwi_encap() 8960 hdr->txh_phy_ctrl = htole16(phy_ctrl); in bwi_encap()
|