Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx4/
H A 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()
H A Deq.c1161 priv->eq_table.eq = kcalloc(dev->caps.num_eqs - dev->caps.reserved_eqs, in mlx4_alloc_eq_table()
1189 roundup_pow_of_two(dev->caps.num_eqs), in mlx4_init_eq_table()
1190 dev->caps.num_eqs - 1, in mlx4_init_eq_table()
1192 roundup_pow_of_two(dev->caps.num_eqs) - in mlx4_init_eq_table()
1193 dev->caps.num_eqs); in mlx4_init_eq_table()
H A Dmain.c1002 dev->caps.num_eqs = func_cap->max_eq; in mlx4_slave_cap()
1609 int num_eqs; in mlx4_init_cmpt_table() local
1639 num_eqs = dev->phys_caps.num_phys_eqs; in mlx4_init_cmpt_table()
1644 cmpt_entry_sz, num_eqs, num_eqs, 0, 0); in mlx4_init_cmpt_table()
1668 int num_eqs; in mlx4_init_icm() local
1701 num_eqs = dev->phys_caps.num_phys_eqs; in mlx4_init_icm()
1704 num_eqs, num_eqs, 0, 0); in mlx4_init_icm()
2405 dev->caps.num_eqs = dev_cap->max_eqs; in mlx4_init_hca()
2966 dev->caps.num_eqs - dev->caps.reserved_eqs, in mlx4_enable_msi_x()
H A 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/drivers/net/ethernet/mellanox/mlx5/core/
H A Deq.c1171 int num_eqs; in get_num_eqs() local
1182 num_eqs = min_t(int, mlx5_irq_table_get_num_comp(eq_table->irq_table), in get_num_eqs()
1191 num_eqs = min_t(int, num_eqs, max_eqs_sf); in get_num_eqs()
1194 return num_eqs; in get_num_eqs()
H A Dpci_irq.c717 int num_eqs = mlx5_max_eq_cap_get(dev); in mlx5_irq_table_create() local
728 pcif_vec = min_t(int, pcif_vec, num_eqs); in mlx5_irq_table_create()
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_profile.c199 dev->limits.num_eqs = profile[i].num; in mthca_make_profile()
H A Dmthca_eq.c775 dev->limits.num_eqs, in mthca_init_eq_table()
776 dev->limits.num_eqs - 1, in mthca_init_eq_table()
H A Dmthca_dev.h157 int num_eqs; member
/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_hw.c3142 int num_eqs, i = 0; in ocrdma_modify_eqd() local
3145 num_eqs = min(num, 8); in ocrdma_modify_eqd()
3146 ocrdma_mbx_modify_eqd(dev, &eq[i], num_eqs); in ocrdma_modify_eqd()
3147 i += num_eqs; in ocrdma_modify_eqd()
3148 num -= num_eqs; in ocrdma_modify_eqd()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dpci.c1350 u8 num_eqs; in mlxsw_pci_aqs_init() local
1366 num_eqs = mlxsw_cmd_mbox_query_aq_cap_max_num_eqs_get(mbox); in mlxsw_pci_aqs_init()
1371 num_cqs > MLXSW_PCI_CQS_MAX || num_eqs != MLXSW_PCI_EQS_MAX) { in mlxsw_pci_aqs_init()
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.c1932 int num_eqs, i = 0; in be_cmd_modify_eqd() local
1935 num_eqs = min(num, 8); in be_cmd_modify_eqd()
1936 __be_cmd_modify_eqd(adapter, &set_eqd[i], num_eqs); in be_cmd_modify_eqd()
1937 i += num_eqs; in be_cmd_modify_eqd()
1938 num -= num_eqs; in be_cmd_modify_eqd()
/linux/include/linux/mlx4/
H A Ddevice.h572 int num_eqs; member