Lines Matching refs:vs_csr0
129 vsaddr->vs_csr0 = cvec >> 2; /* Save the vector for use on next device */
137 if (vsaddr->vs_csr0 & VS_LNK_AVL)
139 vsaddr->vs_csr0 &= ~VS_LNK_TRNS;
140 vsaddr->vs_csr0 |= VS_IE; /* enable interrupts */
161 vsaddr->vs_csr0 |= (VS_IE | VS_XMIT_ON);
185 vsaddr->vs_csr0, vsaddr->vs_csr1, vsaddr->vs_csr2, vsaddr->vs_csr3,
252 vsaddr->vs_csr0, vsaddr->vs_csr1, vsaddr->vs_csr2, vsaddr->vs_csr3,
260 printf(", csr0 %x, csr1 %x", vsaddr->vs_csr0, vsaddr->vs_csr1);
332 vsaddr->vs_csr0 &= ~VS_FCN; /* clear bits */
333 vsaddr->vs_csr0 |= (VS_IE | (VS_SEND << VS_FCSHIFT) | VS_GO);
386 vsaddr->vs_csr0 &= ~VS_FCN; /* clear bits */
387 vsaddr->vs_csr0 |= (VS_IE | (VS_START << VS_FCSHIFT) | VS_GO);
398 vsaddr->vs_csr0 &= ~VS_FCN;
399 vsaddr->vs_csr0 |= (VS_IE | (VS_ABORT << VS_FCSHIFT) | VS_GO);
409 vsaddr->vs_csr0 &= ~VS_FCN;
410 vsaddr->vs_csr0 |= (VS_IE | (VS_PWRUP << VS_FCSHIFT) | VS_GO);
420 vsaddr->vs_csr0 &= ~VS_FCN;
422 vsaddr->vs_csr0 |= (VS_IE | (func << VS_FCSHIFT) | VS_GO);
432 vsaddr->vs_csr0 &= ~VS_XMIT_ON;
434 vsaddr->vs_csr0 |= (VS_IE | VS_XMIT_ON);
444 vsaddr->vs_csr0 &= ~VS_FCN;
446 vsaddr->vs_csr0 |= (VS_IE | (func << VS_FCSHIFT) | VS_GO);
485 vsaddr->vs_csr0, vsaddr->vs_csr1, vsaddr->vs_csr2, vsaddr->vs_csr3,
501 vsp->csr.csr_reg = vsaddr->vs_csr0;
506 vsaddr->vs_csr0 &= ~VS_OWN; /* clear owner bit */
509 vsaddr->vs_csr0 &= ~VS_LNK_TRNS; /* clear the bit */
531 while ((vsaddr->vs_csr0 & VS_LNK_TRNS) && i)
538 vsaddr->vs_csr0 &= ~VS_XMIT_ON;
556 vsaddr->vs_csr0 &= ~VS_FCN; /* clear bits */
557 vsaddr->vs_csr0 |= (VS_IE | (VS_SEND << VS_FCSHIFT) | VS_GO);
575 vsaddr->vs_csr0 &= ~VS_FCN; /* clear bits */
576 vsaddr->vs_csr0 |= (VS_IE | (VS_SEND << VS_FCSHIFT) | VS_GO);
766 vsaddr->vs_csr0 |= (VS_IE | VS_XMIT_ON); /* turn link on */
798 vsaddr->vs_csr0 &= ~VS_FCN;
799 vsaddr->vs_csr0 |= (VS_IE | (VS_INIT << VS_FCSHIFT) | VS_GO);
810 uprintf("vsInitDev %x %x\n",vsaddr->vs_csr0, vsaddr->vs_csr1);