Lines Matching defs:param
221 * then waits for the response and puts it in the param array.
226 int __ps2_command(struct ps2dev *ps2dev, u8 *param, unsigned int command)
240 if (send && !param) {
245 memcpy(send_param, param, send);
251 if (receive && param)
253 ps2dev->cmdbuf[(receive - 1) - i] = param[i];
273 rc = ps2_do_sendbyte(ps2dev, param[i], 200, 2);
297 if (param)
299 param[i] = ps2dev->cmdbuf[(receive - 1) - i];
317 receive, param ?: send_param);
327 int ps2_command(struct ps2dev *ps2dev, u8 *param, unsigned int command)
332 rc = __ps2_command(ps2dev, param, command);