Searched refs:sc_ctl (Results 1 – 9 of 9) sorted by relevance
| /netbsd/src/sys/dev/bluetooth/ |
| D | bthidev.c | 82 struct l2cap_channel *sc_ctl; /* control channel */ member 381 if (sc->sc_ctl != NULL) { in bthidev_detach() 382 l2cap_disconnect_pcb(sc->sc_ctl, 0); in bthidev_detach() 383 l2cap_detach_pcb(&sc->sc_ctl); in bthidev_detach() 384 sc->sc_ctl = NULL; in bthidev_detach() 459 if (sc->sc_ctl != NULL) { in bthidev_timeout() 460 l2cap_disconnect_pcb(sc->sc_ctl, 0); in bthidev_timeout() 561 err = l2cap_attach_pcb(&sc->sc_ctl, &bthidev_ctl_proto, sc); in bthidev_connect() 567 err = l2cap_setopt(sc->sc_ctl, &sc->sc_mode); in bthidev_connect() 574 err = l2cap_bind_pcb(sc->sc_ctl, &sa); in bthidev_connect() [all …]
|
| D | btmagic.c | 141 struct l2cap_channel *sc_ctl; member 455 if (sc->sc_ctl != NULL) { in btmagic_detach() 456 l2cap_disconnect_pcb(sc->sc_ctl, 0); in btmagic_detach() 457 l2cap_detach_pcb(&sc->sc_ctl); in btmagic_detach() 458 sc->sc_ctl = NULL; in btmagic_detach() 557 err = l2cap_attach_pcb(&sc->sc_ctl, &btmagic_ctl_proto, sc); in btmagic_connect() 564 err = l2cap_setopt(sc->sc_ctl, &sc->sc_mode); in btmagic_connect() 572 err = l2cap_bind_pcb(sc->sc_ctl, &sa); in btmagic_connect() 581 err = l2cap_connect_pcb(sc->sc_ctl, &sa); in btmagic_connect() 737 if (sc->sc_ctl != NULL) { in btmagic_timeout() [all …]
|
| /netbsd/src/sys/arch/luna68k/dev/ |
| D | siotty.c | 89 struct sioreg *sc_ctl; member 178 sc->sc_ctl = &siosc->sc_ctl[channel]; in siotty_attach() 189 setsioreg(sc->sc_ctl, WR0, WR0_CHANRST); in siotty_attach() 190 setsioreg(&siosc->sc_ctl[0], WR2A, WR2A_VEC86 | WR2A_INTR_1); in siotty_attach() 191 setsioreg(&siosc->sc_ctl[1], WR2B, 0); in siotty_attach() 192 setsioreg(sc->sc_ctl, WR0, sc->sc_wr[WR0]); in siotty_attach() 193 setsioreg(sc->sc_ctl, WR4, sc->sc_wr[WR4]); in siotty_attach() 194 setsioreg(sc->sc_ctl, WR3, sc->sc_wr[WR3]); in siotty_attach() 195 setsioreg(sc->sc_ctl, WR5, sc->sc_wr[WR5]); in siotty_attach() 196 setsioreg(sc->sc_ctl, WR0, sc->sc_wr[WR0]); in siotty_attach() [all …]
|
| D | lunaws.c | 113 struct sioreg *sc_ctl; member 223 sc->sc_ctl = &siosc->sc_ctl[channel]; in wsattach() 232 setsioreg(sc->sc_ctl, WR0, sc->sc_wr[WR0]); in wsattach() 233 setsioreg(sc->sc_ctl, WR4, sc->sc_wr[WR4]); in wsattach() 234 setsioreg(sc->sc_ctl, WR3, sc->sc_wr[WR3]); in wsattach() 235 setsioreg(sc->sc_ctl, WR5, sc->sc_wr[WR5]); in wsattach() 236 setsioreg(sc->sc_ctl, WR0, sc->sc_wr[WR0]); in wsattach() 250 setsioreg(sc->sc_ctl, WR1, sc->sc_wr[WR1]); in wsattach() 280 struct sioreg *sio = sc->sc_ctl; in wsintr() 327 struct sioreg *sio = sc->sc_ctl; in wssoftintr() [all …]
|
| D | siovar.h | 47 struct sioreg *sc_ctl; member
|
| D | sio.c | 83 sc->sc_ctl = (void *)ma->ma_addr; in sio_attach()
|
| /netbsd/src/sys/arch/arm/cortex/ |
| D | a9ptmr.c | 59 uint32_t sc_ctl; member 145 sc->sc_ctl = a9ptmr_read(sc, TMR_CTL); in a9ptmr_attach() 163 sc->sc_ctl = TMR_CTL_INT_ENABLE | TMR_CTL_AUTO_RELOAD | TMR_CTL_ENABLE; in a9ptmr_attach() 164 sc->sc_ctl |= __SHIFTIN(sc->sc_prescaler - 1, TMR_CTL_PRESCALER); in a9ptmr_attach() 247 a9ptmr_write(sc, TMR_CTL, sc->sc_ctl); in a9ptmr_init_cpu_clock()
|
| /netbsd/src/sys/arch/sparc/dev/ |
| D | cgfourteen.c | 306 sc->sc_ctl = (struct cg14ctl *) (bh); in cgfourteenattach() 358 ver = sc->sc_ctl->ctl_rsr & CG14_RSR_REVMASK; in cgfourteenattach() 359 impl = sc->sc_ctl->ctl_rsr & CG14_RSR_IMPLMASK; in cgfourteenattach() 642 if ((sc->sc_ctl->ctl_rsr & CG14_RSR_REVMASK) > 0) in cg14_set_video() 643 sc->sc_ctl->ctl_mctl |= (CG14_MCTL_ENABLEVID | in cg14_set_video() 646 sc->sc_ctl->ctl_mctl |= CG14_MCTL_ENABLEVID; in cg14_set_video() 648 if ((sc->sc_ctl->ctl_rsr & CG14_RSR_REVMASK) > 0) in cg14_set_video() 649 sc->sc_ctl->ctl_mctl &= ~(CG14_MCTL_ENABLEVID | in cg14_set_video() 652 sc->sc_ctl->ctl_mctl &= ~CG14_MCTL_ENABLEVID; in cg14_set_video() 660 return ((sc->sc_ctl->ctl_mctl & CG14_MCTL_ENABLEVID) != 0); in cg14_get_video()
|
| D | cgfourteenvar.h | 110 struct cg14ctl *sc_ctl; /* various registers */ member
|