Lines Matching refs:reg_control
60 iowrite32(cmd_q->qcontrol | CMD_Q_RUN, cmd_q->reg_control); in pt_start_queue()
66 iowrite32(cmd_q->qcontrol & ~CMD_Q_RUN, cmd_q->reg_control); in pt_stop_queue()
91 iowrite32(tail, cmd_q->reg_control + 0x0004); in pt_core_execute_cmd()
138 iowrite32(tail, cmd_q->reg_control + 0x0008); in pt_do_cmd_complete()
148 status = ioread32(cmd_q->reg_control + 0x0010); in pt_check_status_trans()
151 cmd_q->q_status = ioread32(cmd_q->reg_control + 0x0100); in pt_check_status_trans()
152 cmd_q->q_int_status = ioread32(cmd_q->reg_control + 0x0104); in pt_check_status_trans()
159 iowrite32(status, cmd_q->reg_control + 0x0010); in pt_check_status_trans()
219 cmd_q->reg_control = pt->io_regs + CMD_Q_STATUS_INCR; in pt_core_init()
225 iowrite32(cmd_q->qcontrol, cmd_q->reg_control); in pt_core_init()
227 ioread32(cmd_q->reg_control + 0x0104); in pt_core_init()
228 ioread32(cmd_q->reg_control + 0x0100); in pt_core_init()
231 iowrite32(SUPPORTED_INTERRUPTS, cmd_q->reg_control + 0x0010); in pt_core_init()
246 iowrite32((u32)dma_addr_lo, cmd_q->reg_control + 0x0004); in pt_core_init()
247 iowrite32((u32)dma_addr_lo, cmd_q->reg_control + 0x0008); in pt_core_init()
251 iowrite32(cmd_q->qcontrol, cmd_q->reg_control); in pt_core_init()
293 iowrite32(SUPPORTED_INTERRUPTS, cmd_q->reg_control + 0x0010); in pt_core_destroy()
294 ioread32(cmd_q->reg_control + 0x0104); in pt_core_destroy()
295 ioread32(cmd_q->reg_control + 0x0100); in pt_core_destroy()