Searched refs:ffs (Results 151 - 175 of 465) sorted by relevance

1234567891011>>

/linux-master/arch/alpha/kernel/
H A Dcore_cia.c870 tmp = ffs(tmp);
1046 i = ffs(syn) - 1;
1125 switch (ffs(cia->cia_err & 0xfff) - 1) {
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Daqua_vanjaram.c248 log_inst = ffs(mask) - 1;
264 i = ffs(inst_mask) - 1;
577 xcc_id = ffs(xcc_mask) - 1;
/linux-master/sound/soc/codecs/
H A Dcs35l33.c559 slot = ffs(rx_mask) - 1;
570 slot = ffs(tx_mask) - 1;
627 slot = ffs(tx_mask) - 1;
H A Dcs35l34.c280 slot = ffs(rx_mask) - 1;
288 slot = ffs(tx_mask) - 1;
330 slot = ffs(tx_mask) - 1;
/linux-master/drivers/gpu/drm/panthor/
H A Dpanthor_sched.c1433 u32 cs_id = ffs(tiler_oom) - 1;
1596 u32 cs_id = ffs(cs_irqs) - 1;
1658 u32 csg_id = ffs(events) - 1;
1734 u32 csg_id = ffs(update_slots) - 1;
1748 u32 csg_id = ffs(update_slots) - 1;
2166 csg_id = ffs(free_csg_slots) - 1;
2409 u32 cs_id = ffs(tested_queues) - 1;
2609 u32 csg_id = ffs(slot_mask) - 1;
2621 u32 csg_id = ffs(slot_mask) - 1;
2645 u32 csg_id = ffs(slot_mas
[all...]
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_dcb.c376 app.priority = ffs(fwap->user_prio_map) - 1;
1041 app->priority = ffs(prio) - 1;
1174 ffs(pcmd.u.dcb.app_priority.user_prio_map) - 1;
/linux-master/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmain.c130 return ffs(~mask & GENMASK(end, start));
1008 if (!tx_ant || tx_ant != rx_ant || ffs(tx_ant) > max_nss)
1012 tx_ant = BIT(ffs(tx_ant) - 1) - 1;
/linux-master/drivers/md/bcache/
H A Dbset.c396 j >>= ffs(j);
451 shift = ffs(j);
600 : tree_to_prev_bkey(t, j >> ffs(j));
/linux-master/drivers/platform/x86/intel/speed_select_if/
H A Disst_tpmi_core.c440 return id - ffs(sst_inst->cdie_mask[i]) + 1;
516 cdie_range = fls(sst_inst->cdie_mask[i]) - ffs(sst_inst->cdie_mask[i]) + 1;
1522 cdie_range = fls(cdie_mask) - ffs(cdie_mask) + 1;
/linux-master/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddispc-compat.c78 seq_printf(s, "%-20s %10d\n", #x, stats.irqs[ffs(DISPC_IRQ_##x)-1])
/linux-master/drivers/crypto/ccp/
H A Dccp-dev.h103 #define QUEUE_SIZE_VAL ((ffs(COMMANDS_PER_QUEUE) - 2) & \
/linux-master/drivers/media/rc/
H A Dttusbir.c135 b = ffs(v) - 1;
/linux-master/drivers/mtd/nand/raw/bcm47xxnflash/
H A Dops_bcm4706.c429 tbits = ffs(chipsize); /* find first bit set */
/linux-master/drivers/memory/
H A Dof_memory.c349 info.density = ffs(info.density) - 7;
/linux-master/fs/hfsplus/
H A Dbtree.c237 tree->node_size_shift = ffs(size) - 1;
/linux-master/fs/hfs/
H A Dbtree.c120 tree->node_size_shift = ffs(size) - 1;
/linux-master/drivers/input/keyboard/
H A Dmtk-pmic-keys.c159 value = long_press_debounce << (ffs(regs->rst_lprst_mask) - 1);
/linux-master/drivers/clk/ingenic/
H A Dtcu.c132 return ffs(val & TCU_TCSR_PARENT_CLOCK_MASK) - 1;
/linux-master/drivers/regulator/
H A Drt5190a-regulator.c178 fields >>= ffs(event_tbl[i].bitmask) - 1;
/linux-master/drivers/rtc/
H A Drtc-rx8010.c132 dt->tm_wday = ffs(date[RX8010_WDAY - RX8010_SEC] & 0x7f);
H A Drtc-rx6110.c143 tm->tm_wday = ffs(data[RTC_WDAY] & 0x7f);
/linux-master/drivers/gpu/drm/stm/
H A Ddw_mipi_dsi-stm.c283 (ndiv << 2) | (idf << 11) | ((ffs(odf) - 1) << 16));
/linux-master/drivers/gpu/drm/vc4/
H A Dvc4_v3d.c186 slot = ffs(~vc4->bin_alloc_used);
188 /* Switch from ffs() bit index to a 0-based index. */
/linux-master/fs/ceph/
H A Dioctl.c253 ci->i_nr_by_mode[ffs(CEPH_FILE_MODE_LAZY)]++;
/linux-master/drivers/clk/mediatek/
H A Dclk-pll.c104 val |= (ffs(postdiv) - 1) << pll->data->pd_shift;

Completed in 530 milliseconds

1234567891011>>