Home
last modified time | relevance | path

Searched refs:max_functions (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
H A Ddev.c162 u16 max_functions; in mlx5_sf_dev_state_change_handler() local
166 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() local
209 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() local
263 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()
/linux/drivers/pinctrl/berlin/
H A Dberlin.c206 int i, max_functions = 0; in berlin_pinctrl_build_state() local
213 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()
/linux/drivers/pci/hotplug/
H A Dcpqphp_ctrl.c2213 u8 temp_byte, function, max_functions, stop_it; in configure_new_device() local
2231 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()