Searched refs:sft (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/drivers/mtd/nand/raw/ |
D | nand_bbt.c | 720 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/ |
D | clocksource.c | 48 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()
|
D | hrtimer.c | 301 int sft = 0; in __ktime_divns() local 310 sft++; in __ktime_divns() 313 tmp >>= sft; in __ktime_divns()
|
/Linux-v5.4/sound/soc/codecs/ |
D | rl6231.h | 30 int rl6231_get_pre_div(struct regmap *map, unsigned int reg, int sft);
|
D | rl6231.c | 26 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/ |
D | sas_init.c | 534 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/ |
D | master.c | 1143 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()
|