Lines Matching full:identify

37 /* DMA region containing RX Fis, Identify, RLE10, and SMART buffers */
1051 * ATA identify data contains strings in byte-swapped 16-bit words.
1079 *timeout = ((*(dd->port->identify + 90) * 2) * 60000); in mtip_set_timeout()
1081 *timeout = ((*(dd->port->identify + 89) * 2) * 60000); in mtip_set_timeout()
1103 * identify information is still read from the drive and placed
1104 * into the identify data buffer (@e port->identify) in the
1106 * When the identify buffer contains valid identify information @e
1110 * @user_buffer A user space buffer where the identify data should be
1132 /* Set the identify information as invalid. */ in mtip_get_identify()
1135 /* Clear the identify information. */ in mtip_get_identify()
1136 memset(port->identify, 0, sizeof(u16) * ATA_ID_WORDS); in mtip_get_identify()
1157 ata_swap_string(port->identify + 27, 40); /* model string*/ in mtip_get_identify()
1158 ata_swap_string(port->identify + 23, 8); /* firmware string*/ in mtip_get_identify()
1159 ata_swap_string(port->identify + 10, 20); /* serial# string*/ in mtip_get_identify()
1164 port->identify[i] = le16_to_cpu(port->identify[i]); in mtip_get_identify()
1169 if (port->identify[128] & 0x4) in mtip_get_identify()
1174 /* Set the identify buffer as valid. */ in mtip_get_identify()
1180 port->identify, in mtip_get_identify()
1313 * -EPERM Identify data not valid, SMART not supported or not enabled
1325 dev_warn(&port->dd->pdev->dev, "IDENTIFY DATA not valid\n"); in mtip_get_smart_attr()
1328 if (!(port->identify[82] & 0x1)) { in mtip_get_smart_attr()
1332 if (!(port->identify[85] & 0x1)) { in mtip_get_smart_attr()
1368 * 0 The identify information is invalid.
1374 raw0 = port->identify[100]; in mtip_hw_get_capacity()
1375 raw1 = port->identify[101]; in mtip_hw_get_capacity()
1376 raw2 = port->identify[102]; in mtip_hw_get_capacity()
1377 raw3 = port->identify[103]; in mtip_hw_get_capacity()
1384 * Display the identify command data.
1400 strscpy(cbuf, (char *)(port->identify + 10), 21); in mtip_dump_identify()
1404 strscpy(cbuf, (char *)(port->identify + 23), 9); in mtip_dump_identify()
1408 strscpy(cbuf, (char *)(port->identify + 27), 41); in mtip_dump_identify()
1412 port->identify[128], in mtip_dump_identify()
1413 port->identify[128] & 0x4 ? "(LOCKED)" : ""); in mtip_dump_identify()
1948 if (copy_to_user((void __user *)arg, dd->port->identify, in mtip_hw_ioctl()
2388 if (*(dd->port->identify + MTIP_FTL_REBUILD_OFFSET) == in mtip_ftl_rebuild_poll()
2602 /* Allocate dma memory for RX Fis, Identify, and Sector Buffer */ in mtip_dma_alloc()
2624 port->identify = port->block1 + AHCI_IDFY_OFFSET; in mtip_dma_alloc()
2643 if (*(dd->port->identify + MTIP_FTL_REBUILD_OFFSET) == in mtip_hw_get_identify()