Lines Matching defs:dev

84 #define MSI_DEV_PRINTF(dev, fmt, ...)                                   \  argument
93 static inline uint8_t msi_flags_off(const PCIDevice* dev) in msi_flags_off()
98 static inline uint8_t msi_address_lo_off(const PCIDevice* dev) in msi_address_lo_off()
103 static inline uint8_t msi_address_hi_off(const PCIDevice* dev) in msi_address_hi_off()
108 static inline uint8_t msi_data_off(const PCIDevice* dev, bool msi64bit) in msi_data_off()
113 static inline uint8_t msi_mask_off(const PCIDevice* dev, bool msi64bit) in msi_mask_off()
118 static inline uint8_t msi_pending_off(const PCIDevice* dev, bool msi64bit) in msi_pending_off()
127 void msi_set_message(PCIDevice *dev, MSIMessage msg) in msi_set_message()
140 static MSIMessage msi_prepare_message(PCIDevice *dev, unsigned int vector) in msi_prepare_message()
165 MSIMessage msi_get_message(PCIDevice *dev, unsigned int vector) in msi_get_message()
170 bool msi_enabled(const PCIDevice *dev) in msi_enabled()
193 int msi_init(struct PCIDevice *dev, uint8_t offset, in msi_init()
257 void msi_uninit(struct PCIDevice *dev) in msi_uninit()
274 void msi_reset(PCIDevice *dev) in msi_reset()
300 bool msi_is_masked(const PCIDevice *dev, unsigned int vector) in msi_is_masked()
321 void msi_set_mask(PCIDevice *dev, int vector, bool mask, Error **errp) in msi_set_mask()
353 void msi_notify(PCIDevice *dev, unsigned int vector) in msi_notify()
378 void msi_send_message(PCIDevice *dev, MSIMessage msg) in msi_send_message()
384 void msi_write_config(PCIDevice *dev, uint32_t addr, uint32_t val, int len) in msi_write_config()
486 unsigned int msi_nr_vectors_allocated(const PCIDevice *dev) in msi_nr_vectors_allocated()