Searched refs:max_functions (Results 1 – 3 of 3) sorted by relevance
162 u16 max_functions; in mlx5_sf_dev_state_change_handler() local166 max_functions = mlx5_sf_max_functions(table->dev); in mlx5_sf_dev_state_change_handler()167 if (!max_functions) in mlx5_sf_dev_state_change_handler()171 if (event->function_id < base_id || event->function_id >= (base_id + max_functions)) in mlx5_sf_dev_state_change_handler()204 u16 max_functions; in mlx5_sf_dev_vhca_arm_all() local209 max_functions = mlx5_sf_max_functions(dev); in mlx5_sf_dev_vhca_arm_all()212 for (i = 0; i < max_functions; i++) { in mlx5_sf_dev_vhca_arm_all()255 u16 max_functions; in mlx5_sf_dev_queue_active_works() local263 max_functions = mlx5_sf_max_functions(dev); in mlx5_sf_dev_queue_active_works()265 for (i = 0; i < max_functions; i++, function_id++) { in mlx5_sf_dev_queue_active_works()
206 int i, max_functions = 0; in berlin_pinctrl_build_state() local213 max_functions += 1 << (desc_group->bit_width + 1); in berlin_pinctrl_build_state()217 pctrl->functions = kcalloc(max_functions, sizeof(*pctrl->functions), GFP_KERNEL); in berlin_pinctrl_build_state()
2213 u8 temp_byte, function, max_functions, stop_it; in configure_new_device() local2231 max_functions = 8; in configure_new_device()2233 max_functions = 1; in configure_new_device()2261 while ((function < max_functions) && (!stop_it)) { in configure_new_device()2283 } while (function < max_functions); in configure_new_device()