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()
532 usblp->device_id_string, in usblp_ioctl()
1085 if (usblp->device_id_string[0] == 0 && in ieee1284_id_show()
1086 usblp->device_id_string[1] == 0) in ieee1284_id_show()
1089 return sprintf(buf, "%s", usblp->device_id_string+2); in ieee1284_id_show()
1128 if (!(usblp->device_id_string = kmalloc(USBLP_DEVICE_ID_SIZE, GFP_KERNEL))) { in usblp_probe()
1207 kfree(usblp->device_id_string); in usblp_probe()
1339 err = usblp_get_id(usblp, 0, usblp->device_id_string, USBLP_DEVICE_ID_SIZE - 1); in usblp_cache_device_id_string()
1344 usblp->device_id_string[0] = usblp->device_id_string[1] = '\0'; in usblp_cache_device_id_string()
1351 length = be16_to_cpu(*((__be16 *)usblp->device_id_string)); in usblp_cache_device_id_string()
1356 usblp->device_id_string[length] = '\0'; in usblp_cache_device_id_string()
1359 usblp->minor, length, &usblp->device_id_string[2]); in usblp_cache_device_id_string()