Lines Matching refs:cmd_head
321 struct i596_cmd *cmd_head;
455 cmd = lp->cmd_head;
601 lp->cmd_head = NULL;
830 while (lp->cmd_head != NULL) {
831 ptr = lp->cmd_head;
832 lp->cmd_head = ptr->v_next;
902 DEB(DEB_ADDCMD, printk(KERN_DEBUG "i596_add_cmd cmd_head %p\n",
903 lp->cmd_head));
913 if (lp->cmd_head != NULL) {
918 lp->cmd_head = cmd;
1171 while (lp->cmd_head != NULL) {
1172 dma_sync_cpu(dev, lp->cmd_head, sizeof(struct i596_cmd));
1173 if (!(lp->cmd_head->status & SWAP16(STAT_C)))
1176 ptr = lp->cmd_head;
1180 "cmd_head->status = %04x, ->command = %04x\n",
1181 SWAP16(lp->cmd_head->status),
1182 SWAP16(lp->cmd_head->command)));
1183 lp->cmd_head = ptr->v_next;
1262 ptr = lp->cmd_head;
1271 if (lp->cmd_head != NULL)
1273 dma->scb.cmd = SWAP32(virt_to_dma(lp, &lp->cmd_head->status));