/xen-4.10.0-shim-comet/xen/drivers/pci/ |
A D | pci.c | 11 int pci_find_cap_offset(u16 seg, u8 bus, u8 dev, u8 func, u8 cap) in pci_find_cap_offset() argument 33 else if ( id == cap ) in pci_find_cap_offset() 42 int pci_find_next_cap(u16 seg, u8 bus, unsigned int devfn, u8 pos, int cap) in pci_find_next_cap() argument 59 if ( id == cap ) in pci_find_next_cap() 76 int pci_find_ext_capability(int seg, int bus, int devfn, int cap) in pci_find_ext_capability() argument 78 return pci_find_next_ext_capability(seg, bus, devfn, 0, cap); in pci_find_ext_capability() 91 int pci_find_next_ext_capability(int seg, int bus, int devfn, int start, int cap) in pci_find_next_ext_capability() argument 105 ASSERT(start != pos || PCI_EXT_CAP_ID(header) == cap); in pci_find_next_ext_capability() 108 if ( PCI_EXT_CAP_ID(header) == cap && pos != start ) in pci_find_next_ext_capability()
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/ |
A D | alternative.h | 83 .macro alternative_insn insn1, insn2, cap, enable = 1 87 altinstruction_entry 661b, 663f, \cap, 662b-661b, 664f-663f 103 .macro alternative_if_not cap, enable = 1 106 altinstruction_entry 661f, 663f, \cap, 662f-661f, 664f-663f 140 #define _ALTERNATIVE_CFG(insn1, insn2, cap, cfg, ...) \ argument 141 alternative_insn insn1, insn2, cap, IS_ENABLED(cfg)
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/vtd/ |
A D | utils.c | 55 u64 cap; in print_iommu_regs() local 60 printk(" CAP = %"PRIx64"\n", cap = dmar_readq(iommu->reg, DMAR_CAP_REG)); in print_iommu_regs() 61 printk(" n_fault_reg = %"PRIx64"\n", cap_num_fault_regs(cap)); in print_iommu_regs() 62 printk(" fault_recording_offset = %"PRIx64"\n", cap_fault_reg_offset(cap)); in print_iommu_regs() 63 if ( cap_fault_reg_offset(cap) < PAGE_SIZE ) in print_iommu_regs() 66 dmar_readq(iommu->reg, cap_fault_reg_offset(cap))); in print_iommu_regs() 68 dmar_readq(iommu->reg, cap_fault_reg_offset(cap) + 8)); in print_iommu_regs() 202 cap_intr_post(iommu->cap) ? "" : "not "); in vtd_dump_iommu_info()
|
A D | iommu.c | 65 nr_dom = cap_ndoms(iommu->cap); in domain_iommu_domid() 92 nr_dom = cap_ndoms(iommu->cap); in context_set_domain_id() 128 nr_dom = cap_ndoms(iommu->cap); in context_get_domain_id() 451 if ( cap_read_drain(iommu->cap) ) in flush_iotlb_reg() 453 if ( cap_write_drain(iommu->cap) ) in flush_iotlb_reg() 527 if ( !cap_pgsel_inv(iommu->cap) ) in iommu_flush_iotlb_psi() 1218 sagaw = cap_sagaw(iommu->cap); in iommu_alloc() 1234 nr_dom = cap_ndoms(iommu->cap); in iommu_alloc() 1878 u64 ept_cap, vtd_cap = iommu->cap; in vtd_ept_page_compatible() 2255 if (cap_sps_2mb(iommu->cap)) in intel_vtd_setup() [all …]
|
A D | qinval.c | 340 if ( !cap_caching_mode(iommu->cap) ) in flush_context_qi() 370 if ( !cap_caching_mode(iommu->cap) ) in flush_iotlb_qi() 377 if (cap_write_drain(iommu->cap)) in flush_iotlb_qi() 379 if (cap_read_drain(iommu->cap)) in flush_iotlb_qi()
|
/xen-4.10.0-shim-comet/xen/arch/x86/cpu/ |
A D | common.c | 59 void __init setup_clear_cpu_cap(unsigned int cap) in setup_clear_cpu_cap() argument 64 if (__test_and_set_bit(cap, cleared_caps)) in setup_clear_cpu_cap() 67 if (test_bit(cap, forced_caps)) in setup_clear_cpu_cap() 69 __builtin_return_address(0), cap); in setup_clear_cpu_cap() 71 __clear_bit(cap, boot_cpu_data.x86_capability); in setup_clear_cpu_cap() 72 dfs = lookup_deep_deps(cap); in setup_clear_cpu_cap() 88 void __init setup_force_cpu_cap(unsigned int cap) in setup_force_cpu_cap() argument 90 if (__test_and_set_bit(cap, forced_caps)) in setup_force_cpu_cap() 93 if (test_bit(cap, cleared_caps)) { in setup_force_cpu_cap() 95 __builtin_return_address(0), cap); in setup_force_cpu_cap() [all …]
|
A D | amd.c | 232 #define LAZY(cap, msr, field) \ in amd_ctxt_switch_masking() argument 235 ((levelling_caps & cap) == cap)) \ in amd_ctxt_switch_masking()
|
/xen-4.10.0-shim-comet/tools/libxl/ |
A D | libxl_sched.c | 210 scinfo->cap = sdom.cap; in sched_credit_domain_get() 245 if (scinfo->cap != LIBXL_DOMAIN_SCHED_PARAM_CAP_DEFAULT) { in sched_credit_domain_set() 246 if (scinfo->cap < 0 in sched_credit_domain_set() 247 || scinfo->cap > (domaininfo.max_vcpu_id + 1) * 100) { in sched_credit_domain_set() 253 sdom.cap = scinfo->cap; in sched_credit_domain_set() 408 scinfo->cap = sdom.cap; in sched_credit2_domain_get() 443 if (scinfo->cap != LIBXL_DOMAIN_SCHED_PARAM_CAP_DEFAULT) { in sched_credit2_domain_set() 444 if (scinfo->cap < 0 in sched_credit2_domain_set() 445 || scinfo->cap > (info.max_vcpu_id + 1) * 100) { in sched_credit2_domain_set() 451 sdom.cap = scinfo->cap; in sched_credit2_domain_set()
|
/xen-4.10.0-shim-comet/xen/drivers/char/ |
A D | ehci-dbgp.c | 338 unsigned int cap; member 704 unsigned int cap; in find_dbgp() local 714 if ( !cap || ehci_num-- ) in find_dbgp() 725 return cap; in find_dbgp() 1035 u32 cap; in ehci_dbgp_bios_handoff() local 1045 if ( (cap & 0xff) == 1 && (cap & EHCI_USBLEGSUP_BIOS) ) in ehci_dbgp_bios_handoff() 1060 if ( cap & EHCI_USBLEGSUP_BIOS ) in ehci_dbgp_bios_handoff() 1311 dbgp->cap); in ehci_dbgp_init_preirq() 1473 dbgp->cap = find_dbgp(dbgp, num); in ehci_dbgp_init() 1474 if ( !dbgp->cap ) in ehci_dbgp_init() [all …]
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | pci.h | 160 int pci_find_cap_offset(u16 seg, u8 bus, u8 dev, u8 func, u8 cap); 161 int pci_find_next_cap(u16 seg, u8 bus, unsigned int devfn, u8 pos, int cap); 162 int pci_find_ext_capability(int seg, int bus, int devfn, int cap); 163 int pci_find_next_ext_capability(int seg, int bus, int devfn, int pos, int cap);
|
/xen-4.10.0-shim-comet/tools/xl/ |
A D | xl_sched.c | 159 scinfo.cap); in sched_credit_domain_output() 226 scinfo.cap); in sched_credit2_domain_output() 471 int weight = 256, cap = 0; in main_sched_credit() local 497 cap = strtol(optarg, NULL, 10); in main_sched_credit() 580 scinfo.cap = cap; in main_sched_credit() 596 int weight = 256, cap = 0; in main_sched_credit2() local 621 cap = strtol(optarg, NULL, 10); in main_sched_credit2() 687 scinfo.cap = cap; in main_sched_credit2()
|
A D | xl_tmem.c | 128 uint32_t weight = 0, cap = 0, compress = 0; in main_tmem_set() local 143 cap = strtol(optarg, NULL, 10); in main_tmem_set() 173 rc = libxl_tmem_set(ctx, domid, "cap", cap); in main_tmem_set()
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/amd/ |
A D | iommu_detect.c | 51 iommu->cap.header = pci_conf_read32(seg, bus, dev, func, cap_ptr); in get_iommu_capabilities() 52 type = get_field_from_reg_u32(iommu->cap.header, PCI_CAP_TYPE_MASK, in get_iommu_capabilities()
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/ |
A D | mce.h | 41 extern int vmce_enable_mca_cap(struct domain *d, uint64_t cap);
|
A D | amd-iommu.h | 88 iommu_cap_t cap; member
|
/xen-4.10.0-shim-comet/tools/xenstat/libxenstat/src/ |
A D | xenstat_netbsd.c | 79 static int read_attributes_vbd(const char *vbd_directory, const char *what, char *ret, int cap) in read_attributes_vbd() argument
|
A D | xenstat_linux.c | 388 static int read_attributes_vbd(const char *vbd_directory, const char *what, char *ret, int cap) in read_attributes_vbd() argument 397 num_read = read(fd, ret, cap - 1); in read_attributes_vbd()
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/ |
A D | pci.c | 338 u16 cap; in alloc_pdev() local 362 cap = pci_conf_read16(pseg->nr, bus, PCI_SLOT(devfn), in alloc_pdev() 364 if ( cap & PCI_EXP_DEVCAP_PHANTOM ) in alloc_pdev() 366 pdev->phantom_stride = 8 >> MASK_EXTR(cap, in alloc_pdev() 571 u16 cap, ctrl, seg = pdev->seg; in pci_enable_acs() local 583 cap = pci_conf_read16(seg, bus, dev, func, pos + PCI_ACS_CAP); in pci_enable_acs() 587 ctrl |= (cap & PCI_ACS_SV); in pci_enable_acs() 590 ctrl |= (cap & PCI_ACS_RR); in pci_enable_acs() 593 ctrl |= (cap & PCI_ACS_CR); in pci_enable_acs() 596 ctrl |= (cap & PCI_ACS_UF); in pci_enable_acs()
|
/xen-4.10.0-shim-comet/xen/arch/x86/cpu/mcheck/ |
A D | vmce.c | 551 int vmce_enable_mca_cap(struct domain *d, uint64_t cap) in vmce_enable_mca_cap() argument 555 if ( cap & ~XEN_HVM_MCA_CAP_MASK ) in vmce_enable_mca_cap() 558 if ( cap & XEN_HVM_MCA_CAP_LMCE ) in vmce_enable_mca_cap()
|
/xen-4.10.0-shim-comet/xen/common/ |
A D | sched_credit.c | 199 uint16_t cap; member 1200 op->u.credit.cap = sdom->cap; in csched_dom_cntl() 1213 if ( op->u.credit.cap != (uint16_t)~0U ) in csched_dom_cntl() 1214 sdom->cap = op->u.credit.cap; in csched_dom_cntl() 1452 if ( sdom->cap != 0U ) in csched_acct() 1454 credit_cap = ((sdom->cap * prv->credits_per_tslice) + 99) / 100; in csched_acct() 1522 if ( sdom->cap != 0U && in csched_acct() 2024 sdom->weight, sdom->cap); in csched_dump_vcpu()
|
A D | sched_credit2.c | 556 uint16_t cap; /* User specified cap */ member 2796 op->u.credit2.cap = sdom->cap; in csched2_dom_cntl() 2825 if ( op->u.credit2.cap != 0 ) in csched2_dom_cntl() 2831 if ( op->u.credit2.cap > 100 * sdom->nr_vcpus ) in csched2_dom_cntl() 2839 sdom->tot_budget = (CSCHED2_BDGT_REPL_PERIOD * op->u.credit2.cap); in csched2_dom_cntl() 2863 if ( sdom->cap == 0 ) in csched2_dom_cntl() 2930 sdom->cap = op->u.credit2.cap; in csched2_dom_cntl() 2932 else if ( sdom->cap != 0 ) in csched2_dom_cntl() 2949 sdom->cap = 0; in csched2_dom_cntl() 3028 sdom->cap = 0U; in csched2_alloc_domdata() [all …]
|
/xen-4.10.0-shim-comet/tools/python/xen/lowlevel/xc/ |
A D | xc.c | 1308 uint16_t cap; in pyxc_sched_credit_domain_set() local 1314 cap = (uint16_t)~0U; in pyxc_sched_credit_domain_set() 1316 &domid, &weight, &cap) ) in pyxc_sched_credit_domain_set() 1320 sdom.cap = cap; in pyxc_sched_credit_domain_set() 1342 "cap", sdom.cap); in pyxc_sched_credit_domain_get() 1351 uint16_t cap; in pyxc_sched_credit2_domain_set() local 1357 cap = 0; in pyxc_sched_credit2_domain_set() 1359 &domid, &weight, &cap) ) in pyxc_sched_credit2_domain_set() 1363 sdom.cap = cap; in pyxc_sched_credit2_domain_set() 1384 "weight", "cap", sdom.weight, sdom.cap); in pyxc_sched_credit2_domain_get()
|
/xen-4.10.0-shim-comet/tools/misc/ |
A D | xen-tmem-list-parse.c | 194 unsigned long cap = parse(s,"ca"); in parse_client() local 213 cli_id, weight, cap, compress?1:0, frozen?1:0, in parse_client()
|
/xen-4.10.0-shim-comet/unmodified_drivers/linux-2.6/compat-include/xen/ |
A D | platform-compat.h | 103 #define capable(cap) (1) argument
|
/xen-4.10.0-shim-comet/xen/include/public/ |
A D | domctl.h | 335 uint16_t cap; member 340 uint16_t cap; member
|