Searched refs:fm10k_read_reg (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_ethtool.c | 303 buff[idx++] = fm10k_read_reg(hw, FM10K_RDBAL(i)); in fm10k_get_reg_q() 304 buff[idx++] = fm10k_read_reg(hw, FM10K_RDBAH(i)); in fm10k_get_reg_q() 305 buff[idx++] = fm10k_read_reg(hw, FM10K_RDLEN(i)); in fm10k_get_reg_q() 306 buff[idx++] = fm10k_read_reg(hw, FM10K_TPH_RXCTRL(i)); in fm10k_get_reg_q() 307 buff[idx++] = fm10k_read_reg(hw, FM10K_RDH(i)); in fm10k_get_reg_q() 308 buff[idx++] = fm10k_read_reg(hw, FM10K_RDT(i)); in fm10k_get_reg_q() 309 buff[idx++] = fm10k_read_reg(hw, FM10K_RXQCTL(i)); in fm10k_get_reg_q() 310 buff[idx++] = fm10k_read_reg(hw, FM10K_RXDCTL(i)); in fm10k_get_reg_q() 311 buff[idx++] = fm10k_read_reg(hw, FM10K_RXINT(i)); in fm10k_get_reg_q() 312 buff[idx++] = fm10k_read_reg(hw, FM10K_SRRCTL(i)); in fm10k_get_reg_q() [all …]
|
D | fm10k_common.c | 198 reg = fm10k_read_reg(hw, FM10K_TXDCTL(i)); in fm10k_disable_queues_generic() 201 reg = fm10k_read_reg(hw, FM10K_RXQCTL(i)); in fm10k_disable_queues_generic() 216 reg = fm10k_read_reg(hw, FM10K_TXDCTL(i)); in fm10k_disable_queues_generic() 218 reg = fm10k_read_reg(hw, FM10K_RXQCTL(i)); in fm10k_disable_queues_generic() 256 u32 delta = fm10k_read_reg(hw, addr) - stat->base_l; in fm10k_read_hw_stats_32b() 283 count_h = fm10k_read_reg(hw, addr + 1); in fm10k_read_hw_stats_48b() 288 count_l = fm10k_read_reg(hw, addr); in fm10k_read_hw_stats_48b() 289 count_h = fm10k_read_reg(hw, addr + 1); in fm10k_read_hw_stats_48b() 336 id_tx = fm10k_read_reg(hw, FM10K_TXQCTL(idx)); in fm10k_update_hw_stats_tx_q() 350 id_tx = fm10k_read_reg(hw, FM10K_TXQCTL(idx)); in fm10k_update_hw_stats_tx_q() [all …]
|
D | fm10k_vf.c | 84 if (fm10k_read_reg(hw, FM10K_VFCTRL) & FM10K_VFCTRL_RST) in fm10k_reset_hw_vf() 97 u32 tqdloc, tqdloc0 = ~fm10k_read_reg(hw, FM10K_TQDLOC(0)); in fm10k_init_hw_vf() 102 if (!~fm10k_read_reg(hw, FM10K_TXQCTL(0)) || in fm10k_init_hw_vf() 103 !~fm10k_read_reg(hw, FM10K_RXQCTL(0))) { in fm10k_init_hw_vf() 111 tqdloc = ~fm10k_read_reg(hw, FM10K_TQDLOC(i)); in fm10k_init_hw_vf() 116 if (!~fm10k_read_reg(hw, FM10K_TXQCTL(i)) || in fm10k_init_hw_vf() 117 !~fm10k_read_reg(hw, FM10K_RXQCTL(i))) in fm10k_init_hw_vf() 131 fm10k_read_reg(hw, FM10K_TXQCTL(0))); in fm10k_init_hw_vf() 137 fm10k_read_reg(hw, FM10K_TDLEN(0))); in fm10k_init_hw_vf() 232 base_addr = fm10k_read_reg(hw, FM10K_TDBAL(0)); in fm10k_read_mac_addr_vf() [all …]
|
D | fm10k_pf.c | 46 reg = fm10k_read_reg(hw, FM10K_DMA_CTRL); in fm10k_reset_hw_pf() 60 reg = fm10k_read_reg(hw, FM10K_IP); in fm10k_reset_hw_pf() 228 vlan_table = fm10k_read_reg(hw, reg); in fm10k_update_vlan_pf() 253 serial_num = fm10k_read_reg(hw, FM10K_SM_AREA(1)); in fm10k_read_mac_addr_pf() 263 serial_num = fm10k_read_reg(hw, FM10K_SM_AREA(0)); in fm10k_read_mac_addr_pf() 436 if (!fm10k_read_reg(hw, FM10K_MSIX_VECTOR_MASK(i))) in fm10k_update_int_moderator_pf() 544 txqctl = fm10k_read_reg(hw, FM10K_TXQCTL(q_idx)); in fm10k_configure_dglort_map_pf() 809 if (!fm10k_read_reg(hw, FM10K_MSIX_VECTOR_MASK(i))) in fm10k_iov_assign_int_moderator_pf() 895 txdctl = fm10k_read_reg(hw, FM10K_TXDCTL(vf_q_idx)); in fm10k_iov_assign_default_mac_vlan_pf() 904 txdctl = fm10k_read_reg(hw, FM10K_TXDCTL(vf_q_idx)); in fm10k_iov_assign_default_mac_vlan_pf() [all …]
|
D | fm10k_common.h | 15 u32 fm10k_read_reg(struct fm10k_hw *hw, int reg); 34 #define fm10k_write_flush(hw) fm10k_read_reg((hw), FM10K_CTRL)
|
D | fm10k_iov.c | 171 if (!(fm10k_read_reg(hw, FM10K_EICR) & FM10K_EICR_VFLR)) in fm10k_iov_event() 175 vflre = fm10k_read_reg(hw, FM10K_PFVFLRE(1)); in fm10k_iov_event() 177 vflre |= fm10k_read_reg(hw, FM10K_PFVFLRE(0)); in fm10k_iov_event()
|
D | fm10k_pci.c | 48 u32 fm10k_read_reg(struct fm10k_hw *hw, int reg) in fm10k_read_reg() function 938 if (fm10k_read_reg(hw, FM10K_TXDCTL(reg_idx)) & FM10K_TXDCTL_ENABLE) in fm10k_enable_tx_ring() 944 txdctl = fm10k_read_reg(hw, FM10K_TXDCTL(reg_idx)); in fm10k_enable_tx_ring() 990 rxqctl = fm10k_read_reg(hw, FM10K_RXQCTL(reg_idx)); in fm10k_configure_rx_ring() 1047 rxqctl = fm10k_read_reg(hw, FM10K_RXQCTL(reg_idx)); in fm10k_configure_rx_ring() 1337 maxholdq = fm10k_read_reg(hw, FM10K_MAXHOLDQ(7)); in fm10k_reset_drop_on_empty() 1360 maxholdq = fm10k_read_reg(hw, FM10K_MAXHOLDQ(q / 32)); in fm10k_reset_drop_on_empty() 1374 eicr = fm10k_read_reg(hw, FM10K_EICR); in fm10k_msix_mbx_pf()
|
D | fm10k_main.c | 1122 head = fm10k_read_reg(hw, FM10K_TDH(ring->reg_idx)); in fm10k_get_tx_pending() 1123 tail = fm10k_read_reg(hw, FM10K_TDT(ring->reg_idx)); in fm10k_get_tx_pending() 1287 fm10k_read_reg(hw, FM10K_TDH(tx_ring->reg_idx)), in fm10k_clean_tx_irq() 1288 fm10k_read_reg(hw, FM10K_TDT(tx_ring->reg_idx)), in fm10k_clean_tx_irq()
|
D | fm10k_mbx.c | 452 *(tail++) = fm10k_read_reg(hw, mbmem + head++); in fm10k_mbx_read_copy() 794 if (fm10k_read_reg(hw, mbx->mbx_reg) & FM10K_MBX_REQ_INTERRUPT) in fm10k_mbx_read() 802 mbx->mbx_hdr = fm10k_read_reg(hw, mbx->mbmem_reg ^ mbx->mbmem_len); in fm10k_mbx_read()
|