Home
last modified time | relevance | path

Searched refs:bar_mask (Results 1 – 14 of 14) sorted by relevance

/linux-5.19.10/drivers/dma/ptdma/
Dptdma-pci.c127 int bar_mask; in pt_pci_probe() local
152 bar_mask = pci_select_bars(pdev, IORESOURCE_MEM); in pt_pci_probe()
153 ret = pcim_iomap_regions(pdev, bar_mask, "ptdma"); in pt_pci_probe()
/linux-5.19.10/drivers/crypto/qat/qat_dh895xccvf/
Dadf_drv.c81 unsigned long bar_mask; in adf_probe() local
157 bar_mask = pci_select_bars(pdev, IORESOURCE_MEM); in adf_probe()
158 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe()
/linux-5.19.10/drivers/crypto/qat/qat_c3xxxvf/
Dadf_drv.c81 unsigned long bar_mask; in adf_probe() local
157 bar_mask = pci_select_bars(pdev, IORESOURCE_MEM); in adf_probe()
158 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe()
/linux-5.19.10/drivers/crypto/qat/qat_c62xvf/
Dadf_drv.c81 unsigned long bar_mask; in adf_probe() local
157 bar_mask = pci_select_bars(pdev, IORESOURCE_MEM); in adf_probe()
158 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe()
/linux-5.19.10/drivers/crypto/qat/qat_4xxx/
Dadf_drv.c172 unsigned long bar_mask; in adf_probe() local
268 bar_mask = pci_select_bars(pdev, IORESOURCE_MEM) & ADF_4XXX_BAR_MASK; in adf_probe()
270 ret = pcim_iomap_regions_request_all(pdev, bar_mask, pci_name(pdev)); in adf_probe()
277 for_each_set_bit(bar_nr, &bar_mask, PCI_STD_NUM_BARS) { in adf_probe()
/linux-5.19.10/drivers/crypto/qat/qat_dh895xcc/
Dadf_drv.c80 unsigned long bar_mask; in adf_probe() local
179 bar_mask = pci_select_bars(pdev, IORESOURCE_MEM); in adf_probe()
180 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe()
/linux-5.19.10/drivers/crypto/qat/qat_c3xxx/
Dadf_drv.c80 unsigned long bar_mask; in adf_probe() local
179 bar_mask = pci_select_bars(pdev, IORESOURCE_MEM); in adf_probe()
180 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe()
/linux-5.19.10/drivers/crypto/qat/qat_c62x/
Dadf_drv.c80 unsigned long bar_mask; in adf_probe() local
179 bar_mask = pci_select_bars(pdev, IORESOURCE_MEM); in adf_probe()
180 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe()
/linux-5.19.10/drivers/crypto/ccp/
Dsp-pci.c224 int bar_mask; in sp_pci_probe() local
250 bar_mask = pci_select_bars(pdev, IORESOURCE_MEM); in sp_pci_probe()
251 ret = pcim_iomap_regions(pdev, bar_mask, "ccp"); in sp_pci_probe()
/linux-5.19.10/samples/vfio-mdev/
Dmtty.c139 u32 bar_mask[VFIO_PCI_NUM_REGIONS]; member
201 mdev_state->bar_mask[0] = ~(MTTY_IO_BAR_SIZE) + 1; in mtty_create_config_space()
206 mdev_state->bar_mask[1] = ~(MTTY_IO_BAR_SIZE) + 1; in mtty_create_config_space()
242 u32 cfg_addr, bar_mask, bar_index = 0; in handle_pci_cfg_write() local
274 bar_mask = mdev_state->bar_mask[bar_index]; in handle_pci_cfg_write()
275 cfg_addr = (cfg_addr & bar_mask); in handle_pci_cfg_write()
Dmdpy.c94 u32 bar_mask; member
127 mdev_state->bar_mask = ~(mdev_state->memsize) + 1; in mdpy_create_config_space()
153 cfg_addr = (cfg_addr & mdev_state->bar_mask); in handle_pci_cfg_write()
Dmbochs.c166 u64 bar_mask[3]; member
231 mdev_state->bar_mask[0] = ~(mdev_state->memsize) + 1; in mbochs_create_config_space()
236 mdev_state->bar_mask[2] = ~(MBOCHS_MMIO_BAR_SIZE) + 1; in mbochs_create_config_space()
310 cfg_addr = (cfg_addr & mdev_state->bar_mask[index]); in handle_pci_cfg_write()
/linux-5.19.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-pci.c216 int bar_mask; in xgbe_pci_probe() local
238 bar_mask = pci_select_bars(pdev, IORESOURCE_MEM); in xgbe_pci_probe()
239 ret = pcim_iomap_regions(pdev, bar_mask, XGBE_DRV_NAME); in xgbe_pci_probe()
/linux-5.19.10/drivers/scsi/isci/
Dinit.c288 int err, bar_num, bar_mask = 0; in isci_pci_init() local
300 bar_mask |= 1 << (bar_num * 2); in isci_pci_init()
302 err = pcim_iomap_regions(pdev, bar_mask, DRV_NAME); in isci_pci_init()