Lines Matching refs:ptrs
557 volatile amb_cq_ptrs * ptrs = &cq->ptrs; in command_do() local
570 my_slot = ptrs->in; in command_do()
576 *ptrs->in = *cmd; in command_do()
578 ptrs->in = NEXTQ (ptrs->in, ptrs->start, ptrs->limit); in command_do()
581 wr_mem (dev, offsetof(amb_mem, mb.adapter.cmd_address), virt_to_bus (ptrs->in)); in command_do()
593 while (ptrs->out != my_slot) { in command_do()
594 PRINTD (DBG_CMD, "wait: command slot (now at %p)", ptrs->out); in command_do()
600 while (ptrs->out->request != cpu_to_be32 (SRB_COMPLETE)) { in command_do()
611 *cmd = *ptrs->out; in command_do()
612 ptrs->out = NEXTQ (ptrs->out, ptrs->start, ptrs->limit); in command_do()
1562 cq->ptrs.start = cmd; in create_queues()
1563 cq->ptrs.in = cmd; in create_queues()
1564 cq->ptrs.out = cmd; in create_queues()
1565 cq->ptrs.limit = cmd + cmds; in create_queues()
1567 memory = cq->ptrs.limit; in create_queues()
1639 void * memory = dev->cq.ptrs.start; in destroy_queues()
1995 a.command_start = bus_addr (dev->cq.ptrs.start); in amb_talk()
1996 a.command_end = bus_addr (dev->cq.ptrs.limit); in amb_talk()