Searched refs:max_functions (Results 1 – 7 of 7) sorted by relevance
163 u16 max_functions; in mlx5_sf_dev_state_change_handler() local170 max_functions = mlx5_sf_max_functions(dev); in mlx5_sf_dev_state_change_handler()171 if (!max_functions) in mlx5_sf_dev_state_change_handler()175 if (event->function_id < base_id || event->function_id >= (base_id + max_functions)) in mlx5_sf_dev_state_change_handler()208 u16 max_functions; in mlx5_sf_dev_vhca_arm_all() local213 max_functions = mlx5_sf_max_functions(dev); in mlx5_sf_dev_vhca_arm_all()216 for (i = 0; i < max_functions; i++) { in mlx5_sf_dev_vhca_arm_all()259 u16 max_functions; in mlx5_sf_dev_queue_active_works() local267 max_functions = mlx5_sf_max_functions(dev); in mlx5_sf_dev_queue_active_works()269 for (i = 0; i < max_functions; i++, function_id++) { in mlx5_sf_dev_queue_active_works()
301 int max_functions; in cpqhp_save_config() local358 max_functions = 8; in cpqhp_save_config()360 max_functions = 1; in cpqhp_save_config()425 while ((function < max_functions) && (!stop_it)) { in cpqhp_save_config()442 } while (function < max_functions); in cpqhp_save_config()465 int max_functions; in cpqhp_save_slot_config() local482 max_functions = 8; in cpqhp_save_slot_config()484 max_functions = 1; in cpqhp_save_slot_config()486 while (function < max_functions) { in cpqhp_save_slot_config()515 while ((function < max_functions) && (!stop_it)) { in cpqhp_save_slot_config()
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()
206 int i, max_functions = 0; in berlin_pinctrl_build_state() local214 max_functions += 1 << (desc_group->bit_width + 1); in berlin_pinctrl_build_state()218 pctrl->functions = kzalloc_objs(*pctrl->functions, max_functions); in berlin_pinctrl_build_state()
226 u8 max_functions; member
745 &ep->epc->max_functions); in rockchip_pcie_ep_get_resources()747 ep->epc->max_functions = 1; in rockchip_pcie_ep_get_resources()
119 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_function_is_valid()814 if (func_no > epc->max_functions - 1) { in pci_epc_add_epf()