Lines Matching +full:io +full:- +full:width
76 tsc_eoi += rdtsc() - start; in self_ipi_isr()
83 tsc_ipi += rdtsc() - start; in x2apic_self_ipi()
91 tsc_ipi += rdtsc() - start; in apic_self_ipi()
193 tsc_ipi += rdtsc() - start; in ipi()
213 pm_tmr_blk = fadt->pm_tmr_blk; in inl_pmtimer()
245 static struct counter counters[64] = { { -1, 0 } }; in ple_round_robin()
250 while (p->n1 == p->n2) in ple_round_robin()
253 p->n2 = p->n1; in ple_round_robin()
284 .test_idx = -1
317 static uint8_t ioreadb(unsigned long addr, bool io) in ioreadb() argument
319 if (io) { in ioreadb()
326 static uint32_t ioreadl(unsigned long addr, bool io) in ioreadl() argument
329 if (io) { in ioreadl()
336 static void iowriteb(unsigned long addr, uint8_t data, bool io) in iowriteb() argument
338 if (io) { in iowriteb()
345 static bool pci_next(struct test *test, unsigned long addr, bool io) in pci_next() argument
348 uint8_t width; in pci_next() local
351 test->func = NULL; in pci_next()
356 pci_test.test_idx, io); in pci_next()
357 width = ioreadb(addr + offsetof(struct pci_test_dev_hdr, width), in pci_next()
358 io); in pci_next()
359 switch (width) { in pci_next()
361 test->func = io ? pci_io_testb : pci_mem_testb; in pci_next()
364 test->func = io ? pci_io_testw : pci_mem_testw; in pci_next()
367 test->func = io ? pci_io_testl : pci_mem_testl; in pci_next()
371 pci_test.test_idx = -1; in pci_next()
372 test->func = NULL; in pci_next()
376 io); in pci_next()
378 offset), io); in pci_next()
381 name) + i, io); in pci_next()
517 { NULL, "pci-mem", .parallel = 0, .next = pci_mem_next },
518 { NULL, "pci-io", .parallel = 0, .next = pci_io_next },
540 if (test->valid && !test->valid()) { in do_test()
541 printf("%s (skipped)\n", test->name); in do_test()
545 if (test->next && !test->next(test)) { in do_test()
549 func = test->func; in do_test()
551 printf("%s (skipped)\n", test->name); in do_test()
560 if (!test->parallel) { in do_test()
567 } while ((t2 - t1) < GOAL); in do_test()
568 printf("%s %d\n", test->name, (int)((t2 - t1) / iterations)); in do_test()
570 printf(" ipi %s %d\n", test->name, (int)(tsc_ipi / iterations)); in do_test()
572 printf(" eoi %s %d\n", test->name, (int)(tsc_eoi / iterations)); in do_test()
574 return test->next; in do_test()
591 if (strcmp(wanted[i], test->name) == 0) in test_wanted()
620 printf("pci-testdev at %#x membar %lx iobar %x\n", in main()
625 if (test_wanted(&tests[i], av + 1, ac - 1)) in main()