Searched refs:lmt_info (Results 1 – 4 of 4) sorted by relevance
30 struct otx2_lmt_info *lmt_info; in cn10k_lmtst_init() local41 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() local144 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()
279 struct otx2_lmt_info __percpu *lmt_info; member729 struct otx2_lmt_info *lmt_info; in __cn10k_aura_freeptr() local733 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()
725 free_percpu(vf->hw.lmt_info); in otx2vf_probe()780 free_percpu(vf->hw.lmt_info); in otx2vf_remove()
3092 if (pf->hw.lmt_info) in otx2_probe()3093 free_percpu(pf->hw.lmt_info); in otx2_probe()3273 if (pf->hw.lmt_info) in otx2_remove()3274 free_percpu(pf->hw.lmt_info); in otx2_remove()