Searched refs:barnum (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/tools/pci/ |
D | pcitest.c | 26 char barnum; member 53 if (test->barnum >= 0 && test->barnum <= 5) { in run_test() 54 ret = ioctl(fd, PCITEST_BAR, test->barnum); in run_test() 55 fprintf(stdout, "BAR%d:\t\t", test->barnum); in run_test() 169 test->barnum = -1; in main() 183 test->barnum = atoi(optarg); in main() 184 if (test->barnum < 0 || test->barnum > 5) in main()
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp6000_pcie.c | 447 nfp_wait_for_bar(struct nfp6000_pcie *nfp, int *barnum, in nfp_wait_for_bar() argument 451 (*barnum = find_unused_bar_and_lock(nfp, tgt, act, tok, in nfp_wait_for_bar() 462 int barnum, retval; in nfp_alloc_bar() local 468 barnum = find_matching_bar(nfp, tgt, act, tok, offset, size, width); in nfp_alloc_bar() 469 if (barnum >= 0) { in nfp_alloc_bar() 471 nfp_bar_get(nfp, &nfp->bar[barnum]); in nfp_alloc_bar() 473 return barnum; in nfp_alloc_bar() 476 barnum = find_unused_bar_noblock(nfp, tgt, act, tok, in nfp_alloc_bar() 478 if (barnum < 0) { in nfp_alloc_bar() 487 retval = nfp_wait_for_bar(nfp, &barnum, tgt, act, tok, in nfp_alloc_bar() [all …]
|