Home
last modified time | relevance | path

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

12

/linux-6.1.9/arch/x86/mm/
Dmem_encrypt.c31 u64 dma_enc_mask = DMA_BIT_MASK(__ffs64(sme_me_mask)); in force_dma_unencrypted()
/linux-6.1.9/lib/
Dclz_ctz.c57 return __ffs64((u64)val); in __ctzdi2()
Dbitfield_kunit.c100 tp##_encode_bits(v, mask) != v << __ffs64(mask));\
/linux-6.1.9/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-6.1.9/drivers/scsi/mvsas/
Dmv_94xx.h320 return x ? __ffs64(x) : -1; in mv_ffc64()
/linux-6.1.9/drivers/net/wwan/t7xx/
Dt7xx_pcie_mac.c105 pos = __ffs64(cfg->size); in t7xx_pcie_mac_atr_cfg()
/linux-6.1.9/include/linux/
Dbitops.h239 static inline unsigned long __ffs64(u64 word) in __ffs64() function
/linux-6.1.9/include/ras/
Dras_event.h60 __entry->pa_mask_lsb = (u8)__ffs64(mem->physical_addr_mask);
/linux-6.1.9/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-6.1.9/drivers/iio/adc/
Dqcom-vadc-common.c767 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-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/device/
Duser.c329 for (; i = __ffs64(mask), mask && !sclass; mask &= ~(1ULL << i)) { in nvkm_udevice_child_get()
/linux-6.1.9/arch/arm64/lib/
Dinsn.c1468 u64 sval = val >> __ffs64(val); in range_of_ones()
1538 ror = __ffs64(imm); in aarch64_encode_immediate()
/linux-6.1.9/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.c923 unsigned long nr_zeros = __ffs64(cpu_addr); in rcar_pcie_inbound_ranges()
/linux-6.1.9/arch/x86/kernel/cpu/mtrr/
Dgeneric.c427 high_width = (__ffs64(size_or_mask) - (32 - PAGE_SHIFT) + 3) / 4; in print_mtrr_state()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7603/
Dmain.c47 mvif->idx = __ffs64(~dev->mt76.vif_mask); in mt7603_add_interface()
/linux-6.1.9/drivers/ata/
Dlibata-sata.c660 unsigned int tag = __ffs64(done_mask); in ata_qc_complete_multiple()
/linux-6.1.9/drivers/usb/early/
Dxhci-dbc.c77 sz64 = 1ULL << __ffs64(sz64); in xdbc_map_pci_mmio()
/linux-6.1.9/net/mac80211/
Diface.c2034 if (__ffs64(mask) + hweight64(mask) != fls64(mask)) { in ieee80211_assign_perm_addr()
2055 inc = 1ULL<<__ffs64(mask); in ieee80211_assign_perm_addr()
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_device_queue_manager.c1360 bit = __ffs64(dqm->sdma_bitmap); in allocate_sdma_queue()
1383 bit = __ffs64(dqm->xgmi_sdma_bitmap); in allocate_sdma_queue()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7615/
Dmain.c197 mvif->mt76.idx = __ffs64(~dev->mt76.vif_mask); in mt7615_add_interface()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7915/
Dmain.c199 mvif->mt76.idx = __ffs64(~dev->mt76.vif_mask); in mt7915_add_interface()

12