Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mtd/nand/raw/
Dnand_bbt.c720 int bits, page, offs, numblocks, sft, sftmsk; in write_bbt() local
771 case 1: sft = 3; sftmsk = 0x07; msk[0] = 0x00; msk[1] = 0x01; in write_bbt()
774 case 2: sft = 2; sftmsk = 0x06; msk[0] = 0x00; msk[1] = 0x01; in write_bbt()
777 case 4: sft = 1; sftmsk = 0x04; msk[0] = 0x00; msk[1] = 0x0C; in write_bbt()
780 case 8: sft = 0; sftmsk = 0x00; msk[0] = 0x00; msk[1] = 0x0F; in write_bbt()
812 memset(&buf[offs], 0xff, (size_t)(numblocks >> sft)); in write_bbt()
822 len = (size_t)(numblocks >> sft); in write_bbt()
832 len = (size_t)(numblocks >> sft); in write_bbt()
850 int sftcnt = (i << (3 - sft)) & sftmsk; in write_bbt()
853 buf[offs + (i >> sft)] &= ~(msk[dat] << sftcnt); in write_bbt()
/Linux-v5.4/kernel/time/
Dclocksource.c48 u32 sft, sftacc= 32; in clocks_calc_mult_shift() local
64 for (sft = 32; sft > 0; sft--) { in clocks_calc_mult_shift()
65 tmp = (u64) to << sft; in clocks_calc_mult_shift()
72 *shift = sft; in clocks_calc_mult_shift()
Dhrtimer.c301 int sft = 0; in __ktime_divns() local
310 sft++; in __ktime_divns()
313 tmp >>= sft; in __ktime_divns()
/Linux-v5.4/sound/soc/codecs/
Drl6231.h30 int rl6231_get_pre_div(struct regmap *map, unsigned int reg, int sft);
Drl6231.c26 int rl6231_get_pre_div(struct regmap *map, unsigned int reg, int sft) in rl6231_get_pre_div() argument
32 val = (val >> sft) & 0x7; in rl6231_get_pre_div()
/Linux-v5.4/drivers/scsi/libsas/
Dsas_init.c534 static struct sas_function_template sft = { variable
578 struct scsi_transport_template *stt = sas_attach_transport(&sft); in sas_domain_attach_transport()
/Linux-v5.4/drivers/i3c/
Dmaster.c1143 int sft = (sizeof(getpid->pid) - i - 1) * 8; in i3c_master_getpid_locked() local
1145 info->pid |= (u64)getpid->pid[i] << sft; in i3c_master_getpid_locked()