Home
last modified time | relevance | path

Searched refs:E1000_READ_REG (Results 1 – 25 of 27) sorted by path

12

/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A De1000.c153 #define E1000_READ_REG(a, reg) ( \ macro
252 eecd = E1000_READ_REG(hw, EECD); in e1000_shift_out_ee_bits()
306 eecd = E1000_READ_REG(hw, EECD); in e1000_shift_in_ee_bits()
315 eecd = E1000_READ_REG(hw, EECD); in e1000_shift_in_ee_bits()
341 eecd = E1000_READ_REG(hw, EECD); in e1000_acquire_eeprom()
347 eecd = E1000_READ_REG(hw, EECD); in e1000_acquire_eeprom()
393 eecd = E1000_READ_REG(hw, EECD); in e1000_standby_eeprom()
443 eecd = E1000_READ_REG(hw, EECD); in e1000_release_eeprom()
1001 ctrl = E1000_READ_REG(hw, CTRL);
1084 icr = E1000_READ_REG(hw, ICR);
[all …]
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_80003es2lan.c873 E1000_READ_REG(hw, E1000_ICR); in e1000_reset_hw_80003es2lan()
1492 E1000_READ_REG(hw, E1000_PRC64); in e1000_clear_hw_cntrs_80003es2lan()
1493 E1000_READ_REG(hw, E1000_PRC127); in e1000_clear_hw_cntrs_80003es2lan()
1494 E1000_READ_REG(hw, E1000_PRC255); in e1000_clear_hw_cntrs_80003es2lan()
1495 E1000_READ_REG(hw, E1000_PRC511); in e1000_clear_hw_cntrs_80003es2lan()
1498 E1000_READ_REG(hw, E1000_PTC64); in e1000_clear_hw_cntrs_80003es2lan()
1499 E1000_READ_REG(hw, E1000_PTC127); in e1000_clear_hw_cntrs_80003es2lan()
1500 E1000_READ_REG(hw, E1000_PTC255); in e1000_clear_hw_cntrs_80003es2lan()
1507 E1000_READ_REG(hw, E1000_TNCRS); in e1000_clear_hw_cntrs_80003es2lan()
1509 E1000_READ_REG(hw, E1000_TSCTC); in e1000_clear_hw_cntrs_80003es2lan()
[all …]
H A De1000_82540.c317 E1000_READ_REG(hw, E1000_ICR); in e1000_reset_hw_82540()
652 E1000_READ_REG(hw, E1000_PRC64); in e1000_clear_hw_cntrs_82540()
653 E1000_READ_REG(hw, E1000_PRC127); in e1000_clear_hw_cntrs_82540()
654 E1000_READ_REG(hw, E1000_PRC255); in e1000_clear_hw_cntrs_82540()
655 E1000_READ_REG(hw, E1000_PRC511); in e1000_clear_hw_cntrs_82540()
658 E1000_READ_REG(hw, E1000_PTC64); in e1000_clear_hw_cntrs_82540()
659 E1000_READ_REG(hw, E1000_PTC127); in e1000_clear_hw_cntrs_82540()
660 E1000_READ_REG(hw, E1000_PTC255); in e1000_clear_hw_cntrs_82540()
661 E1000_READ_REG(hw, E1000_PTC511); in e1000_clear_hw_cntrs_82540()
667 E1000_READ_REG(hw, E1000_TNCRS); in e1000_clear_hw_cntrs_82540()
[all …]
H A De1000_82541.c363 E1000_READ_REG(hw, E1000_ICR); in e1000_reset_hw_82541()
1249 E1000_READ_REG(hw, E1000_PRC64); in e1000_clear_hw_cntrs_82541()
1250 E1000_READ_REG(hw, E1000_PRC127); in e1000_clear_hw_cntrs_82541()
1251 E1000_READ_REG(hw, E1000_PRC255); in e1000_clear_hw_cntrs_82541()
1252 E1000_READ_REG(hw, E1000_PRC511); in e1000_clear_hw_cntrs_82541()
1255 E1000_READ_REG(hw, E1000_PTC64); in e1000_clear_hw_cntrs_82541()
1256 E1000_READ_REG(hw, E1000_PTC127); in e1000_clear_hw_cntrs_82541()
1257 E1000_READ_REG(hw, E1000_PTC255); in e1000_clear_hw_cntrs_82541()
1258 E1000_READ_REG(hw, E1000_PTC511); in e1000_clear_hw_cntrs_82541()
1264 E1000_READ_REG(hw, E1000_TNCRS); in e1000_clear_hw_cntrs_82541()
[all …]
H A De1000_82542.c227 E1000_READ_REG(hw, E1000_ICR); in e1000_reset_hw_82542()
548 E1000_READ_REG(hw, E1000_PRC64); in e1000_clear_hw_cntrs_82542()
549 E1000_READ_REG(hw, E1000_PRC127); in e1000_clear_hw_cntrs_82542()
550 E1000_READ_REG(hw, E1000_PRC255); in e1000_clear_hw_cntrs_82542()
551 E1000_READ_REG(hw, E1000_PRC511); in e1000_clear_hw_cntrs_82542()
552 E1000_READ_REG(hw, E1000_PRC1023); in e1000_clear_hw_cntrs_82542()
553 E1000_READ_REG(hw, E1000_PRC1522); in e1000_clear_hw_cntrs_82542()
554 E1000_READ_REG(hw, E1000_PTC64); in e1000_clear_hw_cntrs_82542()
555 E1000_READ_REG(hw, E1000_PTC127); in e1000_clear_hw_cntrs_82542()
556 E1000_READ_REG(hw, E1000_PTC255); in e1000_clear_hw_cntrs_82542()
[all …]
H A De1000_82543.c945 E1000_READ_REG(hw, E1000_ICR); in e1000_reset_hw_82543()
1539 E1000_READ_REG(hw, E1000_PRC64); in e1000_clear_hw_cntrs_82543()
1540 E1000_READ_REG(hw, E1000_PRC127); in e1000_clear_hw_cntrs_82543()
1541 E1000_READ_REG(hw, E1000_PRC255); in e1000_clear_hw_cntrs_82543()
1542 E1000_READ_REG(hw, E1000_PRC511); in e1000_clear_hw_cntrs_82543()
1545 E1000_READ_REG(hw, E1000_PTC64); in e1000_clear_hw_cntrs_82543()
1546 E1000_READ_REG(hw, E1000_PTC127); in e1000_clear_hw_cntrs_82543()
1547 E1000_READ_REG(hw, E1000_PTC255); in e1000_clear_hw_cntrs_82543()
1548 E1000_READ_REG(hw, E1000_PTC511); in e1000_clear_hw_cntrs_82543()
1554 E1000_READ_REG(hw, E1000_TNCRS); in e1000_clear_hw_cntrs_82543()
[all …]
H A De1000_82571.c1166 E1000_READ_REG(hw, E1000_ICR); in e1000_reset_hw_82571()
1664 E1000_READ_REG(hw, E1000_RXCW); in e1000_check_for_serdes_link_82571()
1997 E1000_READ_REG(hw, E1000_PRC64); in e1000_clear_hw_cntrs_82571()
1998 E1000_READ_REG(hw, E1000_PRC127); in e1000_clear_hw_cntrs_82571()
1999 E1000_READ_REG(hw, E1000_PRC255); in e1000_clear_hw_cntrs_82571()
2000 E1000_READ_REG(hw, E1000_PRC511); in e1000_clear_hw_cntrs_82571()
2003 E1000_READ_REG(hw, E1000_PTC64); in e1000_clear_hw_cntrs_82571()
2004 E1000_READ_REG(hw, E1000_PTC127); in e1000_clear_hw_cntrs_82571()
2012 E1000_READ_REG(hw, E1000_TNCRS); in e1000_clear_hw_cntrs_82571()
2014 E1000_READ_REG(hw, E1000_TSCTC); in e1000_clear_hw_cntrs_82571()
[all …]
H A De1000_82575.c1477 E1000_READ_REG(hw, E1000_ICR); in e1000_reset_hw_82575()
2085 E1000_READ_REG(hw, E1000_PRC64); in e1000_clear_hw_cntrs_82575()
2091 E1000_READ_REG(hw, E1000_PTC64); in e1000_clear_hw_cntrs_82575()
2100 E1000_READ_REG(hw, E1000_TNCRS); in e1000_clear_hw_cntrs_82575()
2102 E1000_READ_REG(hw, E1000_TSCTC); in e1000_clear_hw_cntrs_82575()
2109 E1000_READ_REG(hw, E1000_IAC); in e1000_clear_hw_cntrs_82575()
2212 E1000_READ_REG(hw, E1000_ROC); in e1000_rx_fifo_flush_82575()
2213 E1000_READ_REG(hw, E1000_RNBC); in e1000_rx_fifo_flush_82575()
2214 E1000_READ_REG(hw, E1000_MPC); in e1000_rx_fifo_flush_82575()
2536 E1000_READ_REG(hw, E1000_ICR); in e1000_reset_hw_82580()
[all …]
H A De1000_i210.c104 swfw_sync = E1000_READ_REG(hw, E1000_SW_FW_SYNC); in e1000_acquire_swfw_sync_i210()
149 swfw_sync = E1000_READ_REG(hw, E1000_SW_FW_SYNC); in e1000_release_swfw_sync_i210()
172 swsm = E1000_READ_REG(hw, E1000_SWSM); in e1000_get_hw_semaphore_i210()
188 swsm = E1000_READ_REG(hw, E1000_SWSM); in e1000_get_hw_semaphore_i210()
205 swsm = E1000_READ_REG(hw, E1000_SWSM); in e1000_get_hw_semaphore_i210()
351 E1000_READ_REG(hw, E1000_SRWR)) { in e1000_write_nvm_srwr()
603 eec = E1000_READ_REG(hw, E1000_EECD); in e1000_get_flash_presence_i210()
655 reg = E1000_READ_REG(hw, E1000_EECD); in e1000_pool_flash_update_done_i210()
834 wuc = E1000_READ_REG(hw, E1000_WUC); in e1000_pll_workaround_i210()
835 mdicnfg = E1000_READ_REG(hw, E1000_MDICNFG); in e1000_pll_workaround_i210()
[all …]
H A De1000_ich8lan.c5102 E1000_READ_REG(hw, E1000_ICR); in e1000_reset_hw_ich8lan()
6123 E1000_READ_REG(hw, E1000_RXERRC); in e1000_clear_hw_cntrs_ich8lan()
6124 E1000_READ_REG(hw, E1000_TNCRS); in e1000_clear_hw_cntrs_ich8lan()
6125 E1000_READ_REG(hw, E1000_CEXTERR); in e1000_clear_hw_cntrs_ich8lan()
6126 E1000_READ_REG(hw, E1000_TSCTC); in e1000_clear_hw_cntrs_ich8lan()
6127 E1000_READ_REG(hw, E1000_TSCTFC); in e1000_clear_hw_cntrs_ich8lan()
6129 E1000_READ_REG(hw, E1000_MGTPRC); in e1000_clear_hw_cntrs_ich8lan()
6130 E1000_READ_REG(hw, E1000_MGTPDC); in e1000_clear_hw_cntrs_ich8lan()
6131 E1000_READ_REG(hw, E1000_MGTPTC); in e1000_clear_hw_cntrs_ich8lan()
6133 E1000_READ_REG(hw, E1000_IAC); in e1000_clear_hw_cntrs_ich8lan()
[all …]
H A De1000_mac.c664 E1000_READ_REG(hw, E1000_MPC); in e1000_clear_hw_cntrs_base_generic()
665 E1000_READ_REG(hw, E1000_SCC); in e1000_clear_hw_cntrs_base_generic()
667 E1000_READ_REG(hw, E1000_MCC); in e1000_clear_hw_cntrs_base_generic()
670 E1000_READ_REG(hw, E1000_DC); in e1000_clear_hw_cntrs_base_generic()
671 E1000_READ_REG(hw, E1000_SEC); in e1000_clear_hw_cntrs_base_generic()
687 E1000_READ_REG(hw, E1000_RUC); in e1000_clear_hw_cntrs_base_generic()
688 E1000_READ_REG(hw, E1000_RFC); in e1000_clear_hw_cntrs_base_generic()
689 E1000_READ_REG(hw, E1000_ROC); in e1000_clear_hw_cntrs_base_generic()
690 E1000_READ_REG(hw, E1000_RJC); in e1000_clear_hw_cntrs_base_generic()
695 E1000_READ_REG(hw, E1000_TPR); in e1000_clear_hw_cntrs_base_generic()
[all …]
H A De1000_manage.c83 hicr = E1000_READ_REG(hw, E1000_HICR); in e1000_mng_enable_host_if_generic()
90 hicr = E1000_READ_REG(hw, E1000_HICR); in e1000_mng_enable_host_if_generic()
327 hicr = E1000_READ_REG(hw, E1000_HICR); in e1000_mng_write_dhcp_info_generic()
350 manc = E1000_READ_REG(hw, E1000_MANC); in e1000_enable_mng_pass_thru()
356 fwsm = E1000_READ_REG(hw, E1000_FWSM); in e1000_enable_mng_pass_thru()
417 hicr = E1000_READ_REG(hw, E1000_HICR); in e1000_host_interface_command()
437 hicr = E1000_READ_REG(hw, E1000_HICR); in e1000_host_interface_command()
479 hicr = E1000_READ_REG(hw, E1000_HICR); in e1000_load_firmware()
495 icr = E1000_READ_REG(hw, E1000_ICR_V2); in e1000_load_firmware()
498 hicr = E1000_READ_REG(hw, E1000_HICR); in e1000_load_firmware()
[all …]
H A De1000_mbx.c324 u32 v2p_mailbox = E1000_READ_REG(hw, E1000_V2PMAILBOX(0)); in e1000_read_v2p_mailbox()
561 u32 mbvficr = E1000_READ_REG(hw, E1000_MBVFICR); in e1000_check_for_bit_pf()
623 u32 vflre = E1000_READ_REG(hw, E1000_VFLRE); in e1000_check_for_rst_pf()
658 p2v_mailbox = E1000_READ_REG(hw, E1000_P2VMAILBOX(vf_number)); in e1000_obtain_mbx_lock_pf()
H A De1000_nvm.c150 u32 eecd = E1000_READ_REG(hw, E1000_EECD); in e1000_shift_out_eec_bits()
202 eecd = E1000_READ_REG(hw, E1000_EECD); in e1000_shift_in_eec_bits()
211 eecd = E1000_READ_REG(hw, E1000_EECD); in e1000_shift_in_eec_bits()
240 reg = E1000_READ_REG(hw, E1000_EERD); in e1000_poll_eerd_eewr_done()
242 reg = E1000_READ_REG(hw, E1000_EEWR); in e1000_poll_eerd_eewr_done()
263 u32 eecd = E1000_READ_REG(hw, E1000_EECD); in e1000_acquire_nvm_generic()
269 eecd = E1000_READ_REG(hw, E1000_EECD); in e1000_acquire_nvm_generic()
275 eecd = E1000_READ_REG(hw, E1000_EECD); in e1000_acquire_nvm_generic()
342 eecd = E1000_READ_REG(hw, E1000_EECD); in e1000_stop_nvm()
370 eecd = E1000_READ_REG(hw, E1000_EECD); in e1000_release_nvm_generic()
[all …]
H A De1000_phy.c205 manc = E1000_READ_REG(hw, E1000_MANC); in e1000_check_reset_block_generic()
312 mdic = E1000_READ_REG(hw, E1000_MDIC); in e1000_read_phy_reg_mdic()
378 mdic = E1000_READ_REG(hw, E1000_MDIC); in e1000_write_phy_reg_mdic()
435 i2ccmd = E1000_READ_REG(hw, E1000_I2CCMD); in e1000_read_phy_reg_i2c()
494 i2ccmd = E1000_READ_REG(hw, E1000_I2CCMD); in e1000_write_phy_reg_i2c()
548 data_local = E1000_READ_REG(hw, E1000_I2CCMD); in e1000_read_sfp_data_byte()
608 i2ccmd = E1000_READ_REG(hw, E1000_I2CCMD); in e1000_write_sfp_data_byte()
893 kmrnctrlsta = E1000_READ_REG(hw, E1000_KMRNCTRLSTA); in __e1000_read_kmrn_reg()
2025 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_phy_force_speed_duplex_setup()
2869 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_phy_hw_reset_generic()
[all …]
H A De1000_vf.c228 status = E1000_READ_REG(hw, E1000_STATUS); in e1000_get_link_up_info_vf()
269 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_reset_hw_vf()
556 if (!(E1000_READ_REG(hw, E1000_STATUS) & E1000_STATUS_LU)) in e1000_check_for_link_vf()
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000_osdep.h106 #define E1000_WRITE_FLUSH(a) (void)E1000_READ_REG(a, E1000_STATUS)
136 #define E1000_READ_REG(hw, reg) (\ macro
H A De1000g_main.c1493 pba = E1000_READ_REG(hw, E1000_PBA); in e1000g_init()
1758 if ((E1000_READ_REG(hw, E1000_STATUS) & in e1000g_link_up()
5766 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000g_set_internal_loopback()
5786 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000g_set_internal_loopback()
5809 txcw = E1000_READ_REG(hw, E1000_TXCW); in e1000g_set_internal_loopback()
5867 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000g_set_external_loopback_1000()
5871 rctl = E1000_READ_REG(hw, E1000_RCTL); in e1000g_set_external_loopback_1000()
5978 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000g_set_external_loopback_100()
6015 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000g_set_external_loopback_10()
6706 swsm = E1000_READ_REG(hw, E1000_SWSM); in e1000g_get_driver_control()
[all …]
H A De1000g_rx.c246 size = E1000_READ_REG(hw, E1000_RDLEN(0)); in e1000g_rx_setup()
322 rxdctl = E1000_READ_REG(hw, E1000_RXDCTL(0)); in e1000g_rx_setup()
370 reg_val = E1000_READ_REG(hw, E1000_RFCTL); in e1000g_rx_setup()
920 rctl = E1000_READ_REG(hw, E1000_RCTL); in e1000g_flush_rx_ring()
925 rxdctl = E1000_READ_REG(hw, E1000_RXDCTL(0)); in e1000g_flush_rx_ring()
H A De1000g_stat.c336 E1000_READ_REG(hw, E1000_MPRC); in e1000g_m_stat()
342 E1000_READ_REG(hw, E1000_BPRC); in e1000g_m_stat()
348 E1000_READ_REG(hw, E1000_MPTC); in e1000g_m_stat()
354 E1000_READ_REG(hw, E1000_BPTC); in e1000g_m_stat()
413 E1000_READ_REG(hw, E1000_TPR); in e1000g_m_stat()
432 E1000_READ_REG(hw, E1000_TPT); in e1000g_m_stat()
450 E1000_READ_REG(hw, E1000_SEC); in e1000g_m_stat()
504 E1000_READ_REG(hw, E1000_ROC); in e1000g_m_stat()
510 E1000_READ_REG(hw, E1000_RUC); in e1000g_m_stat()
516 E1000_READ_REG(hw, E1000_RJC); in e1000g_m_stat()
[all …]
H A De1000g_tx.c940 reg_tctl = E1000_READ_REG(hw, E1000_TCTL); in e1000g_tx_setup()
955 size = E1000_READ_REG(hw, E1000_TDLEN(0)); in e1000g_tx_setup()
1120 !(E1000_READ_REG(&Adapter->shared, in e1000g_recycle()
1659 hw_tdt = E1000_READ_REG(hw, E1000_TDT(0)); in e1000g_82547_tx_move_tail_work()
1744 tctl = E1000_READ_REG(hw, E1000_TCTL); in e1000g_flush_tx_ring()
1762 (void) E1000_READ_REG(hw, E1000_STATUS); in e1000g_flush_tx_ring()
H A De1000g_workarounds.c101 if (E1000_READ_REG(hw, E1000_TDT(0)) != in e1000_fifo_workaround_82547()
102 E1000_READ_REG(hw, E1000_TDH(0))) { in e1000_fifo_workaround_82547()
107 if (E1000_READ_REG(hw, E1000_TDFT) != E1000_READ_REG(hw, E1000_TDFH)) { in e1000_fifo_workaround_82547()
112 if (E1000_READ_REG(hw, E1000_TDFTS) != in e1000_fifo_workaround_82547()
113 E1000_READ_REG(hw, E1000_TDFHS)) { in e1000_fifo_workaround_82547()
119 tctl = E1000_READ_REG(hw, E1000_TCTL); in e1000_fifo_workaround_82547()
/illumos-gate/usr/src/uts/common/io/igb/
H A De1000_osdep.h111 #define E1000_WRITE_FLUSH(a) (void) E1000_READ_REG(a, E1000_STATUS)
117 #define E1000_READ_REG(hw, reg) \ macro
H A Digb_gld.c60 igb->stat_mprc += E1000_READ_REG(hw, E1000_MPRC); in igb_m_stat()
65 igb->stat_bprc += E1000_READ_REG(hw, E1000_BPRC); in igb_m_stat()
88 E1000_READ_REG(hw, E1000_RLEC); in igb_m_stat()
118 low_val = E1000_READ_REG(hw, E1000_TORL); in igb_m_stat()
119 high_val = E1000_READ_REG(hw, E1000_TORH); in igb_m_stat()
125 igb->stat_tpr += E1000_READ_REG(hw, E1000_TPR); in igb_m_stat()
135 low_val = E1000_READ_REG(hw, E1000_TOTL); in igb_m_stat()
136 high_val = E1000_READ_REG(hw, E1000_TOTH); in igb_m_stat()
142 igb->stat_tpt += E1000_READ_REG(hw, E1000_TPT); in igb_m_stat()
158 igb->stat_scc += E1000_READ_REG(hw, E1000_SCC); in igb_m_stat()
[all …]
H A Digb_main.c1394 pba = E1000_READ_REG(hw, E1000_RXPBS); in igb_init_adapter()
1400 pba = E1000_READ_REG(hw, E1000_RXPBS); in igb_init_adapter()
1415 pba = E1000_READ_REG(hw, E1000_PBA); in igb_init_adapter()
2218 rctl = E1000_READ_REG(hw, E1000_RCTL); in igb_setup_rx()
2388 reg_val = E1000_READ_REG(hw, in igb_setup_tx_ring()
2436 reg_val = E1000_READ_REG(hw, E1000_TCTL); in igb_setup_tx()
2509 rxcsum = E1000_READ_REG(hw, E1000_RXCSUM); in igb_setup_rss()
3675 (void) E1000_READ_REG(hw, E1000_ICR); in igb_enable_adapter_interrupts_82580()
3707 (void) E1000_READ_REG(hw, E1000_ICR); in igb_enable_adapter_interrupts_82576()
3740 (void) E1000_READ_REG(hw, E1000_ICR); in igb_enable_adapter_interrupts_82575()
[all …]

12