Home
last modified time | relevance | path

Searched refs:eq_num (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/infiniband/hw/mthca/
Dmthca_cmd.h291 int eq_num);
293 int eq_num);
295 int eq_num);
Dmthca_cmd.c1630 int eq_num) in mthca_MAP_EQ() argument
1634 (unsigned long long) event_mask, eq_num); in mthca_MAP_EQ()
1635 return mthca_cmd(dev, event_mask, (unmap << 31) | eq_num, in mthca_MAP_EQ()
1640 int eq_num) in mthca_SW2HW_EQ() argument
1642 return mthca_cmd(dev, mailbox->dma, eq_num, 0, CMD_SW2HW_EQ, in mthca_SW2HW_EQ()
1647 int eq_num) in mthca_HW2SW_EQ() argument
1649 return mthca_cmd_box(dev, 0, mailbox->dma, eq_num, 0, in mthca_HW2SW_EQ()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/
Deq.c902 int eq_num) in mlx4_MAP_EQ() argument
904 return mlx4_cmd(dev, event_mask, (unmap << 31) | eq_num, in mlx4_MAP_EQ()
910 int eq_num) in mlx4_SW2HW_EQ() argument
912 return mlx4_cmd(dev, mailbox->dma, eq_num, 0, in mlx4_SW2HW_EQ()
917 static int mlx4_HW2SW_EQ(struct mlx4_dev *dev, int eq_num) in mlx4_HW2SW_EQ() argument
919 return mlx4_cmd(dev, 0, eq_num, 1, MLX4_CMD_HW2SW_EQ, in mlx4_HW2SW_EQ()
/Linux-v5.10/drivers/infiniband/hw/hns/
Dhns_roce_hw_v1.c4101 static void hns_roce_v1_enable_eq(struct hns_roce_dev *hr_dev, int eq_num, in hns_roce_v1_enable_eq() argument
4104 void __iomem *eqc = hr_dev->eq_table.eqc_base[eq_num]; in hns_roce_v1_enable_eq()
4217 int eq_num; in hns_roce_v1_init_eq_table() local
4221 eq_num = hr_dev->caps.num_comp_vectors + hr_dev->caps.num_aeq_vectors; in hns_roce_v1_init_eq_table()
4222 irq_num = eq_num + hr_dev->caps.num_other_vectors; in hns_roce_v1_init_eq_table()
4224 eq_table->eq = kcalloc(eq_num, sizeof(*eq_table->eq), GFP_KERNEL); in hns_roce_v1_init_eq_table()
4228 eq_table->eqc_base = kcalloc(eq_num, sizeof(*eq_table->eqc_base), in hns_roce_v1_init_eq_table()
4235 for (i = 0; i < eq_num; i++) { in hns_roce_v1_init_eq_table()
4278 for (i = 0; i < eq_num; i++) { in hns_roce_v1_init_eq_table()
4287 if (j < eq_num) in hns_roce_v1_init_eq_table()
[all …]
Dhns_roce_hw_v2.c5690 int eq_num, int enable_flag) in hns_roce_v2_int_mask_enable() argument
5695 for (i = 0; i < eq_num; i++) in hns_roce_v2_int_mask_enable()
5705 for (i = 0; i < eq_num; i++) in hns_roce_v2_int_mask_enable()
6002 int eq_num; in __hns_roce_free_irq() local
6005 eq_num = hr_dev->caps.num_comp_vectors + hr_dev->caps.num_aeq_vectors; in __hns_roce_free_irq()
6006 irq_num = eq_num + hr_dev->caps.num_other_vectors; in __hns_roce_free_irq()
6011 for (i = 0; i < eq_num; i++) in __hns_roce_free_irq()
6025 int eq_num; in hns_roce_v2_init_eq_table() local
6036 eq_num = comp_num + aeq_num; in hns_roce_v2_init_eq_table()
6037 irq_num = eq_num + other_num; in hns_roce_v2_init_eq_table()
[all …]