Searched refs:USBTMC_HEADER_SIZE (Results 1 – 1 of 1) sorted by relevance
30 #define USBTMC_HEADER_SIZE 12 macro716 buffer = kzalloc(USBTMC_HEADER_SIZE, GFP_KERNEL); in usbtmc488_ioctl_trigger()727 buffer, USBTMC_HEADER_SIZE, in usbtmc488_ioctl_trigger()1317 buffer = kmalloc(USBTMC_HEADER_SIZE, GFP_KERNEL); in send_request_dev_dep_msg_in()1341 buffer, USBTMC_HEADER_SIZE, in send_request_dev_dep_msg_in()1426 if (actual < USBTMC_HEADER_SIZE) { in usbtmc_read()1428 actual, USBTMC_HEADER_SIZE); in usbtmc_read()1475 actual -= USBTMC_HEADER_SIZE; in usbtmc_read()1484 if (copy_to_user(buf, &buffer[USBTMC_HEADER_SIZE], actual)) { in usbtmc_read()1490 if ((actual + USBTMC_HEADER_SIZE) == bufsize) { in usbtmc_read()[all …]