Searched refs:bei (Results 1 - 2 of 2) sorted by relevance

/freebsd-13-stable/usr.sbin/pciconf/
H A Dcap.c623 ea_bei_to_name(int bei) argument
632 if ((bei >= PCIM_EA_BEI_BAR_0) && (bei <= PCIM_EA_BEI_BAR_5))
633 return (barstr[bei - PCIM_EA_BEI_BAR_0]);
634 if ((bei >= PCIM_EA_BEI_VF_BAR_0) && (bei <= PCIM_EA_BEI_VF_BAR_5))
635 return (vfbarstr[bei - PCIM_EA_BEI_VF_BAR_0]);
637 switch (bei) {
687 uint32_t bei; local
730 bei
[all...]
/freebsd-13-stable/sys/dev/pci/
H A Dpci.c832 printf("PCI(EA) dev %04x:%04x, bei %d, flags #%x, base #%jx, max_offset #%jx\n",
3826 pci_ea_bei_to_rid(device_t dev, int bei) argument
3842 if ((bei >= PCIM_EA_BEI_BAR_0) &&
3843 (bei <= PCIM_EA_BEI_BAR_5))
3844 return (PCIR_BAR(bei));
3847 if (bei == PCIM_EA_BEI_ROM)
3852 if ((iov != NULL) && (bei >= PCIM_EA_BEI_VF_BAR_0) &&
3853 (bei <= PCIM_EA_BEI_VF_BAR_5))
3854 return (PCIR_SRIOV_BAR(bei - PCIM_EA_BEI_VF_BAR_0) +

Completed in 148 milliseconds