Home
last modified time | relevance | path

Searched refs:num_slaves (Results 1 – 25 of 25) sorted by relevance

/linux-6.12.1/drivers/soundwire/
Damd_init.c193 int num_slaves = 0; in sdw_amd_get_slave_info() local
204 num_slaves++; in sdw_amd_get_slave_info()
207 ctx->ids = kcalloc(num_slaves, sizeof(*ctx->ids), GFP_KERNEL); in sdw_amd_get_slave_info()
210 ctx->num_slaves = num_slaves; in sdw_amd_get_slave_info()
Dintel_init.c165 int num_slaves = 0; in sdw_intel_probe_controller() local
252 num_slaves++; in sdw_intel_probe_controller()
255 ctx->ids = kcalloc(num_slaves, sizeof(*ctx->ids), GFP_KERNEL); in sdw_intel_probe_controller()
259 ctx->num_slaves = num_slaves; in sdw_intel_probe_controller()
/linux-6.12.1/sound/soc/
Dsoc-acpi.c135 int num_slaves) in snd_soc_acpi_sdw_link_slaves_found() argument
149 for (j = 0; j < num_slaves; j++) { in snd_soc_acpi_sdw_link_slaves_found()
158 for (j = 0; j < num_slaves; j++) { in snd_soc_acpi_sdw_link_slaves_found()
192 if (j == num_slaves) { in snd_soc_acpi_sdw_link_slaves_found()
/linux-6.12.1/drivers/mfd/
Dtwl-core.c677 unsigned i, num_slaves; in twl_remove() local
684 num_slaves = twl_get_num_slaves(); in twl_remove()
685 for (i = 0; i < num_slaves; i++) { in twl_remove()
728 unsigned i, num_slaves; in twl_probe() local
776 num_slaves = twl_get_num_slaves(); in twl_probe()
778 num_slaves, in twl_probe()
786 for (i = 0; i < num_slaves; i++) { in twl_probe()
/linux-6.12.1/include/linux/
Dif_eql.h40 int num_slaves; member
/linux-6.12.1/include/linux/soundwire/
Dsdw_amd.h127 int num_slaves; member
Dsdw_intel.h305 int num_slaves; member
/linux-6.12.1/include/uapi/linux/
Dif_bonding.h111 __s32 num_slaves; member
/linux-6.12.1/drivers/net/
Deql.c226 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.12.1/include/sound/
Dsoc-acpi.h237 int num_slaves);
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Deq.c317 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()
746 if (flr_slave >= dev->num_slaves) { in mlx4_eq_int()
770 for (i = 0; i < dev->num_slaves; i++) { in mlx4_eq_int()
Dcmd.c2371 kcalloc(dev->num_slaves, in mlx4_multi_func_init()
2378 kcalloc(dev->num_slaves, in mlx4_multi_func_init()
2385 kcalloc(dev->num_slaves, in mlx4_multi_func_init()
2393 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()
2580 for (i = 0; i < dev->num_slaves; i++) { in mlx4_multi_func_cleanup()
2587 dev->num_slaves = 0; in mlx4_multi_func_cleanup()
2743 slave, dev->num_slaves); in mlx4_get_vf_indx()
3377 if (slave < 1 || slave >= dev->num_slaves || in mlx4_vf_smi_enabled()
3393 if (slave < 1 || slave >= dev->num_slaves || in mlx4_vf_get_enable_smi_admin()
[all …]
Dport.c1271 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()
Dmain.c744 for (i = 1/*the ppf is 0*/; i < dev->num_slaves; ++i) { in mlx4_how_many_lives_vf()
2855 for (i = 0; i < dev->num_slaves; i++) { in mlx4_setup_hca()
3480 dev->num_slaves = MLX4_MAX_NUM_SLAVES; in mlx4_load_one()
3483 dev->num_slaves = 0; in mlx4_load_one()
Dresource_tracker.c508 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()
Den_netdev.c2956 if (bonding_info->master.num_slaves != 2) in mlx4_en_netdev_event()
/linux-6.12.1/sound/soc/sof/amd/
Dacp-common.c149 acp_data->sdw->num_slaves)) in amd_sof_sdw_machine_select()
/linux-6.12.1/sound/soc/sof/intel/
Dhda.c1088 if (!hdev->sdw->num_slaves) { in hda_sdw_machine_select()
1125 hdev->sdw->num_slaves)) in hda_sdw_machine_select()
1142 for (i = 0; i < hdev->sdw->num_slaves; i++) in hda_sdw_machine_select()
/linux-6.12.1/drivers/net/ethernet/ti/
Dnetcp_ethss.c711 u32 num_slaves; member
2770 for (i = 0; i <= gbe_dev->num_slaves; i++) { in gbe_set_rx_mode()
3139 gbe_dev->num_slaves++; in init_secondary_ports()
3145 if (gbe_dev->num_slaves >= gbe_dev->max_num_slaves) { in init_secondary_ports()
3655 gbe_dev->num_slaves++; in gbe_probe()
3656 if (gbe_dev->num_slaves >= gbe_dev->max_num_slaves) { in gbe_probe()
3663 if (!gbe_dev->num_slaves) in gbe_probe()
3669 if (secondary_ports && (gbe_dev->num_slaves < gbe_dev->max_num_slaves)) in gbe_probe()
3673 if (!gbe_dev->num_slaves) { in gbe_probe()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dlag.c1057 int num_slaves = 0; in mlx5_handle_changeupper_event() local
1082 num_slaves++; in mlx5_handle_changeupper_event()
1100 is_in_lag = num_slaves == ldev->ports && in mlx5_handle_changeupper_event()
/linux-6.12.1/sound/core/
Dtimer.c136 static int num_slaves; variable
317 if (num_slaves >= MAX_SLAVE_INSTANCES) { in snd_timer_open()
325 num_slaves++; in snd_timer_open()
431 num_slaves--; in snd_timer_close_locked()
/linux-6.12.1/sound/soc/amd/ps/
Dpci-ps.c306 acp_data->sdw->num_slaves)) in acp63_sdw_machine_select()
/linux-6.12.1/drivers/infiniband/hw/mlx4/
Dalias_GUID.c95 if (slave_id >= dev->dev->num_slaves) { in mlx4_ib_update_cache_on_guid_change()
/linux-6.12.1/include/linux/mlx4/
Ddevice.h877 unsigned long num_slaves; member
/linux-6.12.1/drivers/net/bonding/
Dbond_main.c1851 info->num_slaves = bond->slave_cnt; in bond_fill_ifbond()