Home
last modified time | relevance | path

Searched refs:bars (Results 1 – 8 of 8) sorted by relevance

/linux-4.19.296/drivers/pci/
Dpci.c1506 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 …]
Diov.c262 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/
Dntb_hw_idt.h1111 struct idt_ntb_bar bars[IDT_BAR_CNT]; member
1134 struct idt_ntb_bar bars[IDT_BAR_CNT]; member
Dntb_hw_idt.c1046 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/
Dvirtio_pci_modern.c490 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/
Dmptbase.c1654 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()
Dmptbase.h675 int bars; /* bitmask of BAR's that must be configured */ member
/linux-4.19.296/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c1441 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()