Home
last modified time | relevance | path

Searched refs:max_fn (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Dhw_table.c22 int max_fn; member
66 if (table->hwc[i].max_fn && in mlx5_sf_table_fn_to_hwc()
85 for (i = 0; i < hwc->max_fn; i++) { in mlx5_sf_hw_table_id_alloc()
213 for (i = 0; i < hwc->max_fn; i++) { in mlx5_sf_hw_table_hwc_dealloc_all()
229 if (!max_fn) in mlx5_sf_hw_table_hwc_init()
232 sfs = kcalloc(max_fn, sizeof(*sfs), GFP_KERNEL); in mlx5_sf_hw_table_hwc_init()
237 hwc->max_fn = max_fn; in mlx5_sf_hw_table_hwc_init()
259 devlink_resource_size_params_init(&size_params, max_fn, max_fn, 1, in mlx5_sf_hw_table_res_register()
279 u16 max_fn; in mlx5_sf_hw_table_init() local
285 max_fn = mlx5_sf_max_functions(dev); in mlx5_sf_hw_table_init()
[all …]
/openbmc/qemu/include/hw/s390x/
H A Ds390-pci-clp.h102 uint16_t max_fn; member
/openbmc/linux/arch/s390/include/asm/
H A Dpci_clp.h80 u16 max_fn; member
/openbmc/qemu/hw/s390x/
H A Ds390-pci-inst.c108 stw_p(&rrb->response.max_fn, PCI_MAX_FUNCTIONS); in list_pci()