Searched refs:chip_serial (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/drivers/usb/misc/ |
D | iowarrior.c | 89 char chip_serial[9]; /* the serial number string of the chip connected */ member 565 memcpy(info.serial, dev->chip_serial, in iowarrior_ioctl() 566 sizeof(dev->chip_serial)); in iowarrior_ioctl() 839 memset(dev->chip_serial, 0x00, sizeof(dev->chip_serial)); in iowarrior_probe() 840 usb_string(udev, udev->descriptor.iSerialNumber, dev->chip_serial, in iowarrior_probe() 841 sizeof(dev->chip_serial)); in iowarrior_probe() 842 if (strlen(dev->chip_serial) != 8) in iowarrior_probe() 843 memset(dev->chip_serial, 0x00, sizeof(dev->chip_serial)); in iowarrior_probe() 870 "now attached to iowarrior%d\n", dev->product_id, dev->chip_serial, in iowarrior_probe()
|
/linux-4.1.27/arch/tile/kernel/ |
D | sysfs.c | 57 static DEVICE_ATTR(chip_serial, 0444, chip_serial_show, NULL); 230 create_cpu_attr(chip_serial); in create_sysfs_entries()
|