Home
last modified time | relevance | path

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

/linux/drivers/mtd/nand/raw/
H A Dnand_bbt.c752 int bits, page, offs, numblocks, sft, sftmsk; in write_bbt() local
803 case 1: sft = 3; sftmsk = 0x07; msk[0] = 0x00; msk[1] = 0x01; in write_bbt()
806 case 2: sft = 2; sftmsk = 0x06; msk[0] = 0x00; msk[1] = 0x01; in write_bbt()
809 case 4: sft = 1; sftmsk = 0x04; msk[0] = 0x00; msk[1] = 0x0C; in write_bbt()
812 case 8: sft = 0; sftmsk = 0x00; msk[0] = 0x00; msk[1] = 0x0F; in write_bbt()
882 int sftcnt = (i << (3 - sft)) & sftmsk; in write_bbt()