Lines Matching defs:idxd_device
314 struct idxd_device { struct
319 enum idxd_device_state state; argument
320 unsigned long flags;
321 int id;
322 int major;
323 u32 cmd_status;
324 struct idxd_irq_entry ie; /* misc irq, msix 0 */
326 struct pci_dev *pdev;
327 void __iomem *reg_base;
329 spinlock_t dev_lock; /* spinlock for device */
330 spinlock_t cmd_lock; /* spinlock for device commands */
331 struct completion *cmd_done;
332 struct idxd_group **groups;
333 struct idxd_wq **wqs;
334 struct idxd_engine **engines;
336 struct iommu_sva *sva;
337 unsigned int pasid;
339 int num_groups;
340 int irq_cnt;
341 bool request_int_handles;
343 u32 msix_perm_offset;
344 u32 wqcfg_offset;
345 u32 grpcfg_offset;
346 u32 perfmon_offset;
348 u64 max_xfer_bytes;
349 u32 max_batch_size;
350 int max_groups;
351 int max_engines;
352 int max_rdbufs;
353 int max_wqs;
354 int max_wq_size;
355 int rdbuf_limit;
379 static inline unsigned int evl_ent_size(struct idxd_device *idxd) in evl_ent_size() argument