Home
last modified time | relevance | path

Searched refs:lbap (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/usb/storage/
H A Dalauda.c814 u16 pba, lbap, new_pba; in alauda_write_lba() local
856 lbap = (lba_offset << 1) | 0x1000; in alauda_write_lba()
857 if (parity[MSB_of(lbap) ^ LSB_of(lbap)]) in alauda_write_lba()
858 lbap ^= 1; in alauda_write_lba()
876 cptr[6] = cptr[11] = MSB_of(lbap); in alauda_write_lba()
877 cptr[7] = cptr[12] = LSB_of(lbap); in alauda_write_lba()
H A Dsddr09.c857 unsigned int pba, lbap; in sddr09_write_lba() local
863 lbap = ((lba % 1000) << 1) | 0x1000; in sddr09_write_lba()
864 if (parity[MSB_of(lbap) ^ LSB_of(lbap)]) in sddr09_write_lba()
865 lbap ^= 1; in sddr09_write_lba()
913 cptr[6] = cptr[11] = MSB_of(lbap); in sddr09_write_lba()
914 cptr[7] = cptr[12] = LSB_of(lbap); in sddr09_write_lba()