amdiommu_unit
struct amdiommu_unit *unit;
struct amdiommu_unit *unit;
amdiommu_cmd_emit(struct amdiommu_unit *unit, const struct
struct amdiommu_unit *unit;
struct amdiommu_unit *unit;
struct amdiommu_unit *unit;
amdiommu_qi_invalidate_ir_locked_nowait(struct amdiommu_unit *unit,
amdiommu_qi_invalidate_ir_locked(struct amdiommu_unit *unit, uint16_t devid)
struct amdiommu_unit *unit;
amdiommu_init_cmd(struct amdiommu_unit *unit)
amdiommu_fini_cmd(struct amdiommu_unit *unit)
amdiommu_enable_cmdbuf(struct amdiommu_unit *unit)
amdiommu_disable_cmdbuf(struct amdiommu_unit *unit)
struct amdiommu_unit *unit;
struct amdiommu_unit *unit;
struct amdiommu_unit *unit;
struct amdiommu_unit *unit;
amdiommu_domain_init_pglvl(struct amdiommu_unit *unit,
amdiommu_domain_alloc(struct amdiommu_unit *unit, bool id_mapped)
amdiommu_find_ctx_locked(struct amdiommu_unit *unit, uint16_t rid)
amdiommu_find_domain(struct amdiommu_unit *unit, uint16_t rid)
amdiommu_free_ctx_locked(struct amdiommu_unit *unit, struct amdiommu_ctx *ctx)
amdiommu_unref_domain_locked(struct amdiommu_unit *unit,
struct amdiommu_unit *unit;
struct amdiommu_unit *unit;
amdiommu_get_ctx_for_dev(struct amdiommu_unit *unit, device_t dev, uint16_t rid,
struct amdiommu_unit *unit;
struct amdiommu_unit *unit;
static void amdiommu_unref_domain_locked(struct amdiommu_unit *unit,
struct amdiommu_unit *unit;
amdiommu_find_unit_for_hpet(device_t hpet, struct amdiommu_unit **unitp,
struct amdiommu_unit *unit;
struct amdiommu_unit *unit;
struct amdiommu_unit *iommu;
amdiommu_print_one(struct amdiommu_unit *unit, bool show_domains,
struct amdiommu_unit *unit;
unit = (struct amdiommu_unit *)addr;
struct amdiommu_unit *unit;
struct amdiommu_unit *sc;
amdiommu_devtbl_sz(struct amdiommu_unit *sc __unused)
amdiommu_free_dev_tbl(struct amdiommu_unit *sc)
amdiommu_create_dev_tbl(struct amdiommu_unit *sc)
struct amdiommu_unit *unit;
amdiommu_setup_intr(struct amdiommu_unit *sc)
struct amdiommu_unit *sc;
sizeof(struct amdiommu_unit),
static struct amdiommu_unit *
struct amdiommu_unit *unit;
static TAILQ_HEAD(, amdiommu_unit) amdiommu_units =
amdiommu_dev_fetch_flagsp(struct amdiommu_unit *unit, device_t dev)
amdiommu_get_dev_prop_flags(struct amdiommu_unit *unit, device_t dev)
amdiommu_set_dev_prop_flags(struct amdiommu_unit *unit, device_t dev,
amdiommu_find_unit(device_t dev, struct amdiommu_unit **unitp, uint16_t *ridp,
struct amdiommu_unit *unit;
amdiommu_find_unit_for_ioapic(int apic_id, struct amdiommu_unit **unitp,
struct amdiommu_unit *unit;
amdiommu_event_log_tail(struct amdiommu_unit *unit)
if (idx == nitems(((struct amdiommu_unit *)NULL)->event_copy_log))
amdiommu_event_copy_log_hasspace(struct amdiommu_unit *unit)
amdiommu_event_intr(struct amdiommu_unit *unit, uint64_t status)
struct amdiommu_unit *unit;
amdiommu_init_event(struct amdiommu_unit *unit)
amdiommu_fini_event(struct amdiommu_unit *unit)
amdiommu_event_rearm_intr(struct amdiommu_unit *unit)
amdiommu_event_log_inc_head(struct amdiommu_unit *unit)
amdiommu_event_log_print(struct amdiommu_unit *unit,
struct amdiommu_unit *unit;
struct amdiommu_unit *unit;
struct amdiommu_unit *unit;
struct amdiommu_unit *unit;
struct amdiommu_unit *unit;
amdiommu_init_irt(struct amdiommu_unit *unit)
amdiommu_fini_irt(struct amdiommu_unit *unit)
__containerof((unit), struct amdiommu_unit, iommu)
amdiommu_read4(const struct amdiommu_unit *unit, int reg)
amdiommu_read8(const struct amdiommu_unit *unit, int reg)
amdiommu_write4(const struct amdiommu_unit *unit, int reg, uint32_t val)
amdiommu_write8(const struct amdiommu_unit *unit, int reg, uint64_t val)
int amdiommu_find_unit(device_t dev, struct amdiommu_unit **unitp,
int amdiommu_find_unit_for_ioapic(int apic_id, struct amdiommu_unit **unitp,
int amdiommu_find_unit_for_hpet(device_t hpet, struct amdiommu_unit **unitp,
int amdiommu_init_cmd(struct amdiommu_unit *unit);
void amdiommu_fini_cmd(struct amdiommu_unit *unit);
void amdiommu_event_intr(struct amdiommu_unit *unit, uint64_t status);
int amdiommu_init_event(struct amdiommu_unit *unit);
void amdiommu_fini_event(struct amdiommu_unit *unit);
int amdiommu_init_irt(struct amdiommu_unit *unit);
void amdiommu_fini_irt(struct amdiommu_unit *unit);
struct amdiommu_ctx *amdiommu_get_ctx_for_dev(struct amdiommu_unit *unit,
struct amdiommu_ctx *amdiommu_find_ctx_locked(struct amdiommu_unit *unit,
struct amdiommu_domain *amdiommu_find_domain(struct amdiommu_unit *unit,
void amdiommu_qi_invalidate_ir_locked(struct amdiommu_unit *unit,
void amdiommu_qi_invalidate_ir_locked_nowait(struct amdiommu_unit *unit,
struct amdiommu_unit;
struct amdiommu_unit *unit; /* (c) */
TAILQ_ENTRY(amdiommu_unit) unit_next;