Lines Matching refs:device
37 #define to_dev(ioat_chan) (&(ioat_chan)->device->pdev->dev)
38 #define to_pdev(ioat_chan) ((ioat_chan)->device->pdev)
40 #define chan_num(ch) ((int)((ch)->reg_base - (ch)->device->reg_base) / 0x80)
88 void (*intr_quirk)(struct ioatdma_device *device);
89 int (*enumerate_channels)(struct ioatdma_device *device);
93 int (*self_test)(struct ioatdma_device *device);
113 struct ioatdma_device *device; member
201 struct device *dev = to_dev(chan); in __dump_desc_dbg()
214 ioat_chan_by_index(struct ioatdma_device *device, int index) in ioat_chan_by_index() argument
216 return device->idx[index]; in ioat_chan_by_index()
221 u8 ver = chan->device->version; in ioat_chansts_32()
240 u8 ver = chan->device->version; in ioat_chansts()
258 u8 ver = chan->device->version; in ioat_start()
275 u8 ver = chan->device->version; in ioat_suspend()
282 u8 ver = chan->device->version; in ioat_reset()
289 u8 ver = chan->device->version; in ioat_reset_pending()
332 int ioat_probe(struct ioatdma_device *device);
333 int ioat_register(struct ioatdma_device *device);
335 int ioat_dma_self_test(struct ioatdma_device *device);
336 void ioat_dma_remove(struct ioatdma_device *device);
339 void ioat_init_channel(struct ioatdma_device *device,
345 void ioat_kobject_add(struct ioatdma_device *device, struct kobj_type *type);
346 void ioat_kobject_del(struct ioatdma_device *device);
347 int ioat_dma_setup_interrupts(struct ioatdma_device *device);