Lines Matching refs:device
61 * device object. Some translations require information to be
62 * remembered on a per device basis. This information is stored
72 * @brief This method simply initializes the data members in the device
75 * @param[in] device This parameter specifies the device for which to
78 * utilized for this particular SATI device.
82 * sent to the end device. Some OS (Windows) has quirky behaviors with FUA
88 SATI_DEVICE_T * device,
94 device->state = SATI_DEVICE_STATE_OPERATIONAL;
95 device->capabilities = 0;
96 device->descriptor_sense_enable = SCSI_MODE_PAGE_CONTROL_D_SENSE_DISABLE;
99 // the device.
101 device->capabilities |= SATI_DEVICE_CAP_NCQ_REQUESTED_ENABLE;
103 device->ncq_depth = max_ncq_depth;
107 device->capabilities |= SATI_DEVICE_CAP_IGNORE_FUA;
115 * @param[in] device This parameter specifies the device for which to update
117 * @param[in] identify This parameter specifies the ata identify device
119 * device.
124 SATI_DEVICE_T * device,
155 if (device->capabilities & SATI_DEVICE_CAP_NCQ_REQUESTED_ENABLE)
160 device->ncq_depth = MIN(
161 device->ncq_depth,
169 if (device->capabilities & SATI_DEVICE_CAP_IGNORE_FUA)
201 device->logical_block_size = (identify->words_per_logical_sector[3] << 24) |
208 device->logical_block_size = 512;
221 device->max_lba_range_entry_blocks = identify->max_lba_range_entry_blocks;
242 device->min_blocks_per_microcode_command = identify->min_num_blocks_per_microcode;
243 device->max_blocks_per_microcode_command = identify->max_num_blocks_per_microcode;
245 device->capabilities = capabilities;