Searched refs:sbdf (Results 1 – 9 of 9) sorted by relevance
/xen-4.10.0-shim-comet/tools/flask/utils/ |
A D | label-pci.c | 40 uint32_t sbdf; in main() local 58 sbdf = (seg << 16) | (bus << 8) | (dev << 3) | fn; in main() 71 ret = xc_flask_add_device(xch, sbdf, argv[2]); in main() 74 argv[1], sbdf, argv[2], ret); in main()
|
/xen-4.10.0-shim-comet/tools/python/xen/lowlevel/xc/ |
A D | xc.c | 519 int32_t sbdf = 0; in pyxc_test_assign_device() local 529 sbdf = seg << 16; in pyxc_test_assign_device() 540 sbdf = 0; in pyxc_test_assign_device() 552 int32_t sbdf = 0; in pyxc_assign_device() local 562 sbdf = seg << 16; in pyxc_assign_device() 573 sbdf = 0; in pyxc_assign_device() 585 int32_t sbdf = 0; in pyxc_deassign_device() local 595 sbdf = seg << 16; in pyxc_deassign_device() 606 sbdf = 0; in pyxc_deassign_device() 615 uint32_t sbdf; in pyxc_get_device_group() local [all …]
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | pci.h | 29 #define PCI_SEG(sbdf) (((sbdf) >> 16) & 0xffff) argument
|
/xen-4.10.0-shim-comet/tools/ocaml/libs/xc/ |
A D | xenctrl_stubs.c | 1153 uint32_t sbdf; in stub_xc_domain_test_assign_device() local 1159 sbdf = encode_sbdf(domain, bus, dev, func); in stub_xc_domain_test_assign_device() 1161 ret = xc_test_assign_device(_H(xch), _D(domid), sbdf); in stub_xc_domain_test_assign_device() 1176 uint32_t sbdf, flag; in stub_xc_domain_assign_device() local 1182 sbdf = encode_sbdf(domain, bus, dev, func); in stub_xc_domain_assign_device() 1187 ret = xc_assign_device(_H(xch), _D(domid), sbdf, flag); in stub_xc_domain_assign_device() 1199 uint32_t sbdf; in stub_xc_domain_deassign_device() local 1205 sbdf = encode_sbdf(domain, bus, dev, func); in stub_xc_domain_deassign_device() 1207 ret = xc_deassign_device(_H(xch), _D(domid), sbdf); in stub_xc_domain_deassign_device()
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/vtd/ |
A D | dmar.c | 882 u32 sbdf[MAX_USER_RMRR_DEV]; member 969 rmrr->scope.devices[idx] = user_rmrrs[i].sbdf[idx]; in add_user_rmrr() 970 seg |= PCI_SEG(user_rmrrs[i].sbdf[idx]); in add_user_rmrr() 972 if ( seg != PCI_SEG(user_rmrrs[i].sbdf[0]) ) in add_user_rmrr() 1134 seg = PCI_SEG(user_rmrrs[nr_rmrr].sbdf[0]); in parse_rmrr_param() 1138 user_rmrrs[nr_rmrr].sbdf[dev_count] = PCI_SBDF(seg, bus, dev, func); in parse_rmrr_param()
|
/xen-4.10.0-shim-comet/xen/common/compat/ |
A D | memory.c | 30 u32 sbdf = PCI_SBDF3(grdm->map.dev.pci.seg, grdm->map.dev.pci.bus, in get_reserved_device_memory() local 33 if ( !(grdm->map.flags & XENMEM_RDM_ALL) && (sbdf != id) ) in get_reserved_device_memory()
|
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/ |
A D | ioreq.c | 1186 uint32_t sbdf, x86_fam; in hvm_select_ioreq_server() local 1193 sbdf = XEN_DMOP_PCI_SBDF(0, bus, slot, func); in hvm_select_ioreq_server() 1196 addr = ((uint64_t)sbdf << 32) | reg; in hvm_select_ioreq_server()
|
/xen-4.10.0-shim-comet/xen/xsm/flask/ |
A D | hooks.c | 119 u32 sbdf = (dev->seg << 16) | (dev->bus << 8) | dev->devfn; in get_irq_sid() local 122 ad->device = sbdf; in get_irq_sid() 124 return security_device_sid(sbdf, sid); in get_irq_sid()
|
/xen-4.10.0-shim-comet/xen/common/ |
A D | memory.c | 941 u32 sbdf = PCI_SBDF3(grdm->map.dev.pci.seg, grdm->map.dev.pci.bus, in get_reserved_device_memory() local 944 if ( !(grdm->map.flags & XENMEM_RDM_ALL) && (sbdf != id) ) in get_reserved_device_memory()
|
Completed in 23 milliseconds