Lines Matching defs:tgt
196 int tgt, int act, int tok, u64 offset, size_t size, int width)
201 if (tgt >= NFP_CPP_NUM_TARGETS)
227 newcfg |= NFP_PCIE_BAR_PCIE2CPP_Target_BaseAddress(tgt);
242 newcfg |= NFP_PCIE_BAR_PCIE2CPP_Target_BaseAddress(tgt);
290 int tgt, int act, int tok, u64 offset, size_t size, int width)
297 tgt, act, tok, offset, size, width);
307 static int matching_bar(struct nfp_bar *bar, u32 tgt, u32 act, u32 tok,
355 if ((bartgt < 0 || bartgt == tgt) &&
368 u32 tgt, u32 act, u32 tok, u64 offset, size_t size, int width)
375 if (matching_bar(bar, tgt, act, tok, offset, size, width))
385 int tgt, int act, int tok,
399 tgt, act, tok, offset, size, width);
409 if (WARN(!busy, "No suitable BAR found for request tgt:0x%x act:0x%x tok:0x%x off:0x%llx size:%zd width:%d\n",
410 tgt, act, tok, offset, size, width))
418 int tgt, int act, int tok,
426 n = find_unused_bar_noblock(nfp, tgt, act, tok, offset, size, width);
448 u32 tgt, u32 act, u32 tok, u64 offset, size_t size, int width)
451 (*barnum = find_unused_bar_and_lock(nfp, tgt, act, tok,
458 u32 tgt, u32 act, u32 tok,
468 barnum = find_matching_bar(nfp, tgt, act, tok, offset, size, width);
476 barnum = find_unused_bar_noblock(nfp, tgt, act, tok,
487 retval = nfp_wait_for_bar(nfp, &barnum, tgt, act, tok,
496 tgt, act, tok, offset, size, width);