Home
last modified time | relevance | path

Searched refs:USBLP_DEVICE_ID_SIZE (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/class/
H A Dusblp.c56 #define USBLP_DEVICE_ID_SIZE 1024 macro
1153 if (!(usblp->device_id_string = kmalloc(USBLP_DEVICE_ID_SIZE, GFP_KERNEL))) { in usblp_probe()
1367 err = usblp_get_id(usblp, 0, usblp->device_id_string, USBLP_DEVICE_ID_SIZE - 1); in usblp_cache_device_id_string()
1382 else if (length >= USBLP_DEVICE_ID_SIZE) in usblp_cache_device_id_string()
1383 length = USBLP_DEVICE_ID_SIZE - 1; in usblp_cache_device_id_string()
/kernel/linux/linux-6.6/drivers/usb/class/
H A Dusblp.c56 #define USBLP_DEVICE_ID_SIZE 1024 macro
1153 if (!(usblp->device_id_string = kmalloc(USBLP_DEVICE_ID_SIZE, GFP_KERNEL))) { in usblp_probe()
1367 err = usblp_get_id(usblp, 0, usblp->device_id_string, USBLP_DEVICE_ID_SIZE - 1); in usblp_cache_device_id_string()
1382 else if (length >= USBLP_DEVICE_ID_SIZE) in usblp_cache_device_id_string()
1383 length = USBLP_DEVICE_ID_SIZE - 1; in usblp_cache_device_id_string()

Completed in 4 milliseconds