Searched refs:num_slaves (Results 1 – 15 of 15) sorted by relevance
1038 unsigned i, num_slaves; in twl_remove() local1049 num_slaves = twl_get_num_slaves(); in twl_remove()1050 for (i = 0; i < num_slaves; i++) { in twl_remove()1076 unsigned i, num_slaves; in twl_probe() local1128 num_slaves = twl_get_num_slaves(); in twl_probe()1130 num_slaves, in twl_probe()1138 for (i = 0; i < num_slaves; i++) { in twl_probe()
38 int num_slaves; member
100 __s32 num_slaves; member
224 queue->num_slaves--; in eql_kill_one_slave()381 if (queue->num_slaves >= eql->max_slaves) in eql_is_full()398 queue->num_slaves++; in __eql_insert_slave()
380 int num_slaves = 0; in mlx5_handle_changeupper_event() local400 num_slaves++; in mlx5_handle_changeupper_event()416 is_bonded = (num_slaves == MLX5_MAX_PORTS) && in mlx5_handle_changeupper_event()
317 if (slave >= dev->num_slaves || port > dev->caps.num_ports || in mlx4_get_slave_port_state()334 if (slave >= dev->num_slaves || port > dev->caps.num_ports || in mlx4_set_slave_port_state()380 if (slave >= dev->num_slaves || port > dev->caps.num_ports || in set_and_calc_slave_port_state()466 for (i = 0 ; i < dev->num_slaves; i++) { in mlx4_master_handle_slave_flr()745 if (flr_slave >= dev->num_slaves) { in mlx4_eq_int()769 for (i = 0; i < dev->num_slaves; i++) { in mlx4_eq_int()
2372 kcalloc(dev->num_slaves, in mlx4_multi_func_init()2379 kcalloc(dev->num_slaves, in mlx4_multi_func_init()2386 kcalloc(dev->num_slaves, in mlx4_multi_func_init()2392 for (i = 0; i < dev->num_slaves; ++i) { in mlx4_multi_func_init()2565 for (slave = 0; slave < dev->num_slaves; slave++) { in mlx4_report_internal_err_comm_event()2581 for (i = 0; i < dev->num_slaves; i++) { in mlx4_multi_func_cleanup()2588 dev->num_slaves = 0; in mlx4_multi_func_cleanup()2744 slave, dev->num_slaves); in mlx4_get_vf_indx()3378 if (slave < 1 || slave >= dev->num_slaves || in mlx4_vf_smi_enabled()3394 if (slave < 1 || slave >= dev->num_slaves || in mlx4_vf_get_enable_smi_admin()[all …]
1271 for (i = 0; i < dev->num_slaves; i++) in mlx4_en_set_port_mtu()1303 for (i = 0; i < dev->num_slaves; i++) in mlx4_en_set_port_user_mtu()1515 for (i = 0; i < dev->num_slaves; i++) in mlx4_common_set_port()
748 for (i = 1/*the ppf is 0*/; i < dev->num_slaves; ++i) { in mlx4_how_many_lives_vf()2828 for (i = 0; i < dev->num_slaves; i++) { in mlx4_setup_hca()3403 dev->num_slaves = MLX4_MAX_NUM_SLAVES; in mlx4_load_one()3406 dev->num_slaves = 0; in mlx4_load_one()
508 kcalloc(dev->num_slaves, sizeof(struct slave_list), in mlx4_init_resource_tracker()513 for (i = 0 ; i < dev->num_slaves; i++) { in mlx4_init_resource_tracker()521 dev->num_slaves); in mlx4_init_resource_tracker()663 for (i = 0; i < dev->num_slaves; i++) { in mlx4_free_resource_tracker()
3089 if (bonding_info->master.num_slaves != 2) in mlx4_en_netdev_event()
713 u32 num_slaves; member2783 for (i = 0; i <= gbe_dev->num_slaves; i++) { in gbe_set_rx_mode()3152 gbe_dev->num_slaves++; in init_secondary_ports()3158 if (gbe_dev->num_slaves >= gbe_dev->max_num_slaves) { in init_secondary_ports()3672 gbe_dev->num_slaves++; in gbe_probe()3673 if (gbe_dev->num_slaves >= gbe_dev->max_num_slaves) { in gbe_probe()3680 if (!gbe_dev->num_slaves) in gbe_probe()3686 if (secondary_ports && (gbe_dev->num_slaves < gbe_dev->max_num_slaves)) in gbe_probe()3690 if (!gbe_dev->num_slaves) { in gbe_probe()
96 if (slave_id >= dev->dev->num_slaves) { in mlx4_ib_update_cache_on_guid_change()
888 unsigned long num_slaves; member
1331 info->num_slaves = bond->slave_cnt; in bond_fill_ifbond()