ata_sg_init_one — Associate command with memory buffer
Command to be associated
Memory buffer
Length of memory buffer, in bytes.
Initialize the data-related elements of queued_cmd qc to point to a single memory buffer, buf of byte length buflen.
spin_lock_irqsave(host lock)