Lines Matching defs:idxd_device
164 struct idxd_device { struct
169 enum idxd_device_state state; argument
170 unsigned long flags;
171 int id;
172 int major;
173 u8 cmd_status;
175 struct pci_dev *pdev;
176 void __iomem *reg_base;
178 spinlock_t dev_lock; /* spinlock for device */
179 struct completion *cmd_done;
180 struct idxd_group *groups;
181 struct idxd_wq *wqs;
182 struct idxd_engine *engines;
184 int num_groups;
186 u32 msix_perm_offset;
187 u32 wqcfg_offset;
188 u32 grpcfg_offset;
189 u32 perfmon_offset;
191 u64 max_xfer_bytes;
192 u32 max_batch_size;
193 int max_groups;
194 int max_engines;
195 int max_tokens;
196 int max_wqs;
197 int max_wq_size;
198 int token_limit;
199 int nr_tokens; /* non-reserved tokens */
200 unsigned int wqcfg_size;
202 union sw_err_reg sw_err;
203 wait_queue_head_t cmd_waitq;
227 #define confdev_to_idxd(dev) container_of(dev, struct idxd_device, conf_dev) argument