Lines Matching defs:param
255 * @param: a buffer containing parameters to be sent along with the command,
265 int __ps2_command(struct ps2dev *ps2dev, u8 *param, unsigned int command)
279 if (send && !param) {
284 memcpy(send_param, param, send);
313 if (param)
315 ps2dev->cmdbuf[(receive - 1) - i] = param[i];
331 rc = ps2_do_sendbyte(ps2dev, param[i], 200, 2);
355 if (param) {
357 param[i] = ps2dev->cmdbuf[(receive - 1) - i];
358 kmsan_unpoison_memory(param, receive);
377 receive, param ?: send_param);
390 * @param: a buffer containing parameters to be sent along with the command,
401 int ps2_command(struct ps2dev *ps2dev, u8 *param, unsigned int command)
406 rc = __ps2_command(ps2dev, param, command);