Lines Matching refs:ata_device
36 static inline __attribute__ (( always_inline )) struct ata_device *
38 return container_of ( blockdev, struct ata_device, blockdev );
49 ata_command ( struct ata_device *ata, struct ata_command *command ) {
91 struct ata_device *ata = block_to_ata ( blockdev );
117 struct ata_device *ata = block_to_ata ( blockdev );
140 struct ata_device *ata = block_to_ata ( blockdev );
178 * Initialises an ATA device. The ata_device::command field and the
179 * @c ATA_FL_SLAVE portion of the ata_device::flags field must already
180 * be filled in. This function will configure ata_device::blockdev,
184 int init_atadev ( struct ata_device *ata ) {