Lines Matching defs:cmd_head
329 struct i596_cmd *cmd_head;
475 cmd = lp->cmd_head;
669 lp->cmd_head = lp->scb.cmd = I596_NULL;
881 while (lp->cmd_head != I596_NULL) {
882 ptr = lp->cmd_head;
883 lp->cmd_head = ptr->v_next;
951 if (lp->cmd_head != I596_NULL) {
955 lp->cmd_head = cmd;
1283 while ((lp->cmd_head != I596_NULL) && (lp->cmd_head->status & STAT_C)) {
1284 ptr = lp->cmd_head;
1286 DEB(DEB_STATUS,printk(KERN_DEBUG "cmd_head->status = %04x, ->command = %04x\n",
1287 lp->cmd_head->status, lp->cmd_head->command));
1288 lp->cmd_head = ptr->v_next;
1346 ptr = lp->cmd_head;
1352 if ((lp->cmd_head != I596_NULL))
1354 lp->scb.cmd = WSWAPcmd(virt_to_bus(&lp->cmd_head->status));