Lines Matching refs:param

278 	unsigned char param[3];  in focaltech_switch_protocol()  local
280 param[0] = 0; in focaltech_switch_protocol()
281 if (ps2_command(ps2dev, param, 0x10f8)) in focaltech_switch_protocol()
284 if (ps2_command(ps2dev, param, 0x10f8)) in focaltech_switch_protocol()
287 if (ps2_command(ps2dev, param, 0x10f8)) in focaltech_switch_protocol()
290 param[0] = 1; in focaltech_switch_protocol()
291 if (ps2_command(ps2dev, param, 0x10f8)) in focaltech_switch_protocol()
294 if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETSCALE11)) in focaltech_switch_protocol()
297 if (ps2_command(ps2dev, param, PSMOUSE_CMD_ENABLE)) in focaltech_switch_protocol()
352 unsigned char *param) in focaltech_read_register() argument
354 if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETSCALE11)) in focaltech_read_register()
357 param[0] = 0; in focaltech_read_register()
358 if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES)) in focaltech_read_register()
361 if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES)) in focaltech_read_register()
364 if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES)) in focaltech_read_register()
367 param[0] = reg; in focaltech_read_register()
368 if (ps2_command(ps2dev, param, PSMOUSE_CMD_SETRES)) in focaltech_read_register()
371 if (ps2_command(ps2dev, param, PSMOUSE_CMD_GETINFO)) in focaltech_read_register()
381 char param[3]; in focaltech_read_size() local
383 if (focaltech_read_register(ps2dev, 2, param)) in focaltech_read_size()
387 priv->x_max = (unsigned char)param[1] * 128; in focaltech_read_size()
388 priv->y_max = (unsigned char)param[2] * 128; in focaltech_read_size()