Lines Matching refs:command
129 unsigned char *command = us->iobuf; in sddr55_status() local
134 memset(command, 0, 8); in sddr55_status()
135 command[5] = 0xB0; in sddr55_status()
136 command[7] = 0x80; in sddr55_status()
138 DMA_TO_DEVICE, command, 8); in sddr55_status()
192 unsigned char *command = us->iobuf; in sddr55_read_data() local
240 command[0] = 0; in sddr55_read_data()
241 command[1] = LSB_of(address>>16); in sddr55_read_data()
242 command[2] = LSB_of(address>>8); in sddr55_read_data()
243 command[3] = LSB_of(address); in sddr55_read_data()
245 command[4] = 0; in sddr55_read_data()
246 command[5] = 0xB0; in sddr55_read_data()
247 command[6] = LSB_of(pages << (1 - info->smallpageshift)); in sddr55_read_data()
248 command[7] = 0x85; in sddr55_read_data()
252 DMA_TO_DEVICE, command, 8); in sddr55_read_data()
311 unsigned char *command = us->iobuf; in sddr55_write_data() local
364 command[4] = 0; in sddr55_write_data()
410 command[4] = 0x40; in sddr55_write_data()
415 command[1] = LSB_of(address>>16); in sddr55_write_data()
416 command[2] = LSB_of(address>>8); in sddr55_write_data()
417 command[3] = LSB_of(address); in sddr55_write_data()
420 command[0] = LSB_of(lba % 1000); in sddr55_write_data()
421 command[6] = MSB_of(lba % 1000); in sddr55_write_data()
423 command[4] |= LSB_of(pages >> info->smallpageshift); in sddr55_write_data()
424 command[5] = 0xB0; in sddr55_write_data()
425 command[7] = 0x86; in sddr55_write_data()
429 DMA_TO_DEVICE, command, 8); in sddr55_write_data()
516 unsigned char *command = us->iobuf; in sddr55_read_deviceID() local
519 memset(command, 0, 8); in sddr55_read_deviceID()
520 command[5] = 0xB0; in sddr55_read_deviceID()
521 command[7] = 0x84; in sddr55_read_deviceID()
522 result = sddr55_bulk_transport(us, DMA_TO_DEVICE, command, 8); in sddr55_read_deviceID()
643 unsigned char *command = us->iobuf; in sddr55_read_map() local
659 memset(command, 0, 8); in sddr55_read_map()
660 command[5] = 0xB0; in sddr55_read_map()
661 command[6] = numblocks * 2 / 256; in sddr55_read_map()
662 command[7] = 0x8A; in sddr55_read_map()
664 result = sddr55_bulk_transport(us, DMA_TO_DEVICE, command, 8); in sddr55_read_map()
678 result = sddr55_bulk_transport(us, DMA_FROM_DEVICE, command, 2); in sddr55_read_map()