• Home
  • Raw
  • Download

Lines Matching refs:command

142 	unsigned char *command = us->iobuf;  in sddr55_status()  local
147 memset(command, 0, 8); in sddr55_status()
148 command[5] = 0xB0; in sddr55_status()
149 command[7] = 0x80; in sddr55_status()
151 DMA_TO_DEVICE, command, 8); in sddr55_status()
205 unsigned char *command = us->iobuf; in sddr55_read_data() local
253 command[0] = 0; in sddr55_read_data()
254 command[1] = LSB_of(address>>16); in sddr55_read_data()
255 command[2] = LSB_of(address>>8); in sddr55_read_data()
256 command[3] = LSB_of(address); in sddr55_read_data()
258 command[4] = 0; in sddr55_read_data()
259 command[5] = 0xB0; in sddr55_read_data()
260 command[6] = LSB_of(pages << (1 - info->smallpageshift)); in sddr55_read_data()
261 command[7] = 0x85; in sddr55_read_data()
265 DMA_TO_DEVICE, command, 8); in sddr55_read_data()
324 unsigned char *command = us->iobuf; in sddr55_write_data() local
377 command[4] = 0; in sddr55_write_data()
423 command[4] = 0x40; in sddr55_write_data()
428 command[1] = LSB_of(address>>16); in sddr55_write_data()
429 command[2] = LSB_of(address>>8); in sddr55_write_data()
430 command[3] = LSB_of(address); in sddr55_write_data()
433 command[0] = LSB_of(lba % 1000); in sddr55_write_data()
434 command[6] = MSB_of(lba % 1000); in sddr55_write_data()
436 command[4] |= LSB_of(pages >> info->smallpageshift); in sddr55_write_data()
437 command[5] = 0xB0; in sddr55_write_data()
438 command[7] = 0x86; in sddr55_write_data()
442 DMA_TO_DEVICE, command, 8); in sddr55_write_data()
529 unsigned char *command = us->iobuf; in sddr55_read_deviceID() local
532 memset(command, 0, 8); in sddr55_read_deviceID()
533 command[5] = 0xB0; in sddr55_read_deviceID()
534 command[7] = 0x84; in sddr55_read_deviceID()
535 result = sddr55_bulk_transport(us, DMA_TO_DEVICE, command, 8); in sddr55_read_deviceID()
655 unsigned char *command = us->iobuf; in sddr55_read_map() local
671 memset(command, 0, 8); in sddr55_read_map()
672 command[5] = 0xB0; in sddr55_read_map()
673 command[6] = numblocks * 2 / 256; in sddr55_read_map()
674 command[7] = 0x8A; in sddr55_read_map()
676 result = sddr55_bulk_transport(us, DMA_TO_DEVICE, command, 8); in sddr55_read_map()
690 result = sddr55_bulk_transport(us, DMA_FROM_DEVICE, command, 2); in sddr55_read_map()