Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/storage/
H A Dcypress_atacb.c75 unsigned char save_cmnd[MAX_COMMAND_SIZE]; in cypress_atacb_passthrough() local
82 memcpy(save_cmnd, srb->cmnd, sizeof(save_cmnd)); in cypress_atacb_passthrough()
86 if (save_cmnd[1] >> 5) /* MULTIPLE_COUNT */ in cypress_atacb_passthrough()
89 switch ((save_cmnd[1] >> 1) & 0xf) { in cypress_atacb_passthrough()
114 if (save_cmnd[0] == ATA_16) { in cypress_atacb_passthrough()
115 srb->cmnd[ 6] = save_cmnd[ 4]; /* features */ in cypress_atacb_passthrough()
116 srb->cmnd[ 7] = save_cmnd[ 6]; /* sector count */ in cypress_atacb_passthrough()
117 srb->cmnd[ 8] = save_cmnd[ 8]; /* lba low */ in cypress_atacb_passthrough()
118 srb->cmnd[ 9] = save_cmnd[10]; /* lba med */ in cypress_atacb_passthrough()
119 srb->cmnd[10] = save_cmnd[12]; /* lba high */ in cypress_atacb_passthrough()
[all …]