Home
last modified time | relevance | path

Searched refs:lmt_info (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dcn10k.c30 struct otx2_lmt_info *lmt_info; in cn10k_lmtst_init() local
41 pfvf->hw.lmt_info = alloc_percpu(struct otx2_lmt_info); in cn10k_lmtst_init()
65 lmt_info = per_cpu_ptr(pfvf->hw.lmt_info, cpu); in cn10k_lmtst_init()
66 lmt_info->lmt_addr = ((u64)pfvf->hw.lmt_base + in cn10k_lmtst_init()
68 lmt_info->lmt_id = cpu * LMT_BURST_SIZE; in cn10k_lmtst_init()
140 struct otx2_lmt_info *lmt_info; in cn10k_sqe_flush() local
144 lmt_info = per_cpu_ptr(pfvf->hw.lmt_info, smp_processor_id()); in cn10k_sqe_flush()
149 val = (lmt_info->lmt_id & 0x7FF); in cn10k_sqe_flush()
156 memcpy((u64 *)lmt_info->lmt_addr, sq->sqe_base, size); in cn10k_sqe_flush()
H A Dotx2_common.h279 struct otx2_lmt_info __percpu *lmt_info; member
729 struct otx2_lmt_info *lmt_info; in __cn10k_aura_freeptr() local
733 lmt_info = per_cpu_ptr(pfvf->hw.lmt_info, smp_processor_id()); in __cn10k_aura_freeptr()
736 val = (lmt_info->lmt_id & 0x7FF) | BIT_ULL(63); in __cn10k_aura_freeptr()
753 memcpy((u64 *)lmt_info->lmt_addr, ptrs, sizeof(u64) * num_ptrs); in __cn10k_aura_freeptr()
H A Dotx2_vf.c725 free_percpu(vf->hw.lmt_info); in otx2vf_probe()
780 free_percpu(vf->hw.lmt_info); in otx2vf_remove()
H A Dotx2_pf.c3116 if (pf->hw.lmt_info) in otx2_probe()
3117 free_percpu(pf->hw.lmt_info); in otx2_probe()
3321 if (pf->hw.lmt_info) in otx2_remove()
3322 free_percpu(pf->hw.lmt_info); in otx2_remove()