Home
last modified time | relevance | path

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

12

/Linux-v5.10/lib/
Dclz_ctz.c57 return __ffs64((u64)val); in __ctzdi2()
Dbitfield_kunit.c100 tp##_encode_bits(v, mask) != v << __ffs64(mask));\
/Linux-v5.10/drivers/ntb/test/
Dntb_pingpong.c125 pidx = __ffs64(link & pp->nmask); in pp_find_next_peer()
127 pidx = __ffs64(link & pp->pmask); in pp_find_next_peer()
Dntb_perf.c714 incmd_bit = BIT_ULL(__ffs64(inbits)); in perf_enable_service()
/Linux-v5.10/drivers/scsi/mvsas/
Dmv_94xx.h320 return x ? __ffs64(x) : -1; in mv_ffc64()
/Linux-v5.10/include/linux/
Dbitops.h218 static inline unsigned long __ffs64(u64 word) in __ffs64() function
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
Dbase.c92 enum nvkm_devidx subidx = __ffs64(subdevs); in nvkm_mc_intr()
/Linux-v5.10/arch/mips/netlogic/common/
Dirq.c255 i = __ffs64(eirr); in plat_irq_dispatch()
/Linux-v5.10/arch/x86/mm/
Dmem_encrypt.c376 u64 dma_enc_mask = DMA_BIT_MASK(__ffs64(sme_me_mask)); in force_dma_unencrypted()
/Linux-v5.10/arch/mips/kernel/
Dmips-cm.c447 cause = cm_error >> __ffs64(CM3_GCR_ERROR_CAUSE_ERRTYPE); in mips_cm_error_report()
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dgf100.c159 for (todo = mask; engn = __ffs64(todo), todo; todo &= ~BIT_ULL(engn)) in gf100_fifo_recover_work()
163 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-v5.10/drivers/iio/adc/
Dqcom-vadc-common.c671 return __ffs64(value / VADC_DECIMATION_MIN); in qcom_vadc_decimation_from_dt()
Dqcom-spmi-vadc.c441 return __ffs64(value); in vadc_avg_samples_from_dt()
/Linux-v5.10/include/ras/
Dras_event.h60 __entry->pa_mask_lsb = (u8)__ffs64(mem->physical_addr_mask);
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/engine/device/
Duser.c358 for (; i = __ffs64(mask), mask && !sclass; mask &= ~(1ULL << i)) { in nvkm_udevice_child_get()
/Linux-v5.10/arch/arm64/kernel/
Dinsn.c1536 u64 sval = val >> __ffs64(val); in range_of_ones()
1606 ror = __ffs64(imm); in aarch64_encode_immediate()
/Linux-v5.10/drivers/gpu/drm/i915/gt/
Dintel_timeline.c89 *cacheline = __ffs64(hwsp->free_bitmap); in hwsp_alloc()
/Linux-v5.10/drivers/pci/controller/
Dpcie-rcar-ep.c226 unsigned long nr_zeros = __ffs64(cpu_addr); in rcar_pcie_ep_set_bar()
Dpcie-rcar-host.c842 unsigned long nr_zeros = __ffs64(cpu_addr); in rcar_pcie_inbound_ranges()
/Linux-v5.10/arch/x86/kernel/cpu/mtrr/
Dgeneric.c428 high_width = (__ffs64(size_or_mask) - (32 - PAGE_SHIFT) + 3) / 4; in print_mtrr_state()
/Linux-v5.10/drivers/ata/
Dlibata-sata.c663 unsigned int tag = __ffs64(done_mask); in ata_qc_complete_multiple()
/Linux-v5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_device_queue_manager.c1035 bit = __ffs64(dqm->sdma_bitmap); in allocate_sdma_queue()
1047 bit = __ffs64(dqm->xgmi_sdma_bitmap); in allocate_sdma_queue()
/Linux-v5.10/net/mac80211/
Diface.c1785 if (__ffs64(mask) + hweight64(mask) != fls64(mask)) { in ieee80211_assign_perm_addr()
1806 inc = 1ULL<<__ffs64(mask); in ieee80211_assign_perm_addr()
/Linux-v5.10/drivers/usb/early/
Dxhci-dbc.c78 sz64 = 1ULL << __ffs64(sz64); in xdbc_map_pci_mmio()

12