Home
last modified time | relevance | path

Searched refs:__ffs64 (Results 1 – 23 of 23) sorted by relevance

/Linux-v4.19/lib/
Dclz_ctz.c59 return __ffs64((u64)val); in __ctzdi2()
Dtest_bitfield.c106 if (tp##_encode_bits(v, mask) != v << __ffs64(mask)) \
/Linux-v4.19/drivers/ntb/test/
Dntb_pingpong.c125 pidx = __ffs64(link & pp->nmask); in pp_find_next_peer()
128 pidx = __ffs64(link & pp->pmask); in pp_find_next_peer()
Dntb_perf.c711 incmd_bit = BIT_ULL(__ffs64(inbits)); in perf_enable_service()
/Linux-v4.19/drivers/scsi/mvsas/
Dmv_94xx.h336 return x ? __ffs64(x) : -1; in mv_ffc64()
/Linux-v4.19/drivers/iio/adc/
Dqcom-vadc-common.c230 return __ffs64(value / VADC_DECIMATION_MIN); in qcom_vadc_decimation_from_dt()
Dqcom-spmi-vadc.c449 return __ffs64(value); in vadc_avg_samples_from_dt()
/Linux-v4.19/include/linux/
Dbitops.h201 static inline unsigned long __ffs64(u64 word) in __ffs64() function
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
Dbase.c92 enum nvkm_devidx subidx = __ffs64(subdevs); in nvkm_mc_intr()
/Linux-v4.19/arch/mips/netlogic/common/
Dirq.c255 i = __ffs64(eirr); in plat_irq_dispatch()
/Linux-v4.19/arch/mips/kernel/
Dmips-cm.c393 cause = cm_error >> __ffs64(CM3_GCR_ERROR_CAUSE_ERRTYPE); in mips_cm_error_report()
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dgf100.c158 for (todo = mask; engn = __ffs64(todo), todo; todo &= ~BIT_ULL(engn)) in gf100_fifo_recover_work()
162 for (todo = mask; engn = __ffs64(todo), todo; todo &= ~BIT_ULL(engn)) { in gf100_fifo_recover_work()
Dchan.c211 for (; c = 0, i = __ffs64(mask), mask; mask &= ~(1ULL << i)) { in nvkm_fifo_chan_child_get()
/Linux-v4.19/include/ras/
Dras_event.h60 __entry->pa_mask_lsb = (u8)__ffs64(mem->physical_addr_mask);
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/device/
Duser.c357 for (; i = __ffs64(mask), mask && !sclass; mask &= ~(1ULL << i)) { in nvkm_udevice_child_get()
/Linux-v4.19/arch/arm64/kernel/
Dinsn.c1442 u64 sval = val >> __ffs64(val); in range_of_ones()
1512 ror = __ffs64(imm); in aarch64_encode_immediate()
/Linux-v4.19/arch/x86/kernel/cpu/mtrr/
Dgeneric.c427 high_width = (__ffs64(size_or_mask) - (32 - PAGE_SHIFT) + 3) / 4; in print_mtrr_state()
/Linux-v4.19/net/mac80211/
Diface.c1668 if (__ffs64(mask) + hweight64(mask) != fls64(mask)) { in ieee80211_assign_perm_addr()
1689 inc = 1ULL<<__ffs64(mask); in ieee80211_assign_perm_addr()
/Linux-v4.19/drivers/pci/controller/
Dpcie-rcar.c1031 unsigned long nr_zeros = __ffs64(cpu_addr); in rcar_pcie_inbound_ranges()
/Linux-v4.19/drivers/usb/early/
Dxhci-dbc.c77 sz64 = 1ULL << __ffs64(sz64); in xdbc_map_pci_mmio()
/Linux-v4.19/fs/gfs2/
Drgrp.c252 bit = __ffs64(tmp); in gfs2_bitfit()
/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dmac.c1084 bit = __ffs64(ar->free_vdev_map); in ath10k_monitor_vdev_create()
5022 bit = __ffs64(ar->free_vdev_map); in ath10k_add_interface()
/Linux-v4.19/drivers/ata/
Dlibata-core.c5385 unsigned int tag = __ffs64(done_mask); in ata_qc_complete_multiple()