Home
last modified time | relevance | path

Searched refs:bitmap_weight (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_port.c1108 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()
1759 num_vfs = bitmap_weight(slaves_pport.slaves, in mlx4_get_slave_from_roce_gid()
1802 num_vfs_before += bitmap_weight( in mlx4_get_slave_from_roce_gid()
1819 bitmap_weight(actv_ports.ports, in mlx4_get_slave_from_roce_gid()
1832 slave_gid += bitmap_weight( in mlx4_get_slave_from_roce_gid()
H A Dmlx4_cmd.c1969 bitmap_weight(port_qos->priority_bm, MLX4_NUM_UP)); in mlx4_allocate_port_vpps()
2009 bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports); in mlx4_master_activate_admin_state()
2074 bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports); in mlx4_master_deactivate_admin_state()
2791 unsigned m = bitmap_weight(actv_ports.ports, dev->caps.num_ports); in mlx4_slave_convert_port()
2864 bitmap_weight(actv_ports.ports, dev->caps.num_ports); in mlx4_slaves_closest_port()
3270 bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports); in mlx4_vf_set_enable_smi_admin()
H A Dmlx4_fw.c464 bitmap_weight(actv_ports.ports, dev->caps.num_ports), in mlx4_QUERY_FUNC_CAP_wrapper()
1288 bitmap_weight(actv_ports.ports, dev->caps.num_ports); in mlx4_QUERY_DEV_CAP_wrapper()
1304 field |= bitmap_weight(actv_ports.ports, dev->caps.num_ports) & 0x0F; in mlx4_QUERY_DEV_CAP_wrapper()
H A Dmlx4_main.c1307 if (bitmap_weight(slaves_port_1_2, dev->persist->num_vfs + 1) > 1) { in mlx4_mf_bond()
1315 nvfs = bitmap_weight(slaves_port1.slaves, dev->persist->num_vfs + 1) + in mlx4_mf_bond()
1316 bitmap_weight(slaves_port2.slaves, dev->persist->num_vfs + 1) - 2; in mlx4_mf_bond()
H A Dmlx4_eq.c1417 return !!(bitmap_weight(priv->eq_table.eq[vector].actv_ports.ports, in mlx4_is_eq_shared()
H A Dmlx4_resource_tracker.c570 bitmap_weight(slaves_pport.slaves, in mlx4_init_resource_tracker()
/freebsd/sys/contrib/dev/athk/
H A Dspectral_common.h60 u8 bitmap_weight; member
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_mpfs.c126 num = bitmap_weight(dev->mpfs.bitmap, MLX5_MPFS_TABLE_MAX); in mlx5_mpfs_destroy()
H A Dmlx5_fs_counters.c540 return bitmap_weight(bulk->bitmask, bulk->bulk_len); in mlx5_fc_bulk_get_free_fcs_amount()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dbitmap.h205 bitmap_weight(unsigned long *addr, const unsigned int size) in bitmap_weight() function
/freebsd/sys/dev/qlnx/qlnxe/
H A Dbcm_osal.h440 #define OSAL_BITMAP_WEIGHT(bitmap, nbits) bitmap_weight(bitmap, nbits)
/freebsd/sys/contrib/dev/rtw89/
H A Dchan.c315 w->registered_chanctxs = bitmap_weight(hal->entity_map, NUM_OF_RTW89_CHANCTX); in rtw89_entity_calculate_weight()
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_main.c2905 ports = bitmap_weight(actv_ports.ports, dev->caps.num_ports); in do_slave_init()