Home
last modified time | relevance | path

Searched refs:num_enabled (Results 1 – 4 of 4) sorted by relevance

/drivers/acpi/
Dacpi_memhotplug.c174 int result, num_enabled = 0; in acpi_memory_enable_device() local
238 num_enabled++; in acpi_memory_enable_device()
240 if (!num_enabled) { in acpi_memory_enable_device()
/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dlag.c72 int num_enabled; in lag_active_port_bits() local
76 &num_enabled); in lag_active_port_bits()
77 for (idx = 0; idx < num_enabled; idx++) in lag_active_port_bits()
165 u8 *ports, int *num_enabled) in mlx5_infer_tx_enabled() argument
169 *num_enabled = 0; in mlx5_infer_tx_enabled()
173 ports[(*num_enabled)++] = i; in mlx5_infer_tx_enabled()
176 if (*num_enabled == 0) in mlx5_infer_tx_enabled()
177 mlx5_infer_tx_disabled(tracker, num_ports, ports, num_enabled); in mlx5_infer_tx_enabled()
188 int num_enabled; in mlx5_lag_print_mapping() local
196 &num_enabled); in mlx5_lag_print_mapping()
[all …]
Dlag.h107 u8 *ports, int *num_enabled);
/drivers/pwm/
Dpwm-stm32.c587 unsigned int *num_enabled) in stm32_pwm_detect_channels() argument
600 *num_enabled = hweight32(ccer_backup & TIM_CCER_CCXE); in stm32_pwm_detect_channels()
611 unsigned int num_enabled; in stm32_pwm_probe() local
635 priv->chip.npwm = stm32_pwm_detect_channels(priv, &num_enabled); in stm32_pwm_probe()
638 for (i = 0; i < num_enabled; i++) in stm32_pwm_probe()