Searched refs:cpt_idx (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_cpt.c | 1073 u8 cpt_idx; in cpt_inline_inb_lf_cmd_send() local 1120 cpt_idx = (blkaddr == BLKADDR_CPT0) ? 0 : 1; in cpt_inline_inb_lf_cmd_send() 1121 rvu_write64(rvu, nix_blkaddr, NIX_AF_RX_CPTX_CREDIT(cpt_idx), in cpt_inline_inb_lf_cmd_send()
|
D | rvu_nix.c | 5035 u8 cpt_idx, cpt_blkaddr; in nix_inline_ipsec_cfg() local 5038 cpt_idx = (blkaddr == BLKADDR_NIX0) ? 0 : 1; in nix_inline_ipsec_cfg() 5059 cpt_blkaddr = (cpt_idx == 0) ? BLKADDR_CPT0 : in nix_inline_ipsec_cfg() 5064 rvu_write64(rvu, blkaddr, NIX_AF_RX_CPTX_INST_QSEL(cpt_idx), in nix_inline_ipsec_cfg() 5068 val = rvu_read64(rvu, blkaddr, NIX_AF_RX_CPTX_CREDIT(cpt_idx)); in nix_inline_ipsec_cfg() 5070 rvu_write64(rvu, blkaddr, NIX_AF_RX_CPTX_CREDIT(cpt_idx), in nix_inline_ipsec_cfg() 5076 rvu_write64(rvu, blkaddr, NIX_AF_RX_CPTX_CREDIT(cpt_idx), val); in nix_inline_ipsec_cfg() 5079 rvu_write64(rvu, blkaddr, NIX_AF_RX_CPTX_INST_QSEL(cpt_idx), in nix_inline_ipsec_cfg() 5081 val = rvu_read64(rvu, blkaddr, NIX_AF_RX_CPTX_CREDIT(cpt_idx)); in nix_inline_ipsec_cfg() 5083 rvu_write64(rvu, blkaddr, NIX_AF_RX_CPTX_CREDIT(cpt_idx), in nix_inline_ipsec_cfg()
|