Lines Matching defs:cmdbuf
101 u8 *cmdbuf; /* Command buffer */
205 *(__le16 *)ihid->cmdbuf = reg;
207 return i2c_hid_xfer(ihid, ihid->cmdbuf, sizeof(__le16), buf, len);
238 *(__le16 *)ihid->cmdbuf = ihid->hdesc.wCommandRegister;
241 length += i2c_hid_encode_command(ihid->cmdbuf + length,
250 ihid->cmdbuf + length);
257 error = i2c_hid_xfer(ihid, ihid->cmdbuf, length,
329 *(__le16 *)ihid->cmdbuf = ihid->hdesc.wCommandRegister;
332 length += i2c_hid_encode_command(ihid->cmdbuf + length,
341 ihid->cmdbuf + length);
348 *(__le16 *)ihid->cmdbuf = ihid->hdesc.wOutputRegister;
352 length += i2c_hid_format_report(ihid->cmdbuf + length,
355 error = i2c_hid_xfer(ihid, ihid->cmdbuf, length, NULL, 0);
370 *(__le16 *)ihid->cmdbuf = ihid->hdesc.wCommandRegister;
374 length += i2c_hid_encode_command(ihid->cmdbuf + length,
378 return i2c_hid_xfer(ihid, ihid->cmdbuf, length, NULL, 0);
441 *(__le16 *)ihid->cmdbuf = ihid->hdesc.wCommandRegister;
444 length += i2c_hid_encode_command(ihid->cmdbuf + length,
449 ret = i2c_hid_xfer(ihid, ihid->cmdbuf, length, NULL, 0);
586 kfree(ihid->cmdbuf);
589 ihid->cmdbuf = NULL;
610 ihid->cmdbuf = kzalloc(cmd_len, GFP_KERNEL);
612 if (!ihid->inbuf || !ihid->rawbuf || !ihid->cmdbuf) {