Lines Matching refs:reg_base
40 #define chan_num(ch) ((int)((ch)->reg_base - (ch)->device->reg_base) / 0x80)
76 void __iomem *reg_base; member
98 void __iomem *reg_base; member
228 status_lo = readl(chan->reg_base + IOAT_CHANSTS_OFFSET_LOW(ver)); in ioat_chansts_32()
229 status = readl(chan->reg_base + IOAT_CHANSTS_OFFSET_HIGH(ver)); in ioat_chansts_32()
245 status = readq(chan->reg_base + IOAT_CHANSTS_OFFSET(ver)); in ioat_chansts()
260 writeb(IOAT_CHANCMD_START, chan->reg_base + IOAT_CHANCMD_OFFSET(ver)); in ioat_start()
270 return readl(chan->reg_base + IOAT_CHANERR_OFFSET); in ioat_chanerr()
277 writeb(IOAT_CHANCMD_SUSPEND, chan->reg_base + IOAT_CHANCMD_OFFSET(ver)); in ioat_suspend()
284 writeb(IOAT_CHANCMD_RESET, chan->reg_base + IOAT_CHANCMD_OFFSET(ver)); in ioat_reset()
292 cmd = readb(chan->reg_base + IOAT_CHANCMD_OFFSET(ver)); in ioat_reset_pending()
301 chan->reg_base + IOAT1_CHAINADDR_OFFSET_LOW); in ioat_set_chainaddr()
303 chan->reg_base + IOAT1_CHAINADDR_OFFSET_HIGH); in ioat_set_chainaddr()