Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/drivers/crypto/intel/qat/qat_c3xxxvf/
Dadf_drv.c81 unsigned long bar_mask; in adf_probe() local
151 bar_mask = pci_select_bars(pdev, IORESOURCE_MEM); in adf_probe()
152 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe()
/Linux-v6.6/drivers/crypto/intel/qat/qat_dh895xccvf/
Dadf_drv.c81 unsigned long bar_mask; in adf_probe() local
151 bar_mask = pci_select_bars(pdev, IORESOURCE_MEM); in adf_probe()
152 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe()
/Linux-v6.6/drivers/crypto/intel/qat/qat_c62xvf/
Dadf_drv.c81 unsigned long bar_mask; in adf_probe() local
151 bar_mask = pci_select_bars(pdev, IORESOURCE_MEM); in adf_probe()
152 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe()
/Linux-v6.6/drivers/crypto/intel/qat/qat_c3xxx/
Dadf_drv.c80 unsigned long bar_mask; in adf_probe() local
173 bar_mask = pci_select_bars(pdev, IORESOURCE_MEM); in adf_probe()
174 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe()
/Linux-v6.6/drivers/crypto/intel/qat/qat_c62x/
Dadf_drv.c80 unsigned long bar_mask; in adf_probe() local
173 bar_mask = pci_select_bars(pdev, IORESOURCE_MEM); in adf_probe()
174 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe()
/Linux-v6.6/drivers/crypto/intel/qat/qat_dh895xcc/
Dadf_drv.c80 unsigned long bar_mask; in adf_probe() local
173 bar_mask = pci_select_bars(pdev, IORESOURCE_MEM); in adf_probe()
174 for_each_set_bit(bar_nr, &bar_mask, ADF_PCI_MAX_BARS * 2) { in adf_probe()
/Linux-v6.6/drivers/crypto/intel/qat/qat_4xxx/
Dadf_drv.c330 unsigned long bar_mask; in adf_probe() local
421 bar_mask = pci_select_bars(pdev, IORESOURCE_MEM) & ADF_4XXX_BAR_MASK; in adf_probe()
423 ret = pcim_iomap_regions_request_all(pdev, bar_mask, pci_name(pdev)); in adf_probe()
430 for_each_set_bit(bar_nr, &bar_mask, PCI_STD_NUM_BARS) { in adf_probe()
/Linux-v6.6/samples/vfio-mdev/
Dmtty.c138 u32 bar_mask[VFIO_PCI_NUM_REGIONS]; member
215 mdev_state->bar_mask[0] = ~(MTTY_IO_BAR_SIZE) + 1; in mtty_create_config_space()
220 mdev_state->bar_mask[1] = ~(MTTY_IO_BAR_SIZE) + 1; in mtty_create_config_space()
256 u32 cfg_addr, bar_mask, bar_index = 0; in handle_pci_cfg_write() local
288 bar_mask = mdev_state->bar_mask[bar_index]; in handle_pci_cfg_write()
289 cfg_addr = (cfg_addr & bar_mask); in handle_pci_cfg_write()
Dmdpy.c97 u32 bar_mask; member
130 mdev_state->bar_mask = ~(mdev_state->memsize) + 1; in mdpy_create_config_space()
156 cfg_addr = (cfg_addr & mdev_state->bar_mask); in handle_pci_cfg_write()
Dmbochs.c174 u64 bar_mask[3]; member
239 mdev_state->bar_mask[0] = ~(mdev_state->memsize) + 1; in mbochs_create_config_space()
244 mdev_state->bar_mask[2] = ~(MBOCHS_MMIO_BAR_SIZE) + 1; in mbochs_create_config_space()
318 cfg_addr = (cfg_addr & mdev_state->bar_mask[index]); in handle_pci_cfg_write()
/Linux-v6.6/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-v6.6/drivers/crypto/ccp/
Dsp-pci.c288 int bar_mask; in sp_pci_probe() local
314 bar_mask = pci_select_bars(pdev, IORESOURCE_MEM); in sp_pci_probe()
315 ret = pcim_iomap_regions(pdev, bar_mask, "ccp"); in sp_pci_probe()
/Linux-v6.6/drivers/scsi/isci/
Dinit.c285 int err, bar_num, bar_mask = 0; in isci_pci_init() local
297 bar_mask |= 1 << (bar_num * 2); in isci_pci_init()
299 err = pcim_iomap_regions(pdev, bar_mask, DRV_NAME); in isci_pci_init()