Home
last modified time | relevance | path

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

12

/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/
H A Dlaw.c21 start_align = 1ull << (__ffs64(start)); in set_ddr_laws()
41 start_align = 1ull << (__ffs64(start)); in set_ddr_laws()
/openbmc/linux/lib/
H A Dclz_ctz.c41 return __ffs64(val); in __ctzdi2()
H A Dbitfield_kunit.c100 tp##_encode_bits(v, mask) != v << __ffs64(mask));\
/openbmc/linux/arch/x86/mm/
H A Dmem_encrypt.c31 u64 dma_enc_mask = DMA_BIT_MASK(__ffs64(sme_me_mask)); in force_dma_unencrypted()
/openbmc/u-boot/arch/powerpc/cpu/mpc8xxx/
H A Dlaw.c190 start_align = 1ull << (__ffs64(start)); in set_ddr_laws()
205 start_align = 1ull << (__ffs64(start)); in set_ddr_laws()
/openbmc/linux/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()
/openbmc/u-boot/include/linux/
H A Dbitops.h171 static inline unsigned long __ffs64(u64 word) in __ffs64() function
/openbmc/linux/drivers/scsi/mvsas/
H A Dmv_94xx.h320 return x ? __ffs64(x) : -1; in mv_ffc64()
/openbmc/linux/drivers/net/wwan/t7xx/
H A Dt7xx_pcie_mac.c105 pos = __ffs64(cfg->size); in t7xx_pcie_mac_atr_cfg()
/openbmc/linux/include/linux/
H A Dbitops.h240 static inline unsigned long __ffs64(u64 word) in __ffs64() function
/openbmc/linux/include/ras/
H A Dras_event.h60 __entry->pa_mask_lsb = (u8)__ffs64(mem->physical_addr_mask);
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Duser.c329 for (; i = __ffs64(mask), mask && !sclass; mask &= ~(1ULL << i)) { in nvkm_udevice_child_get()
/openbmc/linux/arch/arm64/lib/
H A Dinsn.c1309 u64 sval = val >> __ffs64(val); in range_of_ones()
1379 ror = __ffs64(imm); in aarch64_encode_immediate()
/openbmc/linux/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.c1809 (start ? (1ULL << __ffs64(start)) : 0); in advk_pcie_probe()
1810 win_size = 1ULL << __ffs64(win_size); in advk_pcie_probe()
H A Dpcie-rcar-host.c906 unsigned long nr_zeros = __ffs64(cpu_addr); in rcar_pcie_inbound_ranges()
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_chan.c311 args.chan.runlist = __ffs64(runm); in nouveau_channel_ctor()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dmain.c47 mvif->idx = __ffs64(~dev->mt76.vif_mask); in mt7603_add_interface()
/openbmc/linux/drivers/usb/early/
H A Dxhci-dbc.c77 sz64 = 1ULL << __ffs64(sz64); in xdbc_map_pci_mmio()
/openbmc/linux/drivers/ata/
H A Dlibata-sata.c678 unsigned int tag = __ffs64(done_mask); in ata_qc_complete_multiple()
/openbmc/linux/net/mac80211/
H A Diface.c2041 if (__ffs64(mask) + hweight64(mask) != fls64(mask)) { in ieee80211_assign_perm_addr()
2062 inc = 1ULL<<__ffs64(mask); in ieee80211_assign_perm_addr()
/openbmc/linux/drivers/iommu/iommufd/
H A Dio_pagetable.c132 1UL << __ffs64(uptr)); in iopt_alloc_iova()

12