Lines Matching defs:ioat_chan
45 struct ioatdma_chan *ioat_chan;
48 ioat_chan = container_of(kobj, struct ioatdma_chan, kobj);
52 return entry->show(&ioat_chan->dma_chan, page);
60 struct ioatdma_chan *ioat_chan;
63 ioat_chan = container_of(kobj, struct ioatdma_chan, kobj);
67 return entry->store(&ioat_chan->dma_chan, page, count);
81 struct ioatdma_chan *ioat_chan = to_ioat_chan(c);
85 err = kobject_init_and_add(&ioat_chan->kobj, type,
88 dev_warn(to_dev(ioat_chan),
90 kobject_put(&ioat_chan->kobj);
91 set_bit(IOAT_KOBJ_INIT_FAIL, &ioat_chan->state);
102 struct ioatdma_chan *ioat_chan = to_ioat_chan(c);
104 if (!test_bit(IOAT_KOBJ_INIT_FAIL, &ioat_chan->state)) {
105 kobject_del(&ioat_chan->kobj);
106 kobject_put(&ioat_chan->kobj);
113 struct ioatdma_chan *ioat_chan = to_ioat_chan(c);
115 return sprintf(page, "%d\n", (1 << ioat_chan->alloc_order) & ~1);
121 struct ioatdma_chan *ioat_chan = to_ioat_chan(c);
124 return sprintf(page, "%d\n", ioat_ring_active(ioat_chan));
130 struct ioatdma_chan *ioat_chan = to_ioat_chan(c);
132 return sprintf(page, "%d\n", ioat_chan->intr_coalesce);
139 struct ioatdma_chan *ioat_chan = to_ioat_chan(c);
145 ioat_chan->intr_coalesce = intr_coalesce;