Searched refs:MSB_of (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/drivers/usb/storage/
H A Dsddr09.c106 #define MSB_of(s) ((s)>>8) macro
406 command[2] = MSB_of(fromaddress>>16); sddr09_readX()
408 command[4] = MSB_of(fromaddress & 0xFFFF); sddr09_readX()
414 command[10] = MSB_of(nr_of_pages); sddr09_readX()
539 command[6] = MSB_of(Eaddress>>16); sddr09_erase()
541 command[8] = MSB_of(Eaddress & 0xFFFF); sddr09_erase()
589 command[2] = MSB_of(Waddress>>16); sddr09_writeX()
591 command[4] = MSB_of(Waddress & 0xFFFF); sddr09_writeX()
594 command[6] = MSB_of(Eaddress>>16); sddr09_writeX()
596 command[8] = MSB_of(Eaddress & 0xFFFF); sddr09_writeX()
599 command[10] = MSB_of(nr_of_pages); sddr09_writeX()
872 if (parity[MSB_of(lbap) ^ LSB_of(lbap)]) sddr09_write_lba()
921 cptr[6] = cptr[11] = MSB_of(lbap); sddr09_write_lba()
H A Dshuttle_usbat.c153 #define MSB_of(s) ((s)>>8) macro
468 command[7] = MSB_of(len); usbat_read_block()
502 command[7] = MSB_of(len); usbat_write_block()
574 command[7] = MSB_of(num_registers*2); usbat_hp8200e_rw_block_test()
588 command[cmdlen-1] = MSB_of(len); usbat_hp8200e_rw_block_test()
707 command[7] = MSB_of(num_registers*2); usbat_multiple_write()
758 command[7] = MSB_of(len); usbat_read_blocks()
800 command[7] = MSB_of(len); usbat_write_blocks()
1371 data[7+2] = MSB_of(sector>>16); /* SCSI command sector */ usbat_hp8200e_handle_read10()
1373 data[7+4] = MSB_of(sector&0xFFFF); usbat_hp8200e_handle_read10()
1377 data[7+7] = MSB_of(len / srb->transfersize); /* SCSI command */ usbat_hp8200e_handle_read10()
H A Dalauda.c121 #define MSB_of(s) ((s)>>8) macro
854 if (parity[MSB_of(lbap) ^ LSB_of(lbap)]) alauda_write_lba()
873 cptr[6] = cptr[11] = MSB_of(lbap); alauda_write_lba()
H A Dsddr55.c83 #define MSB_of(s) ((s)>>8) macro
429 command[6] = MSB_of(lba % 1000); sddr55_write_data()

Completed in 97 milliseconds