Lines Matching defs:dev
37 static MSIMessage msix_prepare_message(PCIDevice *dev, unsigned vector) in msix_prepare_message()
47 MSIMessage msix_get_message(PCIDevice *dev, unsigned vector) in msix_get_message()
56 void msix_set_message(PCIDevice *dev, int vector, struct MSIMessage msg) in msix_set_message()
70 static uint8_t *msix_pending_byte(PCIDevice *dev, int vector) in msix_pending_byte()
75 static int msix_is_pending(PCIDevice *dev, int vector) in msix_is_pending()
80 void msix_set_pending(PCIDevice *dev, unsigned int vector) in msix_set_pending()
85 void msix_clr_pending(PCIDevice *dev, int vector) in msix_clr_pending()
90 static bool msix_vector_masked(PCIDevice *dev, unsigned int vector, bool fmask) in msix_vector_masked()
103 bool msix_is_masked(PCIDevice *dev, unsigned int vector) in msix_is_masked()
108 static void msix_fire_vector_notifier(PCIDevice *dev, in msix_fire_vector_notifier()
126 static void msix_handle_mask_update(PCIDevice *dev, int vector, bool was_masked) in msix_handle_mask_update()
149 void msix_set_mask(PCIDevice *dev, int vector, bool mask) in msix_set_mask()
169 static bool msix_masked(PCIDevice *dev) in msix_masked()
174 static void msix_update_function_masked(PCIDevice *dev) in msix_update_function_masked()
180 void msix_write_config(PCIDevice *dev, uint32_t addr, in msix_write_config()
215 PCIDevice *dev = opaque; in msix_table_mmio_read() local
224 PCIDevice *dev = opaque; in msix_table_mmio_write() local
251 PCIDevice *dev = opaque; in msix_pba_mmio_read() local
264 PCIDevice *dev = opaque; in msix_pba_mmio_write() local
287 static void msix_mask_all(struct PCIDevice *dev, unsigned nentries) in msix_mask_all()
321 int msix_init(struct PCIDevice *dev, unsigned short nentries, in msix_init()
395 int msix_init_exclusive_bar(PCIDevice *dev, unsigned short nentries, in msix_init_exclusive_bar()
439 static void msix_free_irq_entries(PCIDevice *dev) in msix_free_irq_entries()
449 static void msix_clear_all_vectors(PCIDevice *dev) in msix_clear_all_vectors()
459 void msix_uninit(PCIDevice *dev, MemoryRegion *table_bar, MemoryRegion *pba_bar) in msix_uninit()
480 void msix_uninit_exclusive_bar(PCIDevice *dev) in msix_uninit_exclusive_bar()
487 void msix_save(PCIDevice *dev, QEMUFile *f) in msix_save()
500 void msix_load(PCIDevice *dev, QEMUFile *f) in msix_load()
520 int msix_present(PCIDevice *dev) in msix_present()
526 int msix_enabled(PCIDevice *dev) in msix_enabled()
534 void msix_notify(PCIDevice *dev, unsigned vector) in msix_notify()
554 void msix_reset(PCIDevice *dev) in msix_reset()
576 void msix_vector_use(PCIDevice *dev, unsigned vector) in msix_vector_use()
583 void msix_vector_unuse(PCIDevice *dev, unsigned vector) in msix_vector_unuse()
595 void msix_unuse_all_vectors(PCIDevice *dev) in msix_unuse_all_vectors()
603 unsigned int msix_nr_vectors_allocated(const PCIDevice *dev) in msix_nr_vectors_allocated()
608 static int msix_set_notifier_for_vector(PCIDevice *dev, unsigned int vector) in msix_set_notifier_for_vector()
619 static void msix_unset_notifier_for_vector(PCIDevice *dev, unsigned int vector) in msix_unset_notifier_for_vector()
627 int msix_set_vector_notifiers(PCIDevice *dev, in msix_set_vector_notifiers()
664 void msix_unset_vector_notifiers(PCIDevice *dev) in msix_unset_vector_notifiers()