Home
last modified time | relevance | path

Searched refs:mem_bar (Results 1 – 20 of 20) sorted by relevance

/openbmc/qemu/tests/qtest/libqos/
H A Dsdhci.c83 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 Dsdhci.h60 QPCIBar mem_bar; member
/openbmc/qemu/tests/qtest/
H A Derst-test.c40 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 Divshmem-test.c44 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 Def100.c123 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 Defx_common.c1029 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 Def100_nic.c1019 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 Dnet_driver.h1151 unsigned int mem_bar; member
1355 unsigned int (*mem_bar)(struct efx_nic *efx); member
H A Defx.c1093 rc = efx_init_io(efx, efx->type->mem_bar(efx), efx->type->max_dma_mask, in efx_pci_probe()
H A Def10.c78 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 Defx_common.c1044 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 Dnet_driver.h1113 unsigned int mem_bar; member
1304 unsigned int (*mem_bar)(struct efx_nic *efx); member
H A Dsiena.c981 .mem_bar = siena_mem_bar,
H A Defx.c1056 rc = efx_siena_init_io(efx, efx->type->mem_bar(efx), in efx_pci_probe()
/openbmc/linux/drivers/net/ethernet/amazon/ena/
H A Dena_com.h304 void __iomem *mem_bar; member
H A Dena_netdev.c2994 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 Dena_com.c1237 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 Dnet_driver.h1041 unsigned int mem_bar; member
H A Dfalcon.c2709 .mem_bar = EF4_MEM_BAR,
2806 .mem_bar = EF4_MEM_BAR,
H A Defx.c1221 bar = efx->type->mem_bar; in ef4_init_io()
1295 bar = efx->type->mem_bar; in ef4_fini_io()