Searched refs:ATA_ID_SERNO (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/ata/ |
D | pata_pcmcia.c | 55 if (memcmp(master->id + ATA_ID_SERNO, slave->id + ATA_ID_SERNO, in pcmcia_set_mode() 56 ATA_ID_SERNO_LEN) == 0 && master->id[ATA_ID_SERNO] >> 8) { in pcmcia_set_mode()
|
D | libata-scsi.c | 338 ata_id_string(dev->id, buf, ATA_ID_SERNO, ATA_ID_SERNO_LEN); in ata_get_identity() 339 if (copy_to_user(dst + ATA_ID_SERNO, buf, ATA_ID_SERNO_LEN)) in ata_get_identity() 1983 ATA_ID_SERNO, ATA_ID_SERNO_LEN); in ata_scsiop_inq_80() 2013 ATA_ID_SERNO, ATA_ID_SERNO_LEN); in ata_scsiop_inq_83() 2027 ata_id_string(args->id, (unsigned char *) rbuf + num, ATA_ID_SERNO, in ata_scsiop_inq_83()
|
D | pata_it821x.c | 562 memset(&id[ATA_ID_SERNO], 0x20, ATA_ID_SERNO_LEN); in it821x_read_id()
|
D | libata-core.c | 3646 ata_id_c_string(old_id, serial[0], ATA_ID_SERNO, sizeof(serial[0])); in ata_dev_same_device() 3647 ata_id_c_string(new_id, serial[1], ATA_ID_SERNO, sizeof(serial[1])); in ata_dev_same_device()
|
/kernel/linux/linux-5.10/drivers/ide/ |
D | ide-sysfs.c | 67 return sprintf(buf, "%s\n", (char *)&drive->id[ATA_ID_SERNO]); in serial_show()
|
D | ide-probe.c | 227 ide_fixstring((char *)&id[ATA_ID_SERNO], ATA_ID_SERNO_LEN, bswap); in do_identify() 664 if (strncmp((char *)&dev0->id[ATA_ID_SERNO], in ide_undecoded_slave() 665 (char *)&dev1->id[ATA_ID_SERNO], ATA_ID_SERNO_LEN)) in ide_undecoded_slave() 669 if (*(char *)&dev0->id[ATA_ID_SERNO] == 0) in ide_undecoded_slave()
|
/kernel/linux/linux-5.10/include/linux/ |
D | ata.h | 42 ATA_ID_SERNO = 10, enumerator
|
/kernel/linux/linux-5.10/drivers/usb/storage/ |
D | isd200.c | 1075 usb_stor_dbg(us, " serial_no[0] = 0x%x\n", *(char *)&id[ATA_ID_SERNO]); in isd200_dump_driveid()
|