Lines Matching refs:args_len
393 int tx_len = 0, args_len = 0; in goodix_hid_get_raw_report() local
412 args[args_len++] = reportnum; in goodix_hid_get_raw_report()
414 put_unaligned_le16(data_register, args + args_len); in goodix_hid_get_raw_report()
415 args_len += sizeof(data_register); in goodix_hid_get_raw_report()
430 memcpy(tmp_buf + tx_len, args, args_len); in goodix_hid_get_raw_report()
431 tx_len += args_len; in goodix_hid_get_raw_report()
489 int tx_len = 0, args_len = 0; in goodix_hid_set_raw_report() local
495 args[args_len++] = reportnum; in goodix_hid_set_raw_report()
499 put_unaligned_le16(data_register, args + args_len); in goodix_hid_set_raw_report()
500 args_len += sizeof(data_register); in goodix_hid_set_raw_report()
502 put_unaligned_le16(GOODIX_HID_PKG_LEN_SIZE + len, args + args_len); in goodix_hid_set_raw_report()
503 args_len += GOODIX_HID_PKG_LEN_SIZE; in goodix_hid_set_raw_report()
515 memcpy(tmp_buf + tx_len, args, args_len); in goodix_hid_set_raw_report()
516 tx_len += args_len; in goodix_hid_set_raw_report()