Home
last modified time | relevance | path

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

/drivers/mtd/nand/
Dnand_bbt.c624 int bits, startblock, dir, page, offs, numblocks, sft, sftmsk; in write_bbt() local
700 case 1: sft = 3; sftmsk = 0x07; msk[0] = 0x00; msk[1] = 0x01; in write_bbt()
703 case 2: sft = 2; sftmsk = 0x06; msk[0] = 0x00; msk[1] = 0x01; in write_bbt()
706 case 4: sft = 1; sftmsk = 0x04; msk[0] = 0x00; msk[1] = 0x0C; in write_bbt()
709 case 8: sft = 0; sftmsk = 0x00; msk[0] = 0x00; msk[1] = 0x0F; in write_bbt()
741 memset(&buf[offs], 0xff, (size_t)(numblocks >> sft)); in write_bbt()
751 len = (size_t)(numblocks >> sft); in write_bbt()
761 len = (size_t)(numblocks >> sft); in write_bbt()
779 int sftcnt = (i << (3 - sft)) & sftmsk; in write_bbt()
782 buf[offs + (i >> sft)] &= ~(msk[dat] << sftcnt); in write_bbt()
/drivers/scsi/libsas/
Dsas_init.c541 static struct sas_function_template sft = { variable
554 struct scsi_transport_template *stt = sas_attach_transport(&sft); in sas_domain_attach_transport()