Lines Matching defs:xe
40 struct xe_device *xe = pdev_to_xe_device(pdev);
42 return sysfs_emit(buf, "%d\n", xe->d3cold.vram_threshold);
50 struct xe_device *xe = pdev_to_xe_device(pdev);
58 drm_dbg(&xe->drm, "vram_d3cold_threshold: %u\n", vram_d3cold_threshold);
60 xe_pm_runtime_get(xe);
61 ret = xe_pm_set_vram_threshold(xe, vram_d3cold_threshold);
62 xe_pm_runtime_put(xe);
81 struct xe_device *xe = pdev_to_xe_device(to_pci_dev(dev));
82 struct xe_tile *root = xe_device_get_root_tile(xe);
87 xe_pm_runtime_get(xe);
111 xe_pm_runtime_put(xe);
120 struct xe_device *xe = pdev_to_xe_device(to_pci_dev(dev));
121 struct xe_tile *root = xe_device_get_root_tile(xe);
126 xe_pm_runtime_get(xe);
150 xe_pm_runtime_put(xe);
166 struct xe_device *xe = pdev_to_xe_device(to_pci_dev(dev));
167 struct xe_tile *root = xe_device_get_root_tile(xe);
233 struct xe_device *xe = pdev_to_xe_device(pdev);
236 xe_pm_runtime_get(xe);
237 val = xe_mmio_read32(xe_root_tile_mmio(xe), BMG_PCIE_CAP);
238 xe_pm_runtime_put(xe);
249 struct xe_device *xe = pdev_to_xe_device(pdev);
254 xe_pm_runtime_get(xe);
255 ret = xe_pcode_read(xe_device_get_root_tile(xe),
258 xe_pm_runtime_put(xe);
274 int xe_device_sysfs_init(struct xe_device *xe)
276 struct device *dev = xe->drm.dev;
279 if (xe->d3cold.capable) {
285 if (xe->info.platform == XE_BATTLEMAGE && !IS_SRIOV_VF(xe)) {