/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/ |
H A D | law.c | 21 start_align = 1ull << (__ffs64(start)); in set_ddr_laws() 41 start_align = 1ull << (__ffs64(start)); in set_ddr_laws()
|
/openbmc/linux/lib/ |
H A D | clz_ctz.c | 41 return __ffs64(val); in __ctzdi2()
|
H A D | bitfield_kunit.c | 100 tp##_encode_bits(v, mask) != v << __ffs64(mask));\
|
/openbmc/linux/arch/x86/mm/ |
H A D | mem_encrypt.c | 31 u64 dma_enc_mask = DMA_BIT_MASK(__ffs64(sme_me_mask)); in force_dma_unencrypted()
|
/openbmc/u-boot/arch/powerpc/cpu/mpc8xxx/ |
H A D | law.c | 190 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 D | ntb_pingpong.c | 125 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 D | bitops.h | 171 static inline unsigned long __ffs64(u64 word) in __ffs64() function
|
/openbmc/linux/drivers/scsi/mvsas/ |
H A D | mv_94xx.h | 320 return x ? __ffs64(x) : -1; in mv_ffc64()
|
/openbmc/linux/drivers/net/wwan/t7xx/ |
H A D | t7xx_pcie_mac.c | 105 pos = __ffs64(cfg->size); in t7xx_pcie_mac_atr_cfg()
|
/openbmc/linux/include/linux/ |
H A D | bitops.h | 240 static inline unsigned long __ffs64(u64 word) in __ffs64() function
|
/openbmc/linux/include/ras/ |
H A D | ras_event.h | 60 __entry->pa_mask_lsb = (u8)__ffs64(mem->physical_addr_mask);
|
/openbmc/linux/drivers/iio/adc/ |
H A D | qcom-vadc-common.c | 767 return __ffs64(value / VADC_DECIMATION_MIN); in qcom_vadc_decimation_from_dt()
|
H A D | qcom-spmi-vadc.c | 443 return __ffs64(value); in vadc_avg_samples_from_dt()
|
/openbmc/linux/drivers/ntb/hw/mscc/ |
H A D | ntb_hw_switchtec.c | 879 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 D | user.c | 329 for (; i = __ffs64(mask), mask && !sclass; mask &= ~(1ULL << i)) { in nvkm_udevice_child_get()
|
/openbmc/linux/arch/arm64/lib/ |
H A D | insn.c | 1309 u64 sval = val >> __ffs64(val); in range_of_ones() 1379 ror = __ffs64(imm); in aarch64_encode_immediate()
|
/openbmc/linux/drivers/pci/controller/ |
H A D | pcie-rcar-ep.c | 223 unsigned long nr_zeros = __ffs64(cpu_addr); in rcar_pcie_ep_set_bar()
|
H A D | pci-aardvark.c | 1809 (start ? (1ULL << __ffs64(start)) : 0); in advk_pcie_probe() 1810 win_size = 1ULL << __ffs64(win_size); in advk_pcie_probe()
|
H A D | pcie-rcar-host.c | 906 unsigned long nr_zeros = __ffs64(cpu_addr); in rcar_pcie_inbound_ranges()
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_chan.c | 311 args.chan.runlist = __ffs64(runm); in nouveau_channel_ctor()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | main.c | 47 mvif->idx = __ffs64(~dev->mt76.vif_mask); in mt7603_add_interface()
|
/openbmc/linux/drivers/usb/early/ |
H A D | xhci-dbc.c | 77 sz64 = 1ULL << __ffs64(sz64); in xdbc_map_pci_mmio()
|
/openbmc/linux/drivers/ata/ |
H A D | libata-sata.c | 678 unsigned int tag = __ffs64(done_mask); in ata_qc_complete_multiple()
|
/openbmc/linux/net/mac80211/ |
H A D | iface.c | 2041 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 D | io_pagetable.c | 132 1UL << __ffs64(uptr)); in iopt_alloc_iova()
|