/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_cpt.c | 60 rvu_write64(rvu, blkaddr, CPT_AF_FLTX_INT(0), reg0); in rvu_cpt_af_flt_intr_handler() 61 rvu_write64(rvu, blkaddr, CPT_AF_FLTX_INT(1), reg1); in rvu_cpt_af_flt_intr_handler() 63 rvu_write64(rvu, blkaddr, CPT_AF_FLTX_INT(2), reg2); in rvu_cpt_af_flt_intr_handler() 78 rvu_write64(rvu, blkaddr, CPT_AF_RVU_INT, reg); in rvu_cpt_af_rvu_intr_handler() 92 rvu_write64(rvu, blkaddr, CPT_AF_RAS_INT, reg); in rvu_cpt_af_ras_intr_handler() 123 rvu_write64(rvu, blkaddr, CPT_AF_FLTX_INT_ENA_W1C(i), 0x1); in cpt_10k_unregister_interrupts() 124 rvu_write64(rvu, blkaddr, CPT_AF_RVU_INT_ENA_W1C, 0x1); in cpt_10k_unregister_interrupts() 125 rvu_write64(rvu, blkaddr, CPT_AF_RAS_INT_ENA_W1C, 0x1); in cpt_10k_unregister_interrupts() 154 rvu_write64(rvu, blkaddr, CPT_AF_FLTX_INT_ENA_W1C(i), 0x1); in cpt_unregister_interrupts() 155 rvu_write64(rvu, blkaddr, CPT_AF_RVU_INT_ENA_W1C, 0x1); in cpt_unregister_interrupts() [all …]
|
D | rvu_devlink.c | 84 rvu_write64(rvu, blkaddr, NIX_AF_RVU_INT, intr); in rvu_nix_af_rvu_intr_handler() 85 rvu_write64(rvu, blkaddr, NIX_AF_RVU_INT_ENA_W1C, ~0ULL); in rvu_nix_af_rvu_intr_handler() 119 rvu_write64(rvu, blkaddr, NIX_AF_GEN_INT, intr); in rvu_nix_af_rvu_gen_handler() 120 rvu_write64(rvu, blkaddr, NIX_AF_GEN_INT_ENA_W1C, ~0ULL); in rvu_nix_af_rvu_gen_handler() 154 rvu_write64(rvu, blkaddr, NIX_AF_ERR_INT, intr); in rvu_nix_af_rvu_err_handler() 155 rvu_write64(rvu, blkaddr, NIX_AF_ERR_INT_ENA_W1C, ~0ULL); in rvu_nix_af_rvu_err_handler() 189 rvu_write64(rvu, blkaddr, NIX_AF_RAS, intr); in rvu_nix_af_rvu_ras_handler() 190 rvu_write64(rvu, blkaddr, NIX_AF_RAS_ENA_W1C, ~0ULL); in rvu_nix_af_rvu_ras_handler() 209 rvu_write64(rvu, blkaddr, NIX_AF_RVU_INT_ENA_W1C, ~0ULL); in rvu_nix_unregister_interrupts() 210 rvu_write64(rvu, blkaddr, NIX_AF_GEN_INT_ENA_W1C, ~0ULL); in rvu_nix_unregister_interrupts() [all …]
|
D | rvu_nix.c | 240 rvu_write64(rvu, blkaddr, NIX_AF_RX_SW_SYNC, BIT_ULL(0)); in nix_rx_sync() 251 rvu_write64(rvu, blkaddr, NIX_AF_RX_SW_SYNC, BIT_ULL(0)); in nix_rx_sync() 488 rvu_write64(rvu, blkaddr, NIX_AF_RX_CHANX_CFG(chan), in rvu_mbox_handler_nix_bp_disable() 604 rvu_write64(rvu, blkaddr, NIX_AF_RX_CHANX_CFG(chan), in rvu_mbox_handler_nix_bp_enable() 633 rvu_write64(rvu, blkaddr, in nix_setup_lso_tso_l3() 646 rvu_write64(rvu, blkaddr, in nix_setup_lso_tso_l3() 661 rvu_write64(rvu, blkaddr, in nix_setup_lso_tso_l4() 670 rvu_write64(rvu, blkaddr, in nix_setup_lso_tso_l4() 690 rvu_write64(rvu, blkaddr, NIX_AF_LSO_CFG, cfg | BIT_ULL(63)); in nix_setup_lso() 702 rvu_write64(rvu, blkaddr, in nix_setup_lso() [all …]
|
D | rvu_npa.c | 36 rvu_write64(rvu, block->addr, NPA_AF_AQ_DOOR, 1); in npa_aq_enqueue_wait() 395 rvu_write64(rvu, blkaddr, NPA_AF_LFX_AURAS_CFG(npalf), cfg); in rvu_mbox_handler_npa_lf_alloc() 398 rvu_write64(rvu, blkaddr, NPA_AF_LFX_LOC_AURAS_BASE(npalf), in rvu_mbox_handler_npa_lf_alloc() 402 rvu_write64(rvu, blkaddr, NPA_AF_LFX_QINTS_CFG(npalf), in rvu_mbox_handler_npa_lf_alloc() 404 rvu_write64(rvu, blkaddr, NPA_AF_LFX_QINTS_BASE(npalf), in rvu_mbox_handler_npa_lf_alloc() 467 rvu_write64(rvu, block->addr, NPA_AF_GEN_CFG, cfg); in npa_aq_init() 470 rvu_write64(rvu, block->addr, NPA_AF_GEN_CFG, cfg); in npa_aq_init() 480 rvu_write64(rvu, block->addr, NPA_AF_NDC_CFG, cfg); in npa_aq_init() 487 rvu_write64(rvu, block->addr, NPA_AF_BATCH_CTL, cfg); in npa_aq_init() 499 rvu_write64(rvu, block->addr, NPA_AF_AQ_CFG, AQ_SIZE); in npa_aq_init() [all …]
|
D | rvu_npc.c | 97 rvu_write64(rvu, blkaddr, NPC_AF_PKINDX_CPI_DEFX(pkind, 0), val); in rvu_npc_set_pkind() 139 rvu_write64(rvu, blkaddr, NPC_AF_PKINDX_ACTION0(pkind), val); in npc_config_ts_kpuaction() 224 rvu_write64(rvu, blkaddr, in npc_enable_mcam_entry() 238 rvu_write64(rvu, blkaddr, in npc_clear_mcam_entry() 240 rvu_write64(rvu, blkaddr, in npc_clear_mcam_entry() 243 rvu_write64(rvu, blkaddr, in npc_clear_mcam_entry() 245 rvu_write64(rvu, blkaddr, in npc_clear_mcam_entry() 248 rvu_write64(rvu, blkaddr, in npc_clear_mcam_entry() 250 rvu_write64(rvu, blkaddr, in npc_clear_mcam_entry() 478 rvu_write64(rvu, blkaddr, in npc_config_mcam_entry() [all …]
|
D | rvu_cn10k.c | 43 rvu_write64(rvu, BLKADDR_APR, APR_AF_LMT_CTL, BIT_ULL(0)); in lmtst_map_table_ops() 45 rvu_write64(rvu, BLKADDR_APR, APR_AF_LMT_CTL, 0x00); in lmtst_map_table_ops() 70 rvu_write64(rvu, BLKADDR_RVUM, RVU_AF_SMMU_ADDR_REQ, iova); in rvu_get_lmtaddr() 74 rvu_write64(rvu, BLKADDR_RVUM, RVU_AF_SMMU_TXN_REQ, val); in rvu_get_lmtaddr() 455 rvu_write64(rvu, blkaddr, NIX_AF_LINKX_CFG(nix_link), cfg); in __rvu_nix_set_channels() 465 rvu_write64(rvu, blkaddr, NIX_AF_LINKX_CFG(nix_link), cfg); in __rvu_nix_set_channels() 475 rvu_write64(rvu, blkaddr, NIX_AF_LINKX_CFG(nix_link), cfg); in __rvu_nix_set_channels() 485 rvu_write64(rvu, blkaddr, NIX_AF_LINKX_CFG(nix_link), cfg); in __rvu_nix_set_channels()
|
D | rvu_npc_hash.h | 27 rvu_write64(rvu, blkaddr, \ 31 rvu_write64(rvu, blkaddr, \ 35 rvu_write64(rvu, blkaddr, \
|
D | rvu.c | 400 rvu_write64(rvu, BLKADDR_RVUM, reg | (devnum << 16), num_lfs); in rvu_update_rsrc_map() 494 rvu_write64(rvu, BLKADDR_RVUM, in rvu_setup_rvum_blk_revid() 501 rvu_write64(rvu, BLKADDR_RVUM, in rvu_clear_rvum_blk_revid() 512 rvu_write64(rvu, block->addr, block->lfreset_reg, lf | BIT_ULL(12)); in rvu_lf_reset() 526 rvu_write64(rvu, blkaddr, rst_reg, BIT_ULL(0)); in rvu_block_reset() 653 rvu_write64(rvu, BLKADDR_RVUM, in rvu_setup_msix_resources() 685 rvu_write64(rvu, BLKADDR_RVUM, in rvu_setup_msix_resources() 709 rvu_write64(rvu, BLKADDR_RVUM, RVU_AF_MSIXTR_BASE, (u64)iova); in rvu_setup_msix_resources() 719 rvu_write64(rvu, BLKADDR_RVUM, RVU_AF_MSIXTR_BASE, in rvu_reset_msix() 1301 rvu_write64(rvu, block->addr, block->lookup_reg, val); in rvu_lookup_rsrc() [all …]
|
D | rvu_npc_hash.c | 209 rvu_write64(rvu, blkaddr, NPC_AF_INTFX_SECRET_KEY0(intf), in npc_config_secret_key() 211 rvu_write64(rvu, blkaddr, NPC_AF_INTFX_SECRET_KEY1(intf), in npc_config_secret_key() 213 rvu_write64(rvu, blkaddr, NPC_AF_INTFX_SECRET_KEY2(intf), in npc_config_secret_key() 579 rvu_write64(rvu, blkaddr, NPC_AF_INTFX_EXACT_SECRET0(NIX_INTF_RX), in rvu_exact_config_secret_key() 582 rvu_write64(rvu, blkaddr, NPC_AF_INTFX_EXACT_SECRET1(NIX_INTF_RX), in rvu_exact_config_secret_key() 585 rvu_write64(rvu, blkaddr, NPC_AF_INTFX_EXACT_SECRET2(NIX_INTF_RX), in rvu_exact_config_secret_key() 621 rvu_write64(rvu, blkaddr, NPC_AF_INTFX_EXACT_CFG(NIX_INTF_RX), reg_val); in rvu_exact_config_search_key() 647 rvu_write64(rvu, blkaddr, NPC_AF_INTFX_EXACT_RESULT_CTL(NIX_INTF_RX), reg); in rvu_exact_config_result_ctrl() 675 rvu_write64(rvu, blkaddr, NPC_AF_INTFX_EXACT_MASK(NIX_INTF_RX), mask); in rvu_exact_config_table_mask() 837 rvu_write64(rvu, blkaddr, NPC_AF_EXACT_MEM_ENTRY(ways, index), mdata); in rvu_npc_exact_mem_table_write() [all …]
|
D | npc.h | 14 rvu_write64(rvu, blkaddr, \ 18 rvu_write64(rvu, blkaddr, \
|
D | rvu_npc_fs.c | 1135 rvu_write64(rvu, blkaddr, NPC_AF_MATCH_STATX(rule->cntr), 0x00); in npc_install_flow() 1428 rvu_write64(rvu, blkaddr, in npc_mcam_enable_flows()
|
D | rvu.h | 523 static inline void rvu_write64(struct rvu *rvu, u64 block, u64 offset, u64 val) in rvu_write64() function
|