Searched refs:barnum (Results 1 – 7 of 7) sorted by relevance
/openbmc/u-boot/drivers/misc/ |
H A D | swap_case.c | 99 int barnum; in sandbox_swap_case_read_config() local 103 bar = &plat->bar[barnum]; in sandbox_swap_case_read_config() 167 int barnum; in sandbox_swap_case_write_config() local 171 bar = &plat->bar[barnum]; in sandbox_swap_case_write_config() 188 int barnum; in sandbox_swap_case_find_bar() local 190 for (barnum = 0; barnum < ARRAY_SIZE(barinfo); barnum++) { in sandbox_swap_case_find_bar() 195 *barnump = barnum; in sandbox_swap_case_find_bar() 230 int barnum; in sandbox_swap_case_read_io() local 248 int barnum; in sandbox_swap_case_write_io() local 265 int barnum; in sandbox_swap_case_map_physmem() local [all …]
|
/openbmc/linux/tools/pci/ |
H A 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()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp6000_pcie.c | 462 int barnum, retval; in nfp_alloc_bar() local 469 if (barnum >= 0) { in nfp_alloc_bar() 473 return barnum; in nfp_alloc_bar() 478 if (barnum < 0) { in nfp_alloc_bar() 494 nfp_bar_get(nfp, &nfp->bar[barnum]); in nfp_alloc_bar() 499 barnum = retval; in nfp_alloc_bar() 504 return barnum; in nfp_alloc_bar() 813 int barnum, err; in nfp6000_area_acquire() local 824 if (barnum < 0) { in nfp6000_area_acquire() 825 err = barnum; in nfp6000_area_acquire() [all …]
|
/openbmc/u-boot/drivers/pci/ |
H A D | pci_common.c | 121 void pci_write_bar32(struct pci_controller *hose, pci_dev_t dev, int barnum, in pci_write_bar32() argument 126 bar = PCI_BASE_ADDRESS_0 + barnum * 4; in pci_write_bar32() 130 u32 pci_read_bar32(struct pci_controller *hose, pci_dev_t dev, int barnum) in pci_read_bar32() argument 135 bar = PCI_BASE_ADDRESS_0 + barnum * 4; in pci_read_bar32()
|
H A D | pci-uclass.c | 1191 u32 dm_pci_read_bar32(struct udevice *dev, int barnum) in dm_pci_read_bar32() argument 1196 bar = PCI_BASE_ADDRESS_0 + barnum * 4; in dm_pci_read_bar32() 1204 void dm_pci_write_bar32(struct udevice *dev, int barnum, u32 addr) in dm_pci_write_bar32() argument 1208 bar = PCI_BASE_ADDRESS_0 + barnum * 4; in dm_pci_write_bar32()
|
/openbmc/u-boot/lib/ |
H A D | fdtdec.c | 280 int barnum; in fdtdec_get_pci_bar32() local 283 barnum = addr->phys_hi & 0xff; in fdtdec_get_pci_bar32() 284 if (barnum < PCI_BASE_ADDRESS_0 || barnum > PCI_CARDBUS_CIS) in fdtdec_get_pci_bar32() 287 barnum = (barnum - PCI_BASE_ADDRESS_0) / 4; in fdtdec_get_pci_bar32() 288 *bar = dm_pci_read_bar32(dev, barnum); in fdtdec_get_pci_bar32()
|
/openbmc/u-boot/include/ |
H A D | pci.h | 793 void pci_write_bar32(struct pci_controller *hose, pci_dev_t dev, int barnum, 804 u32 pci_read_bar32(struct pci_controller *hose, pci_dev_t dev, int barnum); 1274 void dm_pci_write_bar32(struct udevice *dev, int barnum, u32 addr); 1283 u32 dm_pci_read_bar32(struct udevice *dev, int barnum);
|