scripth
struct scripth *scripth0; /* relocated for this ncb. */
struct scripth *scripth; /* Actual scripth virt. address */
#define NCB_SCRIPTH_PHYS(np,lbl) (np->p_scripth + offsetof (struct scripth,lbl))
static void ncr_script_fill (struct script * scr, struct scripth * scripth);
#define PADDRH(label) (RELOC_LABELH | offsetof(struct scripth, label))
static struct scripth scripth0 __initdata = {
void __init ncr_script_fill (struct script * scr, struct scripth * scrh)
np->scripth->tryloop [qidx] = cpu_to_scr(NCB_SCRIPT_PHYS (np, idle));
np->scripth->tryloop [np->squeueput] = cpu_to_scr(CCB_PHYS (cp, start));
m_free_dma(np->scripth0, sizeof(struct scripth), "SCRIPTH");
np->scripth->done_queue[5*j + 4] =
np->scripth->done_queue[5*i + 4] =
dsp <= np->p_scripth + sizeof(struct scripth)) {
script_size = sizeof(struct scripth);
dsp <= np->p_scripth + sizeof(struct scripth)) {
np->scripth->nxtdsp_go_on[0] = cpu_to_scr(dsp + 8);
np->scripth0 = m_calloc_dma(sizeof(struct scripth), "SCRIPTH");
np->scripth = np->scripth0;
np->p_scripth = vtobus(np->scripth);
(ncrcmd *) np->scripth0, sizeof(struct scripth));
m_free_dma(np->scripth0, sizeof(struct scripth), "SCRIPTH");