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()
531 usblp->device_id_string, in usblp_ioctl()
1079 if (usblp->device_id_string[0] == 0 && in ieee1284_id_show()
1080 usblp->device_id_string[1] == 0) in ieee1284_id_show()
1083 return sprintf(buf, "%s", usblp->device_id_string+2); in ieee1284_id_show()
1122 if (!(usblp->device_id_string = kmalloc(USBLP_DEVICE_ID_SIZE, GFP_KERNEL))) { in usblp_probe()
1201 kfree(usblp->device_id_string); in usblp_probe()
1333 err = usblp_get_id(usblp, 0, usblp->device_id_string, USBLP_DEVICE_ID_SIZE - 1); in usblp_cache_device_id_string()
1338 usblp->device_id_string[0] = usblp->device_id_string[1] = '\0'; in usblp_cache_device_id_string()
1345 length = be16_to_cpu(*((__be16 *)usblp->device_id_string)); in usblp_cache_device_id_string()
1350 usblp->device_id_string[length] = '\0'; in usblp_cache_device_id_string()
1353 usblp->minor, length, &usblp->device_id_string[2]); in usblp_cache_device_id_string()