Searched refs:step_idx (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/infiniband/hw/hns/ |
| A D | hns_roce_hem.c | 492 int step_idx; in set_mhop_hem() local 513 step_idx = 0; in set_mhop_hem() 515 step_idx = mhop->hop_num; in set_mhop_hem() 516 ret = hr_dev->hw->set_hem(hr_dev, table, obj, step_idx); in set_mhop_hem() 622 int step_idx; in clear_mhop_hem() local 642 step_idx = 0; in clear_mhop_hem() 644 step_idx = hop_num; in clear_mhop_hem() 646 if (hr_dev->hw->clear_hem(hr_dev, table, obj, step_idx)) in clear_mhop_hem()
|
| A D | hns_roce_hw_v2.h | 146 #define check_whether_last_step(hop_num, step_idx) \ argument 147 ((step_idx == 0 && hop_num == HNS_ROCE_HOP_NUM_0) || \ 148 (step_idx == 1 && hop_num == 1) || \ 149 (step_idx == 2 && hop_num == 2))
|
| A D | hns_roce_hw_v2.c | 3818 int step_idx, u16 *mbox_op) in get_op_for_set_hem() argument 3849 *mbox_op = op + step_idx; in get_op_for_set_hem() 3872 dma_addr_t base_addr, u32 hem_type, int step_idx) in set_hem_to_hw() argument 3880 if (unlikely(hem_type == HEM_TYPE_SCCC && step_idx)) in set_hem_to_hw() 3892 int step_idx) in hns_roce_v2_set_hem() argument 3929 if (check_whether_last_step(hop_num, step_idx)) { in hns_roce_v2_set_hem() 3935 step_idx); in hns_roce_v2_set_hem() 3938 if (step_idx == 0) in hns_roce_v2_set_hem() 3940 else if (step_idx == 1 && hop_num == 2) in hns_roce_v2_set_hem() 3951 int step_idx) in hns_roce_v2_clear_hem() argument [all …]
|
| A D | hns_roce_device.h | 930 struct hns_roce_hem_table *table, int obj, int step_idx); 933 int step_idx);
|
| A D | hns_roce_hw_v1.c | 467 int step_idx) in hns_roce_v1_set_hem() argument 2408 int step_idx) in hns_roce_v1_clear_hem() argument
|
Completed in 40 milliseconds