Home
last modified time | relevance | path

Searched refs:E1000_READ_REG (Results 1 – 23 of 23) sorted by relevance

/f-stack/dpdk/drivers/net/e1000/base/
H A De1000_82571.c1136 E1000_READ_REG(hw, E1000_ICR); in e1000_reset_hw_82571()
1639 E1000_READ_REG(hw, E1000_RXCW); in e1000_check_for_serdes_link_82571()
1972 E1000_READ_REG(hw, E1000_PRC64); in e1000_clear_hw_cntrs_82571()
1973 E1000_READ_REG(hw, E1000_PRC127); in e1000_clear_hw_cntrs_82571()
1974 E1000_READ_REG(hw, E1000_PRC255); in e1000_clear_hw_cntrs_82571()
1975 E1000_READ_REG(hw, E1000_PRC511); in e1000_clear_hw_cntrs_82571()
1978 E1000_READ_REG(hw, E1000_PTC64); in e1000_clear_hw_cntrs_82571()
1979 E1000_READ_REG(hw, E1000_PTC127); in e1000_clear_hw_cntrs_82571()
1987 E1000_READ_REG(hw, E1000_TNCRS); in e1000_clear_hw_cntrs_82571()
1989 E1000_READ_REG(hw, E1000_TSCTC); in e1000_clear_hw_cntrs_82571()
[all …]
H A De1000_mac.c636 E1000_READ_REG(hw, E1000_MPC); in e1000_clear_hw_cntrs_base_generic()
637 E1000_READ_REG(hw, E1000_SCC); in e1000_clear_hw_cntrs_base_generic()
639 E1000_READ_REG(hw, E1000_MCC); in e1000_clear_hw_cntrs_base_generic()
642 E1000_READ_REG(hw, E1000_DC); in e1000_clear_hw_cntrs_base_generic()
643 E1000_READ_REG(hw, E1000_SEC); in e1000_clear_hw_cntrs_base_generic()
659 E1000_READ_REG(hw, E1000_RUC); in e1000_clear_hw_cntrs_base_generic()
660 E1000_READ_REG(hw, E1000_RFC); in e1000_clear_hw_cntrs_base_generic()
661 E1000_READ_REG(hw, E1000_ROC); in e1000_clear_hw_cntrs_base_generic()
662 E1000_READ_REG(hw, E1000_RJC); in e1000_clear_hw_cntrs_base_generic()
667 E1000_READ_REG(hw, E1000_TPR); in e1000_clear_hw_cntrs_base_generic()
[all …]
H A De1000_82540.c287 E1000_READ_REG(hw, E1000_ICR); in e1000_reset_hw_82540()
622 E1000_READ_REG(hw, E1000_PRC64); in e1000_clear_hw_cntrs_82540()
623 E1000_READ_REG(hw, E1000_PRC127); in e1000_clear_hw_cntrs_82540()
624 E1000_READ_REG(hw, E1000_PRC255); in e1000_clear_hw_cntrs_82540()
625 E1000_READ_REG(hw, E1000_PRC511); in e1000_clear_hw_cntrs_82540()
628 E1000_READ_REG(hw, E1000_PTC64); in e1000_clear_hw_cntrs_82540()
629 E1000_READ_REG(hw, E1000_PTC127); in e1000_clear_hw_cntrs_82540()
630 E1000_READ_REG(hw, E1000_PTC255); in e1000_clear_hw_cntrs_82540()
631 E1000_READ_REG(hw, E1000_PTC511); in e1000_clear_hw_cntrs_82540()
637 E1000_READ_REG(hw, E1000_TNCRS); in e1000_clear_hw_cntrs_82540()
[all …]
H A De1000_80003es2lan.c843 E1000_READ_REG(hw, E1000_ICR); in e1000_reset_hw_80003es2lan()
1461 E1000_READ_REG(hw, E1000_PRC64); in e1000_clear_hw_cntrs_80003es2lan()
1462 E1000_READ_REG(hw, E1000_PRC127); in e1000_clear_hw_cntrs_80003es2lan()
1463 E1000_READ_REG(hw, E1000_PRC255); in e1000_clear_hw_cntrs_80003es2lan()
1464 E1000_READ_REG(hw, E1000_PRC511); in e1000_clear_hw_cntrs_80003es2lan()
1467 E1000_READ_REG(hw, E1000_PTC64); in e1000_clear_hw_cntrs_80003es2lan()
1468 E1000_READ_REG(hw, E1000_PTC127); in e1000_clear_hw_cntrs_80003es2lan()
1469 E1000_READ_REG(hw, E1000_PTC255); in e1000_clear_hw_cntrs_80003es2lan()
1476 E1000_READ_REG(hw, E1000_TNCRS); in e1000_clear_hw_cntrs_80003es2lan()
1478 E1000_READ_REG(hw, E1000_TSCTC); in e1000_clear_hw_cntrs_80003es2lan()
[all …]
H A De1000_manage.c55 hicr = E1000_READ_REG(hw, E1000_HICR); in e1000_mng_enable_host_if_generic()
62 hicr = E1000_READ_REG(hw, E1000_HICR); in e1000_mng_enable_host_if_generic()
85 u32 fwsm = E1000_READ_REG(hw, E1000_FWSM); in e1000_check_mng_mode_generic()
299 hicr = E1000_READ_REG(hw, E1000_HICR); in e1000_mng_write_dhcp_info_generic()
322 manc = E1000_READ_REG(hw, E1000_MANC); in e1000_enable_mng_pass_thru()
328 fwsm = E1000_READ_REG(hw, E1000_FWSM); in e1000_enable_mng_pass_thru()
389 hicr = E1000_READ_REG(hw, E1000_HICR); in e1000_host_interface_command()
409 hicr = E1000_READ_REG(hw, E1000_HICR); in e1000_host_interface_command()
452 hicr = E1000_READ_REG(hw, E1000_HICR); in e1000_load_firmware()
471 hicr = E1000_READ_REG(hw, E1000_HICR); in e1000_load_firmware()
[all …]
H A De1000_82575.c1403 E1000_READ_REG(hw, E1000_ICR); in e1000_reset_hw_82575()
1979 E1000_READ_REG(hw, E1000_PRC64); in e1000_clear_hw_cntrs_82575()
1980 E1000_READ_REG(hw, E1000_PRC127); in e1000_clear_hw_cntrs_82575()
1985 E1000_READ_REG(hw, E1000_PTC64); in e1000_clear_hw_cntrs_82575()
1994 E1000_READ_REG(hw, E1000_TNCRS); in e1000_clear_hw_cntrs_82575()
1996 E1000_READ_REG(hw, E1000_TSCTC); in e1000_clear_hw_cntrs_82575()
2003 E1000_READ_REG(hw, E1000_IAC); in e1000_clear_hw_cntrs_82575()
2017 E1000_READ_REG(hw, E1000_RPTHC); in e1000_clear_hw_cntrs_82575()
2018 E1000_READ_REG(hw, E1000_HGPTC); in e1000_clear_hw_cntrs_82575()
2351 E1000_READ_REG(hw, E1000_ICR); in e1000_reset_hw_82580()
[all …]
H A De1000_base.c131 rfctl = E1000_READ_REG(hw, E1000_RFCTL); in e1000_rx_fifo_flush_base()
135 if (!(E1000_READ_REG(hw, E1000_MANC) & E1000_MANC_RCV_TCO_EN)) in e1000_rx_fifo_flush_base()
140 rxdctl[i] = E1000_READ_REG(hw, E1000_RXDCTL(i)); in e1000_rx_fifo_flush_base()
149 rx_enabled |= E1000_READ_REG(hw, E1000_RXDCTL(i)); in e1000_rx_fifo_flush_base()
163 rlpml = E1000_READ_REG(hw, E1000_RLPML); in e1000_rx_fifo_flush_base()
166 rctl = E1000_READ_REG(hw, E1000_RCTL); in e1000_rx_fifo_flush_base()
187 E1000_READ_REG(hw, E1000_ROC); in e1000_rx_fifo_flush_base()
188 E1000_READ_REG(hw, E1000_RNBC); in e1000_rx_fifo_flush_base()
189 E1000_READ_REG(hw, E1000_MPC); in e1000_rx_fifo_flush_base()
H A De1000_82543.c911 E1000_READ_REG(hw, E1000_ICR); in e1000_reset_hw_82543()
1505 E1000_READ_REG(hw, E1000_PRC64); in e1000_clear_hw_cntrs_82543()
1506 E1000_READ_REG(hw, E1000_PRC127); in e1000_clear_hw_cntrs_82543()
1507 E1000_READ_REG(hw, E1000_PRC255); in e1000_clear_hw_cntrs_82543()
1508 E1000_READ_REG(hw, E1000_PRC511); in e1000_clear_hw_cntrs_82543()
1511 E1000_READ_REG(hw, E1000_PTC64); in e1000_clear_hw_cntrs_82543()
1512 E1000_READ_REG(hw, E1000_PTC127); in e1000_clear_hw_cntrs_82543()
1513 E1000_READ_REG(hw, E1000_PTC255); in e1000_clear_hw_cntrs_82543()
1514 E1000_READ_REG(hw, E1000_PTC511); in e1000_clear_hw_cntrs_82543()
1520 E1000_READ_REG(hw, E1000_TNCRS); in e1000_clear_hw_cntrs_82543()
[all …]
H A De1000_82542.c197 E1000_READ_REG(hw, E1000_ICR); in e1000_reset_hw_82542()
518 E1000_READ_REG(hw, E1000_PRC64); in e1000_clear_hw_cntrs_82542()
519 E1000_READ_REG(hw, E1000_PRC127); in e1000_clear_hw_cntrs_82542()
520 E1000_READ_REG(hw, E1000_PRC255); in e1000_clear_hw_cntrs_82542()
521 E1000_READ_REG(hw, E1000_PRC511); in e1000_clear_hw_cntrs_82542()
522 E1000_READ_REG(hw, E1000_PRC1023); in e1000_clear_hw_cntrs_82542()
523 E1000_READ_REG(hw, E1000_PRC1522); in e1000_clear_hw_cntrs_82542()
524 E1000_READ_REG(hw, E1000_PTC64); in e1000_clear_hw_cntrs_82542()
525 E1000_READ_REG(hw, E1000_PTC127); in e1000_clear_hw_cntrs_82542()
526 E1000_READ_REG(hw, E1000_PTC255); in e1000_clear_hw_cntrs_82542()
[all …]
H A De1000_82541.c330 E1000_READ_REG(hw, E1000_ICR); in e1000_reset_hw_82541()
1216 E1000_READ_REG(hw, E1000_PRC64); in e1000_clear_hw_cntrs_82541()
1217 E1000_READ_REG(hw, E1000_PRC127); in e1000_clear_hw_cntrs_82541()
1218 E1000_READ_REG(hw, E1000_PRC255); in e1000_clear_hw_cntrs_82541()
1219 E1000_READ_REG(hw, E1000_PRC511); in e1000_clear_hw_cntrs_82541()
1222 E1000_READ_REG(hw, E1000_PTC64); in e1000_clear_hw_cntrs_82541()
1223 E1000_READ_REG(hw, E1000_PTC127); in e1000_clear_hw_cntrs_82541()
1224 E1000_READ_REG(hw, E1000_PTC255); in e1000_clear_hw_cntrs_82541()
1225 E1000_READ_REG(hw, E1000_PTC511); in e1000_clear_hw_cntrs_82541()
1231 E1000_READ_REG(hw, E1000_TNCRS); in e1000_clear_hw_cntrs_82541()
[all …]
H A De1000_ich8lan.c4993 E1000_READ_REG(hw, E1000_ICR); in e1000_reset_hw_ich8lan()
6013 E1000_READ_REG(hw, E1000_RXERRC); in e1000_clear_hw_cntrs_ich8lan()
6014 E1000_READ_REG(hw, E1000_TNCRS); in e1000_clear_hw_cntrs_ich8lan()
6015 E1000_READ_REG(hw, E1000_CEXTERR); in e1000_clear_hw_cntrs_ich8lan()
6016 E1000_READ_REG(hw, E1000_TSCTC); in e1000_clear_hw_cntrs_ich8lan()
6017 E1000_READ_REG(hw, E1000_TSCTFC); in e1000_clear_hw_cntrs_ich8lan()
6019 E1000_READ_REG(hw, E1000_MGTPRC); in e1000_clear_hw_cntrs_ich8lan()
6020 E1000_READ_REG(hw, E1000_MGTPDC); in e1000_clear_hw_cntrs_ich8lan()
6021 E1000_READ_REG(hw, E1000_MGTPTC); in e1000_clear_hw_cntrs_ich8lan()
6023 E1000_READ_REG(hw, E1000_IAC); in e1000_clear_hw_cntrs_ich8lan()
[all …]
H A De1000_i210.c74 swfw_sync = E1000_READ_REG(hw, E1000_SW_FW_SYNC); in e1000_acquire_swfw_sync_i210()
119 swfw_sync = E1000_READ_REG(hw, E1000_SW_FW_SYNC); in e1000_release_swfw_sync_i210()
142 swsm = E1000_READ_REG(hw, E1000_SWSM); in e1000_get_hw_semaphore_i210()
158 swsm = E1000_READ_REG(hw, E1000_SWSM); in e1000_get_hw_semaphore_i210()
175 swsm = E1000_READ_REG(hw, E1000_SWSM); in e1000_get_hw_semaphore_i210()
321 E1000_READ_REG(hw, E1000_SRWR)) { in e1000_write_nvm_srwr()
673 eec = E1000_READ_REG(hw, E1000_EECD); in e1000_get_flash_presence_i210()
725 reg = E1000_READ_REG(hw, E1000_EECD); in e1000_pool_flash_update_done_i210()
833 wuc = E1000_READ_REG(hw, E1000_WUC); in e1000_pll_workaround_i210()
834 mdicnfg = E1000_READ_REG(hw, E1000_MDICNFG); in e1000_pll_workaround_i210()
[all …]
H A De1000_nvm.c131 u32 eecd = E1000_READ_REG(hw, E1000_EECD); in e1000_shift_out_eec_bits()
183 eecd = E1000_READ_REG(hw, E1000_EECD); in e1000_shift_in_eec_bits()
192 eecd = E1000_READ_REG(hw, E1000_EECD); in e1000_shift_in_eec_bits()
221 reg = E1000_READ_REG(hw, E1000_EERD); in e1000_poll_eerd_eewr_done()
223 reg = E1000_READ_REG(hw, E1000_EEWR); in e1000_poll_eerd_eewr_done()
244 u32 eecd = E1000_READ_REG(hw, E1000_EECD); in e1000_acquire_nvm_generic()
250 eecd = E1000_READ_REG(hw, E1000_EECD); in e1000_acquire_nvm_generic()
256 eecd = E1000_READ_REG(hw, E1000_EECD); in e1000_acquire_nvm_generic()
323 eecd = E1000_READ_REG(hw, E1000_EECD); in e1000_stop_nvm()
351 eecd = E1000_READ_REG(hw, E1000_EECD); in e1000_release_nvm_generic()
[all …]
H A De1000_osdep.h67 #define E1000_WRITE_FLUSH(a) E1000_READ_REG(a, E1000_STATUS)
115 #define E1000_READ_REG(hw, reg) \ macro
H A De1000_mbx.c300 u32 v2p_mailbox = E1000_READ_REG(hw, E1000_V2PMAILBOX(0)); in e1000_read_v2p_mailbox()
542 u32 mbvficr = E1000_READ_REG(hw, E1000_MBVFICR); in e1000_check_for_bit_pf()
604 u32 vflre = E1000_READ_REG(hw, E1000_VFLRE); in e1000_check_for_rst_pf()
639 p2v_mailbox = E1000_READ_REG(hw, E1000_P2VMAILBOX(vf_number)); in e1000_obtain_mbx_lock_pf()
H A De1000_vf.c201 status = E1000_READ_REG(hw, E1000_STATUS); in e1000_get_link_up_info_vf()
242 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_reset_hw_vf()
531 if (!(E1000_READ_REG(hw, E1000_STATUS) & E1000_STATUS_LU)) in e1000_check_for_link_vf()
H A De1000_phy.c188 manc = E1000_READ_REG(hw, E1000_MANC); in e1000_check_reset_block_generic()
295 mdic = E1000_READ_REG(hw, E1000_MDIC); in e1000_read_phy_reg_mdic()
361 mdic = E1000_READ_REG(hw, E1000_MDIC); in e1000_write_phy_reg_mdic()
418 i2ccmd = E1000_READ_REG(hw, E1000_I2CCMD); in e1000_read_phy_reg_i2c()
477 i2ccmd = E1000_READ_REG(hw, E1000_I2CCMD); in e1000_write_phy_reg_i2c()
531 data_local = E1000_READ_REG(hw, E1000_I2CCMD); in e1000_read_sfp_data_byte()
591 i2ccmd = E1000_READ_REG(hw, E1000_I2CCMD); in e1000_write_sfp_data_byte()
876 kmrnctrlsta = E1000_READ_REG(hw, E1000_KMRNCTRLSTA); in __e1000_read_kmrn_reg()
2008 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_phy_force_speed_duplex_setup()
2852 ctrl = E1000_READ_REG(hw, E1000_CTRL); in e1000_phy_hw_reset_generic()
[all …]
/f-stack/dpdk/drivers/net/e1000/
H A Dem_ethdev.c504 tctl = E1000_READ_REG(hw, E1000_TCTL); in eth_em_rxtx_control()
505 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_em_rxtx_control()
1280 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_em_promiscuous_enable()
1370 reg = E1000_READ_REG(hw, E1000_RCTL); in em_vlan_hw_filter_disable()
1387 reg = E1000_READ_REG(hw, E1000_RCTL); in em_vlan_hw_filter_enable()
1405 reg = E1000_READ_REG(hw, E1000_CTRL); in em_vlan_hw_strip_disable()
1419 reg = E1000_READ_REG(hw, E1000_CTRL); in em_vlan_hw_strip_enable()
1465 E1000_READ_REG(hw, E1000_ICR); in eth_em_interrupt_setup()
1489 E1000_READ_REG(hw, E1000_ICR); in eth_em_rxq_interrupt_setup()
1532 E1000_READ_REG(hw, E1000_ICR); in em_rxq_intr_disable()
[all …]
H A Digb_ethdev.c1185 tctl = E1000_READ_REG(hw, E1000_TCTL); in eth_igb_rxtx_control()
1186 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_igb_rxtx_control()
2602 reg = E1000_READ_REG(hw, E1000_VET); in eth_igb_vlan_tpid_set()
2624 reg = E1000_READ_REG(hw, E1000_RCTL); in igb_vlan_hw_filter_disable()
2641 reg = E1000_READ_REG(hw, E1000_RCTL); in igb_vlan_hw_filter_enable()
2659 reg = E1000_READ_REG(hw, E1000_CTRL); in igb_vlan_hw_strip_disable()
2672 reg = E1000_READ_REG(hw, E1000_CTRL); in igb_vlan_hw_strip_enable()
2828 icr = E1000_READ_REG(hw, E1000_ICR); in eth_igb_interrupt_get_status()
3180 E1000_READ_REG(hw, E1000_EICR); in igbvf_stop_adapter()
4595 E1000_READ_REG(hw, E1000_SYSTIMR); in igb_read_systime_cyclecounter()
[all …]
H A Digb_pf.c141 vtctl = E1000_READ_REG(hw, E1000_VT_CTL); in igb_pf_host_configure()
159 rah = E1000_READ_REG(hw, E1000_RAH(0)); in igb_pf_host_configure()
169 rah = E1000_READ_REG(hw, E1000_RAH(0)); in igb_pf_host_configure()
177 vlanctrl = E1000_READ_REG(hw, E1000_RCTL); in igb_pf_host_configure()
201 fctrl = E1000_READ_REG(hw, E1000_RCTL); in set_rx_mode()
224 vmolr |= E1000_READ_REG(hw, E1000_VMOLR(vfn)) & in set_rx_mode()
262 reg = E1000_READ_REG(hw, E1000_VFTE); in igb_vf_reset_msg()
266 reg = E1000_READ_REG(hw, E1000_VFRE); in igb_vf_reset_msg()
287 rah = E1000_READ_REG(hw, E1000_RAH(rar_entry)); in igb_vf_reset()
314 rah = E1000_READ_REG(hw, E1000_RAH(rar_entry)); in igb_vf_set_mac_addr()
[all …]
H A Dem_rxtx.c1755 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_em_rx_init()
1758 rfctl = E1000_READ_REG(hw, E1000_RFCTL); in eth_em_rx_init()
1825 rxdctl = E1000_READ_REG(hw, E1000_RXDCTL(0)); in eth_em_rx_init()
1863 rxcsum = E1000_READ_REG(hw, E1000_RXCSUM); in eth_em_rx_init()
1970 tctl = E1000_READ_REG(hw, E1000_TCTL); in eth_em_tx_init()
1978 reg_val = E1000_READ_REG(hw, E1000_IOSFPC); in eth_em_tx_init()
1985 reg_val = E1000_READ_REG(hw, E1000_TARC(0)); in eth_em_tx_init()
2041 tctl = E1000_READ_REG(hw, E1000_TCTL); in e1000_flush_tx_ring()
2046 tdt = E1000_READ_REG(hw, E1000_TDT(i)); in e1000_flush_tx_ring()
2071 rctl = E1000_READ_REG(hw, E1000_RCTL); in e1000_flush_rx_ring()
[all …]
H A Digb_rxtx.c1937 mrqc = E1000_READ_REG(hw, E1000_MRQC); in igb_rss_disable()
2004 mrqc = E1000_READ_REG(hw, E1000_MRQC); in eth_igb_rss_hash_update()
2041 mrqc = E1000_READ_REG(hw, E1000_MRQC); in eth_igb_rss_hash_conf_get()
2164 rctl = E1000_READ_REG(hw, E1000_RCTL); in igb_vmdq_rx_hw_configure()
2169 mrqc = E1000_READ_REG(hw, E1000_MRQC); in igb_vmdq_rx_hw_configure()
2174 vt_ctl = E1000_READ_REG(hw, E1000_VT_CTL); in igb_vmdq_rx_hw_configure()
2337 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_igb_rx_init()
2492 rctl |= E1000_READ_REG(hw, E1000_RCTL); in eth_igb_rx_init()
2529 uint32_t dvmolr = E1000_READ_REG(hw, in eth_igb_rx_init()
2545 uint32_t dvmolr = E1000_READ_REG(hw, in eth_igb_rx_init()
[all …]
H A Digb_regs.h164 reg_buf[i] = E1000_READ_REG(hw, in igb_read_regs()