Searched refs:bar_mask (Results 1 – 3 of 3) sorted by relevance
139 u32 bar_mask[VFIO_PCI_NUM_REGIONS]; member201 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() local274 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()
94 u32 bar_mask; member127 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()
166 u64 bar_mask[3]; member231 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()