/illumos-gate/usr/src/uts/common/io/igc/core/ |
H A D | igc_base.c | 128 IGC_WRITE_REG(hw, IGC_RFCTL, rfctl); in igc_rx_fifo_flush_base() 136 IGC_WRITE_REG(hw, IGC_RXDCTL(i), in igc_rx_fifo_flush_base() 156 IGC_WRITE_REG(hw, IGC_RFCTL, rfctl & ~IGC_RFCTL_LEF); in igc_rx_fifo_flush_base() 159 IGC_WRITE_REG(hw, IGC_RLPML, 0); in igc_rx_fifo_flush_base() 165 IGC_WRITE_REG(hw, IGC_RCTL, temp_rctl); in igc_rx_fifo_flush_base() 166 IGC_WRITE_REG(hw, IGC_RCTL, temp_rctl | IGC_RCTL_EN); in igc_rx_fifo_flush_base() 174 IGC_WRITE_REG(hw, IGC_RXDCTL(i), rxdctl[i]); in igc_rx_fifo_flush_base() 175 IGC_WRITE_REG(hw, IGC_RCTL, rctl); in igc_rx_fifo_flush_base() 178 IGC_WRITE_REG(hw, IGC_RLPML, rlpml); in igc_rx_fifo_flush_base() 179 IGC_WRITE_REG(hw, IGC_RFCTL, rfctl); in igc_rx_fifo_flush_base()
|
H A D | igc_i225.c | 197 IGC_WRITE_REG(hw, IGC_IMC, 0xffffffff); in igc_reset_hw_i225() 199 IGC_WRITE_REG(hw, IGC_RCTL, 0); in igc_reset_hw_i225() 200 IGC_WRITE_REG(hw, IGC_TCTL, IGC_TCTL_PSP); in igc_reset_hw_i225() 208 IGC_WRITE_REG(hw, IGC_CTRL, ctrl | IGC_CTRL_DEV_RST); in igc_reset_hw_i225() 221 IGC_WRITE_REG(hw, IGC_IMC, 0xffffffff); in igc_reset_hw_i225() 304 IGC_WRITE_REG(hw, IGC_SW_FW_SYNC, swfw_sync); in igc_acquire_swfw_sync_i225() 330 IGC_WRITE_REG(hw, IGC_SW_FW_SYNC, swfw_sync); in igc_release_swfw_sync_i225() 354 IGC_WRITE_REG(hw, IGC_CTRL, ctrl); in igc_setup_copper_link_i225() 358 IGC_WRITE_REG(hw, IGC_I225_PHPM, phpm_reg); in igc_setup_copper_link_i225() 415 IGC_WRITE_REG(hw, IGC_SWSM, swsm | IGC_SWSM_SWESMBI); in igc_get_hw_semaphore_i225() [all …]
|
H A D | igc_nvm.c | 83 IGC_WRITE_REG(hw, IGC_EECD, *eecd); in igc_raise_eec_clk() 98 IGC_WRITE_REG(hw, IGC_EECD, *eecd); in igc_lower_eec_clk() 131 IGC_WRITE_REG(hw, IGC_EECD, eecd); in igc_shift_out_eec_bits() 143 IGC_WRITE_REG(hw, IGC_EECD, eecd); in igc_shift_out_eec_bits() 231 IGC_WRITE_REG(hw, IGC_EECD, eecd | IGC_EECD_REQ); in igc_acquire_nvm_generic() 244 IGC_WRITE_REG(hw, IGC_EECD, eecd); in igc_acquire_nvm_generic() 268 IGC_WRITE_REG(hw, IGC_EECD, eecd); in igc_standby_nvm() 272 IGC_WRITE_REG(hw, IGC_EECD, eecd); in igc_standby_nvm() 314 IGC_WRITE_REG(hw, IGC_EECD, eecd); in igc_release_nvm_generic() 336 IGC_WRITE_REG(hw, IGC_EECD, eecd); in igc_ready_nvm_eeprom() [all …]
|
H A D | igc_mac.c | 284 IGC_WRITE_REG(hw, IGC_RAL(index), rar_low); in igc_rar_set_generic() 286 IGC_WRITE_REG(hw, IGC_RAH(index), rar_high); in igc_rar_set_generic() 564 IGC_WRITE_REG(hw, IGC_FCT, FLOW_CONTROL_TYPE); in igc_setup_link_generic() 565 IGC_WRITE_REG(hw, IGC_FCAH, FLOW_CONTROL_ADDRESS_HIGH); in igc_setup_link_generic() 566 IGC_WRITE_REG(hw, IGC_FCAL, FLOW_CONTROL_ADDRESS_LOW); in igc_setup_link_generic() 568 IGC_WRITE_REG(hw, IGC_FCTTV, hw->fc.pause_time); in igc_setup_link_generic() 591 IGC_WRITE_REG(hw, IGC_TCTL, tctl); in igc_config_collision_dist_generic() 626 IGC_WRITE_REG(hw, IGC_FCRTL, fcrtl); in igc_set_fc_watermarks_generic() 627 IGC_WRITE_REG(hw, IGC_FCRTH, fcrth); in igc_set_fc_watermarks_generic() 689 IGC_WRITE_REG(hw, IGC_CTRL, ctrl); in igc_force_mac_fc_generic() [all …]
|
H A D | igc_phy.c | 186 IGC_WRITE_REG(hw, IGC_MDIC, mdic); in igc_read_phy_reg_mdic() 246 IGC_WRITE_REG(hw, IGC_MDIC, mdic); in igc_write_phy_reg_mdic() 636 IGC_WRITE_REG(hw, IGC_CTRL, ctrl); in igc_phy_force_speed_duplex_setup() 873 IGC_WRITE_REG(hw, IGC_CTRL, ctrl | IGC_CTRL_PHY_RST); in igc_phy_hw_reset_generic() 878 IGC_WRITE_REG(hw, IGC_CTRL, ctrl); in igc_phy_hw_reset_generic()
|
/illumos-gate/usr/src/uts/common/io/igc/ |
H A D | igc_osdep.c | 52 IGC_WRITE_REG(struct igc_hw *hw, uint32_t reg, uint32_t val) in IGC_WRITE_REG() function
|
H A D | igc_osdep.h | 64 extern void IGC_WRITE_REG(struct igc_hw *, uint32_t, uint32_t);
|