Lines Matching refs:command

130 	unsigned char *command = us->iobuf;  in sddr55_status()  local
135 memset(command, 0, 8); in sddr55_status()
136 command[5] = 0xB0; in sddr55_status()
137 command[7] = 0x80; in sddr55_status()
139 DMA_TO_DEVICE, command, 8); in sddr55_status()
193 unsigned char *command = us->iobuf; in sddr55_read_data() local
241 command[0] = 0; in sddr55_read_data()
242 command[1] = LSB_of(address>>16); in sddr55_read_data()
243 command[2] = LSB_of(address>>8); in sddr55_read_data()
244 command[3] = LSB_of(address); in sddr55_read_data()
246 command[4] = 0; in sddr55_read_data()
247 command[5] = 0xB0; in sddr55_read_data()
248 command[6] = LSB_of(pages << (1 - info->smallpageshift)); in sddr55_read_data()
249 command[7] = 0x85; in sddr55_read_data()
253 DMA_TO_DEVICE, command, 8); in sddr55_read_data()
312 unsigned char *command = us->iobuf; in sddr55_write_data() local
365 command[4] = 0; in sddr55_write_data()
411 command[4] = 0x40; in sddr55_write_data()
416 command[1] = LSB_of(address>>16); in sddr55_write_data()
417 command[2] = LSB_of(address>>8); in sddr55_write_data()
418 command[3] = LSB_of(address); in sddr55_write_data()
421 command[0] = LSB_of(lba % 1000); in sddr55_write_data()
422 command[6] = MSB_of(lba % 1000); in sddr55_write_data()
424 command[4] |= LSB_of(pages >> info->smallpageshift); in sddr55_write_data()
425 command[5] = 0xB0; in sddr55_write_data()
426 command[7] = 0x86; in sddr55_write_data()
430 DMA_TO_DEVICE, command, 8); in sddr55_write_data()
517 unsigned char *command = us->iobuf; in sddr55_read_deviceID() local
520 memset(command, 0, 8); in sddr55_read_deviceID()
521 command[5] = 0xB0; in sddr55_read_deviceID()
522 command[7] = 0x84; in sddr55_read_deviceID()
523 result = sddr55_bulk_transport(us, DMA_TO_DEVICE, command, 8); in sddr55_read_deviceID()
644 unsigned char *command = us->iobuf; in sddr55_read_map() local
660 memset(command, 0, 8); in sddr55_read_map()
661 command[5] = 0xB0; in sddr55_read_map()
662 command[6] = numblocks * 2 / 256; in sddr55_read_map()
663 command[7] = 0x8A; in sddr55_read_map()
665 result = sddr55_bulk_transport(us, DMA_TO_DEVICE, command, 8); in sddr55_read_map()
679 result = sddr55_bulk_transport(us, DMA_FROM_DEVICE, command, 2); in sddr55_read_map()