Searched refs:MSB_of (Results 1 – 3 of 3) sorted by relevance
39 #define MSB_of(s) ((s)>>8) macro502 command[2] = MSB_of(fromaddress>>16); in sddr09_readX()504 command[4] = MSB_of(fromaddress & 0xFFFF); in sddr09_readX()507 command[10] = MSB_of(nr_of_pages); in sddr09_readX()629 command[6] = MSB_of(Eaddress>>16);631 command[8] = MSB_of(Eaddress & 0xFFFF);665 command[2] = MSB_of(Waddress>>16); in sddr09_writeX()667 command[4] = MSB_of(Waddress & 0xFFFF); in sddr09_writeX()670 command[6] = MSB_of(Eaddress>>16); in sddr09_writeX()672 command[8] = MSB_of(Eaddress & 0xFFFF); in sddr09_writeX()[all …]
60 #define MSB_of(s) ((s)>>8) macro306 LSB_of(len), MSB_of(len) in usbat_read_block()388 LSB_of(len), MSB_of(len) in usbat_write_block()434 LSB_of(num_registers*2), MSB_of(num_registers*2), in usbat_rw_block_test()438 timeout, qualifier, LSB_of(len), MSB_of(len) in usbat_rw_block_test()571 LSB_of(num_registers*2), MSB_of(num_registers*2) in usbat_multiple_write()717 data[7+2] = MSB_of(sector>>16); // SCSI command sector in usbat_handle_read10()719 data[7+4] = MSB_of(sector&0xFFFF); in usbat_handle_read10()723 data[7+7] = MSB_of(len / srb->transfersize); // SCSI command in usbat_handle_read10()
39 #define MSB_of(s) ((s)>>8) macro550 command[6] = MSB_of(lba % 1000); in sddr55_write_data()1012 ptr[0] = MSB_of(capacity>>16); in sddr55_transport()1014 ptr[2] = MSB_of(capacity&0xFFFF); in sddr55_transport()1019 ptr[4] = MSB_of(PAGESIZE>>16); in sddr55_transport()1021 ptr[6] = MSB_of(PAGESIZE&0xFFFF); in sddr55_transport()