Searched refs:fm10k_read_reg (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/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 | 83 if (fm10k_read_reg(hw, FM10K_VFCTRL) & FM10K_VFCTRL_RST) in fm10k_reset_hw_vf() 96 u32 tqdloc, tqdloc0 = ~fm10k_read_reg(hw, FM10K_TQDLOC(0)); in fm10k_init_hw_vf() 101 if (!~fm10k_read_reg(hw, FM10K_TXQCTL(0)) || in fm10k_init_hw_vf() 102 !~fm10k_read_reg(hw, FM10K_RXQCTL(0))) { in fm10k_init_hw_vf() 110 tqdloc = ~fm10k_read_reg(hw, FM10K_TQDLOC(i)); in fm10k_init_hw_vf() 115 if (!~fm10k_read_reg(hw, FM10K_TXQCTL(i)) || in fm10k_init_hw_vf() 116 !~fm10k_read_reg(hw, FM10K_RXQCTL(i))) in fm10k_init_hw_vf() 129 hw->mac.default_vid = (fm10k_read_reg(hw, FM10K_TXQCTL(0)) & in fm10k_init_hw_vf() 135 hw->mac.itr_scale = (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 | 45 reg = fm10k_read_reg(hw, FM10K_DMA_CTRL); in fm10k_reset_hw_pf() 59 reg = fm10k_read_reg(hw, FM10K_IP); in fm10k_reset_hw_pf() 227 vlan_table = fm10k_read_reg(hw, reg); in fm10k_update_vlan_pf() 252 serial_num = fm10k_read_reg(hw, FM10K_SM_AREA(1)); in fm10k_read_mac_addr_pf() 262 serial_num = fm10k_read_reg(hw, FM10K_SM_AREA(0)); in fm10k_read_mac_addr_pf() 435 if (!fm10k_read_reg(hw, FM10K_MSIX_VECTOR_MASK(i))) in fm10k_update_int_moderator_pf() 543 txqctl = fm10k_read_reg(hw, FM10K_TXQCTL(q_idx)); in fm10k_configure_dglort_map_pf() 808 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 | 47 u32 fm10k_read_reg(struct fm10k_hw *hw, int reg) in fm10k_read_reg() function 935 if (fm10k_read_reg(hw, FM10K_TXDCTL(reg_idx)) & FM10K_TXDCTL_ENABLE) in fm10k_enable_tx_ring() 941 txdctl = fm10k_read_reg(hw, FM10K_TXDCTL(reg_idx)); in fm10k_enable_tx_ring() 987 rxqctl = fm10k_read_reg(hw, FM10K_RXQCTL(reg_idx)); in fm10k_configure_rx_ring() 1044 rxqctl = fm10k_read_reg(hw, FM10K_RXQCTL(reg_idx)); in fm10k_configure_rx_ring() 1334 maxholdq = fm10k_read_reg(hw, FM10K_MAXHOLDQ(7)); in fm10k_reset_drop_on_empty() 1357 maxholdq = fm10k_read_reg(hw, FM10K_MAXHOLDQ(q / 32)); in fm10k_reset_drop_on_empty() 1372 eicr = fm10k_read_reg(hw, FM10K_EICR); in fm10k_msix_mbx_pf()
|
D | fm10k_main.c | 1133 head = fm10k_read_reg(hw, FM10K_TDH(ring->reg_idx)); in fm10k_get_tx_pending() 1134 tail = fm10k_read_reg(hw, FM10K_TDT(ring->reg_idx)); in fm10k_get_tx_pending() 1298 fm10k_read_reg(hw, FM10K_TDH(tx_ring->reg_idx)), in fm10k_clean_tx_irq() 1299 fm10k_read_reg(hw, FM10K_TDT(tx_ring->reg_idx)), in fm10k_clean_tx_irq()
|
D | fm10k_mbx.c | 451 *(tail++) = fm10k_read_reg(hw, mbmem + head++); in fm10k_mbx_read_copy() 793 if (fm10k_read_reg(hw, mbx->mbx_reg) & FM10K_MBX_REQ_INTERRUPT) in fm10k_mbx_read() 801 mbx->mbx_hdr = fm10k_read_reg(hw, mbx->mbmem_reg ^ mbx->mbmem_len); in fm10k_mbx_read()
|