/openbmc/qemu/tests/qtest/libqos/ |
H A D | sdhci.c | 83 return qpci_io_readw(&spci->dev, spci->mem_bar, reg); in sdhci_pci_readw() 89 return qpci_io_readq(&spci->dev, spci->mem_bar, reg); in sdhci_pci_readq() 95 return qpci_io_writeq(&spci->dev, spci->mem_bar, reg, val); in sdhci_pci_writeq() 118 qpci_iounmap(&spci->dev, spci->mem_bar); in sdhci_destructor() 128 spci->mem_bar = qpci_iomap(&spci->dev, 0, &barsize); in sdhci_pci_create()
|
H A D | sdhci.h | 60 QPCIBar mem_bar; member
|
/openbmc/qemu/tests/qtest/ |
H A D | erst-test.c | 40 QPCIBar reg_bar, mem_bar; member 111 s->mem_bar = qpci_iomap(s->dev, 1, &s->mem_barsize); in setup_vm_cmd() 144 g_assert_cmpuint(log_address_range, ==, state.mem_bar.addr); in test_acpi_erst_basic()
|
H A D | ivshmem-test.c | 44 QPCIBar reg_bar, mem_bar; member 91 qpci_memread(s->dev, s->mem_bar, off, buf, len); in read_mem() 97 qpci_memwrite(s->dev, s->mem_bar, off, buf, len); in write_mem() 128 s->mem_bar = qpci_iomap(s->dev, 2, &barsize); in setup_vm_cmd()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | ef100.c | 123 previous_bar = efx->mem_bar; in ef100_pci_parse_continue_entry() 198 id, entry_size, current_entry, efx->mem_bar); in ef100_pci_walk_xilinx_table() 243 if (ef100_pci_does_bar_overflow(efx, efx->mem_bar, current_entry)) { in ef100_pci_walk_xilinx_table()
|
H A D | efx_common.c | 1029 efx->mem_bar = UINT_MAX; in efx_init_struct() 1074 efx->mem_bar = UINT_MAX; in efx_init_io() 1108 efx->mem_bar = bar; in efx_init_io() 1144 pci_release_region(efx->pci_dev, efx->mem_bar); in efx_fini_io() 1146 efx->mem_bar = UINT_MAX; in efx_fini_io()
|
H A D | ef100_nic.c | 1019 unsigned int bar_size = resource_size(&efx->pci_dev->resource[efx->mem_bar]); in ef100_probe_main() 1312 .mem_bar = NULL, 1388 .mem_bar = NULL,
|
H A D | net_driver.h | 1151 unsigned int mem_bar; member 1355 unsigned int (*mem_bar)(struct efx_nic *efx); member
|
H A D | efx.c | 1093 rc = efx_init_io(efx, efx->type->mem_bar(efx), efx->type->max_dma_mask, in efx_pci_probe()
|
H A D | ef10.c | 78 bar = efx->type->mem_bar(efx); in efx_ef10_mem_map_size() 4060 .mem_bar = efx_ef10_vf_mem_bar, 4172 .mem_bar = efx_ef10_pf_mem_bar,
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | efx_common.c | 1044 efx->mem_bar = UINT_MAX; in efx_siena_init_struct() 1089 efx->mem_bar = UINT_MAX; in efx_siena_init_io() 1127 efx->mem_bar = bar; in efx_siena_init_io() 1163 pci_release_region(efx->pci_dev, efx->mem_bar); in efx_siena_fini_io() 1165 efx->mem_bar = UINT_MAX; in efx_siena_fini_io()
|
H A D | net_driver.h | 1113 unsigned int mem_bar; member 1304 unsigned int (*mem_bar)(struct efx_nic *efx); member
|
H A D | siena.c | 981 .mem_bar = siena_mem_bar,
|
H A D | efx.c | 1056 rc = efx_siena_init_io(efx, efx->type->mem_bar(efx), in efx_pci_probe()
|
/openbmc/linux/drivers/net/ethernet/amazon/ena/ |
H A D | ena_com.h | 304 void __iomem *mem_bar; member
|
H A D | ena_netdev.c | 2994 if (!ena_dev->mem_bar) { in ena_set_queues_placement_policy() 3019 ena_dev->mem_bar = devm_ioremap_wc(&pdev->dev, in ena_map_llq_mem_bar() 3023 if (!ena_dev->mem_bar) in ena_map_llq_mem_bar()
|
H A D | ena_com.c | 1237 io_sq->header_addr = (u8 __iomem *)((uintptr_t)ena_dev->mem_bar in ena_com_create_io_sq() 1241 (u8 __iomem *)((uintptr_t)ena_dev->mem_bar + in ena_com_create_io_sq()
|
/openbmc/linux/drivers/net/ethernet/sfc/falcon/ |
H A D | net_driver.h | 1041 unsigned int mem_bar; member
|
H A D | falcon.c | 2709 .mem_bar = EF4_MEM_BAR, 2806 .mem_bar = EF4_MEM_BAR,
|
H A D | efx.c | 1221 bar = efx->type->mem_bar; in ef4_init_io() 1295 bar = efx->type->mem_bar; in ef4_fini_io()
|