Lines Matching refs:device

59  *        device object.  Some translations require information to be
60 * remembered on a per device basis. This information is stored
70 * @brief This method simply initializes the data members in the device
73 * @param[in] device This parameter specifies the device for which to
76 * utilized for this particular SATI device.
80 * sent to the end device. Some OS (Windows) has quirky behaviors with FUA
86 SATI_DEVICE_T * device,
92 device->state = SATI_DEVICE_STATE_OPERATIONAL;
93 device->capabilities = 0;
94 device->descriptor_sense_enable = SCSI_MODE_PAGE_CONTROL_D_SENSE_DISABLE;
97 // the device.
99 device->capabilities |= SATI_DEVICE_CAP_NCQ_REQUESTED_ENABLE;
101 device->ncq_depth = max_ncq_depth;
105 device->capabilities |= SATI_DEVICE_CAP_IGNORE_FUA;
113 * @param[in] device This parameter specifies the device for which to update
115 * @param[in] identify This parameter specifies the ata identify device
117 * device.
122 SATI_DEVICE_T * device,
153 if (device->capabilities & SATI_DEVICE_CAP_NCQ_REQUESTED_ENABLE)
158 device->ncq_depth = MIN(
159 device->ncq_depth,
167 if (device->capabilities & SATI_DEVICE_CAP_IGNORE_FUA)
199 device->logical_block_size = (identify->words_per_logical_sector[3] << 24) |
206 device->logical_block_size = 512;
219 device->max_lba_range_entry_blocks = identify->max_lba_range_entry_blocks;
240 device->min_blocks_per_microcode_command = identify->min_num_blocks_per_microcode;
241 device->max_blocks_per_microcode_command = identify->max_num_blocks_per_microcode;
243 device->capabilities = capabilities;