/drivers/gpu/drm/msm/disp/mdp5/ |
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()
|
/drivers/iio/dummy/ |
D | iio_simple_dummy_buffer.c | 75 i < bitmap_weight(indio_dev->active_scan_mask, in iio_simple_dummy_trigger_h()
|
/drivers/net/wireless/ath/ |
D | spectral_common.h | 61 u8 bitmap_weight; member
|
/drivers/net/ethernet/mellanox/mlx4/ |
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()
|
D | cmd.c | 1967 bitmap_weight(port_qos->priority_bm, MLX4_NUM_UP)); in mlx4_allocate_port_vpps() 2007 bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports); in mlx4_master_activate_admin_state() 2073 bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports); in mlx4_master_deactivate_admin_state() 2797 unsigned m = bitmap_weight(actv_ports.ports, dev->caps.num_ports); in mlx4_slave_convert_port() 2870 bitmap_weight(actv_ports.ports, dev->caps.num_ports); in mlx4_slaves_closest_port() 3412 bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports); in mlx4_vf_set_enable_smi_admin()
|
/drivers/acpi/x86/ |
D | apple.c | 82 numvalid = bitmap_weight(valid, numprops); in acpi_extract_apple_properties()
|
/drivers/lightnvm/ |
D | pblk-map.c | 187 bitmap_weight(d_line->blk_bitmap, lm->blk_per_line)) { in pblk_map_erase_rq()
|
D | pblk-sysfs.c | 264 meta_weight = bitmap_weight(&l_mg->meta_bitmap, in pblk_sysfs_lines() 269 map_weight = bitmap_weight(l_mg->data_line->map_bitmap, in pblk_sysfs_lines()
|
/drivers/perf/ |
D | arm_pmu.c | 525 int enabled = bitmap_weight(hw_events->used_mask, armpmu->num_events); in armpmu_enable() 815 int enabled = bitmap_weight(hw_events->used_mask, armpmu->num_events); in cpu_pm_pmu_notify()
|
/drivers/crypto/ccp/ |
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()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gfx.c | 231 …dev_dbg(adev->dev, "mec queue bitmap weight=%d\n", bitmap_weight(adev->gfx.mec.queue_bitmap, AMDGP… in amdgpu_gfx_compute_queue_acquire() 253 bitmap_weight(adev->gfx.me.queue_bitmap, AMDGPU_MAX_GFX_QUEUES); in amdgpu_gfx_graphics_queue_acquire()
|
/drivers/iio/adc/ |
D | ad7298.c | 113 scan_count = bitmap_weight(active_scan_mask, indio_dev->masklength); in ad7298_update_scan_mode()
|
D | cc10001_adc.c | 271 indio_dev->num_channels = bitmap_weight(&channel_map, in cc10001_adc_channel_init()
|
/drivers/block/drbd/ |
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()
|
/drivers/net/dsa/mv88e6xxx/ |
D | global1_atu.c | 334 shift = bitmap_weight(&mask, 16); in mv88e6xxx_g1_atu_move()
|
/drivers/perf/hisilicon/ |
D | hisi_uncore_pmu.c | 337 int enabled = bitmap_weight(hisi_pmu->pmu_events.used_mask, in hisi_uncore_pmu_enable()
|
/drivers/pwm/ |
D | pwm-lpc18xx-sct.c | 195 requested_events = bitmap_weight(&lpc18xx_pwm->event_map, in lpc18xx_pwm_config()
|
/drivers/input/rmi4/ |
D | rmi_driver.c | 613 rdesc->num_registers = bitmap_weight(rdesc->presense_map, in rmi_read_register_desc() 676 item->num_subpackets = bitmap_weight(item->subpacket_map, in rmi_read_register_desc()
|
/drivers/iio/health/ |
D | max30102.c | 295 unsigned int measurements = bitmap_weight(indio_dev->active_scan_mask, in max30102_interrupt_handler()
|
/drivers/thermal/intel/ |
D | intel_powerclamp.c | 562 if (bitmap_weight(cpu_clamping_mask, num_possible_cpus())) { in end_power_clamp()
|
/drivers/iio/ |
D | industrialio-trigger.c | 298 = (bitmap_weight(trig->pool, in iio_trigger_detach_poll_func()
|
/drivers/dma/ti/ |
D | k3-udma.c | 3328 ch_count -= bitmap_weight(ud->tchan_map, ud->tchan_cnt); in udma_setup_resources() 3329 ch_count -= bitmap_weight(ud->rchan_map, ud->rchan_cnt); in udma_setup_resources() 3340 ud->tchan_cnt - bitmap_weight(ud->tchan_map, ud->tchan_cnt), in udma_setup_resources() 3341 ud->rchan_cnt - bitmap_weight(ud->rchan_map, ud->rchan_cnt), in udma_setup_resources() 3342 ud->rflow_cnt - bitmap_weight(ud->rflow_gp_map, in udma_setup_resources()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_rdma.c | 321 int weight = bitmap_weight(bmap->bitmap, bmap->max_count); in qed_rdma_bmap_free() 338 if (bitmap_weight((unsigned long *)&pmap[item], 64 * 8)) in qed_rdma_bmap_free() 352 (bitmap_weight((unsigned long *)&pmap[item], in qed_rdma_bmap_free()
|
/drivers/staging/iio/impedance-analyzer/ |
D | ad5933.c | 645 int scan_count = bitmap_weight(indio_dev->active_scan_mask, in ad5933_work()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_counters.c | 485 return bitmap_weight(bulk->bitmask, bulk->bulk_len); in mlx5_fc_bulk_get_free_fcs_amount()
|