/linux/drivers/gpu/drm/msm/disp/mdp5/ |
A D | mdp5_smp.c | 71 WARN_ON(bitmap_weight(cs, cnt) > 0); in smp_request_block() 80 avail = cnt - bitmap_weight(state->state, cnt); in smp_request_block() 355 int inuse = bitmap_weight(cs, smp->blk_cnt); in mdp5_smp_dump() 367 bitmap_weight(state->state, smp->blk_cnt)); in mdp5_smp_dump()
|
/linux/lib/ |
A D | memweight.c | 24 ret += bitmap_weight((unsigned long *)bitmap, in memweight()
|
A D | sbitmap.c | 320 weight += bitmap_weight(&word->word, word->depth); in __sbitmap_weight() 322 weight += bitmap_weight(&word->cleared, word->depth); in __sbitmap_weight()
|
A D | bitmap.c | 1015 w = bitmap_weight(new, nbits); in bitmap_remap() 1056 int w = bitmap_weight(new, bits); in bitmap_bitremap()
|
/linux/drivers/iio/dummy/ |
A D | iio_simple_dummy_buffer.c | 75 i < bitmap_weight(indio_dev->active_scan_mask, in iio_simple_dummy_trigger_h()
|
/linux/drivers/net/wireless/ath/ |
A D | spectral_common.h | 60 u8 bitmap_weight; member
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | port.c | 1108 bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1; in mlx4_get_slave_num_gids() 1119 slave_gid -= bitmap_weight(slaves_pport_actv.slaves, in mlx4_get_slave_num_gids() 1122 vfs = bitmap_weight(slaves_pport.slaves, dev->persist->num_vfs + 1) - 1; in mlx4_get_slave_num_gids() 1145 bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1; in mlx4_get_base_gid_ix() 1156 slave_gid -= bitmap_weight(slaves_pport_actv.slaves, in mlx4_get_base_gid_ix() 1160 vfs = bitmap_weight(slaves_pport.slaves, dev->persist->num_vfs + 1) - 1; in mlx4_get_base_gid_ix() 1871 num_vfs = bitmap_weight(slaves_pport.slaves, in mlx4_get_slave_from_roce_gid() 1914 num_vfs_before += bitmap_weight( in mlx4_get_slave_from_roce_gid() 1931 bitmap_weight(actv_ports.ports, in mlx4_get_slave_from_roce_gid() 1944 slave_gid += bitmap_weight( in mlx4_get_slave_from_roce_gid()
|
/linux/arch/x86/include/asm/ |
A D | mpspec.h | 114 bitmap_weight((map).mask, MAX_LOCAL_APIC)
|
/linux/tools/include/linux/ |
A D | bitmap.h | 63 static inline int bitmap_weight(const unsigned long *src, unsigned int nbits) in bitmap_weight() function
|
/linux/drivers/acpi/x86/ |
A D | apple.c | 82 numvalid = bitmap_weight(valid, numprops); in acpi_extract_apple_properties()
|
/linux/tools/perf/util/ |
A D | mem2node.c | 59 max += bitmap_weight(n->set, n->size); in mem2node__init()
|
/linux/fs/omfs/ |
A D | bitmap.c | 16 sum += nbits - bitmap_weight(sbi->s_imap[i], nbits); in omfs_count_free()
|
/linux/mm/ |
A D | cma_debug.c | 41 used = bitmap_weight(cma->bitmap, (int)cma_bitmap_maxno(cma)); in cma_used_get()
|
/linux/fs/ocfs2/cluster/ |
A D | heartbeat.c | 298 failed = bitmap_weight(o2hb_failed_region_bitmap, in o2hb_write_timeout() 300 quorum = bitmap_weight(o2hb_quorum_region_bitmap, in o2hb_write_timeout() 877 if (bitmap_weight(o2hb_quorum_region_bitmap, in o2hb_set_quorum_device() 1848 if (bitmap_weight(o2hb_region_bitmap, O2NM_MAX_REGIONS) == 1) in o2hb_region_dev_store() 2123 if (bitmap_weight(o2hb_quorum_region_bitmap, in o2hb_heartbeat_group_drop_item() 2367 if (bitmap_weight(o2hb_quorum_region_bitmap, in o2hb_region_inc_user()
|
/linux/net/sctp/ |
A D | tsnmap.c | 261 pending_data -= bitmap_weight(map->tsn_map, gap + 1); in sctp_tsnmap_pending()
|
/linux/drivers/perf/ |
A D | arm_pmu.c | 527 int enabled = bitmap_weight(hw_events->used_mask, armpmu->num_events); in armpmu_enable() 788 int enabled = bitmap_weight(hw_events->used_mask, armpmu->num_events); in cpu_pm_pmu_notify()
|
/linux/drivers/crypto/ccp/ |
A D | ccp-dev-v5.c | 601 queues = bitmap_weight(cmd_q->lsbmask, MAX_LSB_CNT); in ccp_find_lsb_regions() 630 qlsb_wgt = bitmap_weight(cmd_q->lsbmask, MAX_LSB_CNT); in ccp_find_and_assign_lsb_to_q() 682 n_lsbs = bitmap_weight(lsb_pub, MAX_LSB_CNT); in ccp_assign_lsbs()
|
/linux/drivers/iio/adc/ |
A D | ad7298.c | 112 scan_count = bitmap_weight(active_scan_mask, indio_dev->masklength); in ad7298_update_scan_mode()
|
A D | cc10001_adc.c | 271 indio_dev->num_channels = bitmap_weight(&channel_map, in cc10001_adc_channel_init()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_gfx.c | 234 …dev_dbg(adev->dev, "mec queue bitmap weight=%d\n", bitmap_weight(adev->gfx.mec.queue_bitmap, AMDGP… in amdgpu_gfx_compute_queue_acquire() 256 bitmap_weight(adev->gfx.me.queue_bitmap, AMDGPU_MAX_GFX_QUEUES); in amdgpu_gfx_graphics_queue_acquire()
|
/linux/drivers/block/drbd/ |
A D | drbd_bitmap.c | 564 bits += bitmap_weight(p_addr, BITS_PER_PAGE); in bm_count_bits() 571 bits += bitmap_weight(p_addr, last_word * BITS_PER_LONG); in bm_count_bits() 1653 count += bitmap_weight(bm, n * BITS_PER_LONG); in drbd_bm_e_weight()
|
/linux/drivers/net/dsa/mv88e6xxx/ |
A D | global1_atu.c | 334 shift = bitmap_weight(&mask, 16); in mv88e6xxx_g1_atu_move()
|
/linux/include/linux/ |
A D | bitmap.h | 404 static __always_inline int bitmap_weight(const unsigned long *src, unsigned int nbits) in bitmap_weight() function
|
/linux/drivers/pwm/ |
A D | pwm-lpc18xx-sct.c | 195 requested_events = bitmap_weight(&lpc18xx_pwm->event_map, in lpc18xx_pwm_config()
|
/linux/kernel/irq/ |
A D | matrix.c | 492 unsigned int nsys = bitmap_weight(m->system_map, m->matrix_bits); in irq_matrix_debug_show()
|