Searched refs:step_idx (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/infiniband/hw/hns/ |
H A D | hns_roce_hem.c | 491 u32 step_idx; in set_mhop_hem() local 512 step_idx = 0; in set_mhop_hem() 514 step_idx = mhop->hop_num; in set_mhop_hem() 515 ret = hr_dev->hw->set_hem(hr_dev, table, obj, step_idx); in set_mhop_hem() 621 u32 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 ret = hr_dev->hw->clear_hem(hr_dev, table, obj, step_idx); in clear_mhop_hem()
|
H A D | hns_roce_hw_v2.h | 102 #define check_whether_last_step(hop_num, step_idx) \ argument 103 ((step_idx == 0 && hop_num == HNS_ROCE_HOP_NUM_0) || \ 104 (step_idx == 1 && hop_num == 1) || \ 105 (step_idx == 2 && hop_num == 2))
|
H A D | hns_roce_hw_v2.c | 3984 u32 step_idx, u8 *mbox_cmd) in get_op_for_set_hem() argument 4015 *mbox_cmd = cmd + step_idx; in get_op_for_set_hem() 4038 dma_addr_t base_addr, u32 hem_type, u32 step_idx) in set_hem_to_hw() argument 4046 if (unlikely(hem_type == HEM_TYPE_SCCC && step_idx)) in set_hem_to_hw() 4058 u32 step_idx) in hns_roce_v2_set_hem() argument 4095 if (check_whether_last_step(hop_num, step_idx)) { in hns_roce_v2_set_hem() 4101 step_idx); in hns_roce_v2_set_hem() 4104 if (step_idx == 0) in hns_roce_v2_set_hem() 4106 else if (step_idx == 1 && hop_num == 2) in hns_roce_v2_set_hem() 4117 int tag, u32 step_idx) in hns_roce_v2_clear_hem() argument [all …]
|
H A D | hns_roce_device.h | 902 struct hns_roce_hem_table *table, int obj, u32 step_idx); 905 u32 step_idx);
|