Home
last modified time | relevance | path

Searched refs:save_cmnd (Results 1 – 1 of 1) sorted by relevance

/linux-4.1.27/drivers/usb/storage/
Dcypress_atacb.c85 unsigned char save_cmnd[MAX_COMMAND_SIZE]; in cypress_atacb_passthrough() local
92 memcpy(save_cmnd, srb->cmnd, sizeof(save_cmnd)); in cypress_atacb_passthrough()
96 if (save_cmnd[1] >> 5) /* MULTIPLE_COUNT */ in cypress_atacb_passthrough()
99 switch ((save_cmnd[1] >> 1) & 0xf) { in cypress_atacb_passthrough()
120 if (save_cmnd[0] == ATA_16) { in cypress_atacb_passthrough()
121 srb->cmnd[ 6] = save_cmnd[ 4]; /* features */ in cypress_atacb_passthrough()
122 srb->cmnd[ 7] = save_cmnd[ 6]; /* sector count */ in cypress_atacb_passthrough()
123 srb->cmnd[ 8] = save_cmnd[ 8]; /* lba low */ in cypress_atacb_passthrough()
124 srb->cmnd[ 9] = save_cmnd[10]; /* lba med */ in cypress_atacb_passthrough()
125 srb->cmnd[10] = save_cmnd[12]; /* lba high */ in cypress_atacb_passthrough()
[all …]