Home
last modified time | relevance | path

Searched refs:np (Results 1 – 12 of 12) sorted by relevance

/xen/xen/common/
A Ddevice_tree.c140 if ( !np ) in dt_find_property()
256 return np; in dt_find_node_by_name()
270 return np; in dt_find_node_by_type()
281 return np; in dt_find_node_by_path()
374 return np; in dt_find_compatible_node()
400 np = np->parent; in __dt_n_addr_cells()
417 np = np->parent; in __dt_n_size_cells()
1770 memset(np, 0, sizeof(*np)); in unflatten_dt_node()
1915 np->dev.of_node = np; in unflatten_dt_node()
1921 np->name = (np->name) ? : dt_get_property(np, "name", NULL); in unflatten_dt_node()
[all …]
/xen/xen/include/xen/
A Ddevice_tree.h118 struct dt_device_node *np; member
265 return (np && np->full_name) ? np->full_name : "<no-node>"; in dt_node_full_name()
270 return (np && np->name) ? np->name : "<no-node>"; in dt_node_name()
276 return !dt_node_cmp(np->name, name); in dt_node_name_is_equal()
282 return !dt_node_cmp(np->full_name, path); in dt_node_path_is_equal()
341 const void *dt_get_property(const struct dt_device_node *np,
356 bool_t dt_property_read_u32(const struct dt_device_node *np,
366 bool_t dt_property_read_u64(const struct dt_device_node *np,
400 int dt_property_read_string(const struct dt_device_node *np,
571 int dt_n_size_cells(const struct dt_device_node *np);
[all …]
A Diommu.h219 int iommu_add_dt_device(struct dt_device_node *np);
/xen/xen/drivers/passthrough/arm/
A Diommu.c52 struct dt_device_node *np, *tmp; in iommu_hardware_setup() local
56 dt_for_each_device_node(dt_host, np) in iommu_hardware_setup()
58 rc = device_init(np, DEVICE_IOMMU, NULL); in iommu_hardware_setup()
68 ASSERT(list_empty(&np->domain_list)); in iommu_hardware_setup()
74 list_add(&np->domain_list, &deferred_probe_list); in iommu_hardware_setup()
102 list_for_each_entry_safe ( np, tmp, &deferred_probe_list, domain_list ) in iommu_hardware_setup()
104 rc = device_init(np, DEVICE_IOMMU, NULL); in iommu_hardware_setup()
110 list_del_init(&np->domain_list); in iommu_hardware_setup()
A Dsmmu.c65 #define of_property_read_u32(np, pname, out) (!dt_property_read_u32(np, pname, out)) argument
785 master = find_smmu_master(smmu, masterspec->np); in register_smmu_master()
789 masterspec->np->name); in register_smmu_master()
796 MAX_MASTER_STREAMIDS, masterspec->np->name); in register_smmu_master()
804 master->of_node = masterspec->np; in register_smmu_master()
808 dt_device_set_protected(masterspec->np); in register_smmu_master()
817 masterspec->np->name, smmu->num_mapping_groups); in register_smmu_master()
2346 masterspec.np->name); in arm_smmu_device_dt_probe()
2455 struct device_node *np;
2464 if (!np)
[all …]
A Dipmmu-vmsa.c732 mmu = ipmmu_find_mmu_by_dev(dt_to_dev(args->np)); in ipmmu_init_platform_device()
764 struct dt_device_node *np; in ipmmu_stage2_supported() local
770 np = dt_find_compatible_node(NULL, NULL, "renesas,prr"); in ipmmu_stage2_supported()
771 if ( !np ) in ipmmu_stage2_supported()
777 if ( dt_device_get_address(np, 0, &addr, &size) ) in ipmmu_stage2_supported()
/xen/xen/drivers/passthrough/
A Ddevice_tree.c130 int iommu_add_dt_device(struct dt_device_node *np) in iommu_add_dt_device() argument
134 struct device *dev = dt_to_dev(np); in iommu_add_dt_device()
150 while ( !dt_parse_phandle_with_args(np, "iommus", "#iommu-cells", in iommu_add_dt_device()
169 if ( dt_device_is_protected(np) ) in iommu_add_dt_device()
175 if ( !dt_device_is_available(iommu_spec.np) ) in iommu_add_dt_device()
178 rc = iommu_fwspec_init(dev, &iommu_spec.np->dev); in iommu_add_dt_device()
/xen/xen/include/asm-x86/hvm/svm/
A Dvmcb.h393 bool np:1; /* 4: np_enable, h_cr3, g_pat */ member
617 VMCB_ACCESSORS(np_ctrl, np)
618 VMCB_ACCESSORS_(np_enable, bool, np)
619 VMCB_ACCESSORS_(sev_enable, bool, np)
620 VMCB_ACCESSORS_(sev_es_enable, bool, np)
621 VMCB_ACCESSORS_(gmet, bool, np)
622 VMCB_ACCESSORS_(vte, bool, np)
623 VMCB_ACCESSORS(h_cr3, np)
624 VMCB_ACCESSORS(g_pat, np)
/xen/xen/arch/x86/
A Ddomctl.c354 if ( (fp + np) <= fp || (fp + np) > MAX_IOPORTS ) in arch_do_domctl()
360 ret = ioports_permit_access(d, fp, fp + np - 1); in arch_do_domctl()
362 ret = ioports_deny_access(d, fp, fp + np - 1); in arch_do_domctl()
710 unsigned int np = domctl->u.ioport_mapping.nr_ports; in arch_do_domctl() local
724 if ( ((fgp | fmp | (np - 1)) >= MAX_IOPORTS) || in arch_do_domctl()
725 ((fgp + np) > MAX_IOPORTS) || ((fmp + np) > MAX_IOPORTS) ) in arch_do_domctl()
729 domctl->domain, fgp, fmp, np); in arch_do_domctl()
746 d->domain_id, fgp, fmp, np); in arch_do_domctl()
752 g2m_ioport->np = np; in arch_do_domctl()
766 g2m_ioport->np = np; in arch_do_domctl()
[all …]
/xen/xen/include/asm-x86/
A Diommu.h31 unsigned int np; member
/xen/xen/arch/x86/hvm/
A Dio.c185 end = start + g2m_ioport->np; in g2m_portio_accept()
/xen/xen/arch/x86/hvm/svm/
A Dnestedsvm.c640 if ( !clean.np ) in nsvm_vmcb_prepare4vmrun()

Completed in 31 milliseconds