Lines Matching refs:xe_device

15 static inline struct xe_device *to_xe_device(const struct drm_device *dev)  in to_xe_device()
17 return container_of(dev, struct xe_device, drm); in to_xe_device()
20 static inline struct xe_device *kdev_to_xe_device(struct device *kdev) in kdev_to_xe_device()
27 static inline struct xe_device *pdev_to_xe_device(struct pci_dev *pdev) in pdev_to_xe_device()
34 static inline struct xe_device *xe_device_const_cast(const struct xe_device *xe) in xe_device_const_cast()
36 return (struct xe_device *)xe; in xe_device_const_cast()
39 static inline struct xe_device *ttm_to_xe_device(struct ttm_device *ttm) in ttm_to_xe_device()
41 return container_of(ttm, struct xe_device, ttm); in ttm_to_xe_device()
44 struct xe_device *xe_device_create(struct pci_dev *pdev,
46 int xe_device_probe_early(struct xe_device *xe);
47 int xe_device_probe(struct xe_device *xe);
48 void xe_device_remove(struct xe_device *xe);
49 void xe_device_shutdown(struct xe_device *xe);
51 void xe_device_wmb(struct xe_device *xe);
58 static inline struct xe_tile *xe_device_get_root_tile(struct xe_device *xe) in xe_device_get_root_tile()
70 static inline struct xe_gt *xe_device_get_gt(struct xe_device *xe, u8 gt_id) in xe_device_get_gt()
112 static inline struct xe_gt *xe_root_mmio_gt(struct xe_device *xe) in xe_root_mmio_gt()
117 static inline bool xe_device_uc_enabled(struct xe_device *xe) in xe_device_uc_enabled()
143 void xe_device_assert_mem_access(struct xe_device *xe);
145 static inline bool xe_device_has_flat_ccs(struct xe_device *xe) in xe_device_has_flat_ccs()
150 static inline bool xe_device_has_sriov(struct xe_device *xe) in xe_device_has_sriov()
155 static inline bool xe_device_has_msix(struct xe_device *xe) in xe_device_has_msix()
160 static inline bool xe_device_has_memirq(struct xe_device *xe) in xe_device_has_memirq()
165 static inline bool xe_device_uses_memirq(struct xe_device *xe) in xe_device_uses_memirq()
170 static inline bool xe_device_has_lmtt(struct xe_device *xe) in xe_device_has_lmtt()
175 u32 xe_device_ccs_bytes(struct xe_device *xe, u64 size);
177 void xe_device_snapshot_print(struct xe_device *xe, struct drm_printer *p);
179 u64 xe_device_canonicalize_addr(struct xe_device *xe, u64 address);
180 u64 xe_device_uncanonicalize_addr(struct xe_device *xe, u64 address);
182 void xe_device_td_flush(struct xe_device *xe);
183 void xe_device_l2_flush(struct xe_device *xe);
185 static inline bool xe_device_wedged(struct xe_device *xe) in xe_device_wedged()
190 void xe_device_declare_wedged(struct xe_device *xe);