Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/storage/
Dsddr09.c98 #define MSB_of(s) ((s)>>8) macro
398 command[2] = MSB_of(fromaddress>>16); in sddr09_readX()
400 command[4] = MSB_of(fromaddress & 0xFFFF); in sddr09_readX()
406 command[10] = MSB_of(nr_of_pages); in sddr09_readX()
531 command[6] = MSB_of(Eaddress>>16); in sddr09_erase()
533 command[8] = MSB_of(Eaddress & 0xFFFF); in sddr09_erase()
581 command[2] = MSB_of(Waddress>>16); in sddr09_writeX()
583 command[4] = MSB_of(Waddress & 0xFFFF); in sddr09_writeX()
586 command[6] = MSB_of(Eaddress>>16); in sddr09_writeX()
588 command[8] = MSB_of(Eaddress & 0xFFFF); in sddr09_writeX()
[all …]
Dshuttle_usbat.c145 #define MSB_of(s) ((s)>>8) macro
461 command[7] = MSB_of(len); in usbat_read_block()
495 command[7] = MSB_of(len); in usbat_write_block()
567 command[7] = MSB_of(num_registers*2); in usbat_hp8200e_rw_block_test()
581 command[cmdlen-1] = MSB_of(len); in usbat_hp8200e_rw_block_test()
700 command[7] = MSB_of(num_registers*2); in usbat_multiple_write()
751 command[7] = MSB_of(len); in usbat_read_blocks()
793 command[7] = MSB_of(len); in usbat_write_blocks()
1364 data[7+2] = MSB_of(sector>>16); /* SCSI command sector */ in usbat_hp8200e_handle_read10()
1366 data[7+4] = MSB_of(sector&0xFFFF); in usbat_hp8200e_handle_read10()
[all …]
Dalauda.c112 #define MSB_of(s) ((s)>>8) macro
848 if (parity[MSB_of(lbap) ^ LSB_of(lbap)]) in alauda_write_lba()
867 cptr[6] = cptr[11] = MSB_of(lbap); in alauda_write_lba()
Dsddr55.c75 #define MSB_of(s) ((s)>>8) macro
422 command[6] = MSB_of(lba % 1000); in sddr55_write_data()