Lines Matching defs:br
537 pci_bar_is_reserved(pciconf_bus_t *pb, pciconf_dev_t *pd, int br)
555 base = pci_conf_read(pb->pc, tag, br);
556 pci_conf_write(pb->pc, tag, br, 0xffffffff);
557 mask = pci_conf_read(pb->pc, tag, br);
558 pci_conf_write(pb->pc, tag, br, base);
568 base64 = pci_conf_read(pb->pc, tag, br + 4);
569 pci_conf_write(pb->pc, tag, br + 4, 0xffffffff);
570 mask64 = pci_conf_read(pb->pc, tag, br + 4);
571 pci_conf_write(pb->pc, tag, br + 4, base64);
596 int br, width, reg_start, reg_end;
686 for (br = reg_start; br < reg_end; br += width) {
694 bar = pci_conf_read(pb->pc, tag, br);
695 pci_conf_write(pb->pc, tag, br, 0xffffffff);
696 mask = pci_conf_read(pb->pc, tag, br);
697 pci_conf_write(pb->pc, tag, br, bar);
712 printf("I/O BAR 0x%x is void\n", br);
724 pi->reg = br;
733 br, pi->size);
745 bar64 = pci_conf_read(pb->pc, tag, br + 4);
746 pci_conf_write(pb->pc, tag, br + 4, 0xffffffff);
747 mask64 = pci_conf_read(pb->pc, tag, br + 4);
748 pci_conf_write(pb->pc, tag, br + 4, bar64);
766 64 : 32, br);
776 br, (unsigned long)size);
787 pm->reg = br;
794 PRIu64 "\n", br, pm->size);