Searched refs:ffs (Results 51 - 75 of 465) sorted by relevance

1234567891011>>

/linux-master/drivers/clk/
H A Dclk-mux.c58 val = ffs(val) - 1;
163 u8 width = fls(mask) - ffs(mask) + 1;
/linux-master/arch/arm/include/asm/
H A Dbitops.h223 #include <asm-generic/bitops/ffs.h>
235 #include <asm-generic/bitops/builtin-ffs.h>
/linux-master/drivers/irqchip/
H A Dirq-bcm2836.c144 u32 hwirq = ffs(stat) - 1;
163 int hwirq = ffs(mbox_val) - 1;
H A Dirq-versatile-fpga.c97 unsigned int irq = ffs(status) - 1;
119 irq = ffs(status) - 1;
H A Dirq-sa11x0.c144 ffs(mask) - 1);
H A Dirq-or1k-pic.c104 hwirq = ffs(mfspr(SPR_PICSR) >> first);
/linux-master/drivers/gpu/drm/nouveau/dispnv04/
H A Dtvnv04.c176 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or));
235 nv_encoder->or = ffs(entry->or) - 1;
H A Ddac.c347 '@' + ffs(dcb->or));
423 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or));
432 uint32_t *dac_users = &nv04_display(dev)->dac_users[ffs(dcb->or) - 1];
457 (nv04_display(dev)->dac_users[ffs(dcb->or) - 1] & ~(1 << dcb->index));
542 nv_encoder->or = ffs(entry->or) - 1;
/linux-master/arch/mips/mm/
H A Dc-octeon.c188 c->icache.waybit = ffs(icache_size / c->icache.ways) - 1;
197 c->dcache.waybit = ffs(dcache_size / c->dcache.ways) - 1;
/linux-master/arch/loongarch/include/asm/
H A Dfpu.h58 (ffs(FPU_CSR_ALL_X) - ffs(FPU_CSR_ALL_E)));
/linux-master/drivers/gpu/drm/xe/
H A Dxe_force_wake.c136 for (tmp__ = (mask__); tmp__; tmp__ &= ~BIT(ffs(tmp__) - 1)) \
138 (ffs(tmp__) - 1))) && \
/linux-master/drivers/clk/ti/
H A Dmux.c47 val = ffs(val) - 1;
67 index = (1 << ffs(index));
/linux-master/drivers/regulator/
H A Dmt6359-regulator.c281 regval >>= ffs(info->modeset_mask) - 1;
310 val <<= ffs(info->modeset_mask) - 1;
319 val <<= ffs(info->modeset_mask) - 1;
326 val <<= ffs(info->lp_mode_mask) - 1;
336 val <<= ffs(info->lp_mode_mask) - 1;
361 sel <<= ffs(info->desc.vsel_mask) - 1;
421 val >>= ffs(info->desc.vsel_mask) - 1;
H A Drtmv20-regulator.c124 sel <<= ffs(rdev->desc->csel_mask) - 1;
140 val >>= ffs(rdev->desc->csel_mask) - 1;
242 int shift = ffs(props[i].mask) - 1;
H A Dmt6380-regulator.c200 val <<= ffs(info->modeset_mask) - 1;
218 val >>= ffs(info->modeset_mask) - 1;
/linux-master/drivers/mmc/host/
H A Ddw_mmc-k3.c337 i = ffs(sample_flag) - 1;
346 len = ffs(~v) - 1;
353 interval = ffs(v >> len) - 1;
/linux-master/drivers/mtd/devices/
H A Dpmc551.c660 msize = (1 << (ffs(msize) - 1)) << 20;
669 asize = (1 << (ffs(asize) - 1)) << 20;
753 ffs(priv->asize >> 20) - 1);
758 | (ffs(priv->asize >> 20) - 1) << 4);
/linux-master/arch/mips/sni/
H A Da20r.c214 irq = ffs(((cause & status) >> 8) & 0xf8);
/linux-master/drivers/scsi/
H A Dsim710.c182 scsi_id = ffs(val) - 1;
/linux-master/fs/squashfs/
H A Dxz_wrapper.c61 n = ffs(opts->dict_size) - 1;
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
H A Dnv50.c139 init.or = ffs(outp.or) - 1;
/linux-master/drivers/mux/
H A Dmmio.c99 field.lsb = ffs(mask) - 1;
/linux-master/sound/soc/codecs/
H A Drtq9128.c492 start_loc = (ffs(mask) - 1) * slot_width / 8;
493 mask &= ~BIT(ffs(mask) - 1);
503 start_loc = (ffs(mask) - 1) * slot_width / 8;
504 mask &= ~BIT(ffs(mask) - 1);
/linux-master/arch/sparc/lib/
H A DMakefile51 lib-$(CONFIG_SPARC64) += mcount.o ipcsum.o xor.o hweight.o ffs.o
/linux-master/arch/x86/kvm/
H A Ddebugfs.c124 index = ffs(pte_list_count(&rmap[l]));

Completed in 225 milliseconds

1234567891011>>