Home
last modified time | relevance | path

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

12

/linux-6.15/lib/
H A Dclz_ctz.c41 return __ffs64(val); in __ctzdi2()
/linux-6.15/arch/x86/mm/
H A Dmem_encrypt.c34 u64 dma_enc_mask = DMA_BIT_MASK(__ffs64(sme_me_mask)); in force_dma_unencrypted()
/linux-6.15/drivers/ntb/test/
H A Dntb_pingpong.c125 pidx = __ffs64(link & pp->nmask); in pp_find_next_peer()
127 pidx = __ffs64(link & pp->pmask); in pp_find_next_peer()
/linux-6.15/lib/tests/
H A Dbitfield_kunit.c100 tp##_encode_bits(v, mask) != v << __ffs64(mask));\
/linux-6.15/drivers/scsi/mvsas/
H A Dmv_94xx.h320 return x ? __ffs64(x) : -1; in mv_ffc64()
/linux-6.15/drivers/net/wwan/t7xx/
H A Dt7xx_pcie_mac.c105 pos = __ffs64(cfg->size); in t7xx_pcie_mac_atr_cfg()
/linux-6.15/include/linux/
H A Dbitops.h271 static inline unsigned int __ffs64(u64 word) in __ffs64() function
/linux-6.15/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Duser.c281 for (; i = __ffs64(mask), mask && !sclass; mask &= ~(1ULL << i)) { in nvkm_udevice_child_get()
/linux-6.15/include/ras/
H A Dras_event.h60 __entry->pa_mask_lsb = (u8)__ffs64(mem->physical_addr_mask);
/linux-6.15/fs/bcachefs/
H A Dprintbuf.c500 while (flags && (bit = __ffs64(flags)) < nr) { in bch2_prt_bitflags()
H A Dsuper-io.c398 incompat_bit = __ffs64(incompat); in bch2_sb_validate()
400 incompat_bit = 64 + __ffs64(le64_to_cpu(sb->features[1])); in bch2_sb_validate()
H A Dbkey.c770 return ret + __ffs64(*p & mask) - offset; in bch2_bkey_ffs()
/linux-6.15/drivers/ntb/hw/mscc/
H A Dntb_hw_switchtec.c879 sndev->peer_partition = __ffs64(part_map); in switchtec_ntb_init_sndev()
881 if (__ffs64(tpart_vec) != (fls64(tpart_vec) - 1)) { in switchtec_ntb_init_sndev()
887 sndev->peer_partition = __ffs64(tpart_vec); in switchtec_ntb_init_sndev()
/linux-6.15/drivers/iio/adc/
H A Dqcom-vadc-common.c767 return __ffs64(value / VADC_DECIMATION_MIN); in qcom_vadc_decimation_from_dt()
H A Dqcom-spmi-vadc.c443 return __ffs64(value); in vadc_avg_samples_from_dt()
/linux-6.15/arch/arm64/lib/
H A Dinsn.c1339 u64 sval = val >> __ffs64(val); in range_of_ones()
1409 ror = __ffs64(imm); in aarch64_encode_immediate()
/linux-6.15/drivers/pci/controller/
H A Dpcie-rcar-ep.c223 unsigned long nr_zeros = __ffs64(cpu_addr); in rcar_pcie_ep_set_bar()
H A Dpci-aardvark.c1802 (start ? (1ULL << __ffs64(start)) : 0); in advk_pcie_probe()
1803 win_size = 1ULL << __ffs64(win_size); in advk_pcie_probe()
H A Dpcie-rcar-host.c902 unsigned long nr_zeros = __ffs64(cpu_addr); in rcar_pcie_inbound_ranges()
/linux-6.15/drivers/gpu/drm/nouveau/
H A Dnouveau_chan.c303 args.chan.runlist = __ffs64(runm); in nouveau_channel_ctor()
/linux-6.15/drivers/iommu/arm/arm-smmu-v3/
H A Dtegra241-cmdqv.c263 unsigned long lidx = __ffs64(map); in tegra241_vintf0_handle_error()
/linux-6.15/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dmain.c47 mvif->idx = __ffs64(~dev->mt76.vif_mask); in mt7603_add_interface()
/linux-6.15/drivers/usb/early/
H A Dxhci-dbc.c77 sz64 = 1ULL << __ffs64(sz64); in xdbc_map_pci_mmio()
/linux-6.15/drivers/ata/
H A Dlibata-sata.c785 unsigned int tag = __ffs64(done_mask); in ata_qc_complete_multiple()
/linux-6.15/net/mac80211/
H A Diface.c2024 if (__ffs64(mask) + hweight64(mask) != fls64(mask)) { in ieee80211_assign_perm_addr()
2045 inc = 1ULL<<__ffs64(mask); in ieee80211_assign_perm_addr()

12