Searched refs:lmt_info (Results 1 – 3 of 3) 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()138 struct otx2_lmt_info *lmt_info; in cn10k_sqe_flush() local142 lmt_info = per_cpu_ptr(pfvf->hw.lmt_info, smp_processor_id()); in cn10k_sqe_flush()147 val = (lmt_info->lmt_id & 0x7FF); in cn10k_sqe_flush()154 memcpy((u64 *)lmt_info->lmt_addr, sq->sqe_base, size); in cn10k_sqe_flush()
255 struct otx2_lmt_info __percpu *lmt_info; member701 struct otx2_lmt_info *lmt_info; in __cn10k_aura_freeptr() local705 lmt_info = per_cpu_ptr(pfvf->hw.lmt_info, smp_processor_id()); in __cn10k_aura_freeptr()708 val = (lmt_info->lmt_id & 0x7FF) | BIT_ULL(63); in __cn10k_aura_freeptr()725 memcpy((u64 *)lmt_info->lmt_addr, ptrs, sizeof(u64) * num_ptrs); in __cn10k_aura_freeptr()
2934 if (pf->hw.lmt_info) in otx2_probe()2935 free_percpu(pf->hw.lmt_info); in otx2_probe()3096 if (pf->hw.lmt_info) in otx2_remove()3097 free_percpu(pf->hw.lmt_info); in otx2_remove()