Home
last modified time | relevance | path

Searched defs:seg (Results 1 – 25 of 63) sorted by relevance

123

/xen-4.10.0-shim-comet/xen/arch/x86/x86_64/
A Dpci.c15 unsigned int seg, unsigned int bus, unsigned int dev, unsigned int func, in pci_conf_read8()
33 unsigned int seg, unsigned int bus, unsigned int dev, unsigned int func, in pci_conf_read16()
51 unsigned int seg, unsigned int bus, unsigned int dev, unsigned int func, in pci_conf_read32()
69 unsigned int seg, unsigned int bus, unsigned int dev, unsigned int func, in pci_conf_write8()
82 unsigned int seg, unsigned int bus, unsigned int dev, unsigned int func, in pci_conf_write16()
95 unsigned int seg, unsigned int bus, unsigned int dev, unsigned int func, in pci_conf_write32()
A Dmmconfig_64.c29 static char __iomem *get_virt(unsigned int seg, unsigned int *bus) in get_virt()
48 static char __iomem *pci_dev_base(unsigned int seg, unsigned int bus, unsigned int devfn) in pci_dev_base()
58 int pci_mmcfg_read(unsigned int seg, unsigned int bus, in pci_mmcfg_read()
88 int pci_mmcfg_write(unsigned int seg, unsigned int bus, in pci_mmcfg_write()
178 bool_t pci_mmcfg_decode(unsigned long mfn, unsigned int *seg, in pci_mmcfg_decode()
200 bool_t pci_ro_mmcfg_decode(unsigned long mfn, unsigned int *seg, in pci_ro_mmcfg_decode()
/xen-4.10.0-shim-comet/xen/drivers/passthrough/
A Dpci.c76 static inline struct pci_seg *get_pseg(u16 seg) in get_pseg()
81 bool_t pci_known_segment(u16 seg) in pci_known_segment()
86 static struct pci_seg *alloc_pseg(u16 seg) in alloc_pseg()
113 u16 seg = 0; in pci_segments_iterate() local
135 int __init pci_add_segment(u16 seg) in pci_add_segment()
140 const unsigned long *pci_get_ro_map(u16 seg) in pci_get_ro_map()
148 u16 seg; member
156 unsigned int seg, bus, slot; in parse_phantom_dev() local
251 u16 seg = pdev->seg; in check_pdev() local
571 u16 cap, ctrl, seg = pdev->seg; in pci_enable_acs() local
[all …]
A Dats.h30 static inline int pci_ats_enabled(int seg, int bus, int devfn) in pci_ats_enabled()
43 static inline int pci_ats_device(int seg, int bus, int devfn) in pci_ats_device()
/xen-4.10.0-shim-comet/xen/drivers/passthrough/amd/
A Diommu_intr.c61 static spinlock_t* get_intremap_lock(int seg, int req_id) in get_intremap_lock()
68 static int get_intremap_requestor_id(int seg, int bdf) in get_intremap_requestor_id()
104 static u32 *get_intremap_entry(int seg, int bdf, int offset) in get_intremap_entry()
113 static void free_intremap_entry(int seg, int bdf, int offset) in free_intremap_entry()
234 u16 seg, bdf, req_id; in amd_iommu_setup_ioapic_remapping() local
307 int saved_mask, seg, bdf, rc; in amd_iommu_ioapic_update_ire() local
408 u16 seg = ioapic_sbdf[idx].seg; in amd_iommu_read_ioapic_from_ire() local
502 static struct amd_iommu *_find_iommu_for_device(int seg, int bdf) in _find_iommu_for_device()
523 int bdf, seg, rc; in amd_iommu_msi_msg_update_ire() local
583 u16 seg = pdev ? pdev->seg : hpet_sbdf.seg; in amd_iommu_read_msi_from_ire() local
[all …]
A Diommu_detect.c29 u16 seg, u8 bus, u8 dev, u8 func, struct amd_iommu *iommu) in get_iommu_msi_capabilities()
47 u16 seg, u8 bus, u8 dev, u8 func, u16 cap_ptr, struct amd_iommu *iommu) in get_iommu_capabilities()
A Diommu_acpi.c89 u16 seg, u16 bdf, u16 cap_offset) in find_iommu_from_bdf_cap()
127 u16 seg, u16 bdf, unsigned long base, in reserve_unity_map_for_device()
157 int seg = 0; /* XXX */ in register_exclusion_range_for_all_devices() local
191 int seg = 0; /* XXX */ in register_exclusion_range_for_device() local
324 int seg = 0; /* XXX */ in parse_ivmd_device_iommu() local
639 unsigned int seg, bus, dev, func; in parse_ivrs_ioapic() local
677 unsigned int seg, bus, dev, func; in parse_ivrs_hpet() local
700 const struct acpi_ivrs_device8c *special, u16 seg, in parse_ivhd_device_special()
A Diommu_init.c1076 struct ivrs_mappings *get_ivrs_mappings(u16 seg) in get_ivrs_mappings()
1081 int iterate_ivrs_mappings(int (*handler)(u16 seg, struct ivrs_mappings *)) in iterate_ivrs_mappings()
1083 u16 seg = 0; in iterate_ivrs_mappings() local
1098 int iterate_ivrs_entries(int (*handler)(u16 seg, struct ivrs_mappings *)) in iterate_ivrs_entries()
1100 u16 seg = 0; in iterate_ivrs_entries() local
1117 static int __init alloc_ivrs_mappings(u16 seg) in alloc_ivrs_mappings()
1156 u16 seg, struct ivrs_mappings *ivrs_mappings) in amd_iommu_setup_device_table()
1336 u16 seg, struct ivrs_mappings *ivrs_mappings) in _invalidate_all_devices()
A Dpci_amd_iommu.c32 struct amd_iommu *find_iommu_for_device(int seg, int bdf) in find_iommu_for_device()
72 int get_dma_requestor_id(u16 seg, u16 bdf) in get_dma_requestor_id()
518 static int amd_iommu_group_id(u16 seg, u8 bus, u8 devfn) in amd_iommu_group_id()
/xen-4.10.0-shim-comet/xen/drivers/pci/
A Dpci.c11 int pci_find_cap_offset(u16 seg, u8 bus, u8 dev, u8 func, u8 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()
76 int pci_find_ext_capability(int seg, int bus, int devfn, int 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()
131 unsigned long seg = simple_strtoul(s, &s, 16), bus, dev, func; in parse_pci_seg() local
/xen-4.10.0-shim-comet/xen/drivers/passthrough/x86/
A Dats.c26 u16 seg = pdev->seg; in enable_ats_device() local
79 u16 seg = pdev->seg; in disable_ats_device() local
/xen-4.10.0-shim-comet/tools/firmware/rombios/32bit/
A Drombios_compat.h9 #define ADDR_FROM_SEG_OFF(seg, off) (void *)((((uint32_t)(seg)) << 4) + (off)) argument
59 static inline Bit32u read_dword(Bit16u seg, Bit16u off) in read_dword()
65 static inline Bit16u read_word(Bit16u seg, Bit16u off) in read_word()
71 static inline Bit8u read_byte(Bit16u seg, Bit16u off) in read_byte()
77 static inline void write_dword(Bit16u seg, Bit16u off, Bit32u val) in write_dword()
83 static inline void write_word(Bit16u seg, Bit16u off, Bit16u val) in write_word()
89 static inline void write_byte(Bit16u seg, Bit16u off, Bit8u val) in write_byte()
/xen-4.10.0-shim-comet/xen/arch/x86/
A Dmsi.c202 u16 data, seg = dev->seg; in read_msi_msg() local
267 u16 seg = dev->seg; in write_msi_msg() local
337 void __msi_set_enable(u16 seg, u8 bus, u8 slot, u8 func, int pos, int enable) in __msi_set_enable()
350 u16 seg = dev->seg; in msi_set_enable() local
363 u16 control, seg = dev->seg; in msix_set_enable() local
390 u16 seg, control; in msi_set_mask_bit() local
692 u16 control, seg = dev->seg; in msi_capability_init() local
849 u16 seg = dev->seg; in msix_capability_init() local
1153 u16 seg = dev->seg; in __pci_disable_msix() local
1191 int pci_prepare_msix(u16 seg, u8 bus, u8 devfn, bool off) in pci_prepare_msix()
[all …]
A Dpci.c72 int pci_conf_write_intercept(unsigned int seg, unsigned int bdf, in pci_conf_write_intercept()
A Dvm_event.c128 struct segment_register seg; in vm_event_fill_regs() local
/xen-4.10.0-shim-comet/tools/tests/x86_emulator/
A Dtest_x86_emulator.c153 enum x86_segment seg, in read()
208 enum x86_segment seg, in fetch()
222 enum x86_segment seg, in write()
238 enum x86_segment seg, in cmpxchg()
255 enum x86_segment seg, in read_segment()
/xen-4.10.0-shim-comet/tools/blktap2/lvm/
A Dlvm-util.c170 lvm_parse_lv_devices(struct vg *vg, struct lv_segment *seg, char *devices) in lvm_parse_lv_devices()
219 struct lv_segment seg; in lvm_scan_lvs() local
317 struct lv_segment *seg; in main() local
/xen-4.10.0-shim-comet/tools/fuzz/x86_instruction_emulator/
A Dfuzz-emul.c121 enum x86_segment seg, in data_read()
158 enum x86_segment seg, in fuzz_read()
191 enum x86_segment seg, in fuzz_insn_fetch()
313 enum x86_segment seg, in fuzz_rep_stos()
330 enum x86_segment seg, in fuzz_write()
344 enum x86_segment seg, in fuzz_cmpxchg()
364 enum x86_segment seg, in fuzz_invlpg()
391 enum x86_segment seg, in fuzz_read_segment()
406 enum x86_segment seg, in fuzz_write_segment()
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/
A Demulate.c756 enum x86_segment seg, in hvmemul_virtual_to_linear()
1026 enum x86_segment seg, in __hvmemul_read()
1082 enum x86_segment seg, in hvmemul_read()
1100 enum x86_segment seg, in hvmemul_insn_fetch()
1147 enum x86_segment seg, in hvmemul_write()
1191 enum x86_segment seg, in hvmemul_write_discard()
1226 enum x86_segment seg, in hvmemul_rep_stos_discard()
1247 enum x86_segment seg, in hvmemul_cmpxchg_discard()
1290 enum x86_segment seg, in hvmemul_cmpxchg()
1577 enum x86_segment seg, in hvmemul_rep_stos()
[all …]
A Ddomain.c27 static int check_segment(struct segment_register *reg, enum x86_segment seg) in check_segment()
/xen-4.10.0-shim-comet/xen/arch/x86/pv/
A Dro-page-fault.c51 static int ptwr_emulated_read(enum x86_segment seg, unsigned long offset, in ptwr_emulated_read()
199 static int ptwr_emulated_write(enum x86_segment seg, unsigned long offset, in ptwr_emulated_write()
217 static int ptwr_emulated_cmpxchg(enum x86_segment seg, unsigned long offset, in ptwr_emulated_cmpxchg()
A Demul-gate-op.c120 static int read_mem(enum x86_segment seg, unsigned long offset, void *p_data, in read_mem()
256 enum x86_segment seg; in pv_emulate_gate_op() local
A Demul-priv-op.c451 static int read_segment(enum x86_segment seg, in read_segment()
540 enum x86_segment seg, in pv_emul_virt_to_linear()
566 enum x86_segment seg, unsigned long offset, in rep_ins()
632 static int rep_outs(enum x86_segment seg, unsigned long offset, in rep_outs()
1266 static int insn_fetch(enum x86_segment seg, in insn_fetch()
/xen-4.10.0-shim-comet/xen/include/public/io/
A Dvscsiif.h284 vscsiif_segment_t seg[VSCSIIF_SG_TABLESIZE]; member
300 vscsiif_segment_t seg[VSCSIIF_SG_LIST_SIZE]; member
/xen-4.10.0-shim-comet/tools/flask/utils/
A Dlabel-pci.c39 int seg, bus, dev, fn; in main() local

Completed in 41 milliseconds

123