Searched refs:sft (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/kernel/time/ |
D | clocksource.c | 137 u32 sft, sftacc= 32; in clocks_calc_mult_shift() local 153 for (sft = 32; sft > 0; sft--) { in clocks_calc_mult_shift() 154 tmp = (u64) to << sft; in clocks_calc_mult_shift() 161 *shift = sft; in clocks_calc_mult_shift()
|
/linux-2.6.39/drivers/mtd/nand/ |
D | nand_bbt.c | 702 int bits, startblock, dir, page, offs, numblocks, sft, sftmsk; in write_bbt() local 777 case 1: sft = 3; sftmsk = 0x07; msk[0] = 0x00; msk[1] = 0x01; in write_bbt() 780 case 2: sft = 2; sftmsk = 0x06; msk[0] = 0x00; msk[1] = 0x01; in write_bbt() 783 case 4: sft = 1; sftmsk = 0x04; msk[0] = 0x00; msk[1] = 0x0C; in write_bbt() 786 case 8: sft = 0; sftmsk = 0x00; msk[0] = 0x00; msk[1] = 0x0F; in write_bbt() 824 memset(&buf[offs], 0xff, (size_t) (numblocks >> sft)); in write_bbt() 834 len = (size_t) (numblocks >> sft); in write_bbt() 844 len = (size_t) (numblocks >> sft); in write_bbt() 864 int sftcnt = (i << (3 - sft)) & sftmsk; in write_bbt() 866 buf[offs + (i >> sft)] &= in write_bbt()
|
/linux-2.6.39/drivers/scsi/libsas/ |
D | sas_init.c | 258 static struct sas_function_template sft = { variable 269 struct scsi_transport_template *stt = sas_attach_transport(&sft); in sas_domain_attach_transport()
|
/linux-2.6.39/kernel/ |
D | hrtimer.c | 312 int sft = 0; in ktime_divns() local 317 sft++; in ktime_divns() 320 dclc >>= sft; in ktime_divns()
|