Lines Matching defs:cmd_head
328 struct i596_cmd *cmd_head;
474 cmd = lp->cmd_head;
668 lp->cmd_head = lp->scb.cmd = I596_NULL;
880 while (lp->cmd_head != I596_NULL) {
881 ptr = lp->cmd_head;
882 lp->cmd_head = ptr->v_next;
950 if (lp->cmd_head != I596_NULL) {
954 lp->cmd_head = cmd;
1272 while ((lp->cmd_head != I596_NULL) && (lp->cmd_head->status & STAT_C)) {
1273 ptr = lp->cmd_head;
1275 DEB(DEB_STATUS,printk(KERN_DEBUG "cmd_head->status = %04x, ->command = %04x\n",
1276 lp->cmd_head->status, lp->cmd_head->command));
1277 lp->cmd_head = ptr->v_next;
1335 ptr = lp->cmd_head;
1341 if ((lp->cmd_head != I596_NULL))
1343 lp->scb.cmd = WSWAPcmd(virt_to_bus(&lp->cmd_head->status));