Lines Matching defs:cmd_head
320 struct i596_cmd *cmd_head;
454 cmd = lp->cmd_head;
600 lp->cmd_head = NULL;
829 while (lp->cmd_head != NULL) {
830 ptr = lp->cmd_head;
831 lp->cmd_head = ptr->v_next;
901 DEB(DEB_ADDCMD, printk(KERN_DEBUG "i596_add_cmd cmd_head %p\n",
902 lp->cmd_head));
912 if (lp->cmd_head != NULL) {
917 lp->cmd_head = cmd;
1170 while (lp->cmd_head != NULL) {
1171 dma_sync_cpu(dev, lp->cmd_head, sizeof(struct i596_cmd));
1172 if (!(lp->cmd_head->status & SWAP16(STAT_C)))
1175 ptr = lp->cmd_head;
1179 "cmd_head->status = %04x, ->command = %04x\n",
1180 SWAP16(lp->cmd_head->status),
1181 SWAP16(lp->cmd_head->command)));
1182 lp->cmd_head = ptr->v_next;
1261 ptr = lp->cmd_head;
1270 if (lp->cmd_head != NULL)
1272 dma->scb.cmd = SWAP32(virt_to_dma(lp, &lp->cmd_head->status));