Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/input/tablet/
Dpegasus_notetaker.c93 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()
Daiptek.c886 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()
935 aiptek_get_report(aiptek, 3, 2, buf, sizeof_buf)) != sizeof_buf) { in aiptek_query()