Home
last modified time | relevance | path

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

12

/Linux-v6.6/lib/
Dclz_ctz.c41 return __ffs64(val); in __ctzdi2()
Dbitfield_kunit.c100 tp##_encode_bits(v, mask) != v << __ffs64(mask));\
/Linux-v6.6/arch/x86/mm/
Dmem_encrypt.c31 u64 dma_enc_mask = DMA_BIT_MASK(__ffs64(sme_me_mask)); in force_dma_unencrypted()
/Linux-v6.6/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.c715 incmd_bit = BIT_ULL(__ffs64(inbits)); in perf_enable_service()
/Linux-v6.6/drivers/scsi/mvsas/
Dmv_94xx.h320 return x ? __ffs64(x) : -1; in mv_ffc64()
/Linux-v6.6/drivers/net/wwan/t7xx/
Dt7xx_pcie_mac.c105 pos = __ffs64(cfg->size); in t7xx_pcie_mac_atr_cfg()
/Linux-v6.6/include/linux/
Dbitops.h239 static inline unsigned long __ffs64(u64 word) in __ffs64() function
/Linux-v6.6/include/ras/
Dras_event.h60 __entry->pa_mask_lsb = (u8)__ffs64(mem->physical_addr_mask);
/Linux-v6.6/drivers/ntb/hw/mscc/
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-v6.6/drivers/iio/adc/
Dqcom-vadc-common.c767 return __ffs64(value / VADC_DECIMATION_MIN); in qcom_vadc_decimation_from_dt()
Dqcom-spmi-vadc.c443 return __ffs64(value); in vadc_avg_samples_from_dt()
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/engine/device/
Duser.c329 for (; i = __ffs64(mask), mask && !sclass; mask &= ~(1ULL << i)) { in nvkm_udevice_child_get()
/Linux-v6.6/arch/arm64/lib/
Dinsn.c1309 u64 sval = val >> __ffs64(val); in range_of_ones()
1379 ror = __ffs64(imm); in aarch64_encode_immediate()
/Linux-v6.6/drivers/pci/controller/
Dpcie-rcar-ep.c223 unsigned long nr_zeros = __ffs64(cpu_addr); in rcar_pcie_ep_set_bar()
Dpci-aardvark.c1809 (start ? (1ULL << __ffs64(start)) : 0); in advk_pcie_probe()
1810 win_size = 1ULL << __ffs64(win_size); in advk_pcie_probe()
Dpcie-rcar-host.c902 unsigned long nr_zeros = __ffs64(cpu_addr); in rcar_pcie_inbound_ranges()
/Linux-v6.6/drivers/gpu/drm/nouveau/
Dnouveau_chan.c309 args.chan.runlist = __ffs64(runm); in nouveau_channel_ctor()
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/mt7603/
Dmain.c47 mvif->idx = __ffs64(~dev->mt76.vif_mask); in mt7603_add_interface()
/Linux-v6.6/drivers/ata/
Dlibata-sata.c678 unsigned int tag = __ffs64(done_mask); in ata_qc_complete_multiple()
Dlibahci.c2162 unsigned int tag = __ffs64(done_mask); in ahci_qc_ncq_fill_rtf()
2183 unsigned int tag = __ffs64(done_mask); in ahci_qc_ncq_fill_rtf()
/Linux-v6.6/drivers/usb/early/
Dxhci-dbc.c77 sz64 = 1ULL << __ffs64(sz64); in xdbc_map_pci_mmio()
/Linux-v6.6/net/mac80211/
Diface.c2005 if (__ffs64(mask) + hweight64(mask) != fls64(mask)) { in ieee80211_assign_perm_addr()
2026 inc = 1ULL<<__ffs64(mask); in ieee80211_assign_perm_addr()
/Linux-v6.6/drivers/iommu/iommufd/
Dio_pagetable.c131 1UL << __ffs64(uptr)); in iopt_alloc_iova()
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/mt7921/
Dmain.c295 mvif->mt76.idx = __ffs64(~dev->mt76.vif_mask); in mt7921_add_interface()

12