6#ifndef ZEPHYR_INCLUDE_DRIVERS_INTEL_VTD_H_
7#define ZEPHYR_INCLUDE_DRIVERS_INTEL_VTD_H_
76 return api->
remap(dev, vector);
static int vtd_remap(const struct device *dev, msi_vector_t *vector)
Remap the given vector.
Definition: intel_vtd.h:70
int(* vtd_alloc_entries_f)(const struct device *dev, uint8_t n_entries)
Definition: intel_vtd.h:11
static int vtd_allocate_entries(const struct device *dev, uint8_t n_entries)
Allocate contiguous IRTEs.
Definition: intel_vtd.h:36
uint32_t(* vtd_remap_msi_f)(const struct device *dev, msi_vector_t *vector)
Definition: intel_vtd.h:14
static uint32_t vtd_remap_msi(const struct device *dev, msi_vector_t *vector)
Generate the MSI Message Address data for the given vector.
Definition: intel_vtd.h:53
int(* vtd_remap_f)(const struct device *dev, msi_vector_t *vector)
Definition: intel_vtd.h:17
__UINT32_TYPE__ uint32_t
Definition: stdint.h:60
__UINT8_TYPE__ uint8_t
Definition: stdint.h:58
Runtime device structure (in ROM) per driver instance.
Definition: device.h:367
const void * api
Definition: device.h:373
Definition: intel_vtd.h:20
vtd_alloc_entries_f allocate_entries
Definition: intel_vtd.h:21
vtd_remap_msi_f remap_msi
Definition: intel_vtd.h:22
vtd_remap_f remap
Definition: intel_vtd.h:23