Lines Matching refs:device_id_string
163 unsigned char *device_id_string; /* IEEE 1284 DEVICE ID string (ptr) */ member
195 usblp->device_id_string ? in usblp_dump()
196 usblp->device_id_string + 2 : in usblp_dump()
446 kfree(usblp->device_id_string); in usblp_cleanup()
528 usblp->device_id_string, in usblp_ioctl()
1076 if (usblp->device_id_string[0] == 0 && in ieee1284_id_show()
1077 usblp->device_id_string[1] == 0) in ieee1284_id_show()
1080 return sprintf(buf, "%s", usblp->device_id_string+2); in ieee1284_id_show()
1113 if (!(usblp->device_id_string = kmalloc(USBLP_DEVICE_ID_SIZE, GFP_KERNEL))) { in usblp_probe()
1196 kfree(usblp->device_id_string); in usblp_probe()
1327 err = usblp_get_id(usblp, 0, usblp->device_id_string, USBLP_DEVICE_ID_SIZE - 1); in usblp_cache_device_id_string()
1332 usblp->device_id_string[0] = usblp->device_id_string[1] = '\0'; in usblp_cache_device_id_string()
1339 length = be16_to_cpu(*((__be16 *)usblp->device_id_string)); in usblp_cache_device_id_string()
1344 usblp->device_id_string[length] = '\0'; in usblp_cache_device_id_string()
1347 usblp->minor, length, &usblp->device_id_string[2]); in usblp_cache_device_id_string()