Searched refs:max_functions (Results 1 – 8 of 8) sorted by relevance
145 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_raise_irq()171 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_get_msi()204 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions || in pci_epc_set_msi()233 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_get_msix()263 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions || in pci_epc_set_msix()291 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_unmap_addr()319 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_map_addr()346 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions || in pci_epc_clear_bar()375 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions || in pci_epc_set_bar()412 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_write_header()[all …]
208 int i, max_functions = 0; in berlin_pinctrl_build_state() local215 max_functions += 1 << (desc_group->bit_width + 1); in berlin_pinctrl_build_state()219 pctrl->functions = kcalloc(max_functions, in berlin_pinctrl_build_state()
308 int max_functions; in cpqhp_save_config() local365 max_functions = 8; in cpqhp_save_config()367 max_functions = 1; in cpqhp_save_config()432 while ((function < max_functions) && (!stop_it)) { in cpqhp_save_config()449 } while (function < max_functions); in cpqhp_save_config()472 int max_functions; in cpqhp_save_slot_config() local489 max_functions = 8; in cpqhp_save_slot_config()491 max_functions = 1; in cpqhp_save_slot_config()493 while (function < max_functions) { in cpqhp_save_slot_config()522 while ((function < max_functions) && (!stop_it)) { in cpqhp_save_slot_config()
2258 u8 temp_byte, function, max_functions, stop_it; in configure_new_device() local2276 max_functions = 8; in configure_new_device()2278 max_functions = 1; in configure_new_device()2306 while ((function < max_functions) && (!stop_it)) { in configure_new_device()2328 } while (function < max_functions); in configure_new_device()
96 u8 max_functions; member
502 if (of_property_read_u8(np, "max-functions", &epc->max_functions) < 0) in cdns_pcie_ep_probe()503 epc->max_functions = 1; in cdns_pcie_ep_probe()
541 &ep->epc->max_functions); in rockchip_pcie_parse_ep_dt()543 ep->epc->max_functions = 1; in rockchip_pcie_parse_ep_dt()
560 ret = of_property_read_u8(np, "max-functions", &epc->max_functions); in dw_pcie_ep_init()562 epc->max_functions = 1; in dw_pcie_ep_init()