Home
last modified time | relevance | path

Searched refs:barnum (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/tools/pci/
Dpcitest.c38 char barnum; member
64 if (test->barnum >= 0 && test->barnum <= 5) { in run_test()
65 ret = ioctl(fd, PCITEST_BAR, test->barnum); in run_test()
66 fprintf(stdout, "BAR%d:\t\t", test->barnum); in run_test()
160 test->barnum = -1; in main()
174 test->barnum = atoi(optarg); in main()
175 if (test->barnum < 0 || test->barnum > 5) in main()
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp6000_pcie.c481 nfp_wait_for_bar(struct nfp6000_pcie *nfp, int *barnum, in nfp_wait_for_bar() argument
485 (*barnum = find_unused_bar_and_lock(nfp, tgt, act, tok, in nfp_wait_for_bar()
496 int barnum, retval; in nfp_alloc_bar() local
502 barnum = find_matching_bar(nfp, tgt, act, tok, offset, size, width); in nfp_alloc_bar()
503 if (barnum >= 0) { in nfp_alloc_bar()
505 nfp_bar_get(nfp, &nfp->bar[barnum]); in nfp_alloc_bar()
507 return barnum; in nfp_alloc_bar()
510 barnum = find_unused_bar_noblock(nfp, tgt, act, tok, in nfp_alloc_bar()
512 if (barnum < 0) { in nfp_alloc_bar()
521 retval = nfp_wait_for_bar(nfp, &barnum, tgt, act, tok, in nfp_alloc_bar()
[all …]