Home
last modified time | relevance | path

Searched refs:IXGBE_READ_REG (Results 1 – 25 of 25) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ethtool.c641 regs_buff[0] = IXGBE_READ_REG(hw, IXGBE_CTRL); in ixgbe_get_regs()
642 regs_buff[1] = IXGBE_READ_REG(hw, IXGBE_STATUS); in ixgbe_get_regs()
643 regs_buff[2] = IXGBE_READ_REG(hw, IXGBE_CTRL_EXT); in ixgbe_get_regs()
644 regs_buff[3] = IXGBE_READ_REG(hw, IXGBE_ESDP); in ixgbe_get_regs()
645 regs_buff[4] = IXGBE_READ_REG(hw, IXGBE_EODSDP); in ixgbe_get_regs()
646 regs_buff[5] = IXGBE_READ_REG(hw, IXGBE_LEDCTL); in ixgbe_get_regs()
647 regs_buff[6] = IXGBE_READ_REG(hw, IXGBE_FRTIMER); in ixgbe_get_regs()
648 regs_buff[7] = IXGBE_READ_REG(hw, IXGBE_TCPTIMER); in ixgbe_get_regs()
651 regs_buff[8] = IXGBE_READ_REG(hw, IXGBE_EEC(hw)); in ixgbe_get_regs()
652 regs_buff[9] = IXGBE_READ_REG(hw, IXGBE_EERD); in ixgbe_get_regs()
[all …]
Dixgbe_common.c151 reg = IXGBE_READ_REG(hw, IXGBE_PCS1GANA); in ixgbe_setup_fc_generic()
227 reg = IXGBE_READ_REG(hw, IXGBE_PCS1GLCTL); in ixgbe_setup_fc_generic()
289 ctrl_ext = IXGBE_READ_REG(hw, IXGBE_CTRL_EXT); in ixgbe_start_hw_generic()
387 IXGBE_READ_REG(hw, IXGBE_CRCERRS); in ixgbe_clear_hw_cntrs_generic()
388 IXGBE_READ_REG(hw, IXGBE_ILLERRC); in ixgbe_clear_hw_cntrs_generic()
389 IXGBE_READ_REG(hw, IXGBE_ERRBC); in ixgbe_clear_hw_cntrs_generic()
390 IXGBE_READ_REG(hw, IXGBE_MSPDC); in ixgbe_clear_hw_cntrs_generic()
392 IXGBE_READ_REG(hw, IXGBE_MPC(i)); in ixgbe_clear_hw_cntrs_generic()
394 IXGBE_READ_REG(hw, IXGBE_MLFC); in ixgbe_clear_hw_cntrs_generic()
395 IXGBE_READ_REG(hw, IXGBE_MRFC); in ixgbe_clear_hw_cntrs_generic()
[all …]
Dixgbe_dcb_82598.c26 reg = IXGBE_READ_REG(hw, IXGBE_RUPPBMR) | IXGBE_RUPPBMR_MQA; in ixgbe_dcb_config_rx_arbiter_82598()
29 reg = IXGBE_READ_REG(hw, IXGBE_RMCS); in ixgbe_dcb_config_rx_arbiter_82598()
52 reg = IXGBE_READ_REG(hw, IXGBE_RDRXCTL); in ixgbe_dcb_config_rx_arbiter_82598()
58 reg = IXGBE_READ_REG(hw, IXGBE_RXCTRL); in ixgbe_dcb_config_rx_arbiter_82598()
82 reg = IXGBE_READ_REG(hw, IXGBE_DPMCS); in ixgbe_dcb_config_tx_desc_arbiter_82598()
128 reg = IXGBE_READ_REG(hw, IXGBE_PDPMCS); in ixgbe_dcb_config_tx_data_arbiter_82598()
152 reg = IXGBE_READ_REG(hw, IXGBE_DTXCTL); in ixgbe_dcb_config_tx_data_arbiter_82598()
172 reg = IXGBE_READ_REG(hw, IXGBE_RMCS); in ixgbe_dcb_config_pfc_82598()
178 reg = IXGBE_READ_REG(hw, IXGBE_FCTRL); in ixgbe_dcb_config_pfc_82598()
227 reg = IXGBE_READ_REG(hw, IXGBE_RQSMR(i)); in ixgbe_dcb_config_tc_stats_82598()
[all …]
Dixgbe_82599.c48 fwsm = IXGBE_READ_REG(hw, IXGBE_FWSM(hw)); in ixgbe_mng_enabled()
52 manc = IXGBE_READ_REG(hw, IXGBE_MANC); in ixgbe_mng_enabled()
56 factps = IXGBE_READ_REG(hw, IXGBE_FACTPS(hw)); in ixgbe_mng_enabled()
192 *reg_val = IXGBE_READ_REG(hw, IXGBE_AUTOC); in prot_autoc_read_82599()
278 esdp = IXGBE_READ_REG(hw, IXGBE_ESDP); in ixgbe_init_phy_ops_82599()
353 autoc = IXGBE_READ_REG(hw, IXGBE_AUTOC); in ixgbe_get_link_capabilities_82599()
491 autoc2_reg = IXGBE_READ_REG(hw, IXGBE_AUTOC2); in ixgbe_stop_mac_link_on_d3_82599()
531 autoc_reg = IXGBE_READ_REG(hw, IXGBE_AUTOC); in ixgbe_start_mac_link_82599()
540 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_start_mac_link_82599()
568 u32 esdp_reg = IXGBE_READ_REG(hw, IXGBE_ESDP); in ixgbe_disable_tx_laser_multispeed_fiber()
[all …]
Dixgbe_ptp.c175 esdp = IXGBE_READ_REG(hw, IXGBE_ESDP); in ixgbe_ptp_setup_sdp_X540()
255 esdp = IXGBE_READ_REG(hw, IXGBE_ESDP); in ixgbe_ptp_setup_sdp_X550()
351 IXGBE_READ_REG(hw, IXGBE_SYSTIMR); in ixgbe_ptp_read_X550()
352 ts.tv_nsec = IXGBE_READ_REG(hw, IXGBE_SYSTIML); in ixgbe_ptp_read_X550()
353 ts.tv_sec = IXGBE_READ_REG(hw, IXGBE_SYSTIMH); in ixgbe_ptp_read_X550()
373 stamp |= (u64)IXGBE_READ_REG(hw, IXGBE_SYSTIML); in ixgbe_ptp_read_82599()
374 stamp |= (u64)IXGBE_READ_REG(hw, IXGBE_SYSTIMH) << 32; in ixgbe_ptp_read_82599()
568 IXGBE_READ_REG(hw, IXGBE_SYSTIMR); in ixgbe_ptp_gettimex()
570 ts->tv_nsec = IXGBE_READ_REG(hw, IXGBE_SYSTIML); in ixgbe_ptp_gettimex()
571 ts->tv_sec = IXGBE_READ_REG(hw, IXGBE_SYSTIMH); in ixgbe_ptp_gettimex()
[all …]
Dixgbe_x540.c91 ctrl |= IXGBE_READ_REG(hw, IXGBE_CTRL); in ixgbe_reset_hw_X540()
99 ctrl = IXGBE_READ_REG(hw, IXGBE_CTRL); in ixgbe_reset_hw_X540()
198 eec = IXGBE_READ_REG(hw, IXGBE_EEC(hw)); in ixgbe_init_eeprom_params_X540()
498 flup = IXGBE_READ_REG(hw, IXGBE_EEC(hw)) | IXGBE_EEC_FLUP; in ixgbe_update_flash_X540()
508 flup = IXGBE_READ_REG(hw, IXGBE_EEC(hw)); in ixgbe_update_flash_X540()
538 reg = IXGBE_READ_REG(hw, IXGBE_EEC(hw)); in ixgbe_poll_flash_update_done_X540()
580 swfw_sync = IXGBE_READ_REG(hw, IXGBE_SWFW_SYNC(hw)); in ixgbe_acquire_swfw_sync_X540()
603 swfw_sync = IXGBE_READ_REG(hw, IXGBE_SWFW_SYNC(hw)); in ixgbe_acquire_swfw_sync_X540()
649 swfw_sync = IXGBE_READ_REG(hw, IXGBE_SWFW_SYNC(hw)); in ixgbe_release_swfw_sync_X540()
674 swsm = IXGBE_READ_REG(hw, IXGBE_SWSM(hw)); in ixgbe_get_swfw_sync_semaphore()
[all …]
Dixgbe_82598.c36 u32 gcr = IXGBE_READ_REG(hw, IXGBE_GCR); in ixgbe_set_pcie_completion_timeout()
187 autoc = IXGBE_READ_REG(hw, IXGBE_AUTOC); in ixgbe_get_link_capabilities_82598()
324 fctrl_reg = IXGBE_READ_REG(hw, IXGBE_FCTRL); in ixgbe_fc_enable_82598()
327 rmcs_reg = IXGBE_READ_REG(hw, IXGBE_RMCS); in ixgbe_fc_enable_82598()
423 autoc_reg = IXGBE_READ_REG(hw, IXGBE_AUTOC); in ixgbe_start_mac_link_82598()
435 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_start_mac_link_82598()
543 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_82598()
553 links_reg = IXGBE_READ_REG(hw, IXGBE_LINKS); in ixgbe_check_mac_link_82598()
588 u32 curr_autoc = IXGBE_READ_REG(hw, IXGBE_AUTOC); in ixgbe_setup_mac_link_82598()
717 ctrl = IXGBE_READ_REG(hw, IXGBE_CTRL) | IXGBE_CTRL_RST; in ixgbe_reset_hw_82598()
[all …]
Dixgbe_ipsec.c33 reg = IXGBE_READ_REG(hw, IXGBE_IPSTXIDX); in ixgbe_ipsec_set_tx_sa()
54 reg = IXGBE_READ_REG(hw, IXGBE_IPSRXIDX); in ixgbe_ipsec_set_rx_item()
155 reg = IXGBE_READ_REG(hw, IXGBE_SECTXCTRL); in ixgbe_ipsec_stop_data()
159 reg = IXGBE_READ_REG(hw, IXGBE_SECRXCTRL); in ixgbe_ipsec_stop_data()
167 t_rdy = IXGBE_READ_REG(hw, IXGBE_SECTXSTAT) & in ixgbe_ipsec_stop_data()
169 r_rdy = IXGBE_READ_REG(hw, IXGBE_SECRXSTAT) & in ixgbe_ipsec_stop_data()
179 reg = IXGBE_READ_REG(hw, IXGBE_MACC); in ixgbe_ipsec_stop_data()
183 reg = IXGBE_READ_REG(hw, IXGBE_HLREG0); in ixgbe_ipsec_stop_data()
195 t_rdy = IXGBE_READ_REG(hw, IXGBE_SECTXSTAT) & in ixgbe_ipsec_stop_data()
197 r_rdy = IXGBE_READ_REG(hw, IXGBE_SECRXSTAT) & in ixgbe_ipsec_stop_data()
[all …]
Dixgbe_main.c477 regs[i] = IXGBE_READ_REG(hw, IXGBE_SRRCTL(i)); in ixgbe_regdump()
481 regs[i] = IXGBE_READ_REG(hw, IXGBE_DCA_RXCTRL(i)); in ixgbe_regdump()
485 regs[i] = IXGBE_READ_REG(hw, IXGBE_RDLEN(i)); in ixgbe_regdump()
489 regs[i] = IXGBE_READ_REG(hw, IXGBE_RDH(i)); in ixgbe_regdump()
493 regs[i] = IXGBE_READ_REG(hw, IXGBE_RDT(i)); in ixgbe_regdump()
497 regs[i] = IXGBE_READ_REG(hw, IXGBE_RXDCTL(i)); in ixgbe_regdump()
501 regs[i] = IXGBE_READ_REG(hw, IXGBE_RDBAL(i)); in ixgbe_regdump()
505 regs[i] = IXGBE_READ_REG(hw, IXGBE_RDBAH(i)); in ixgbe_regdump()
509 regs[i] = IXGBE_READ_REG(hw, IXGBE_TDBAL(i)); in ixgbe_regdump()
513 regs[i] = IXGBE_READ_REG(hw, IXGBE_TDBAH(i)); in ixgbe_regdump()
[all …]
Dixgbe_mbx.c213 u32 mbvficr = IXGBE_READ_REG(hw, IXGBE_MBVFICR(index)); in ixgbe_check_for_bit_pf()
280 vflre = IXGBE_READ_REG(hw, IXGBE_VFLRE(reg_offset)); in ixgbe_check_for_rst_pf()
286 vflre = IXGBE_READ_REG(hw, IXGBE_VFLREC(reg_offset)); in ixgbe_check_for_rst_pf()
316 p2v_mailbox = IXGBE_READ_REG(hw, IXGBE_PFMAILBOX(vf_number)); in ixgbe_obtain_mbx_lock_pf()
Dixgbe_sriov.c374 u32 vmolr = IXGBE_READ_REG(hw, IXGBE_VMOLR(vf)); in ixgbe_set_vf_multicasts()
397 mta_reg = IXGBE_READ_REG(hw, IXGBE_MTA(vector_reg)); in ixgbe_set_vf_multicasts()
418 u32 vmolr = IXGBE_READ_REG(hw, IXGBE_VMOLR(i)); in ixgbe_restore_vf_multicasts()
424 mta_reg = IXGBE_READ_REG(hw, IXGBE_MTA(vector_reg)); in ixgbe_restore_vf_multicasts()
531 vfre = IXGBE_READ_REG(hw, IXGBE_VFRE(reg_offset)); in ixgbe_set_vf_lpe()
545 max_frs = IXGBE_READ_REG(hw, IXGBE_MAXFRS); in ixgbe_set_vf_lpe()
561 u32 vmolr = IXGBE_READ_REG(hw, IXGBE_VMOLR(vf)); in ixgbe_set_vmolr()
592 vlvfb = IXGBE_READ_REG(hw, IXGBE_VLVFB(word)); in ixgbe_clear_vf_vlans()
603 bits[~word % 2] = IXGBE_READ_REG(hw, IXGBE_VLVFB(word ^ 1)); in ixgbe_clear_vf_vlans()
615 vlvf = IXGBE_READ_REG(hw, IXGBE_VLVF(i)); in ixgbe_clear_vf_vlans()
[all …]
Dixgbe_phy.c321 mmngc = IXGBE_READ_REG(hw, IXGBE_MMNGC); in ixgbe_check_reset_blocked()
493 command = IXGBE_READ_REG(hw, IXGBE_MSCA); in ixgbe_read_phy_reg_mdi()
521 command = IXGBE_READ_REG(hw, IXGBE_MSCA); in ixgbe_read_phy_reg_mdi()
534 data = IXGBE_READ_REG(hw, IXGBE_MSRWD); in ixgbe_read_phy_reg_mdi()
598 command = IXGBE_READ_REG(hw, IXGBE_MSCA); in ixgbe_write_phy_reg_mdi()
626 command = IXGBE_READ_REG(hw, IXGBE_MSCA); in ixgbe_write_phy_reg_mdi()
664 #define IXGBE_HW_READ_REG(addr) IXGBE_READ_REG(hw, addr)
705 data = IXGBE_READ_REG(hw, IXGBE_MSRWD); in ixgbe_mii_bus_read_generic_c22()
743 data = IXGBE_READ_REG(hw, IXGBE_MSRWD); in ixgbe_mii_bus_read_generic_c45()
2384 u32 i2cctl = IXGBE_READ_REG(hw, IXGBE_I2CCTL(hw)); in ixgbe_i2c_start()
[all …]
Dixgbe_debugfs.c91 value = IXGBE_READ_REG(&adapter->hw, reg); in ixgbe_dbg_reg_ops_write()
101 value = IXGBE_READ_REG(&adapter->hw, reg); in ixgbe_dbg_reg_ops_write()
Dixgbe_x550.c75 u32 esdp = IXGBE_READ_REG(hw, IXGBE_ESDP); in ixgbe_setup_mux_ctl()
641 eec = IXGBE_READ_REG(hw, IXGBE_EEC(hw)); in ixgbe_init_eeprom_params_X550()
671 command = IXGBE_READ_REG(hw, IXGBE_SB_IOSF_INDIRECT_CTRL); in ixgbe_iosf_wait()
724 *data = IXGBE_READ_REG(hw, IXGBE_SB_IOSF_INDIRECT_DATA); in ixgbe_read_iosf_sb_reg_x550()
899 u32 value = IXGBE_READ_REG(hw, reg); in ixgbe_read_ee_hostif_buffer_X550()
1262 fwsm = IXGBE_READ_REG(hw, IXGBE_FWSM(hw)); in ixgbe_fw_recovery_mode_X550()
1276 rxctrl = IXGBE_READ_REG(hw, IXGBE_RXCTRL); in ixgbe_disable_rx_x550()
1278 pfdtxgswc = IXGBE_READ_REG(hw, IXGBE_PFDTXGSWC); in ixgbe_disable_rx_x550()
1298 rxctrl = IXGBE_READ_REG(hw, IXGBE_RXCTRL); in ixgbe_disable_rx_x550()
3173 hw->phy.nw_mng_if_sel = IXGBE_READ_REG(hw, IXGBE_NW_MNG_IF_SEL); in ixgbe_read_mng_if_sel_x550em()
[all …]
Dixgbe_dcb_82599.c199 reg = IXGBE_READ_REG(hw, IXGBE_MFLCN); in ixgbe_dcb_config_pfc_82599()
245 reg = IXGBE_READ_REG(hw, IXGBE_RXPBSIZE(i)) - 24576; in ixgbe_dcb_config_pfc_82599()
Dixgbe.h179 u32 current_counter = IXGBE_READ_REG(hw, reg); \
189 u64 current_counter_lsb = IXGBE_READ_REG(hw, reg_lsb); \
190 u64 current_counter_msb = IXGBE_READ_REG(hw, reg_msb); \
Dixgbe_fcoe.c88 fcbuff = IXGBE_READ_REG(hw, IXGBE_FCDDC(2, xid)); in ixgbe_fcoe_ddp_put()
102 fcbuff = IXGBE_READ_REG(hw, IXGBE_FCBUFF); in ixgbe_fcoe_ddp_put()
284 fcrxctl = IXGBE_READ_REG(hw, IXGBE_FCRXCTRL); in ixgbe_fcoe_ddp_setup()
Dixgbe_dcb.c371 reg = IXGBE_READ_REG(hw, IXGBE_RTRUP2TC); in ixgbe_dcb_read_rtrup2tc_82599()
Dixgbe_common.h173 #define IXGBE_READ_REG(a, reg) ixgbe_read_reg((a), (reg)) macro
/linux-6.12.1/drivers/net/ethernet/intel/ixgbevf/
Dethtool.c153 regs_buff[0] = IXGBE_READ_REG(hw, IXGBE_VFCTRL); in ixgbevf_get_regs()
154 regs_buff[1] = IXGBE_READ_REG(hw, IXGBE_VFSTATUS); in ixgbevf_get_regs()
155 regs_buff[2] = IXGBE_READ_REG(hw, IXGBE_VFLINKS); in ixgbevf_get_regs()
156 regs_buff[3] = IXGBE_READ_REG(hw, IXGBE_VFRXMEMWRAP); in ixgbevf_get_regs()
157 regs_buff[4] = IXGBE_READ_REG(hw, IXGBE_VFFRTIMER); in ixgbevf_get_regs()
163 regs_buff[5] = IXGBE_READ_REG(hw, IXGBE_VTEICS); in ixgbevf_get_regs()
164 regs_buff[6] = IXGBE_READ_REG(hw, IXGBE_VTEICS); in ixgbevf_get_regs()
165 regs_buff[7] = IXGBE_READ_REG(hw, IXGBE_VTEIMS); in ixgbevf_get_regs()
166 regs_buff[8] = IXGBE_READ_REG(hw, IXGBE_VTEIMC); in ixgbevf_get_regs()
167 regs_buff[9] = IXGBE_READ_REG(hw, IXGBE_VTEIAC); in ixgbevf_get_regs()
[all …]
Dvf.c172 reg_val = IXGBE_READ_REG(hw, IXGBE_VFRXDCTL(i)); in ixgbevf_stop_hw_vf()
185 IXGBE_READ_REG(hw, IXGBE_VTEICR); in ixgbevf_stop_hw_vf()
190 reg_val = IXGBE_READ_REG(hw, IXGBE_VFTXDCTL(i)); in ixgbevf_stop_hw_vf()
719 links_reg = IXGBE_READ_REG(hw, IXGBE_VFLINKS); in ixgbevf_check_mac_link_vf()
731 links_reg = IXGBE_READ_REG(hw, IXGBE_VFLINKS); in ixgbevf_check_mac_link_vf()
808 links_reg = IXGBE_READ_REG(hw, IXGBE_VFLINKS); in ixgbevf_hv_check_mac_link_vf()
820 links_reg = IXGBE_READ_REG(hw, IXGBE_VFLINKS); in ixgbevf_hv_check_mac_link_vf()
886 reg = IXGBE_READ_REG(hw, IXGBE_VFRXDCTL(0)); in ixgbevf_hv_set_rlpml_vf()
Dixgbevf_main.c174 ivar = IXGBE_READ_REG(hw, IXGBE_VTIVAR_MISC); in ixgbevf_set_ivar()
182 ivar = IXGBE_READ_REG(hw, IXGBE_VTIVAR(queue >> 1)); in ixgbevf_set_ivar()
199 u32 head = IXGBE_READ_REG(hw, IXGBE_VFTDH(ring->reg_idx)); in ixgbevf_get_tx_pending()
200 u32 tail = IXGBE_READ_REG(hw, IXGBE_VFTDT(ring->reg_idx)); in ixgbevf_get_tx_pending()
384 IXGBE_READ_REG(hw, IXGBE_VFTDH(tx_ring->reg_idx)), in ixgbevf_clean_tx_irq()
385 IXGBE_READ_REG(hw, IXGBE_VFTDT(tx_ring->reg_idx)), in ixgbevf_clean_tx_irq()
1741 txdctl = IXGBE_READ_REG(hw, IXGBE_VFTXDCTL(reg_idx)); in ixgbevf_configure_tx_ring()
1810 rxdctl = IXGBE_READ_REG(hw, IXGBE_VFRXDCTL(reg_idx)); in ixgbevf_disable_rx_queue()
1819 rxdctl = IXGBE_READ_REG(hw, IXGBE_VFRXDCTL(reg_idx)); in ixgbevf_disable_rx_queue()
1839 rxdctl = IXGBE_READ_REG(hw, IXGBE_VFRXDCTL(reg_idx)); in ixgbevf_rx_desc_queue_enable()
[all …]
Dregs.h59 #define IXGBE_WRITE_FLUSH(a) (IXGBE_READ_REG(a, IXGBE_VFSTATUS))
Dvf.h169 #define IXGBE_READ_REG(h, r) ixgbevf_read_reg(h, r) macro
Dmbx.c60 u32 vf_mailbox = IXGBE_READ_REG(hw, IXGBE_VFMAILBOX); in ixgbevf_read_mailbox_vf()