Home
last modified time | relevance | path

Searched refs:hw_cap (Results 1 – 9 of 9) sorted by relevance

/NextBSD/sys/x86/iommu/
HDintel_utils.c112 if ((DMAR_CAP_SAGAW(unit->hw_cap) & sagaw_bits[i].cap) != 0) in dmar_pglvl_supported()
124 sagaw = DMAR_CAP_SAGAW(domain->dmar->hw_cap); in domain_set_agaw()
153 (DMAR_CAP_SAGAW(unit->hw_cap) & sagaw_bits[i].cap) != 0) in dmar_maxaddr2mgaw()
159 } while ((DMAR_CAP_SAGAW(unit->hw_cap) & sagaw_bits[i].cap) in dmar_maxaddr2mgaw()
202 cap_sps = DMAR_CAP_SPS(domain->dmar->hw_cap); in domain_is_sp_lvl()
240 for (am = DMAR_CAP_MAMV(unit->hw_cap);; am--) { in calc_am()
485 KASSERT((unit->hw_cap & DMAR_CAP_RWBF) != 0, in dmar_flush_write_bufs()
HDintel_drv.c378 caphi = unit->hw_cap >> 32; in dmar_print_caps()
379 device_printf(dev, "cap=%b,", (u_int)unit->hw_cap, in dmar_print_caps()
383 DMAR_CAP_ND(unit->hw_cap), DMAR_CAP_SAGAW(unit->hw_cap), in dmar_print_caps()
384 DMAR_CAP_MGAW(unit->hw_cap), DMAR_CAP_FRO(unit->hw_cap), in dmar_print_caps()
385 DMAR_CAP_NFR(unit->hw_cap), DMAR_CAP_SPS(unit->hw_cap)); in dmar_print_caps()
386 if ((unit->hw_cap & DMAR_CAP_PSI) != 0) in dmar_print_caps()
387 printf(", mamv=%d", DMAR_CAP_MAMV(unit->hw_cap)); in dmar_print_caps()
421 unit->hw_cap = dmar_read8(unit, DMAR_CAP_REG); in dmar_attach()
460 unit->domids = new_unrhdr(0, dmar_nd2mask(DMAR_CAP_ND(unit->hw_cap)), in dmar_attach()
471 if ((unit->hw_cap & DMAR_CAP_CM) != 0) in dmar_attach()
[all …]
HDintel_fault.c141 frir = (DMAR_CAP_FRO(unit->hw_cap) + fri) * 16; in dmar_fault_intr()
159 if (fri >= DMAR_CAP_NFR(unit->hw_cap)) in dmar_fault_intr()
250 for (i = 0; i < DMAR_CAP_NFR(unit->hw_cap); i++) { in dmar_clear_faults()
251 frir = (DMAR_CAP_FRO(unit->hw_cap) + i) * 16; in dmar_clear_faults()
HDintel_quirks.c151 unit->hw_cap &= ~(DMAR_CAP_PHMR | DMAR_CAP_PLMR); in nb_5400_no_low_high_prot_mem()
208 unit->hw_cap &= ~(0x3fULL << 48); in cpu_e5_am9()
209 unit->hw_cap |= (9ULL << 48); in cpu_e5_am9()
HDintel_idpgtbl.c262 if ((unit->hw_cap & DMAR_CAP_RWBF) != 0) { in domain_get_idmap_pgtbl()
547 if ((unit->hw_cap & DMAR_CAP_CM) != 0) in domain_map_buf()
549 else if ((unit->hw_cap & DMAR_CAP_RWBF) != 0) { in domain_map_buf()
770 if ((unit->hw_cap & DMAR_CAP_PSI) == 0 || size > 2 * 1024 * 1024) { in domain_flush_iotlb_sync()
HDintel_qi.c372 if (!DMAR_HAS_QI(unit) || (unit->hw_cap & DMAR_CAP_CM) != 0) in dmar_init_qi()
HDintel_dmar.h187 uint64_t hw_cap; member
HDintel_ctx.c189 if ((dmar->hw_cap & DMAR_CAP_CM) == 0 && !force) in dmar_flush_for_ctx_entry()
/NextBSD/sys/xen/interface/
HDsysctl.h107 uint32_t hw_cap[8]; member