Home
last modified time | relevance | path

Searched defs:dev (Results 1 – 25 of 73) sorted by relevance

123

/xen/xen/drivers/passthrough/
A Ddevice_tree.c29 int iommu_assign_dt_device(struct domain *d, struct dt_device_node *dev) in iommu_assign_dt_device()
60 int iommu_deassign_dt_device(struct domain *d, struct dt_device_node *dev) in iommu_deassign_dt_device()
86 static bool_t iommu_dt_device_is_assigned(const struct dt_device_node *dev) in iommu_dt_device_is_assigned()
110 struct dt_device_node *dev, *_dev; in iommu_release_dt_devices() local
134 struct device *dev = dt_to_dev(np); in iommu_add_dt_device() local
211 struct dt_device_node *dev; in iommu_do_dt_domctl() local
/xen/tools/libxl/
A Dlibxl_remus_disk_drbd.c56 static void drbd_setup(libxl__egc *egc, libxl__checkpoint_device *dev) in drbd_setup()
63 static void match_async_exec(libxl__egc *egc, libxl__checkpoint_device *dev) in match_async_exec()
109 libxl__checkpoint_device *dev = CONTAINER_OF(aodev, *dev, aodev); in match_async_exec_cb() local
144 static void drbd_teardown(libxl__egc *egc, libxl__checkpoint_device *dev) in drbd_teardown()
164 static void drbd_postsuspend(libxl__egc *egc, libxl__checkpoint_device *dev) in drbd_postsuspend()
182 static void drbd_preresume(libxl__egc *egc, libxl__checkpoint_device *dev) in drbd_preresume()
189 static void drbd_preresume_async(libxl__checkpoint_device *dev) in drbd_preresume_async()
208 libxl__checkpoint_device *dev = CONTAINER_OF(aodev, *dev, aodev); in checkpoint_async_call_done() local
A Dlibxl_colo_qdisk.c37 static void colo_qdisk_setup(libxl__egc *egc, libxl__checkpoint_device *dev, in colo_qdisk_setup()
107 static void colo_qdisk_teardown(libxl__egc *egc, libxl__checkpoint_device *dev, in colo_qdisk_teardown()
150 libxl__checkpoint_device *dev) in colo_qdisk_save_preresume()
194 libxl__checkpoint_device *dev) in colo_qdisk_save_setup()
200 libxl__checkpoint_device *dev) in colo_qdisk_save_teardown()
215 libxl__checkpoint_device *dev) in colo_qdisk_restore_setup()
221 libxl__checkpoint_device *dev) in colo_qdisk_restore_teardown()
A Dlibxl_colo_nic.c51 static const char *get_vifname(libxl__checkpoint_device *dev, in get_vifname()
85 static void setup_async_exec(libxl__checkpoint_device *dev, char *op, in setup_async_exec()
143 static void colo_nic_setup(libxl__egc *egc, libxl__checkpoint_device *dev, in colo_nic_setup()
190 libxl__checkpoint_device *dev = CONTAINER_OF(aodev, *dev, aodev); in colo_save_setup_script_cb() local
230 static void colo_nic_teardown(libxl__egc *egc, libxl__checkpoint_device *dev, in colo_nic_teardown()
273 static void colo_nic_save_setup(libxl__egc *egc, libxl__checkpoint_device *dev) in colo_nic_save_setup()
281 libxl__checkpoint_device *dev) in colo_nic_save_teardown()
297 libxl__checkpoint_device *dev) in colo_nic_restore_setup()
305 libxl__checkpoint_device *dev) in colo_nic_restore_teardown()
A Dlibxl_netbuffer.c117 static const char *get_vifname(libxl__checkpoint_device *dev, in get_vifname()
245 static void setup_async_exec(libxl__checkpoint_device *dev, char *op) in setup_async_exec()
301 static void nic_setup(libxl__egc *egc, libxl__checkpoint_device *dev) in nic_setup()
345 libxl__checkpoint_device *dev = CONTAINER_OF(aodev, *dev, aodev); in netbuf_setup_script_cb() local
411 static void nic_teardown(libxl__egc *egc, libxl__checkpoint_device *dev) in nic_teardown()
434 libxl__checkpoint_device *dev = CONTAINER_OF(aodev, *dev, aodev); in netbuf_teardown_script_cb() local
492 static void nic_postsuspend(libxl__egc *egc, libxl__checkpoint_device *dev) in nic_postsuspend()
505 static void nic_commit(libxl__egc *egc, libxl__checkpoint_device *dev) in nic_commit()
A Dlibxl_checkpoint_device.c40 libxl__checkpoint_device *dev = NULL; in checkpoint_device_init() local
108 libxl__checkpoint_device *dev = cds->devs[i]; in checkpoint_devices_setup() local
124 libxl__checkpoint_device *dev = CONTAINER_OF(aodev, *dev, aodev); in device_setup_iterate() local
188 libxl__checkpoint_device *dev; in libxl__checkpoint_devices_teardown() local
A Dlibxl_linux.c46 char *script, libxl__device *dev) in get_hotplug_env()
107 static int libxl__hotplug_nic(libxl__gc *gc, libxl__device *dev, in libxl__hotplug_nic()
163 static int libxl__hotplug_disk(libxl__gc *gc, libxl__device *dev, in libxl__hotplug_disk()
201 int libxl__get_hotplug_script_info(libxl__gc *gc, libxl__device *dev, in libxl__get_hotplug_script_info()
288 unsigned int dom, bus, dev, func; in libxl__pci_topology_init() local
A Dlibxl_freebsd.c85 static int libxl__hotplug_env_nic(libxl__gc *gc, libxl__device *dev, char ***env, in libxl__hotplug_env_nic()
112 static int libxl__hotplug_nic(libxl__gc *gc, libxl__device *dev, in libxl__hotplug_nic()
165 static int libxl__hotplug_disk(libxl__gc *gc, libxl__device *dev, in libxl__hotplug_disk()
195 int libxl__get_hotplug_script_info(libxl__gc *gc, libxl__device *dev, in libxl__get_hotplug_script_info()
A Dlibxl_netbsd.c35 static int libxl__hotplug(libxl__gc *gc, libxl__device *dev, char ***args, in libxl__hotplug()
63 int libxl__get_hotplug_script_info(libxl__gc *gc, libxl__device *dev, in libxl__get_hotplug_script_info()
A Dlibxl_nonetbuffer.c35 static void nic_setup(libxl__egc *egc, libxl__checkpoint_device *dev) in nic_setup()
A Dlibxl_device.c107 libxl__device *dev) in libxl__parse_backend_path()
123 int libxl__nic_type(libxl__gc *gc, libxl__device *dev, libxl_nic_type *nictype) in libxl__nic_type()
597 #define VDEV_IS_EXTENDED(dev) ((dev)&(EXTENDED)) in libxl__devid_to_vdev() argument
598 #define BLKIF_MINOR_EXT(dev) ((dev)&(~EXTENDED)) in libxl__devid_to_vdev() argument
729 int libxl__device_destroy(libxl__gc *gc, libxl__device *dev) in libxl__device_destroy()
791 libxl__device *dev; in libxl__devices_destroy() local
1471 libxl__device *dev; member
1508 libxl__device *dev) in search_for_device()
1553 libxl__device *dev) in add_device()
1607 libxl__device *dev = ddev->dev; in remove_device() local
[all …]
A Dlibxlu_pci.c26 unsigned int bus, unsigned int dev, in pcidev_struct_fill()
52 unsigned dom = INVALID, bus = INVALID, dev = INVALID, func = INVALID, vslot = 0; in xlu_pci_parse_bdf() local
/xen/xen/drivers/passthrough/arm/
A Diommu_fwspec.c32 int iommu_fwspec_init(struct device *dev, struct device *iommu_dev) in iommu_fwspec_init()
59 void iommu_fwspec_free(struct device *dev) in iommu_fwspec_free()
67 int iommu_fwspec_add_ids(struct device *dev, const uint32_t *ids, in iommu_fwspec_add_ids()
A Dipmmu-vmsa.c55 #define dev_name(dev) dt_node_full_name(dev_to_dt(dev)) argument
58 #define dev_print(dev, lvl, fmt, ...) \ argument
61 #define dev_info(dev, fmt, ...) \ argument
63 #define dev_warn(dev, fmt, ...) \ argument
65 #define dev_err(dev, fmt, ...) \ argument
67 #define dev_err_ratelimited(dev, fmt, ...) \ argument
111 struct device *dev; member
659 struct device *dev) in ipmmu_attach_device()
717 struct device *dev) in ipmmu_detach_device()
726 static int ipmmu_init_platform_device(struct device *dev, in ipmmu_init_platform_device()
[all …]
A Dsmmu.c133 #define dev_print(dev, lvl, fmt, ...) \ argument
141 #define dev_err_ratelimited(dev, fmt, ...) \ argument
184 #define to_pci_dev(dev) (NULL) argument
282 struct device *dev) in iommu_group_add_device()
612 struct device *dev; member
740 find_smmu_master_cfg(struct device *dev) in find_smmu_master_cfg()
779 struct device *dev, in register_smmu_master()
2271 struct device *dev = &pdev->dev; in arm_smmu_device_dt_probe() local
2547 struct device *dev) in arm_smmu_get_domain()
2580 struct device *dev, u32 flag) in arm_smmu_assign_dev()
[all …]
/xen/tools/xenstat/libxenstat/src/
A Dxenstat_solaris.c81 stdevice_t *dev; in gc_devs() local
101 stdevice_t *dev; in xenstat_uninit_devs() local
116 static int update_dev_stats(priv_data_t *priv, stdevice_t *dev) in update_dev_stats()
164 stdevice_t *dev; in init_dev() local
189 stdevice_t *dev; in update_nic() local
272 stdevice_t *dev; in xenstat_collect_networks() local
300 stdevice_t *dev; in update_xdb() local
382 stdevice_t *dev; in xenstat_collect_vbds() local
/xen/xen/drivers/passthrough/amd/
A Diommu_detect.c26 u16 seg, u8 bus, u8 dev, u8 func, struct amd_iommu *iommu) in get_iommu_msi_capabilities()
44 u16 seg, u8 bus, u8 dev, u8 func, u16 cap_ptr, struct amd_iommu *iommu) in get_iommu_capabilities()
136 u8 bus, dev, func; in amd_iommu_detect_one_acpi() local
/xen/xen/arch/arm/
A Ddevice.c28 int __init device_init(struct dt_device_node *dev, enum device_class class, in device_init()
72 enum device_class device_get_class(const struct dt_device_node *dev) in device_get_class()
/xen/xen/include/asm-arm/
A Diommu_fwspec.h47 static inline struct iommu_fwspec *dev_iommu_fwspec_get(struct device *dev) in dev_iommu_fwspec_get()
52 static inline void dev_iommu_fwspec_set(struct device *dev, in dev_iommu_fwspec_set()
A Ddevice.h29 #define dev_is_pci(dev) ((void)(dev), 0) argument
30 #define dev_is_dt(dev) ((dev->type == DEV_DT) argument
/xen/xen/arch/x86/
A Dmsi.c127 static bool memory_decoded(const struct pci_dev *dev) in memory_decoded()
140 static bool msix_memory_decoded(const struct pci_dev *dev, unsigned int pos) in msix_memory_decoded()
206 struct pci_dev *dev = entry->dev; in write_msi_msg() local
281 static void msi_set_enable(struct pci_dev *dev, int enable) in msi_set_enable()
294 static void msix_set_enable(struct pci_dev *dev, int enable) in msix_set_enable()
582 static struct msi_desc *find_msi_entry(struct pci_dev *dev, in find_msi_entry()
606 static int msi_capability_init(struct pci_dev *dev, in msi_capability_init()
768 static int msix_capability_init(struct pci_dev *dev, in msix_capability_init()
1033 struct pci_dev *dev; in __pci_disable_msi() local
1112 struct pci_dev *dev = entry->dev; in __pci_disable_msix() local
[all …]
A Dphysdev.c521 struct physdev_pci_device dev; in do_physdev_op() local
533 struct physdev_pci_device dev; in do_physdev_op() local
589 struct physdev_pci_device dev; in do_physdev_op() local
/xen/xen/include/asm-x86/
A Ddevice.h13 #define dev_is_pci(dev) ((void)(dev), 1) argument
/xen/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()
141 unsigned long seg = simple_strtoul(s, &s, 16), bus, dev, func; in parse_pci_seg() local
/xen/xen/drivers/char/
A Darm-uart.c42 struct dt_device_node *dev; in dt_uart_init() local

Completed in 54 milliseconds

123