| /netbsd/src/sys/dev/usb/ |
| D | uintuos.c | 62 device_t sc_wsmousedev; /* wsmouse device */ member 152 sc->sc_wsmousedev = config_found(self, &a, wsmousedevprint); in uintuos_attach() 170 if (sc->sc_wsmousedev != NULL) in uintuos_detach() 171 rv = config_detach(sc->sc_wsmousedev, flags); in uintuos_detach() 183 KASSERT(sc->sc_wsmousedev == child); in uintuos_childdet() 184 sc->sc_wsmousedev = NULL; in uintuos_childdet() 306 if (sc->sc_wsmousedev != NULL) { in uintuos_cth490_intr() 330 wsmouse_input(sc->sc_wsmousedev, btns, x, y, z, 0, in uintuos_cth490_intr() 381 if (sc->sc_wsmousedev != NULL) { in uintuos_ctl6100_intr() 391 wsmouse_input(sc->sc_wsmousedev, btns, x, y, z, 0, in uintuos_ctl6100_intr()
|
| D | uep.c | 77 device_t sc_wsmousedev; /* wsmouse device */ member 226 sc->sc_wsmousedev = config_found(self, &a, wsmousedevprint, CFARGS_NONE); in uep_attach() 251 if (sc->sc_wsmousedev != NULL) in uep_detach() 252 rv = config_detach(sc->sc_wsmousedev, flags); in uep_detach() 263 KASSERT(sc->sc_wsmousedev == child); in uep_childdet() 264 sc->sc_wsmousedev = NULL; in uep_childdet() 406 if (sc->sc_wsmousedev != NULL) { in uep_intr() 457 wsmouse_input(sc->sc_wsmousedev, p[0] & 0x01, x, y, 0, 0, in uep_intr()
|
| D | uts.c | 87 device_t sc_wsmousedev; member 237 sc->sc_wsmousedev = config_found(self, &a, wsmousedevprint, CFARGS_NONE); in uts_attach() 291 KASSERT(sc->sc_wsmousedev == child); in uts_childdet() 292 sc->sc_wsmousedev = NULL; in uts_childdet() 397 if (sc->sc_wsmousedev != NULL) { in uts_intr() 399 wsmouse_input(sc->sc_wsmousedev, buttons, dx, dy, dz, 0, in uts_intr()
|
| /netbsd/src/sys/arch/dreamcast/dev/maple/ |
| D | mms.c | 91 device_t sc_wsmousedev; member 157 sc->sc_wsmousedev = config_found(self, &a, wsmousedevprint, CFARGS_NONE); in mms_attach() 158 if (sc->sc_wsmousedev == NULL) { in mms_attach() 172 if (sc->sc_wsmousedev != NULL) in mms_detach() 173 rv = config_detach(sc->sc_wsmousedev, flags); in mms_detach() 245 wsmouse_input(sc->sc_wsmousedev, in mms_intr()
|
| /netbsd/src/sys/arch/newsmips/dev/ |
| D | ms_hb.c | 53 device_t sc_wsmousedev; member 114 sc->sc_wsmousedev = config_found(self, &aa, wsmousedevprint, CFARGS_NONE); in ms_hb_attach() 134 if (sc->sc_wsmousedev == NULL) in ms_hb_intr() 174 wsmouse_input(sc->sc_wsmousedev, in ms_hb_intr()
|
| /netbsd/src/sys/arch/newsmips/apbus/ |
| D | ms_ap.c | 53 device_t sc_wsmousedev; member 108 sc->sc_wsmousedev = config_found(self, &aa, wsmousedevprint, CFARGS_NONE); in ms_ap_attach() 127 if (sc->sc_wsmousedev == NULL) in ms_ap_intr() 167 wsmouse_input(sc->sc_wsmousedev, in ms_ap_intr()
|
| /netbsd/src/sys/arch/pmax/tc/ |
| D | dtms.c | 52 device_t sc_wsmousedev; member 102 sc->sc_wsmousedev = config_found(self, &a, wsmousedevprint, CFARGS_NONE); in dtms_attach() 170 wsmouse_input(sc->sc_wsmousedev, in dtms_handler()
|
| /netbsd/src/sys/arch/hpcsh/dev/ |
| D | psh3tp.c | 99 device_t sc_wsmousedev; member 183 sc->sc_wsmousedev = config_found( in psh3tp_attach() 185 if (sc->sc_wsmousedev == NULL) in psh3tp_attach() 429 sc->sc_wsmousedev, 0, 0, 0, 0, 0, WSMOUSE_INPUT_DELTA); in psh3tp_callout_wsmouse() 449 wsmouse_input(sc->sc_wsmousedev, in psh3tp_wsmouse_input()
|
| D | j6x0tp.c | 121 device_t sc_wsmousedev; member 255 sc->sc_wsmousedev = config_found(self, &wsma, wsmousedevprint, in j6x0tp_attach() 257 if (sc->sc_wsmousedev == NULL) in j6x0tp_attach() 574 wsmouse_input(sc->sc_wsmousedev, 0, 0, 0, 0, 0, /* button up */ in j6x0tp_callout_wsmouse() 595 wsmouse_input(sc->sc_wsmousedev, in j6x0tp_wsmouse_input()
|
| /netbsd/src/sys/arch/macppc/dev/ |
| D | ams.c | 202 sc->sc_wsmousedev = config_found(self, &a, wsmousedevprint, CFARGS_NONE); in amsattach() 551 if (sc->sc_wsmousedev) in ms_processevent() 552 wsmouse_input(sc->sc_wsmousedev, new_event.u.m.buttons, in ms_processevent() 577 (sc->sc_wsmousedev)) { in ams_mangle_2() 584 wsmouse_input(sc->sc_wsmousedev, in ams_mangle_2() 609 (sc->sc_wsmousedev)) { in ams_mangle_4() 616 wsmouse_input(sc->sc_wsmousedev, in ams_mangle_4()
|
| D | pbms.c | 242 device_t sc_wsmousedev; /* WSMouse device. */ member 379 sc->sc_wsmousedev = config_found(self, &a, wsmousedevprint, CFARGS_NONE); in pbms_attach() 392 if (sc->sc_wsmousedev == child) in pbms_childdet() 393 sc->sc_wsmousedev = NULL; in pbms_childdet() 543 sc->sc_wsmousedev != NULL) { in pbms_intr() 545 wsmouse_input(sc->sc_wsmousedev, buttons, dx, -dy, dz, 0, in pbms_intr()
|
| /netbsd/src/sys/dev/adb/ |
| D | adb_ms.c | 79 device_t sc_wsmousedev; member 250 sc->sc_wsmousedev = config_found(self, &a, wsmousedevprint, CFARGS_NONE); in adbms_attach() 676 if (sc->sc_wsmousedev) in adbms_process_event() 677 wsmouse_input(sc->sc_wsmousedev, sc->sc_mb | buttons, in adbms_process_event() 702 (sc->sc_wsmousedev)) { in adbms_mangle_2() 709 wsmouse_input(sc->sc_wsmousedev, in adbms_mangle_2() 734 (sc->sc_wsmousedev)) { in adbms_mangle_4() 741 wsmouse_input(sc->sc_wsmousedev, in adbms_mangle_4()
|
| D | adb_ktm.c | 64 device_t sc_wsmousedev; member 139 sc->sc_wsmousedev = config_found(self, &a, wsmousedevprint, CFARGS_NONE); in ktm_attach() 344 if (sc->sc_wsmousedev) in ktm_process_event() 345 wsmouse_input(sc->sc_wsmousedev, buttons, in ktm_process_event()
|
| /netbsd/src/sys/dev/hil/ |
| D | hilms.c | 55 device_t sc_wsmousedev; member 164 sc->sc_wsmousedev = config_found(self, &a, wsmousedevprint, CFARGS_NONE); in hilmsattach() 334 if (sc->sc_wsmousedev != NULL) in hilms_callback() 335 wsmouse_input(sc->sc_wsmousedev, in hilms_callback()
|
| /netbsd/src/sys/arch/arm/iomd/ |
| D | qms.c | 61 device_t sc_wsmousedev; member 125 sc->sc_wsmousedev = in qms_attach() 195 wsmouse_input(sc->sc_wsmousedev, in qms_intr()
|
| /netbsd/src/sys/arch/hpcmips/dev/ |
| D | ucbtp.c | 151 device_t sc_wsmousedev; member 315 sc->sc_wsmousedev = config_found(self, &wsmaa, wsmousedevprint, in ucbtp_attach() 652 wsmouse_input(sc->sc_wsmousedev, 1, 0, 0, 0, 0, 0); in ucbtp_input() 654 wsmouse_input(sc->sc_wsmousedev, 0, 0, 0, 0, 0, 0); in ucbtp_input() 656 wsmouse_input(sc->sc_wsmousedev, 0, in ucbtp_input() 687 wsmouse_input(sc->sc_wsmousedev, 1, x, y, 0, 0, in ucbtp_input()
|
| /netbsd/src/sys/dev/dec/ |
| D | dzms.c | 81 device_t sc_wsmousedev; member 138 dzms->sc_wsmousedev = config_found(self, &a, wsmousedevprint, in dzms_attach() 227 wsmouse_input(sc->sc_wsmousedev, in dzms_input()
|
| /netbsd/src/sys/arch/vax/uba/ |
| D | qvms.c | 84 device_t sc_wsmousedev; member 141 qvms->sc_wsmousedev = config_found(self, &a, wsmousedevprint, in qvms_attach() 230 wsmouse_input(sc->sc_wsmousedev, in qvms_input()
|
| /netbsd/src/sys/arch/i386/isa/ |
| D | mms.c | 55 device_t sc_wsmousedev; member 160 sc->sc_wsmousedev = config_found(self, &a, wsmousedevprint, CFARGS_NONE); in mmsattach() 250 wsmouse_input(sc->sc_wsmousedev, in mmsintr()
|
| D | lms.c | 58 device_t sc_wsmousedev; member 169 sc->sc_wsmousedev = config_found(self, &a, wsmousedevprint, CFARGS_NONE); in lmsattach() 255 wsmouse_input(sc->sc_wsmousedev, in lmsintr()
|
| /netbsd/src/sys/arch/hpcarm/dev/ |
| D | j720tp.c | 96 device_t sc_wsmousedev; member 233 sc->sc_wsmousedev = config_found(self, &wsma, wsmousedevprint, in j720tp_attach() 235 if (sc->sc_wsmousedev == NULL) in j720tp_attach() 485 wsmouse_input(sc->sc_wsmousedev, 1, x, y, 0, 0, in j720tp_wsmouse_input() 505 wsmouse_input(sc->sc_wsmousedev, 0, 0, 0, 0, 0, 0); in j720tp_wsmouse_callout()
|
| /netbsd/src/sys/arch/hpcmips/vr/ |
| D | vrdsiu_mouse.c | 72 device_t sc_wsmousedev; member 161 sc->sc_wsmousedev = config_found(self, &wsmaa, wsmousedevprint, in vrdsiu_attach() 353 wsmouse_input(sc->sc_wsmousedev, in vrdsiu_mouse_intr()
|
| /netbsd/src/sys/arch/news68k/dev/ |
| D | ms.c | 77 if (sc->sc_wsmousedev == NULL) in ms_intr() 118 wsmouse_input(sc->sc_wsmousedev, in ms_intr()
|
| /netbsd/src/sys/arch/evbarm/netwalker/ |
| D | netwalker_btn.c | 73 struct device *sc_wsmousedev; member 183 sc->sc_wsmousedev = config_found(self, &a, wsmousedevprint, CFARGS_NONE); in mousebtn_attach() 218 wsmouse_input(sc->sc_wsmousedev, buttons, 0, 0, 0, 0, in mousebtn_poll()
|
| /netbsd/src/sys/dev/ic/ |
| D | spic.c | 226 if (sc->sc_wsmousedev != NULL) { in spic_intr() 227 wsmouse_input(sc->sc_wsmousedev, buttons, 0, 0, dz, 0, in spic_intr() 271 sc->sc_wsmousedev = config_found(sc->sc_dev, &a, wsmousedevprint, in spic_attach()
|