Lines Matching refs:cmd_head
321 struct i596_cmd *cmd_head; member
455 cmd = lp->cmd_head; in i596_display_data()
601 lp->cmd_head = NULL; in init_i596_mem()
830 while (lp->cmd_head != NULL) { in i596_cleanup_cmd()
831 ptr = lp->cmd_head; in i596_cleanup_cmd()
832 lp->cmd_head = ptr->v_next; in i596_cleanup_cmd()
903 lp->cmd_head)); in i596_add_cmd()
913 if (lp->cmd_head != NULL) { in i596_add_cmd()
918 lp->cmd_head = cmd; in i596_add_cmd()
1171 while (lp->cmd_head != NULL) { in i596_interrupt()
1172 dma_sync_cpu(dev, lp->cmd_head, sizeof(struct i596_cmd)); in i596_interrupt()
1173 if (!(lp->cmd_head->status & SWAP16(STAT_C))) in i596_interrupt()
1176 ptr = lp->cmd_head; in i596_interrupt()
1181 SWAP16(lp->cmd_head->status), in i596_interrupt()
1182 SWAP16(lp->cmd_head->command))); in i596_interrupt()
1183 lp->cmd_head = ptr->v_next; in i596_interrupt()
1262 ptr = lp->cmd_head; in i596_interrupt()
1271 if (lp->cmd_head != NULL) in i596_interrupt()
1273 dma->scb.cmd = SWAP32(virt_to_dma(lp, &lp->cmd_head->status)); in i596_interrupt()