/linux/drivers/pci/endpoint/functions/ |
H A D | pci-epf-vntb.c | 343 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 D | pci-epf-ntb.c | 737 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 D | pci-epf-mhi.c | 731 epf_bar->barno = info->bar_num; in pci_epf_mhi_epc_init()
|
/linux/drivers/pinctrl/intel/ |
H A D | pinctrl-tangier.h | 36 unsigned int barno; member 45 .barno = (b), \ 52 .barno = (b), \
|
H A D | pinctrl-intel.h | 115 unsigned int barno; member 147 .barno = (b), \
|
H A D | pinctrl-intel-platform.c | 169 community->barno = i; in intel_platform_pinctrl_prepare_soc_data()
|
H A D | pinctrl-tangier.c | 555 family->regs = regs + family->barno * TNG_FAMILY_LEN; in tng_pinctrl_probe()
|
H A D | pinctrl-intel.c | 1581 regs = devm_platform_ioremap_resource(pdev, community->barno); in intel_pinctrl_probe()
|
/linux/drivers/misc/ |
H A D | pci_endpoint_test.c | 268 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 D | snet_main.c | 656 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 D | snet_vdpa.h | 150 u8 barno; member 170 return ioread32(psnet->bars[psnet->barno] + off); in psnet_read32()
|
/linux/include/linux/ |
H A D | pci-epf.h | 124 enum pci_barno barno; member
|
/linux/drivers/pci/endpoint/ |
H A D | pci-epf-core.c | 244 epf_bar[bar].barno = 0; in pci_epf_free_space() 308 epf_bar[bar].barno = bar; in pci_epf_alloc_space()
|
H A D | pci-epc-core.c | 493 (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 D | pcie-designware-ep.c | 193 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()
|