Home
last modified time | relevance | path

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

/external/u-boot/drivers/mtd/nand/raw/
Dnand_bbt.c622 int bits, startblock, dir, page, offs, numblocks, sft, sftmsk; in write_bbt() local
698 case 1: sft = 3; sftmsk = 0x07; msk[0] = 0x00; msk[1] = 0x01; in write_bbt()
701 case 2: sft = 2; sftmsk = 0x06; msk[0] = 0x00; msk[1] = 0x01; in write_bbt()
704 case 4: sft = 1; sftmsk = 0x04; msk[0] = 0x00; msk[1] = 0x0C; in write_bbt()
707 case 8: sft = 0; sftmsk = 0x00; msk[0] = 0x00; msk[1] = 0x0F; in write_bbt()
777 int sftcnt = (i << (3 - sft)) & sftmsk; in write_bbt()