Home
last modified time | relevance | path

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

12

/linux/lib/tests/
H A Dffs_kunit.c177 ffs64_0based = __ffs64(input); in validate_ffs64_relationships()
195 KUNIT_EXPECT_EQ_MSG(test, __ffs64(input), __ffs(input_32), in validate_ffs64_relationships()
198 (unsigned long)__ffs64(input), in validate_ffs64_relationships()
256 validate_ffs64_result(test, tc->input, __ffs64(tc->input), in ffs64_correctness_test()
/linux/lib/
H A Dclz_ctz.c41 return __ffs64(val); in __ctzdi2()
/linux/drivers/scsi/mvsas/
H A Dmv_94xx.h320 return x ? __ffs64(x) : -1; in mv_ffc64()
/linux/drivers/net/wwan/t7xx/
H A Dt7xx_pcie_mac.c105 pos = __ffs64(cfg->size); in t7xx_pcie_mac_atr_cfg()
/linux/include/linux/
H A Dbitops.h270 static inline __attribute_const__ unsigned int __ffs64(u64 word) in __ffs64() function
/linux/include/ras/
H A Dras_event.h59 __entry->pa_mask_lsb = (u8)__ffs64(mem->physical_addr_mask);
/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Duser.c284 for (; i = __ffs64(mask), mask && !sclass; mask &= ~(1ULL << i)) { in nvkm_udevice_child_get()
/linux/drivers/gpu/drm/xe/
H A Dxe_configfs.c445 u16 bit0 = __ffs64(mask), bit; in engines_allowed_show()
490 bit = __ffs64(engine_info[i].mask) + instance; in lookup_engine_info()
/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()
/linux/drivers/iio/adc/
H A Dqcom-vadc-common.c767 return __ffs64(value / VADC_DECIMATION_MIN); in qcom_vadc_decimation_from_dt()
/linux/drivers/iommu/arm/arm-smmu-v3/
H A Dtegra241-cmdqv.c320 unsigned long lidx = __ffs64(map); in tegra241_vintf0_handle_error()
359 unsigned long idx = __ffs64(vintf_map); in tegra241_cmdqv_isr()
/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.c1785 (start ? (1ULL << __ffs64(start)) : 0); in advk_pcie_probe()
1786 win_size = 1ULL << __ffs64(win_size); in advk_pcie_probe()
H A Dpcie-rcar-host.c872 unsigned long nr_zeros = __ffs64(cpu_addr); in rcar_pcie_inbound_ranges()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_chan.c299 args->runlist = __ffs64(runm); in nouveau_channel_ctor()
/linux/drivers/usb/early/
H A Dxhci-dbc.c77 sz64 = 1ULL << __ffs64(sz64); in xdbc_map_pci_mmio()
/linux/net/mac80211/
H A Diface.c2147 if (__ffs64(mask) + hweight64(mask) != fls64(mask)) { in ieee80211_assign_perm_addr()
2168 inc = 1ULL<<__ffs64(mask); in ieee80211_assign_perm_addr()
/linux/drivers/ata/
H A Dlibahci.c2151 unsigned int tag = __ffs64(done_mask); in ahci_qc_ncq_fill_rtf()
2173 unsigned int tag = __ffs64(done_mask); in ahci_qc_ncq_fill_rtf()
H A Dlibata-sata.c785 unsigned int tag = __ffs64(done_mask); in ata_qc_complete_multiple()
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmain.c96 return __ffs64(~mask & GENMASK_ULL(end, start)) + 1; in get_free_idx()
306 mlink->idx = __ffs64(~dev->mt76.vif_mask); in mt7996_vif_link_add()
/linux/drivers/ntb/test/
H A Dntb_perf.c715 incmd_bit = BIT_ULL(__ffs64(inbits)); in perf_enable_service()
/linux/drivers/iommu/iommufd/
H A Dio_pagetable.c144 1UL << __ffs64(addr)); in iopt_alloc_iova()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dcgx.c1738 lmac->lmac_id = __ffs64(lmac_list); in cgx_lmac_init()
H A Drvu_npc_fs.c775 shift = __ffs64(field->kw_mask[i]); in npc_update_entry()
/linux/drivers/soc/fsl/qe/
H A Dqmc.c1006 first_rx = chan->rx_ts_mask ? __ffs64(chan->rx_ts_mask) + 1 : 0; in qmc_setup_chan_trnsync()

12