Searched refs:sizeof_buf (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/input/tablet/ |
H A D | pegasus_notetaker.c | 93 const int sizeof_buf = len + 2; in pegasus_control_msg() local 98 cmd_buf = kmalloc(sizeof_buf, GFP_KERNEL); in pegasus_control_msg() 110 0, 0, cmd_buf, sizeof_buf, in pegasus_control_msg() 115 if (unlikely(result != sizeof_buf)) { in pegasus_control_msg()
|
H A D | aiptek.c | 886 const int sizeof_buf = 3 * sizeof(u8); in aiptek_command() local 890 buf = kmalloc(sizeof_buf, GFP_KERNEL); in aiptek_command() 899 aiptek_set_report(aiptek, 3, 2, buf, sizeof_buf)) != sizeof_buf) { in aiptek_command() 916 const int sizeof_buf = 3 * sizeof(u8); in aiptek_query() local 920 buf = kmalloc(sizeof_buf, GFP_KERNEL); in aiptek_query() 934 if (aiptek_get_report(aiptek, 3, 2, buf, sizeof_buf) != sizeof_buf) { in aiptek_query()
|