Searched refs:sc_accessops (Results 1 – 10 of 10) sorted by relevance
| /netbsd-src/sys/dev/hpc/ |
| H A D | hpcfb.c | 155 const struct hpcfb_accessops *sc_accessops; member 298 sc->sc_accessops = ha->ha_accessops; in hpcfbattach() 312 if (sc->sc_accessops->setclut) in hpcfbattach() 313 sc->sc_accessops->setclut(sc->sc_accessctx, in hpcfbattach() 601 if (sc && sc->sc_accessops->iodone) in hpcfb_ioctl() 602 (*sc->sc_accessops->iodone)(sc->sc_accessctx); in hpcfb_ioctl() 617 return ((*sc->sc_accessops->ioctl)(sc->sc_accessctx, in hpcfb_ioctl() 636 return ((*sc->sc_accessops->mmap)(sc->sc_accessctx, offset, prot)); in hpcfb_mmap() 741 if (sc->sc_accessops->font) { in hpcfb_alloc_screen() 742 sc->sc_accessops->font(sc->sc_accessctx, in hpcfb_alloc_screen() [all …]
|
| /netbsd-src/sys/dev/ic/ |
| H A D | mcp23xxxgpio.c | 113 error = sc->sc_accessops->lock(sc); in mcpgpio__lock() 127 sc->sc_accessops->unlock(sc); in mcpgpio_unlock() 137 error = sc->sc_accessops->read(sc, bank, regaddr, valp); in mcpgpio__read() 157 error = sc->sc_accessops->write(sc, bank, regaddr, val); in mcpgpio__write()
|
| H A D | mcp23xxxgpiovar.h | 84 const struct mcpgpio_accessops *sc_accessops; member
|
| /netbsd-src/sys/dev/wscons/ |
| H A D | wsdisplay.c | 137 const struct wsdisplay_accessops *sc_accessops; member 469 error = (*sc->sc_accessops->alloc_screen)(sc->sc_accesscookie, in wsdisplay_addscreen() 477 (*sc->sc_accessops->free_screen)(sc->sc_accesscookie, in wsdisplay_addscreen() 487 (*sc->sc_accessops->show_screen)(sc->sc_accesscookie, in wsdisplay_addscreen() 548 if (sc->sc_accessops->scroll) { in wsdisplay_scroll() 549 (*sc->sc_accessops->scroll)(sc->sc_accesscookie, in wsdisplay_scroll() 601 (*sc->sc_accessops->free_screen)(sc->sc_accesscookie, in wsdisplay_delscreen() 894 sc->sc_accessops = accessops; in wsdisplay_common_attach() 1307 return (*sc->sc_accessops->ioctl)(sc->sc_accesscookie, in wsdisplay_param() 1372 (void)(*sc->sc_accessops->ioctl)(sc->sc_accesscookie, in wsdisplay_internal_ioctl() [all …]
|
| H A D | wsmouse.c | 152 const struct wsmouse_accessops *sc_accessops; member 265 sc->sc_accessops = ap->accessops; in wsmouse_attach() 756 (*sc->sc_accessops->disable)(sc->sc_accesscookie); in wsmouseclose() 779 return (*sc->sc_accessops->enable)(sc->sc_accesscookie); in wsmousedoopen() 916 error = (*sc->sc_accessops->ioctl)(sc->sc_accesscookie, cmd, in wsmouse_do_ioctl() 961 (*sc->sc_accessops->disable)(sc->sc_accesscookie); in wsmouse_mux_close()
|
| H A D | wskbd.c | 185 const struct wskbd_accessops *sc_accessops; member 454 sc->sc_accessops = ap->accessops; in wskbd_attach() 801 (*sc->sc_accessops->set_leds)(sc->sc_accesscookie, in wskbd_holdscreen() 841 error = (*sc->sc_accessops->enable)(sc->sc_accesscookie, on); in wskbd_enable() 1064 return ((*sc->sc_accessops->ioctl)(sc->sc_accesscookie, in wskbd_displayioctl() 1072 return ((*sc->sc_accessops->ioctl)(sc->sc_accesscookie, in wskbd_displayioctl() 1240 error = (*sc->sc_accessops->ioctl)(sc->sc_accesscookie, cmd, data, in wskbd_displayioctl() 1467 (*id->t_sc->sc_accessops->set_leds) in update_leds()
|
| /netbsd-src/sys/dev/wsfb/ |
| H A D | genfb.c | 100 struct wsdisplay_accessops sc_accessops; member 347 scp->sc_accessops.ioctl = genfb_ioctl; in genfb_attach() 348 scp->sc_accessops.mmap = genfb_mmap; in genfb_attach() 349 scp->sc_accessops.pollc = genfb_pollc; in genfb_attach() 362 &scp->sc_accessops); in genfb_attach() 450 aa.accessops = &scp->sc_accessops; in genfb_attach()
|
| /netbsd-src/sys/dev/i2c/ |
| H A D | mcp23xxxgpio_i2c.c | 166 sc->sc_accessops = &mcpgpio_i2c_accessops; in mcpgpio_i2c_attach()
|
| /netbsd-src/sys/dev/spi/ |
| H A D | mcp23xxxgpio_spi.c | 200 sc->sc_accessops = &mcpgpio_spi_accessops; in mcpgpio_spi_attach()
|
| /netbsd-src/sys/dev/pci/ |
| H A D | machfb.c | 157 struct wsdisplay_accessops sc_accessops; member 440 sc->sc_accessops.ioctl = mach64_ioctl; in mach64_attach() 441 sc->sc_accessops.mmap = mach64_mmap; in mach64_attach() 724 vcons_init(&sc->vd, sc, &mach64_defaultscreen, &sc->sc_accessops); in mach64_attach() 784 aa.accessops = &sc->sc_accessops; in mach64_attach()
|