Lines Matching refs:param

266 	unsigned char param[3];  in focaltech_switch_protocol()  local
268 param[0] = 0; in focaltech_switch_protocol()
269 if (ps2_command(ps2dev, param, 0x10f8)) in focaltech_switch_protocol()
272 if (ps2_command(ps2dev, param, 0x10f8)) in focaltech_switch_protocol()
275 if (ps2_command(ps2dev, param, 0x10f8)) in focaltech_switch_protocol()
278 param[0] = 1; in focaltech_switch_protocol()
279 if (ps2_command(ps2dev, param, 0x10f8)) in focaltech_switch_protocol()
282 if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETSCALE11)) in focaltech_switch_protocol()
285 if (ps2_command(ps2dev, param, PSMOUSE_CMD_ENABLE)) in focaltech_switch_protocol()
339 unsigned char *param) in focaltech_read_register() argument
341 if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETSCALE11)) in focaltech_read_register()
344 param[0] = 0; in focaltech_read_register()
345 if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES)) in focaltech_read_register()
348 if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES)) in focaltech_read_register()
351 if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES)) in focaltech_read_register()
354 param[0] = reg; in focaltech_read_register()
355 if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES)) in focaltech_read_register()
358 if (ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO)) in focaltech_read_register()
368 char param[3]; in focaltech_read_size() local
370 if (focaltech_read_register(ps2dev, 2, param)) in focaltech_read_size()
374 priv->x_max = (unsigned char)param[1] * 128; in focaltech_read_size()
375 priv->y_max = (unsigned char)param[2] * 128; in focaltech_read_size()