Home
last modified time | relevance | path

Searched refs:cpt_idx (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_cpt.c1151 u8 cpt_idx; in cpt_inline_inb_lf_cmd_send() local
1198 cpt_idx = (blkaddr == BLKADDR_CPT0) ? 0 : 1; in cpt_inline_inb_lf_cmd_send()
1199 rvu_write64(rvu, nix_blkaddr, NIX_AF_RX_CPTX_CREDIT(cpt_idx), in cpt_inline_inb_lf_cmd_send()
H A Drvu_nix.c5414 u8 cpt_idx, cpt_blkaddr; in nix_inline_ipsec_cfg() local
5417 cpt_idx = (blkaddr == BLKADDR_NIX0) ? 0 : 1; in nix_inline_ipsec_cfg()
5438 cpt_blkaddr = (cpt_idx == 0) ? BLKADDR_CPT0 : in nix_inline_ipsec_cfg()
5443 rvu_write64(rvu, blkaddr, NIX_AF_RX_CPTX_INST_QSEL(cpt_idx), in nix_inline_ipsec_cfg()
5447 val = rvu_read64(rvu, blkaddr, NIX_AF_RX_CPTX_CREDIT(cpt_idx)); in nix_inline_ipsec_cfg()
5449 rvu_write64(rvu, blkaddr, NIX_AF_RX_CPTX_CREDIT(cpt_idx), in nix_inline_ipsec_cfg()
5455 rvu_write64(rvu, blkaddr, NIX_AF_RX_CPTX_CREDIT(cpt_idx), val); in nix_inline_ipsec_cfg()
5458 rvu_write64(rvu, blkaddr, NIX_AF_RX_CPTX_INST_QSEL(cpt_idx), in nix_inline_ipsec_cfg()
5460 val = rvu_read64(rvu, blkaddr, NIX_AF_RX_CPTX_CREDIT(cpt_idx)); in nix_inline_ipsec_cfg()
5462 rvu_write64(rvu, blkaddr, NIX_AF_RX_CPTX_CREDIT(cpt_idx), in nix_inline_ipsec_cfg()