Searched refs:msix (Results 1 – 12 of 12) sorted by relevance
82 if ( new_masked == msix->masked && new_enabled == msix->enabled ) in control_write()95 if ( new_enabled && !new_masked && (!msix->enabled || msix->masked) ) in control_write()99 if ( msix->entries[i].masked || !msix->entries[i].updated || in control_write()144 msix->masked = new_masked; in control_write()154 struct vpci_msix *msix; in msix_find() local164 return msix; in msix_find()207 if ( !msix ) in msix_read()282 if ( !msix ) in msix_write()365 if ( !new_masked && msix->enabled && !msix->masked && entry->updated ) in msix_write()404 if ( !pdev->vpci->msix ) in vpci_make_msix_hole()[all …]
284 const struct vpci_msix *msix; in vpci_dump_msi() local305 msix = pdev->vpci->msix; in vpci_dump_msi()306 if ( msix && msix->enabled ) in vpci_dump_msi()314 msix->max_entries, msix->masked, msix->enabled); in vpci_dump_msi()316 rc = vpci_msix_arch_print(msix); in vpci_dump_msi()
1 obj-y += vpci.o header.o msi.o msix.o
209 const struct vpci_msix *msix = pdev->vpci->msix; in modify_bars() local247 for ( i = 0; msix && i < ARRAY_SIZE(msix->tables); i++ ) in modify_bars()
51 xfree(pdev->vpci->msix); in vpci_remove_device()
83 spin_lock(&msix->table_lock); in msix_get_fixmap()107 spin_lock(&msix->table_lock); in msix_put_fixmap()120 msix->table_idx[i] = 0; in msix_put_fixmap()772 struct arch_msix *msix = dev->msix; in msix_capability_init() local797 msix->host_maskall = 1; in msix_capability_init()934 if ( !msix->used_entries ) in msix_capability_init()968 ++msix->used_entries; in msix_capability_init()1100 msix->table.last = 0; in _pci_cleanup_msix()1105 msix->pba.first = 0; in _pci_cleanup_msix()1106 msix->pba.last = 0; in _pci_cleanup_msix()[all …]
138 } *msix; member177 int vpci_msix_arch_print(const struct vpci_msix *msix);185 return vpci->header.bars[vpci->msix->tables[nr] & PCI_MSIX_BIRMASK].addr; in vmsix_table_base()191 (vpci->msix->tables[nr] & ~PCI_MSIX_BIRMASK); in vmsix_table_addr()202 (nr == VPCI_MSIX_TABLE) ? vpci->msix->max_entries * PCI_MSIX_ENTRY_SIZE in vmsix_table_size()203 : ROUNDUP(DIV_ROUND_UP(vpci->msix->max_entries, in vmsix_table_size()207 static inline unsigned int vmsix_entry_nr(const struct vpci_msix *msix, in vmsix_entry_nr() argument210 return entry - msix->entries; in vmsix_entry_nr()
84 struct arch_msix *msix; member
437 entry->table_len = pdev->msix->nr_entries * PCI_MSIX_ENTRY_SIZE; in add_msixtbl_entry()858 vmsix_entry_nr(pdev->vpci->msix, entry), in vpci_msix_arch_enable_entry()886 int vpci_msix_arch_print(const struct vpci_msix *msix) in vpci_msix_arch_print() argument890 for ( i = 0; i < msix->max_entries; i++ ) in vpci_msix_arch_print()892 const struct vpci_msix_entry *entry = &msix->entries[i]; in vpci_msix_arch_print()905 struct pci_dev *pdev = msix->pdev; in vpci_msix_arch_print()907 spin_unlock(&msix->pdev->vpci->lock); in vpci_msix_arch_print()912 if ( pdev->vpci->msix != msix ) in vpci_msix_arch_print()
357 struct arch_msix *msix = xzalloc(struct arch_msix); in alloc_pdev() local360 if ( !msix ) in alloc_pdev()365 spin_lock_init(&msix->table_lock); in alloc_pdev()368 msix->nr_entries = msix_table_size(ctrl); in alloc_pdev()370 pdev->msix = msix; in alloc_pdev()464 xfree(pdev->msix); in free_pdev()1530 if ( pdev->msix ) in assign_device()
489 if ( pdev->msix || pdev->msi_maxvec ) in amd_iommu_add_device()494 pdev->msix ? pdev->msix->nr_entries in amd_iommu_add_device()
1279 if ( pdev && (pdev->msix || pdev->msi_maxvec) ) in amd_iommu_setup_device_table()1285 pdev->msix ? pdev->msix->nr_entries in amd_iommu_setup_device_table()
Completed in 22 milliseconds