Lines Matching refs:command

137 	unsigned char *command = us->iobuf;  in sddr55_status()  local
142 memset(command, 0, 8); in sddr55_status()
143 command[5] = 0xB0; in sddr55_status()
144 command[7] = 0x80; in sddr55_status()
146 DMA_TO_DEVICE, command, 8); in sddr55_status()
200 unsigned char *command = us->iobuf; in sddr55_read_data() local
248 command[0] = 0; in sddr55_read_data()
249 command[1] = LSB_of(address>>16); in sddr55_read_data()
250 command[2] = LSB_of(address>>8); in sddr55_read_data()
251 command[3] = LSB_of(address); in sddr55_read_data()
253 command[4] = 0; in sddr55_read_data()
254 command[5] = 0xB0; in sddr55_read_data()
255 command[6] = LSB_of(pages << (1 - info->smallpageshift)); in sddr55_read_data()
256 command[7] = 0x85; in sddr55_read_data()
260 DMA_TO_DEVICE, command, 8); in sddr55_read_data()
319 unsigned char *command = us->iobuf; in sddr55_write_data() local
372 command[4] = 0; in sddr55_write_data()
418 command[4] = 0x40; in sddr55_write_data()
423 command[1] = LSB_of(address>>16); in sddr55_write_data()
424 command[2] = LSB_of(address>>8); in sddr55_write_data()
425 command[3] = LSB_of(address); in sddr55_write_data()
428 command[0] = LSB_of(lba % 1000); in sddr55_write_data()
429 command[6] = MSB_of(lba % 1000); in sddr55_write_data()
431 command[4] |= LSB_of(pages >> info->smallpageshift); in sddr55_write_data()
432 command[5] = 0xB0; in sddr55_write_data()
433 command[7] = 0x86; in sddr55_write_data()
437 DMA_TO_DEVICE, command, 8); in sddr55_write_data()
524 unsigned char *command = us->iobuf; in sddr55_read_deviceID() local
527 memset(command, 0, 8); in sddr55_read_deviceID()
528 command[5] = 0xB0; in sddr55_read_deviceID()
529 command[7] = 0x84; in sddr55_read_deviceID()
530 result = sddr55_bulk_transport(us, DMA_TO_DEVICE, command, 8); in sddr55_read_deviceID()
650 unsigned char *command = us->iobuf; in sddr55_read_map() local
666 memset(command, 0, 8); in sddr55_read_map()
667 command[5] = 0xB0; in sddr55_read_map()
668 command[6] = numblocks * 2 / 256; in sddr55_read_map()
669 command[7] = 0x8A; in sddr55_read_map()
671 result = sddr55_bulk_transport(us, DMA_TO_DEVICE, command, 8); in sddr55_read_map()
685 result = sddr55_bulk_transport(us, DMA_FROM_DEVICE, command, 2); in sddr55_read_map()