Searched refs:short_pack (Results 1 – 4 of 4) sorted by relevance
/drivers/usb/storage/ |
D | alauda.c | 119 #define short_pack(lsb,msb) ( ((u16)(lsb)) | ( ((u16)(msb))<<8 ) ) macro 637 lba_offset = short_pack(data[7], data[6]); in alauda_read_map() 1175 page = short_pack(srb->cmnd[3], srb->cmnd[2]); in alauda_transport() 1177 page |= short_pack(srb->cmnd[5], srb->cmnd[4]); in alauda_transport() 1178 pages = short_pack(srb->cmnd[8], srb->cmnd[7]); in alauda_transport() 1192 page = short_pack(srb->cmnd[3], srb->cmnd[2]); in alauda_transport() 1194 page |= short_pack(srb->cmnd[5], srb->cmnd[4]); in alauda_transport() 1195 pages = short_pack(srb->cmnd[8], srb->cmnd[7]); in alauda_transport()
|
D | sddr55.c | 81 #define short_pack(lsb,msb) ( ((u16)(lsb)) | ( ((u16)(msb))<<8 ) ) macro 720 lba = short_pack(buffer[i * 2], buffer[i * 2 + 1]); in sddr55_read_map() 918 page = short_pack(srb->cmnd[3], srb->cmnd[2]); in sddr55_transport() 920 page |= short_pack(srb->cmnd[5], srb->cmnd[4]); in sddr55_transport() 921 pages = short_pack(srb->cmnd[8], srb->cmnd[7]); in sddr55_transport()
|
D | sddr09.c | 104 #define short_pack(lsb,msb) ( ((u16)(lsb)) | ( ((u16)(msb))<<8 ) ) macro 1321 lba = short_pack(ptr[7], ptr[6]); in sddr09_read_map() 1654 page = short_pack(srb->cmnd[3], srb->cmnd[2]); in sddr09_transport() 1656 page |= short_pack(srb->cmnd[5], srb->cmnd[4]); in sddr09_transport() 1657 pages = short_pack(srb->cmnd[8], srb->cmnd[7]); in sddr09_transport() 1669 page = short_pack(srb->cmnd[3], srb->cmnd[2]); in sddr09_transport() 1671 page |= short_pack(srb->cmnd[5], srb->cmnd[4]); in sddr09_transport() 1672 pages = short_pack(srb->cmnd[8], srb->cmnd[7]); in sddr09_transport()
|
D | shuttle_usbat.c | 151 #define short_pack(LSB,MSB) ( ((u16)(LSB)) | ( ((u16)(MSB))<<8 ) ) macro 257 short_pack(reg, content), in usbat_write() 847 short_pack(enable_flags, data_flags), in usbat_write_user_io() 1331 len = short_pack(data[7+9], data[7+8]); in usbat_hp8200e_handle_read10() 1356 sector = short_pack(data[7+3], data[7+2]); in usbat_hp8200e_handle_read10() 1358 sector |= short_pack(data[7+5], data[7+4]); in usbat_hp8200e_handle_read10()
|