Searched refs:bars (Results 1 – 8 of 8) sorted by relevance
/linux-4.19.296/drivers/pci/ |
D | pci.c | 1506 int __weak pcibios_enable_device(struct pci_dev *dev, int bars) in pcibios_enable_device() argument 1508 return pci_enable_resources(dev, bars); in pcibios_enable_device() 1511 static int do_pci_enable_device(struct pci_dev *dev, int bars) in do_pci_enable_device() argument 1526 err = pcibios_enable_device(dev, bars); in do_pci_enable_device() 1586 int i, bars = 0; in pci_enable_device_flags() local 1606 bars |= (1 << i); in pci_enable_device_flags() 1609 bars |= (1 << i); in pci_enable_device_flags() 1611 err = do_pci_enable_device(dev, bars); in pci_enable_device_flags() 3705 void pci_release_selected_regions(struct pci_dev *pdev, int bars) in pci_release_selected_regions() argument 3710 if (bars & (1 << i)) in pci_release_selected_regions() [all …]
|
D | iov.c | 262 int bars = 0; in sriov_enable() local 282 bars |= (1 << (i + PCI_IOV_RESOURCES)); in sriov_enable() 299 if (pci_enable_resources(dev, bars)) { in sriov_enable()
|
/linux-4.19.296/drivers/ntb/hw/idt/ |
D | ntb_hw_idt.h | 1111 struct idt_ntb_bar bars[IDT_BAR_CNT]; member 1134 struct idt_ntb_bar bars[IDT_BAR_CNT]; member
|
D | ntb_hw_idt.c | 1046 const struct idt_ntb_bar *bars; in idt_scan_mws() local 1054 bars = portdata_tbl[port].bars; in idt_scan_mws() 1060 data = idt_sw_read(ndev, bars[bidx].setup); in idt_scan_mws() 1313 const struct idt_ntb_bar *bar = &ntdata_tbl.bars[mw_cfg->bar]; in idt_ntb_peer_mw_set_trans() 1374 const struct idt_ntb_bar *bar = &ntdata_tbl.bars[mw_cfg->bar]; in idt_ntb_peer_mw_clear_trans()
|
/linux-4.19.296/drivers/virtio/ |
D | virtio_pci_modern.c | 490 u32 ioresource_types, int *bars) in virtio_pci_find_capability() argument 512 *bars |= (1 << bar); in virtio_pci_find_capability()
|
/linux-4.19.296/drivers/message/fusion/ |
D | mptbase.c | 1654 ioc->bars = pci_select_bars(pdev, IORESOURCE_MEM); in mpt_mapresources() 1660 if (pci_request_selected_regions(pdev, ioc->bars, "mpt")) { in mpt_mapresources() 1747 pci_release_selected_regions(pdev, ioc->bars); in mpt_mapresources() 2023 pci_release_selected_regions(pdev, ioc->bars); in mpt_attach() 2070 pci_release_selected_regions(pdev, ioc->bars); in mpt_attach() 2179 pci_release_selected_regions(pdev, ioc->bars); in mpt_suspend() 2404 pci_release_selected_regions(ioc->pcidev, ioc->bars); in mpt_do_ioc_recovery() 2405 ioc->bars = pci_select_bars(ioc->pcidev, IORESOURCE_MEM | in mpt_do_ioc_recovery() 2409 if (pci_request_selected_regions(ioc->pcidev, ioc->bars, in mpt_do_ioc_recovery() 2847 pci_release_selected_regions(ioc->pcidev, ioc->bars); in mpt_adapter_dispose()
|
D | mptbase.h | 675 int bars; /* bitmask of BAR's that must be configured */ member
|
/linux-4.19.296/drivers/media/common/v4l2-tpg/ |
D | v4l2-tpg-core.c | 1441 static const enum tpg_color bars[3][8] = { in tpg_get_color() enum 1463 return bars[tpg->pattern][((x * 8) / tpg->src_width) % 8]; in tpg_get_color() 1465 return bars[1][(pat_line + (x * 8) / tpg->src_width) % 8]; in tpg_get_color() 1467 return bars[1][pat_line]; in tpg_get_color()
|