Lines Matching refs:head

176 static __inline int sym_que_empty(struct sym_quehead *head)
178 return head->flink == head;
182 struct sym_quehead *head)
188 struct sym_quehead *at = head->flink;
190 first->blink = head;
191 head->flink = first;
205 #define sym_insque_head(new, head) __sym_que_add(new, head, (head)->flink)
207 static __inline struct sym_quehead *sym_remque_head(struct sym_quehead *head)
209 struct sym_quehead *elem = head->flink;
211 if (elem != head)
212 __sym_que_del(head, elem->flink);
218 #define sym_insque_tail(new, head) __sym_que_add(new, (head)->blink, head)
223 #define FOR_EACH_QUEUED_ELEMENT(head, qp) \
224 for (qp = (head)->flink; qp != (head); qp = qp->flink)
1098 /*0*/ struct sym_tcbh head;
1155 offsetof(struct sym_tcb, head.sval)) &3) == 0);
1157 offsetof(struct sym_tcb, head.wval)) &3) == 0);
1197 /*0*/ struct sym_lcbh head;
1289 #define actualquirks phys.head.status[0]
1290 #define host_status phys.head.status[1]
1291 #define ssss_status phys.head.status[2]
1292 #define host_flags phys.head.status[3]
1352 /*0*/ struct sym_ccbh head;
3286 tp->head.sval = 0;
3287 tp->head.wval = np->rv_scntl3;
3288 tp->head.uval = 0;
3565 sval = tp->head.sval;
3566 wval = tp->head.wval;
3567 uval = tp->head.uval;
3620 if (tp->head.sval == sval &&
3621 tp->head.wval == wval &&
3622 tp->head.uval == uval)
3624 tp->head.sval = sval;
3625 tp->head.wval = wval;
3626 tp->head.uval = uval;
3638 OUTB (nc_sxfer, tp->head.sval);
3639 OUTB (nc_scntl3, tp->head.wval);
3642 OUTB (nc_scntl4, tp->head.uval);
3652 cp->phys.select.sel_scntl3 = tp->head.wval;
3653 cp->phys.select.sel_sxfer = tp->head.sval;
3655 cp->phys.select.sel_scntl4 = tp->head.uval;
4786 cp->phys.head.savep = cpu_to_scr(startp);
4787 cp->phys.head.goalp = cpu_to_scr(startp + 16);
4788 cp->phys.head.lastp = cpu_to_scr(startp);
4798 cp->phys.head.go.start = cpu_to_scr(SCRIPTA_BA (np, select));
4971 np->abrt_sel.sel_scntl3 = tp->head.wval;
4972 np->abrt_sel.sel_sxfer = tp->head.sval;
5179 tp->head.sval = 0;
5180 tp->head.wval = np->rv_scntl3;
5181 tp->head.uval = 0;
5298 tmp = scr_to_cpu(cp->phys.head.goalp);
5404 dp_ret = cpu_to_scr(cp->phys.head.goalp);
5498 if (cp->phys.head.lastp == cp->phys.head.goalp)
5505 if (cp->startp == cp->phys.head.lastp ||
5506 sym_evaluate_dp(np, cp, scr_to_cpu(cp->phys.head.lastp),
6328 lp->head.resel_sa =
6350 lp->head.itl_task_sa = cpu_to_scr(cp->ccb_ba);
6351 lp->head.resel_sa =
6421 lp->head.itl_task_sa = cpu_to_scr(np->bad_itl_ba);
6428 lp->head.resel_sa =
6533 cp->phys.head.go.start = cpu_to_scr(SCRIPTA_BA (np, idle));
6534 cp->phys.head.go.restart = cpu_to_scr(SCRIPTB_BA (np, bad_i_t_l));
6603 tp->head.luntbl_sa = cpu_to_scr(vtobus(tp->luntbl));
6629 tp->head.lun0_sa = cpu_to_scr(vtobus(lp));
6635 lp->head.itl_task_sa = cpu_to_scr(np->bad_itl_ba);
6640 lp->head.resel_sa = cpu_to_scr(SCRIPTB_BA (np, resel_bad_lun));
6696 lp->head.itlq_tbl_sa = cpu_to_scr(vtobus(lp->itlq_tbl));
7280 if (cp->phys.head.lastp != cp->phys.head.goalp)
7568 cp->phys.head.go.start = cpu_to_scr(SCRIPTA_BA (np, select));
7569 cp->phys.head.go.restart = cpu_to_scr(SCRIPTA_BA (np, resel_dsa));
7575 cp->phys.select.sel_scntl3 = tp->head.wval;
7576 cp->phys.select.sel_sxfer = tp->head.sval;
7577 cp->phys.select.sel_scntl4 = tp->head.uval;
7707 cp->phys.head.lastp = cpu_to_scr(lastp);
7708 cp->phys.head.goalp = cpu_to_scr(goalp);
7709 cp->phys.head.savep = cpu_to_scr(lastp);
7710 cp->startp = cp->phys.head.savep;
8125 tp->head.sval = 0;
8126 tp->head.wval = np->rv_scntl3;
8127 tp->head.uval = 0;
8722 np->target[i].head.luntbl_sa =
8724 np->target[i].head.lun0_sa =