| /linux/lib/tests/ |
| H A D | ffs_kunit.c | 177 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 D | clz_ctz.c | 41 return __ffs64(val); in __ctzdi2()
|
| /linux/drivers/scsi/mvsas/ |
| H A D | mv_94xx.h | 320 return x ? __ffs64(x) : -1; in mv_ffc64()
|
| /linux/drivers/net/wwan/t7xx/ |
| H A D | t7xx_pcie_mac.c | 105 pos = __ffs64(cfg->size); in t7xx_pcie_mac_atr_cfg()
|
| /linux/include/linux/ |
| H A D | bitops.h | 270 static inline __attribute_const__ unsigned int __ffs64(u64 word) in __ffs64() function
|
| /linux/include/ras/ |
| H A D | ras_event.h | 59 __entry->pa_mask_lsb = (u8)__ffs64(mem->physical_addr_mask);
|
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
| H A D | user.c | 284 for (; i = __ffs64(mask), mask && !sclass; mask &= ~(1ULL << i)) { in nvkm_udevice_child_get()
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_configfs.c | 445 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 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()
|
| /linux/drivers/iio/adc/ |
| H A D | qcom-vadc-common.c | 767 return __ffs64(value / VADC_DECIMATION_MIN); in qcom_vadc_decimation_from_dt()
|
| /linux/drivers/iommu/arm/arm-smmu-v3/ |
| H A D | tegra241-cmdqv.c | 320 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 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 | 1785 (start ? (1ULL << __ffs64(start)) : 0); in advk_pcie_probe() 1786 win_size = 1ULL << __ffs64(win_size); in advk_pcie_probe()
|
| H A D | pcie-rcar-host.c | 872 unsigned long nr_zeros = __ffs64(cpu_addr); in rcar_pcie_inbound_ranges()
|
| /linux/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_chan.c | 299 args->runlist = __ffs64(runm); in nouveau_channel_ctor()
|
| /linux/drivers/usb/early/ |
| H A D | xhci-dbc.c | 77 sz64 = 1ULL << __ffs64(sz64); in xdbc_map_pci_mmio()
|
| /linux/net/mac80211/ |
| H A D | iface.c | 2147 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 D | libahci.c | 2151 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 D | libata-sata.c | 785 unsigned int tag = __ffs64(done_mask); in ata_qc_complete_multiple()
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
| H A D | main.c | 96 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 D | ntb_perf.c | 715 incmd_bit = BIT_ULL(__ffs64(inbits)); in perf_enable_service()
|
| /linux/drivers/iommu/iommufd/ |
| H A D | io_pagetable.c | 144 1UL << __ffs64(addr)); in iopt_alloc_iova()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | cgx.c | 1738 lmac->lmac_id = __ffs64(lmac_list); in cgx_lmac_init()
|
| H A D | rvu_npc_fs.c | 775 shift = __ffs64(field->kw_mask[i]); in npc_update_entry()
|
| /linux/drivers/soc/fsl/qe/ |
| H A D | qmc.c | 1006 first_rx = chan->rx_ts_mask ? __ffs64(chan->rx_ts_mask) + 1 : 0; in qmc_setup_chan_trnsync()
|