Home
last modified time | relevance | path

Searched refs:sizeof_buf (Results 1 – 2 of 2) sorted by relevance

/drivers/input/tablet/
Dpegasus_notetaker.c86 const int sizeof_buf = len + 2; in pegasus_control_msg() local
91 cmd_buf = kmalloc(sizeof_buf, GFP_KERNEL); in pegasus_control_msg()
103 0, 0, cmd_buf, sizeof_buf, in pegasus_control_msg()
108 if (unlikely(result != sizeof_buf)) { in pegasus_control_msg()
Daiptek.c906 const int sizeof_buf = 3 * sizeof(u8); in aiptek_command() local
910 buf = kmalloc(sizeof_buf, GFP_KERNEL); in aiptek_command()
919 aiptek_set_report(aiptek, 3, 2, buf, sizeof_buf)) != sizeof_buf) { in aiptek_command()
936 const int sizeof_buf = 3 * sizeof(u8); in aiptek_query() local
940 buf = kmalloc(sizeof_buf, GFP_KERNEL); in aiptek_query()
955 aiptek_get_report(aiptek, 3, 2, buf, sizeof_buf)) != sizeof_buf) { in aiptek_query()