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()
463 kfree(usblp->device_id_string); in usblp_cleanup()
557 usblp->device_id_string, in usblp_ioctl()
1110 if (usblp->device_id_string[0] == 0 && in ieee1284_id_show()
1111 usblp->device_id_string[1] == 0) in ieee1284_id_show()
1114 return sprintf(buf, "%s", usblp->device_id_string+2); in ieee1284_id_show()
1153 if (!(usblp->device_id_string = kmalloc(USBLP_DEVICE_ID_SIZE, GFP_KERNEL))) { in usblp_probe()
1232 kfree(usblp->device_id_string); 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()
1372 usblp->device_id_string[0] = usblp->device_id_string[1] = '\0'; in usblp_cache_device_id_string()
1379 length = be16_to_cpu(*((__be16 *)usblp->device_id_string)); in usblp_cache_device_id_string()
1384 usblp->device_id_string[length] = '\0'; in usblp_cache_device_id_string()
1387 usblp->minor, length, &usblp->device_id_string[2]); in usblp_cache_device_id_string()