Home
last modified time | relevance | path

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

12

/linux/lib/
A Dclz_ctz.c57 return __ffs64((u64)val); in __ctzdi2()
A Dbitfield_kunit.c100 tp##_encode_bits(v, mask) != v << __ffs64(mask));\
/linux/drivers/ntb/test/
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()
A Dntb_perf.c715 incmd_bit = BIT_ULL(__ffs64(inbits)); in perf_enable_service()
/linux/drivers/scsi/mvsas/
A Dmv_94xx.h320 return x ? __ffs64(x) : -1; in mv_ffc64()
/linux/include/linux/
A Dbitops.h222 static inline unsigned long __ffs64(u64 word) in __ffs64() function
/linux/arch/x86/mm/
A Dmem_encrypt.c433 u64 dma_enc_mask = DMA_BIT_MASK(__ffs64(sme_me_mask)); in force_dma_unencrypted()
/linux/include/ras/
A Dras_event.h60 __entry->pa_mask_lsb = (u8)__ffs64(mem->physical_addr_mask);
/linux/arch/arm64/lib/
A Dinsn.c1295 u64 sval = val >> __ffs64(val); in range_of_ones()
1365 ror = __ffs64(imm); in aarch64_encode_immediate()
/linux/drivers/iio/adc/
A Dqcom-vadc-common.c756 return __ffs64(value / VADC_DECIMATION_MIN); in qcom_vadc_decimation_from_dt()
A Dqcom-spmi-vadc.c440 return __ffs64(value); in vadc_avg_samples_from_dt()
/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/
A Duser.c329 for (; i = __ffs64(mask), mask && !sclass; mask &= ~(1ULL << i)) { in nvkm_udevice_child_get()
/linux/drivers/pci/controller/
A Dpcie-rcar-ep.c223 unsigned long nr_zeros = __ffs64(cpu_addr); in rcar_pcie_ep_set_bar()
A Dpci-aardvark.c1563 (start ? (1ULL << __ffs64(start)) : 0); in advk_pcie_probe()
1564 win_size = 1ULL << __ffs64(win_size); in advk_pcie_probe()
A Dpcie-rcar-host.c833 unsigned long nr_zeros = __ffs64(cpu_addr); in rcar_pcie_inbound_ranges()
/linux/arch/x86/kernel/cpu/mtrr/
A Dgeneric.c427 high_width = (__ffs64(size_or_mask) - (32 - PAGE_SHIFT) + 3) / 4; in print_mtrr_state()
/linux/drivers/gpu/drm/amd/amdkfd/
A Dkfd_device_queue_manager.c1054 bit = __ffs64(dqm->sdma_bitmap); in allocate_sdma_queue()
1066 bit = __ffs64(dqm->xgmi_sdma_bitmap); in allocate_sdma_queue()
/linux/net/mac80211/
A Diface.c1857 if (__ffs64(mask) + hweight64(mask) != fls64(mask)) { in ieee80211_assign_perm_addr()
1878 inc = 1ULL<<__ffs64(mask); in ieee80211_assign_perm_addr()
/linux/drivers/usb/early/
A Dxhci-dbc.c77 sz64 = 1ULL << __ffs64(sz64); in xdbc_map_pci_mmio()
/linux/drivers/ata/
A Dlibata-sata.c663 unsigned int tag = __ffs64(done_mask); in ata_qc_complete_multiple()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
A Dcgx.c1476 lmac->lmac_id = __ffs64(lmac_list); in cgx_lmac_init()
A Drvu_npc_fs.c649 shift = __ffs64(field->kw_mask[i]); in npc_update_entry()
/linux/fs/gfs2/
A Drgrp.c259 bit = __ffs64(tmp); in gfs2_bitfit()
/linux/kernel/trace/
A Dtrace_events_hist.c313 return val1 >> __ffs64(val2); in hist_field_div()
329 return val1 >> __ffs64(operand2->constant); in div_by_power_of_two()
/linux/drivers/net/wireless/ath/ath11k/
A Dmac.c889 bit = __ffs64(ar->ab->free_vdev_map); in ath11k_mac_monitor_vdev_create()
5528 bit = __ffs64(ab->free_vdev_map); in ath11k_mac_op_add_interface()

Completed in 114 milliseconds

12