Lines Matching full:identify
38 /* DMA region containing RX Fis, Identify, RLE10, and SMART buffers */
1063 * ATA identify data contains strings in byte-swapped 16-bit words.
1091 *timeout = ((*(dd->port->identify + 90) * 2) * 60000); in mtip_set_timeout()
1093 *timeout = ((*(dd->port->identify + 89) * 2) * 60000); in mtip_set_timeout()
1115 * identify information is still read from the drive and placed
1116 * into the identify data buffer (@e port->identify) in the
1118 * When the identify buffer contains valid identify information @e
1122 * @user_buffer A user space buffer where the identify data should be
1144 /* Set the identify information as invalid. */ in mtip_get_identify()
1147 /* Clear the identify information. */ in mtip_get_identify()
1148 memset(port->identify, 0, sizeof(u16) * ATA_ID_WORDS); in mtip_get_identify()
1169 ata_swap_string(port->identify + 27, 40); /* model string*/ in mtip_get_identify()
1170 ata_swap_string(port->identify + 23, 8); /* firmware string*/ in mtip_get_identify()
1171 ata_swap_string(port->identify + 10, 20); /* serial# string*/ in mtip_get_identify()
1176 port->identify[i] = le16_to_cpu(port->identify[i]); in mtip_get_identify()
1181 if (port->identify[128] & 0x4) in mtip_get_identify()
1186 /* Set the identify buffer as valid. */ in mtip_get_identify()
1192 port->identify, in mtip_get_identify()
1325 * -EPERM Identify data not valid, SMART not supported or not enabled
1337 dev_warn(&port->dd->pdev->dev, "IDENTIFY DATA not valid\n"); in mtip_get_smart_attr()
1340 if (!(port->identify[82] & 0x1)) { in mtip_get_smart_attr()
1344 if (!(port->identify[85] & 0x1)) { in mtip_get_smart_attr()
1380 * 0 The identify information is invalid.
1386 raw0 = port->identify[100]; in mtip_hw_get_capacity()
1387 raw1 = port->identify[101]; in mtip_hw_get_capacity()
1388 raw2 = port->identify[102]; in mtip_hw_get_capacity()
1389 raw3 = port->identify[103]; in mtip_hw_get_capacity()
1396 * Display the identify command data.
1412 strlcpy(cbuf, (char *)(port->identify+10), 21); in mtip_dump_identify()
1416 strlcpy(cbuf, (char *)(port->identify+23), 9); in mtip_dump_identify()
1420 strlcpy(cbuf, (char *)(port->identify+27), 41); in mtip_dump_identify()
1424 port->identify[128], in mtip_dump_identify()
1425 port->identify[128] & 0x4 ? "(LOCKED)" : ""); in mtip_dump_identify()
1960 if (copy_to_user((void __user *)arg, dd->port->identify, in mtip_hw_ioctl()
2178 dd->port->identify && in show_device_status()
2181 (char *) (dd->port->identify + 10), 21); in show_device_status()
2182 status = *(dd->port->identify + 141); in show_device_status()
2208 dd->port->identify && in show_device_status()
2211 (char *) (dd->port->identify+10), 21); in show_device_status()
2212 status = *(dd->port->identify + 141); in show_device_status()
2559 if (*(dd->port->identify + MTIP_FTL_REBUILD_OFFSET) == in mtip_ftl_rebuild_poll()
2773 /* Allocate dma memory for RX Fis, Identify, and Sector Bufffer */ in mtip_dma_alloc()
2795 port->identify = port->block1 + AHCI_IDFY_OFFSET; in mtip_dma_alloc()
2814 if (*(dd->port->identify + MTIP_FTL_REBUILD_OFFSET) == in mtip_hw_get_identify()