Lines Matching full:param
113 static int ps2pp_cmd(struct psmouse *psmouse, u8 *param, u8 command) in ps2pp_cmd() argument
121 error = ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_POLL | 0x0300); in ps2pp_cmd()
139 u8 param[4]; in ps2pp_set_smartscroll() local
141 ps2pp_cmd(psmouse, param, 0x32); in ps2pp_set_smartscroll()
143 param[0] = 0; in ps2pp_set_smartscroll()
144 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); in ps2pp_set_smartscroll()
145 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); in ps2pp_set_smartscroll()
146 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); in ps2pp_set_smartscroll()
148 param[0] = smartscroll; in ps2pp_set_smartscroll()
149 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); in ps2pp_set_smartscroll()
190 u8 param = 3; in ps2pp_set_resolution() local
195 ps2_command(ps2dev, ¶m, PSMOUSE_CMD_SETRES); in ps2pp_set_resolution()
361 u8 param[4]; in ps2pp_detect() local
366 param[0] = 0; in ps2pp_detect()
367 ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES); in ps2pp_detect()
371 param[1] = 0; in ps2pp_detect()
372 ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO); in ps2pp_detect()
374 model = ((param[0] >> 4) & 0x07) | ((param[0] << 3) & 0x78); in ps2pp_detect()
375 buttons = param[1]; in ps2pp_detect()
389 param[0] = 0x11; param[1] = 0x04; param[2] = 0x68; in ps2pp_detect()
390 ps2_command(ps2dev, param, 0x30d1); in ps2pp_detect()
392 param[0] = 0x11; param[1] = 0x05; param[2] = 0x0b; in ps2pp_detect()
393 ps2_command(ps2dev, param, 0x30d1); in ps2pp_detect()
395 param[0] = 0x11; param[1] = 0x09; param[2] = 0xc3; in ps2pp_detect()
396 ps2_command(ps2dev, param, 0x30d1); in ps2pp_detect()
398 param[0] = 0; in ps2pp_detect()
399 if (!ps2_command(ps2dev, param, 0x13d1) && in ps2pp_detect()
400 param[0] == 0x06 && param[1] == 0x00 && in ps2pp_detect()
401 param[2] == 0x14) { in ps2pp_detect()
407 param[0] = param[1] = param[2] = 0; in ps2pp_detect()
408 ps2pp_cmd(psmouse, param, 0x39); /* Magic knock */ in ps2pp_detect()
409 ps2pp_cmd(psmouse, param, 0xDB); in ps2pp_detect()
411 if ((param[0] & 0x78) == 0x48 && in ps2pp_detect()
412 (param[1] & 0xf3) == 0xc2 && in ps2pp_detect()
413 (param[2] & 0x03) == ((param[1] >> 2) & 3)) { in ps2pp_detect()