Home
last modified time | relevance | path

Searched refs:fm10k_write_reg (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/intel/fm10k/
Dfm10k_pf.c21 fm10k_write_reg(hw, FM10K_EIMR, FM10K_EIMR_DISABLE(ALL)); in fm10k_reset_hw_pf()
24 fm10k_write_reg(hw, FM10K_ITR2(0), 0); in fm10k_reset_hw_pf()
25 fm10k_write_reg(hw, FM10K_INT_CTRL, 0); in fm10k_reset_hw_pf()
31 fm10k_write_reg(hw, FM10K_TQMAP(i), 0); in fm10k_reset_hw_pf()
32 fm10k_write_reg(hw, FM10K_RQMAP(i), 0); in fm10k_reset_hw_pf()
52 fm10k_write_reg(hw, FM10K_DMA_CTRL, reg); in fm10k_reset_hw_pf()
90 fm10k_write_reg(hw, FM10K_DGLORTDEC(fm10k_dglort_default), 0); in fm10k_init_hw_pf()
91 fm10k_write_reg(hw, FM10K_DGLORTMAP(fm10k_dglort_default), in fm10k_init_hw_pf()
96 fm10k_write_reg(hw, FM10K_DGLORTMAP(i), FM10K_DGLORTMAP_NONE); in fm10k_init_hw_pf()
99 fm10k_write_reg(hw, FM10K_ITR2(0), 0); in fm10k_init_hw_pf()
[all …]
Dfm10k_pci.c437 fm10k_write_reg(hw, FM10K_SWPRI_MAP(i), in fm10k_configure_swpri_map()
875 fm10k_write_reg(hw, FM10K_TXDCTL(reg_idx), 0); in fm10k_configure_tx_ring()
881 fm10k_write_reg(hw, FM10K_TDBAL(reg_idx), tdba & DMA_BIT_MASK(32)); in fm10k_configure_tx_ring()
882 fm10k_write_reg(hw, FM10K_TDBAH(reg_idx), tdba >> 32); in fm10k_configure_tx_ring()
883 fm10k_write_reg(hw, FM10K_TDLEN(reg_idx), size); in fm10k_configure_tx_ring()
886 fm10k_write_reg(hw, FM10K_TDH(reg_idx), 0); in fm10k_configure_tx_ring()
887 fm10k_write_reg(hw, FM10K_TDT(reg_idx), 0); in fm10k_configure_tx_ring()
902 fm10k_write_reg(hw, FM10K_TXINT(reg_idx), txint); in fm10k_configure_tx_ring()
905 fm10k_write_reg(hw, FM10K_PFVTCTL(reg_idx), in fm10k_configure_tx_ring()
916 fm10k_write_reg(hw, FM10K_TXDCTL(reg_idx), txdctl); in fm10k_configure_tx_ring()
[all …]
Dfm10k_vf.c41 fm10k_write_reg(hw, FM10K_TDBAL(i), bal); in fm10k_stop_hw_vf()
42 fm10k_write_reg(hw, FM10K_TDBAH(i), bah); in fm10k_stop_hw_vf()
43 fm10k_write_reg(hw, FM10K_RDBAL(i), bal); in fm10k_stop_hw_vf()
44 fm10k_write_reg(hw, FM10K_RDBAH(i), bah); in fm10k_stop_hw_vf()
50 fm10k_write_reg(hw, FM10K_TDLEN(i), tdlen); in fm10k_stop_hw_vf()
75 fm10k_write_reg(hw, FM10K_VFCTRL, FM10K_VFCTRL_RST); in fm10k_reset_hw_vf()
82 fm10k_write_reg(hw, FM10K_VFCTRL, 0); in fm10k_reset_hw_vf()
Dfm10k_mbx.c365 fm10k_write_reg(hw, mbmem + tail++, *(head++)); in fm10k_mbx_write_copy()
797 fm10k_write_reg(hw, mbx->mbx_reg, in fm10k_mbx_read()
818 fm10k_write_reg(hw, mbmem, mbx->mbx_hdr); in fm10k_mbx_write()
822 fm10k_write_reg(hw, mbx->mbx_reg, mbx->mbx_lock); in fm10k_mbx_write()
1404 fm10k_write_reg(hw, mbx->mbx_reg, FM10K_MBX_REQ | in fm10k_mbx_disconnect()
1418 fm10k_write_reg(hw, mbx->mbmem_reg, 0); in fm10k_mbx_disconnect()
1454 fm10k_write_reg(hw, mbx->mbmem_reg ^ mbx->mbmem_len, mbx->mbx_hdr); in fm10k_mbx_connect()
1745 fm10k_write_reg(hw, mbx->mbx_reg, FM10K_MBX_REQ | in fm10k_sm_mbx_disconnect()
1759 fm10k_write_reg(hw, mbx->mbmem_reg, 0); in fm10k_sm_mbx_disconnect()
Dfm10k_common.h18 #define fm10k_write_reg(hw, reg, val) \ macro
Dfm10k_common.c199 fm10k_write_reg(hw, FM10K_TXDCTL(i), in fm10k_disable_queues_generic()
202 fm10k_write_reg(hw, FM10K_RXQCTL(i), in fm10k_disable_queues_generic()
Dfm10k_ethtool.c862 fm10k_write_reg(hw, FM10K_MRQC(0), mrqc); in fm10k_set_rss_hash_opt()
1003 fm10k_write_reg(hw, FM10K_RETA(0, i), reta); in fm10k_write_reta()
1095 fm10k_write_reg(hw, FM10K_RSSRK(0, i), rssrk); in fm10k_set_rssh()
Dfm10k_iov.c292 fm10k_write_reg(hw, FM10K_DGLORTMAP(fm10k_dglort_vf_rss), in fm10k_iov_suspend()
Dfm10k_netdev.c422 fm10k_write_reg(hw, FM10K_TUNNEL_CFG, in fm10k_restore_udp_port_info()
430 fm10k_write_reg(hw, FM10K_TUNNEL_CFG_GENEVE, in fm10k_restore_udp_port_info()