Lines Matching refs:api
74 const struct vtd_driver_api *api = in vtd_allocate_entries() local
75 (const struct vtd_driver_api *)dev->api; in vtd_allocate_entries()
77 return api->allocate_entries(dev, n_entries); in vtd_allocate_entries()
93 const struct vtd_driver_api *api = in vtd_remap_msi() local
94 (const struct vtd_driver_api *)dev->api; in vtd_remap_msi()
96 return api->remap_msi(dev, vector, n_vector); in vtd_remap_msi()
116 const struct vtd_driver_api *api = in vtd_remap() local
117 (const struct vtd_driver_api *)dev->api; in vtd_remap()
119 return api->remap(dev, irte_idx, vector, flags, src_id); in vtd_remap()
135 const struct vtd_driver_api *api = in vtd_set_irte_vector() local
136 (const struct vtd_driver_api *)dev->api; in vtd_set_irte_vector()
138 return api->set_irte_vector(dev, irte_idx, vector); in vtd_set_irte_vector()
152 const struct vtd_driver_api *api = in vtd_get_irte_by_vector() local
153 (const struct vtd_driver_api *)dev->api; in vtd_get_irte_by_vector()
155 return api->get_irte_by_vector(dev, vector); in vtd_get_irte_by_vector()
169 const struct vtd_driver_api *api = in vtd_get_irte_vector() local
170 (const struct vtd_driver_api *)dev->api; in vtd_get_irte_vector()
172 return api->get_irte_vector(dev, irte_idx); in vtd_get_irte_vector()
188 const struct vtd_driver_api *api = in vtd_set_irte_irq() local
189 (const struct vtd_driver_api *)dev->api; in vtd_set_irte_irq()
191 return api->set_irte_irq(dev, irte_idx, irq); in vtd_set_irte_irq()
205 const struct vtd_driver_api *api = in vtd_get_irte_by_irq() local
206 (const struct vtd_driver_api *)dev->api; in vtd_get_irte_by_irq()
208 return api->get_irte_by_irq(dev, irq); in vtd_get_irte_by_irq()
215 const struct vtd_driver_api *api = in vtd_set_irte_msi() local
216 (const struct vtd_driver_api *)dev->api; in vtd_set_irte_msi()
218 api->set_irte_msi(dev, irte_idx, msi); in vtd_set_irte_msi()
224 const struct vtd_driver_api *api = in vtd_irte_is_msi() local
225 (const struct vtd_driver_api *)dev->api; in vtd_irte_is_msi()
227 return api->irte_is_msi(dev, irte_idx); in vtd_irte_is_msi()