Searched refs:short_pack (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/drivers/usb/storage/ |
D | alauda.c | 110 #define short_pack(lsb,msb) ( ((u16)(lsb)) | ( ((u16)(msb))<<8 ) ) macro 633 lba_offset = short_pack(data[7], data[6]); in alauda_read_map() 1170 page = short_pack(srb->cmnd[3], srb->cmnd[2]); in alauda_transport() 1172 page |= short_pack(srb->cmnd[5], srb->cmnd[4]); in alauda_transport() 1173 pages = short_pack(srb->cmnd[8], srb->cmnd[7]); in alauda_transport() 1187 page = short_pack(srb->cmnd[3], srb->cmnd[2]); in alauda_transport() 1189 page |= short_pack(srb->cmnd[5], srb->cmnd[4]); in alauda_transport() 1190 pages = short_pack(srb->cmnd[8], srb->cmnd[7]); in alauda_transport()
|
D | sddr55.c | 73 #define short_pack(lsb,msb) ( ((u16)(lsb)) | ( ((u16)(msb))<<8 ) ) macro 716 lba = short_pack(buffer[i * 2], buffer[i * 2 + 1]); in sddr55_read_map() 925 page = short_pack(srb->cmnd[3], srb->cmnd[2]); in sddr55_transport() 927 page |= short_pack(srb->cmnd[5], srb->cmnd[4]); in sddr55_transport() 928 pages = short_pack(srb->cmnd[8], srb->cmnd[7]); in sddr55_transport()
|
D | sddr09.c | 96 #define short_pack(lsb,msb) ( ((u16)(lsb)) | ( ((u16)(msb))<<8 ) ) macro 1321 lba = short_pack(ptr[7], ptr[6]); in sddr09_read_map() 1658 page = short_pack(srb->cmnd[3], srb->cmnd[2]); in sddr09_transport() 1660 page |= short_pack(srb->cmnd[5], srb->cmnd[4]); in sddr09_transport() 1661 pages = short_pack(srb->cmnd[8], srb->cmnd[7]); in sddr09_transport() 1673 page = short_pack(srb->cmnd[3], srb->cmnd[2]); in sddr09_transport() 1675 page |= short_pack(srb->cmnd[5], srb->cmnd[4]); in sddr09_transport() 1676 pages = short_pack(srb->cmnd[8], srb->cmnd[7]); in sddr09_transport()
|
D | shuttle_usbat.c | 143 #define short_pack(LSB,MSB) ( ((u16)(LSB)) | ( ((u16)(MSB))<<8 ) ) macro 249 short_pack(reg, content), in usbat_write() 840 short_pack(enable_flags, data_flags), in usbat_write_user_io() 1324 len = short_pack(data[7+9], data[7+8]); in usbat_hp8200e_handle_read10() 1349 sector = short_pack(data[7+3], data[7+2]); in usbat_hp8200e_handle_read10() 1351 sector |= short_pack(data[7+5], data[7+4]); in usbat_hp8200e_handle_read10()
|