Lines Matching refs:args_len
200 u8 reportType, u8 *args, int args_len, in __i2c_hid_command() argument
226 memcpy(cmd->data + length, args, args_len); in __i2c_hid_command()
227 length += args_len; in __i2c_hid_command()
286 int args_len = 0; in i2c_hid_get_report() local
292 args[args_len++] = reportID; in i2c_hid_get_report()
296 args[args_len++] = readRegister & 0xFF; in i2c_hid_get_report()
297 args[args_len++] = readRegister >> 8; in i2c_hid_get_report()
300 reportType, args, args_len, buf_recv, data_len); in i2c_hid_get_report()
330 int args_len; in i2c_hid_set_or_send_report() local
341 args_len = (reportID >= 0x0F ? 1 : 0) /* optional third byte */ + in i2c_hid_set_or_send_report()
376 reportType, args, args_len, NULL, 0); in i2c_hid_set_or_send_report()
552 int args_len = sizeof(__u8) + /* ReportID */ in i2c_hid_alloc_buffers() local
560 ihid->argsbuf = kzalloc(args_len, GFP_KERNEL); in i2c_hid_alloc_buffers()
561 ihid->cmdbuf = kzalloc(sizeof(union command) + args_len, GFP_KERNEL); in i2c_hid_alloc_buffers()