Lines Matching refs:command

140 	unsigned char *command = us->iobuf;  in sddr55_status()  local
145 memset(command, 0, 8); in sddr55_status()
146 command[5] = 0xB0; in sddr55_status()
147 command[7] = 0x80; in sddr55_status()
149 DMA_TO_DEVICE, command, 8); in sddr55_status()
203 unsigned char *command = us->iobuf; in sddr55_read_data() local
251 command[0] = 0; in sddr55_read_data()
252 command[1] = LSB_of(address>>16); in sddr55_read_data()
253 command[2] = LSB_of(address>>8); in sddr55_read_data()
254 command[3] = LSB_of(address); in sddr55_read_data()
256 command[4] = 0; in sddr55_read_data()
257 command[5] = 0xB0; in sddr55_read_data()
258 command[6] = LSB_of(pages << (1 - info->smallpageshift)); in sddr55_read_data()
259 command[7] = 0x85; in sddr55_read_data()
263 DMA_TO_DEVICE, command, 8); in sddr55_read_data()
322 unsigned char *command = us->iobuf; in sddr55_write_data() local
375 command[4] = 0; in sddr55_write_data()
421 command[4] = 0x40; in sddr55_write_data()
426 command[1] = LSB_of(address>>16); in sddr55_write_data()
427 command[2] = LSB_of(address>>8); in sddr55_write_data()
428 command[3] = LSB_of(address); in sddr55_write_data()
431 command[0] = LSB_of(lba % 1000); in sddr55_write_data()
432 command[6] = MSB_of(lba % 1000); in sddr55_write_data()
434 command[4] |= LSB_of(pages >> info->smallpageshift); in sddr55_write_data()
435 command[5] = 0xB0; in sddr55_write_data()
436 command[7] = 0x86; in sddr55_write_data()
440 DMA_TO_DEVICE, command, 8); in sddr55_write_data()
527 unsigned char *command = us->iobuf; in sddr55_read_deviceID() local
530 memset(command, 0, 8); in sddr55_read_deviceID()
531 command[5] = 0xB0; in sddr55_read_deviceID()
532 command[7] = 0x84; in sddr55_read_deviceID()
533 result = sddr55_bulk_transport(us, DMA_TO_DEVICE, command, 8); in sddr55_read_deviceID()
653 unsigned char *command = us->iobuf; in sddr55_read_map() local
669 memset(command, 0, 8); in sddr55_read_map()
670 command[5] = 0xB0; in sddr55_read_map()
671 command[6] = numblocks * 2 / 256; in sddr55_read_map()
672 command[7] = 0x8A; in sddr55_read_map()
674 result = sddr55_bulk_transport(us, DMA_TO_DEVICE, command, 8); in sddr55_read_map()
688 result = sddr55_bulk_transport(us, DMA_FROM_DEVICE, command, 2); in sddr55_read_map()