/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
am335x-moxa-uc-2100-common.dtsi | 26 buttons: push_button { label 166 &buttons {
|
am335x-moxa-uc-8100-common.dtsi | 31 buttons: push_button { label 378 &buttons {
|
am335x-pepper.dts | 25 buttons: user_buttons { label 596 &buttons {
|
/src/sys/arch/pmax/tc/ |
dtms.c | 143 int buttons, dx, dy; local in function:dtms_handler 152 buttons = tmp & 1; 154 buttons |= 4; 156 buttons |= 2; 171 buttons,
|
dtreg.h | 66 * Define how many buttons and coordinates we can take. 188 uint16_t buttons; /* 1->pressed */ member in struct:dt_locator_msg
|
/src/sys/arch/i386/isa/ |
mms.c | 214 u_int buttons; local in function:mmsintr 244 buttons = ((status & 0x04) ? 0x1 : 0) | 251 buttons,
|
lms.c | 224 u_int buttons; local in function:lmsintr 248 buttons = ((hi & 0x80) ? 0 : 0x1) | 251 changed = (buttons ^ sc->oldbuttons); 252 sc->oldbuttons = buttons; 256 buttons,
|
/src/sys/arch/vax/uba/ |
qvms.c | 81 u_int buttons; member in struct:qvms_softc 209 sc->buttons = 0; 211 sc->buttons |= WSMS_BUTTON1; 213 sc->buttons |= WSMS_BUTTON2; 215 sc->buttons |= WSMS_BUTTON3; 231 sc->buttons,
|
/src/sys/dev/dec/ |
dzms.c | 78 u_int buttons; member in struct:dzms_softc 206 sc->buttons = 0; 208 sc->buttons |= WSMS_BUTTON1; 210 sc->buttons |= WSMS_BUTTON2; 212 sc->buttons |= WSMS_BUTTON3; 228 sc->buttons,
|
/src/sys/arch/mac68k/dev/ |
ams.c | 239 * buffer[3] = buffer[4] = 0xff when no buttons 255 * enable buttons = 0111b 452 int i, button_bit, max_byte, mask, buttons; local in function:ms_processevent 455 buttons = 0; 468 buttons = (~event->bytes[2]) & 0xff; 470 buttons = (event->bytes[0] & 0x80) ? 0 : 1; 475 buttons = (~event->bytes[2]) & 0x07; 477 buttons = (event->bytes[0] & 0x80) ? 0 : 1; 480 /* Classic Mouse Protocol (up to 2 buttons) */ 484 buttons |= button_bit [all...] |
/src/sys/arch/evbarm/netwalker/ |
netwalker_btn.c | 205 uint32_t buttons = 0; local in function:mousebtn_poll 214 buttons = (right << 2) | left; 216 if (sc->sc_buttons != buttons) { 218 wsmouse_input(sc->sc_wsmousedev, buttons, 0, 0, 0, 0, 220 sc->sc_buttons = buttons;
|
/src/sys/arch/macppc/dev/ |
ams.c | 237 * buffer[3] = buffer[4] = 0xff when no buttons 253 * enable buttons = 0111b 472 int i, button_bit, max_byte, mask, buttons, dx, dy; local in function:ms_processevent 475 buttons = 0; 488 buttons = (~event->bytes[2]) & 0xff; 490 buttons = (event->bytes[0] & 0x80) ? 0 : 1; 495 buttons = (~event->bytes[2]) & 0x07; 497 buttons = (event->bytes[0] & 0x80) ? 0 : 1; 500 /* Classic Mouse Protocol (up to 2 buttons) */ 504 buttons |= button_bit [all...] |
/src/sys/arch/shark/include/ |
mouse.h | 71 int buttons; member in struct:mouse_state
|
/src/sys/dev/hid/ |
hidms.c | 187 /* figure out the number of buttons */ 204 "ran out of buttons\n"); 263 uint32_t buttons = 0; local in function:hidms_intr 284 buttons |= (1 << HIDMS_BUT(i)); 287 buttons != ms->hidms_buttons) { 288 DPRINTFN(10, ("hidms_intr: x:%d y:%d z:%d w:%d buttons:0x%x\n", 289 dx, dy, dz, dw, buttons)); 290 ms->hidms_buttons = buttons; 293 wsmouse_input(ms->hidms_wsmousedev, buttons, dx, dy, dz,
|
/src/sys/dev/ic/ |
spic.c | 143 int dz, buttons; local in function:spic_intr 168 /* Handle suspend/hibernate buttons */ 186 buttons = 0; 188 buttons |= 1 << 1; 190 buttons |= 1 << 5; 219 if (dz != 0 || buttons != sc->sc_buttons) { 223 buttons, dz, v1, v2); 225 sc->sc_buttons = buttons; 227 wsmouse_input(sc->sc_wsmousedev, buttons, 0, 0, dz, 0,
|
/src/sys/dev/pckbport/ |
pmsvar.h | 59 u_int buttons; /* mouse button status */ member in struct:pms_softc
|
/src/sys/arch/amiga/dev/ |
ms.c | 275 * first read the three buttons. 323 int buttons = 0; local in function:msintr 326 buttons |= 1; 328 buttons |= 2; 330 buttons |= 4; 333 buttons,
|
/src/sys/arch/arc/dev/ |
opms.c | 372 static u_char buttons; local in function:opmsintr 386 buttons = kbd_data_read_1(); 387 if ((buttons & 0xc0) == 0) 403 buttons = ((buttons & PS2LBUTMASK) << 2) | 404 ((buttons & (PS2RBUTMASK | PS2MBUTMASK)) >> 1); 405 changed = ((buttons ^ sc->sc_status) & BUTSTATMASK) << 3; 406 sc->sc_status = buttons | (sc->sc_status & ~BUTSTATMASK) | 415 buffer[0] = 0x80 | (buttons & BUTSTATMASK);
|
/src/sys/arch/dreamcast/dev/maple/ |
mms.c | 50 uint32_t buttons; member in struct:mms_condition 138 printf("%s: buttons:", device_xname(self)); 220 int dx = 0, dy = 0, dz = 0, buttons = 0; local in function:mms_intr 227 data->buttons &= MMS_BUTTON_MASK; 228 buttonchg = sc->sc_oldbuttons ^ data->buttons; 229 sc->sc_oldbuttons = data->buttons; 236 if ((data->buttons & MMS_BUTTON_A) == 0) 237 buttons |= 0x01; 238 if ((data->buttons & MMS_BUTTON_C) == 0) 239 buttons |= 0x02 [all...] |
/src/sys/arch/hpcmips/dev/ |
optpoint.c | 65 u_int buttons; /* mouse button status */ member in struct:optpoint_softc 176 u_int changed = (sc->buttons ^ newbuttons); 179 DPRINTF(("%s: buttons=0x%x, dx=%d, dy=%d\n", 186 sc->buttons = newbuttons; 209 sc->buttons = 0;
|
/src/sys/arch/hpcmips/vr/ |
vrdsiu_mouse.c | 267 static u_char buttons; local in function:vrdsiu_mouse_intr 326 buttons = ((b & PS2_L_BUTTON_MASK) ? WSC_L_BUTTON : 0) 354 buttons,
|
/src/sys/arch/sandpoint/sandpoint/ |
nhpow.c | 292 uint8_t buttons; local in function:hwintr 296 buttons = NHGPIO_READ(sc); 297 if (!(buttons & NHGPIO_POWERBUTTON)) { 301 if (!(buttons & NHGPIO_RESETBUTTON)) {
|
/src/sys/dev/bluetooth/ |
btms.c | 403 uint32_t buttons; local in function:btms_input 427 buttons = 0; 430 buttons |= BUTTON(i); 432 BTMSDBGN(9,("%s: dx=%d, dy=%d, dz=%d, dw=%d, buttons=0x%08x\n", 433 __func__, dx, dy, dz, dw, buttons)); 434 if (dx != 0 || dy != 0 || dz != 0 || dw != 0 || buttons != sc->sc_buttons) { 435 sc->sc_buttons = buttons; 439 buttons,
|
/src/sys/dev/tc/ |
zsms.c | 105 u_int buttons; member in struct:zsms_softc 251 sc->buttons = data & 02; 253 sc->buttons |= 04; 255 sc->buttons |= 01; 270 sc->buttons,
|
/src/sys/dev/usb/ |
uts.c | 373 uint32_t buttons = 0; local in function:uts_intr 391 buttons |= 1; 393 if (dx != 0 || dy != 0 || dz != 0 || buttons != sc->sc_buttons) { 394 DPRINTFN(10,("uts_intr: x:%d y:%d z:%d buttons:%#x\n", 395 dx, dy, dz, buttons)); 396 sc->sc_buttons = buttons; 399 wsmouse_input(sc->sc_wsmousedev, buttons, dx, dy, dz, 0,
|