Searched refs:lbap (Results 1 – 2 of 2) sorted by relevance
805 u16 pba, lbap, new_pba; in alauda_write_lba() local847 lbap = (lba_offset << 1) | 0x1000; in alauda_write_lba()848 if (parity[MSB_of(lbap) ^ LSB_of(lbap)]) in alauda_write_lba()849 lbap ^= 1; in alauda_write_lba()867 cptr[6] = cptr[11] = MSB_of(lbap); in alauda_write_lba()868 cptr[7] = cptr[12] = LSB_of(lbap); in alauda_write_lba()
857 unsigned int pba, lbap; in sddr09_write_lba() local863 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()