Searched refs:sizeof_buf (Results 1 – 2 of 2) sorted by relevance
| /Linux-v4.19/drivers/input/tablet/ |
| D | pegasus_notetaker.c | 92 const int sizeof_buf = len + 2; in pegasus_control_msg() local 97 cmd_buf = kmalloc(sizeof_buf, GFP_KERNEL); in pegasus_control_msg() 109 0, 0, cmd_buf, sizeof_buf, in pegasus_control_msg() 114 if (unlikely(result != sizeof_buf)) { in pegasus_control_msg()
|
| D | aiptek.c | 899 const int sizeof_buf = 3 * sizeof(u8); in aiptek_command() local 903 buf = kmalloc(sizeof_buf, GFP_KERNEL); in aiptek_command() 912 aiptek_set_report(aiptek, 3, 2, buf, sizeof_buf)) != sizeof_buf) { in aiptek_command() 929 const int sizeof_buf = 3 * sizeof(u8); in aiptek_query() local 933 buf = kmalloc(sizeof_buf, GFP_KERNEL); in aiptek_query() 948 aiptek_get_report(aiptek, 3, 2, buf, sizeof_buf)) != sizeof_buf) { in aiptek_query()
|