Home
last modified time | relevance | path

Searched refs:barno (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/pci/endpoint/functions/
H A Dpci-epf-vntb.c343 enum pci_barno barno; in epf_ntb_config_sspad_bar_clear() local
345 barno = ntb->epf_ntb_bar[BAR_CONFIG]; in epf_ntb_config_sspad_bar_clear()
346 epf_bar = &ntb->epf->bar[barno]; in epf_ntb_config_sspad_bar_clear()
366 enum pci_barno barno; in epf_ntb_config_sspad_bar_set() local
374 barno = ntb->epf_ntb_bar[BAR_CONFIG]; in epf_ntb_config_sspad_bar_set()
375 epf_bar = &ntb->epf->bar[barno]; in epf_ntb_config_sspad_bar_set()
392 enum pci_barno barno; in epf_ntb_config_spad_bar_free() local
394 barno = ntb->epf_ntb_bar[BAR_CONFIG]; in epf_ntb_config_spad_bar_free()
395 pci_epf_free_space(ntb->epf, ntb->reg, barno, 0); in epf_ntb_config_spad_bar_free()
412 enum pci_barno barno; in epf_ntb_config_spad_bar_alloc() local
[all …]
H A Dpci-epf-ntb.c737 enum pci_barno barno; in epf_ntb_peer_spad_bar_clear() local
744 barno = ntb_epc->epf_ntb_bar[BAR_PEER_SPAD]; in epf_ntb_peer_spad_bar_clear()
745 epf_bar = &ntb_epc->epf_bar[barno]; in epf_ntb_peer_spad_bar_clear()
784 enum pci_barno peer_barno, barno; in epf_ntb_peer_spad_bar_set() local
798 barno = ntb_epc->epf_ntb_bar[BAR_PEER_SPAD]; in epf_ntb_peer_spad_bar_set()
799 epf_bar = &ntb_epc->epf_bar[barno]; in epf_ntb_peer_spad_bar_set()
807 epf_bar->barno = barno; in epf_ntb_peer_spad_bar_set()
853 enum pci_barno barno; in epf_ntb_config_sspad_bar_clear() local
860 barno = ntb_epc->epf_ntb_bar[BAR_CONFIG]; in epf_ntb_config_sspad_bar_clear()
861 epf_bar = &ntb_epc->epf_bar[barno]; in epf_ntb_config_sspad_bar_clear()
[all …]
H A Dpci-epf-mhi.c731 epf_bar->barno = info->bar_num; in pci_epf_mhi_epc_init()
/linux/drivers/pinctrl/intel/
H A Dpinctrl-tangier.h36 unsigned int barno; member
45 .barno = (b), \
52 .barno = (b), \
H A Dpinctrl-intel.h115 unsigned int barno; member
147 .barno = (b), \
H A Dpinctrl-intel-platform.c169 community->barno = i; in intel_platform_pinctrl_prepare_soc_data()
H A Dpinctrl-tangier.c555 family->regs = regs + family->barno * TNG_FAMILY_LEN; in tng_pinctrl_probe()
H A Dpinctrl-intel.c1581 regs = devm_platform_ioremap_resource(pdev, community->barno); in intel_pinctrl_probe()
/linux/drivers/misc/
H A Dpci_endpoint_test.c268 enum pci_barno barno, int offset, in pci_endpoint_test_bar_memcmp() argument
272 memset(write_buf, bar_test_pattern[barno], size); in pci_endpoint_test_bar_memcmp()
273 memcpy_toio(test->bar[barno] + offset, write_buf, size); in pci_endpoint_test_bar_memcmp()
275 memcpy_fromio(read_buf, test->bar[barno] + offset, size); in pci_endpoint_test_bar_memcmp()
281 enum pci_barno barno) in pci_endpoint_test_bar() argument
288 if (!test->bar[barno]) in pci_endpoint_test_bar()
291 bar_size = pci_resource_len(pdev, barno); in pci_endpoint_test_bar()
293 if (barno == test->test_reg_bar) in pci_endpoint_test_bar()
312 if (pci_endpoint_test_bar_memcmp(test, barno, buf_size * j, in pci_endpoint_test_bar()
318 if (pci_endpoint_test_bar_memcmp(test, barno, buf_size * iters, in pci_endpoint_test_bar()
/linux/drivers/vdpa/solidrun/
H A Dsnet_main.c656 if (psnet->bars[i] && i != psnet->barno) in psnet_unmap_unused_bars()
669 int barno; in psnet_read_cfg() local
675 barno = psnet_detect_bar(psnet, off); in psnet_read_cfg()
676 if (barno < 0) { in psnet_read_cfg()
678 return barno; in psnet_read_cfg()
682 psnet->barno = barno; in psnet_read_cfg()
683 SNET_DBG(pdev, "Using BAR number %d\n", barno); in psnet_read_cfg()
H A Dsnet_vdpa.h150 u8 barno; member
170 return ioread32(psnet->bars[psnet->barno] + off); in psnet_read32()
/linux/include/linux/
H A Dpci-epf.h124 enum pci_barno barno; member
/linux/drivers/pci/endpoint/
H A Dpci-epf-core.c244 epf_bar[bar].barno = 0; in pci_epf_free_space()
308 epf_bar[bar].barno = bar; in pci_epf_alloc_space()
H A Dpci-epc-core.c493 (epf_bar->barno == BAR_5 && in pci_epc_clear_bar()
525 (epf_bar->barno == BAR_5 && in pci_epc_set_bar()
/linux/drivers/pci/controller/dwc/
H A Dpcie-designware-ep.c193 enum pci_barno bar = epf_bar->barno; in dw_pcie_ep_clear_bar()
212 enum pci_barno bar = epf_bar->barno; in dw_pcie_ep_set_bar()