Lines Matching refs:aa
77 struct puc_attach_args *aa = aux;
82 if (aa->type != PUC_PORT_TYPE_COM)
93 struct puc_attach_args *aa = aux;
100 iface = PCI_INTERFACE(pci_conf_read(aa->pc, aa->tag, PCI_CLASS_REG));
106 com_init_regs(&sc->sc_regs, aa->t, aa->h, aa->a);
107 sc->sc_frequency = aa->flags & PUC_COM_CLOCKMASK;
109 if (!aa->poll) {
110 intrstr = pci_intr_string(aa->pc, aa->intrhandle, intrbuf,
112 psc->sc_ih = pci_intr_establish_xname(aa->pc, aa->intrhandle,
133 if (aa->h < 0x10000)
134 aprint_normal("ioaddr 0x%04lx, ", aa->h);
136 if (!aa->poll)
142 if (aa->flags & (PUC_COM_SIIG10x|PUC_COM_SIIG20x)) {
145 if (aa->flags & PUC_PORT_USR3) usrregno = 3;
146 else if (aa->flags & PUC_PORT_USR2) usrregno = 2;
147 else if (aa->flags & PUC_PORT_USR1) usrregno = 1;
148 else /* (aa->flags & PUC_PORT_USR0) */ usrregno = 0;
150 if (aa->flags & PUC_COM_SIIG10x)
151 write_siig10x_usrreg(aa->pc, aa->tag, usrregno, 1);
153 write_siig20x_usrreg(aa->pc, aa->tag, usrregno, 1);