Home
last modified time | relevance | path

Searched refs:num_eqs (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dpci_irq.c265 int num_eqs = MLX5_CAP_GEN(dev, max_num_eqs) ? in mlx5_irq_table_create() local
273 nvec = min_t(int, nvec, num_eqs); in mlx5_irq_table_create()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Dprofile.c220 dev->caps.num_eqs = roundup_pow_of_two( in mlx4_make_profile()
225 init_hca->log_num_eqs = ilog2(dev->caps.num_eqs); in mlx4_make_profile()
Deq.c1163 priv->eq_table.eq = kcalloc(dev->caps.num_eqs - dev->caps.reserved_eqs, in mlx4_alloc_eq_table()
1191 roundup_pow_of_two(dev->caps.num_eqs), in mlx4_init_eq_table()
1192 dev->caps.num_eqs - 1, in mlx4_init_eq_table()
1194 roundup_pow_of_two(dev->caps.num_eqs) - in mlx4_init_eq_table()
1195 dev->caps.num_eqs); in mlx4_init_eq_table()
Dmain.c1006 dev->caps.num_eqs = func_cap->max_eq; in mlx4_slave_cap()
1587 int num_eqs; in mlx4_init_cmpt_table() local
1617 num_eqs = dev->phys_caps.num_phys_eqs; in mlx4_init_cmpt_table()
1622 cmpt_entry_sz, num_eqs, num_eqs, 0, 0); in mlx4_init_cmpt_table()
1646 int num_eqs; in mlx4_init_icm() local
1679 num_eqs = dev->phys_caps.num_phys_eqs; in mlx4_init_icm()
1682 num_eqs, num_eqs, 0, 0); in mlx4_init_icm()
2380 dev->caps.num_eqs = dev_cap->max_eqs; in mlx4_init_hca()
2939 dev->caps.num_eqs - dev->caps.reserved_eqs, in mlx4_enable_msi_x()
Dfw.c494 dev->caps.num_eqs : in mlx4_QUERY_FUNC_CAP_wrapper()
495 rounddown_pow_of_two(dev->caps.num_eqs); in mlx4_QUERY_FUNC_CAP_wrapper()
/Linux-v5.4/drivers/infiniband/hw/mthca/
Dmthca_profile.c201 dev->limits.num_eqs = profile[i].num; in mthca_make_profile()
Dmthca_eq.c774 dev->limits.num_eqs, in mthca_init_eq_table()
775 dev->limits.num_eqs - 1, in mthca_init_eq_table()
Dmthca_dev.h158 int num_eqs; member
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dpci.c946 u8 num_eqs; in mlxsw_pci_aqs_init() local
962 num_eqs = mlxsw_cmd_mbox_query_aq_cap_max_num_eqs_get(mbox); in mlxsw_pci_aqs_init()
966 num_cqs > MLXSW_PCI_CQS_MAX || num_eqs != MLXSW_PCI_EQS_COUNT) { in mlxsw_pci_aqs_init()
984 num_eqs); in mlxsw_pci_aqs_init()
/Linux-v5.4/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c3146 int num_eqs, i = 0; in ocrdma_modify_eqd() local
3149 num_eqs = min(num, 8); in ocrdma_modify_eqd()
3150 ocrdma_mbx_modify_eqd(dev, &eq[i], num_eqs); in ocrdma_modify_eqd()
3151 i += num_eqs; in ocrdma_modify_eqd()
3152 num -= num_eqs; in ocrdma_modify_eqd()
/Linux-v5.4/drivers/net/ethernet/emulex/benet/
Dbe_cmds.c1929 int num_eqs, i = 0; in be_cmd_modify_eqd() local
1932 num_eqs = min(num, 8); in be_cmd_modify_eqd()
1933 __be_cmd_modify_eqd(adapter, &set_eqd[i], num_eqs); in be_cmd_modify_eqd()
1934 i += num_eqs; in be_cmd_modify_eqd()
1935 num -= num_eqs; in be_cmd_modify_eqd()
/Linux-v5.4/include/linux/mlx4/
Ddevice.h572 int num_eqs; member