Home
last modified time | relevance | path

Searched refs:args_len (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/hid/i2c-hid/
Di2c-hid.c200 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()
[all …]
/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_sdvo.c409 const void *args, int args_len) in intel_sdvo_debug_write() argument
419 for (i = 0; i < args_len; i++) { in intel_sdvo_debug_write()
452 const void *args, int args_len, in __intel_sdvo_write_cmd() argument
460 buf = kzalloc(args_len * 2 + 2, GFP_KERNEL); in __intel_sdvo_write_cmd()
464 msgs = kcalloc(args_len + 3, sizeof(*msgs), GFP_KERNEL); in __intel_sdvo_write_cmd()
470 intel_sdvo_debug_write(intel_sdvo, cmd, args, args_len); in __intel_sdvo_write_cmd()
472 for (i = 0; i < args_len; i++) { in __intel_sdvo_write_cmd()
521 const void *args, int args_len) in intel_sdvo_write_cmd() argument
523 return __intel_sdvo_write_cmd(intel_sdvo, cmd, args, args_len, true); in intel_sdvo_write_cmd()
/Linux-v4.19/drivers/gpu/drm/gma500/
Dpsb_intel_sdvo.c401 const void *args, int args_len) in psb_intel_sdvo_debug_write() argument
407 for (i = 0; i < args_len; i++) in psb_intel_sdvo_debug_write()
435 const void *args, int args_len) in psb_intel_sdvo_write_cmd() argument
441 if (args_len > MAX_ARG_LEN) { in psb_intel_sdvo_write_cmd()
446 psb_intel_sdvo_debug_write(psb_intel_sdvo, cmd, args, args_len); in psb_intel_sdvo_write_cmd()
448 for (i = 0; i < args_len; i++) { in psb_intel_sdvo_write_cmd()