Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/storage/
Dsddr55.c73 #define LSB_of(s) ((s)&0xFF) macro
241 command[1] = LSB_of(address>>16); in sddr55_read_data()
242 command[2] = LSB_of(address>>8); in sddr55_read_data()
243 command[3] = LSB_of(address); in sddr55_read_data()
247 command[6] = LSB_of(pages << (1 - info->smallpageshift)); in sddr55_read_data()
415 command[1] = LSB_of(address>>16); in sddr55_write_data()
416 command[2] = LSB_of(address>>8); in sddr55_write_data()
417 command[3] = LSB_of(address); in sddr55_write_data()
420 command[0] = LSB_of(lba % 1000); in sddr55_write_data()
423 command[4] |= LSB_of(pages >> info->smallpageshift); in sddr55_write_data()
Dsddr09.c96 #define LSB_of(s) ((s)&0xFF) macro
398 command[3] = LSB_of(fromaddress>>16); in sddr09_readX()
400 command[5] = LSB_of(fromaddress & 0xFFFF); in sddr09_readX()
406 command[11] = LSB_of(nr_of_pages); in sddr09_readX()
531 command[7] = LSB_of(Eaddress>>16); in sddr09_erase()
533 command[9] = LSB_of(Eaddress & 0xFFFF); in sddr09_erase()
581 command[3] = LSB_of(Waddress>>16); in sddr09_writeX()
583 command[5] = LSB_of(Waddress & 0xFFFF); in sddr09_writeX()
586 command[7] = LSB_of(Eaddress>>16); in sddr09_writeX()
588 command[9] = LSB_of(Eaddress & 0xFFFF); in sddr09_writeX()
[all …]
Dshuttle_usbat.c143 #define LSB_of(s) ((s)&0xFF) macro
459 command[6] = LSB_of(len); in usbat_read_block()
493 command[6] = LSB_of(len); in usbat_write_block()
565 command[6] = LSB_of(num_registers*2); in usbat_hp8200e_rw_block_test()
579 command[cmdlen-2] = LSB_of(len); in usbat_hp8200e_rw_block_test()
698 command[6] = LSB_of(num_registers*2); in usbat_multiple_write()
749 command[6] = LSB_of(len); in usbat_read_blocks()
791 command[6] = LSB_of(len); in usbat_write_blocks()
1364 data[7+3] = LSB_of(sector>>16); in usbat_hp8200e_handle_read10()
1366 data[7+5] = LSB_of(sector&0xFFFF); in usbat_hp8200e_handle_read10()
[all …]
Dalauda.c110 #define LSB_of(s) ((s)&0xFF) macro
846 if (parity[MSB_of(lbap) ^ LSB_of(lbap)]) in alauda_write_lba()
866 cptr[7] = cptr[12] = LSB_of(lbap); in alauda_write_lba()