Lines Matching refs:msi_desc
97 struct msi_desc *desc; in ntb_msi_setup_mws()
191 struct msi_desc *entry;
192 struct ntb_msi_desc *msi_desc; member
195 static int ntb_msi_set_desc(struct ntb_dev *ntb, struct msi_desc *entry, in ntb_msi_set_desc()
196 struct ntb_msi_desc *msi_desc) in ntb_msi_set_desc() argument
211 msi_desc->addr_offset = addr - ntb->msi->base_addr; in ntb_msi_set_desc()
212 msi_desc->data = entry->msg.data; in ntb_msi_set_desc()
217 static void ntb_msi_write_msg(struct msi_desc *entry, void *data) in ntb_msi_write_msg()
221 WARN_ON(ntb_msi_set_desc(dr->ntb, entry, dr->msi_desc)); in ntb_msi_write_msg()
235 static int ntbm_msi_setup_callback(struct ntb_dev *ntb, struct msi_desc *entry, in ntbm_msi_setup_callback()
236 struct ntb_msi_desc *msi_desc) in ntbm_msi_setup_callback() argument
247 dr->msi_desc = msi_desc; in ntbm_msi_setup_callback()
283 struct ntb_msi_desc *msi_desc) in ntbm_msi_request_threaded_irq() argument
286 struct msi_desc *entry; in ntbm_msi_request_threaded_irq()
302 if (ntb_msi_set_desc(ntb, entry, msi_desc)) { in ntbm_msi_request_threaded_irq()
307 ret = ntbm_msi_setup_callback(ntb, entry, msi_desc); in ntbm_msi_request_threaded_irq()
343 struct msi_desc *entry = irq_get_msi_desc(irq); in ntbm_msi_free_irq()