/linux-6.1.9/drivers/soundwire/ |
D | intel_init.c | 176 int num_slaves = 0; in sdw_intel_probe_controller() local 263 num_slaves++; in sdw_intel_probe_controller() 266 ctx->ids = kcalloc(num_slaves, sizeof(*ctx->ids), GFP_KERNEL); in sdw_intel_probe_controller() 270 ctx->num_slaves = num_slaves; in sdw_intel_probe_controller()
|
/linux-6.1.9/drivers/mfd/ |
D | twl-core.c | 732 unsigned i, num_slaves; in twl_remove() local 739 num_slaves = twl_get_num_slaves(); in twl_remove() 740 for (i = 0; i < num_slaves; i++) { in twl_remove() 764 unsigned i, num_slaves; in twl_probe() local 816 num_slaves = twl_get_num_slaves(); in twl_probe() 818 num_slaves, in twl_probe() 826 for (i = 0; i < num_slaves; i++) { in twl_probe()
|
/linux-6.1.9/include/linux/ |
D | if_eql.h | 40 int num_slaves; member
|
/linux-6.1.9/include/uapi/linux/ |
D | if_bonding.h | 111 __s32 num_slaves; member
|
/linux-6.1.9/drivers/net/ |
D | eql.c | 226 queue->num_slaves--; in eql_kill_one_slave() 387 if (queue->num_slaves >= eql->max_slaves) in eql_is_full() 404 queue->num_slaves++; in __eql_insert_slave()
|
/linux-6.1.9/include/linux/soundwire/ |
D | sdw_intel.h | 221 int num_slaves; member
|
/linux-6.1.9/sound/soc/sof/intel/ |
D | hda.c | 1350 int num_slaves = sdw->num_slaves; in link_slaves_found() local 1363 for (j = 0; j < num_slaves; j++) { in link_slaves_found() 1372 for (j = 0; j < num_slaves; j++) { in link_slaves_found() 1407 if (j == num_slaves) { in link_slaves_found()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/ |
D | eq.c | 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()
|
D | cmd.c | 2370 kcalloc(dev->num_slaves, in mlx4_multi_func_init() 2377 kcalloc(dev->num_slaves, in mlx4_multi_func_init() 2384 kcalloc(dev->num_slaves, in mlx4_multi_func_init() 2392 for (i = 0; i < dev->num_slaves; ++i) { in mlx4_multi_func_init() 2564 for (slave = 0; slave < dev->num_slaves; slave++) { in mlx4_report_internal_err_comm_event() 2579 for (i = 0; i < dev->num_slaves; i++) { in mlx4_multi_func_cleanup() 2586 dev->num_slaves = 0; in mlx4_multi_func_cleanup() 2742 slave, dev->num_slaves); in mlx4_get_vf_indx() 3376 if (slave < 1 || slave >= dev->num_slaves || in mlx4_vf_smi_enabled() 3392 if (slave < 1 || slave >= dev->num_slaves || in mlx4_vf_get_enable_smi_admin() [all …]
|
D | port.c | 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()
|
D | main.c | 749 for (i = 1/*the ppf is 0*/; i < dev->num_slaves; ++i) { in mlx4_how_many_lives_vf() 2834 for (i = 0; i < dev->num_slaves; i++) { in mlx4_setup_hca() 3425 dev->num_slaves = MLX4_MAX_NUM_SLAVES; in mlx4_load_one() 3428 dev->num_slaves = 0; in mlx4_load_one()
|
D | resource_tracker.c | 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()
|
D | en_netdev.c | 3009 if (bonding_info->master.num_slaves != 2) in mlx4_en_netdev_event()
|
/linux-6.1.9/drivers/net/ethernet/ti/ |
D | netcp_ethss.c | 711 u32 num_slaves; member 2775 for (i = 0; i <= gbe_dev->num_slaves; i++) { in gbe_set_rx_mode() 3144 gbe_dev->num_slaves++; in init_secondary_ports() 3150 if (gbe_dev->num_slaves >= gbe_dev->max_num_slaves) { in init_secondary_ports() 3662 gbe_dev->num_slaves++; in gbe_probe() 3663 if (gbe_dev->num_slaves >= gbe_dev->max_num_slaves) { in gbe_probe() 3670 if (!gbe_dev->num_slaves) in gbe_probe() 3676 if (secondary_ports && (gbe_dev->num_slaves < gbe_dev->max_num_slaves)) in gbe_probe() 3680 if (!gbe_dev->num_slaves) { in gbe_probe()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
D | lag.c | 954 int num_slaves = 0; in mlx5_handle_changeupper_event() local 979 num_slaves++; in mlx5_handle_changeupper_event() 997 is_in_lag = num_slaves == ldev->ports && in mlx5_handle_changeupper_event()
|
/linux-6.1.9/sound/core/ |
D | timer.c | 124 static int num_slaves; variable 307 if (num_slaves >= MAX_SLAVE_INSTANCES) { in snd_timer_open() 315 num_slaves++; in snd_timer_open() 404 num_slaves--; in snd_timer_close_locked()
|
/linux-6.1.9/drivers/infiniband/hw/mlx4/ |
D | alias_GUID.c | 95 if (slave_id >= dev->dev->num_slaves) { in mlx4_ib_update_cache_on_guid_change()
|
/linux-6.1.9/include/linux/mlx4/ |
D | device.h | 876 unsigned long num_slaves; member
|
/linux-6.1.9/drivers/net/bonding/ |
D | bond_main.c | 1720 info->num_slaves = bond->slave_cnt; in bond_fill_ifbond()
|