Searched refs:num_enabled (Results 1 – 4 of 4) sorted by relevance
174 int result, num_enabled = 0; in acpi_memory_enable_device() local238 num_enabled++; in acpi_memory_enable_device()240 if (!num_enabled) { in acpi_memory_enable_device()
587 unsigned int *num_enabled) in stm32_pwm_detect_channels() argument600 *num_enabled = hweight32(ccer_backup & TIM_CCER_CCXE); in stm32_pwm_detect_channels()611 unsigned int num_enabled; in stm32_pwm_probe() local635 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()
72 int num_enabled; in lag_active_port_bits() local76 &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() argument169 *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() local196 &num_enabled); in mlx5_lag_print_mapping()[all …]
107 u8 *ports, int *num_enabled);