Searched refs:ib_opcode (Results 1 – 2 of 2) sorted by relevance
85 static u32 to_hr_opcode(u32 ib_opcode) in to_hr_opcode() argument87 if (ib_opcode >= ARRAY_SIZE(hns_roce_op_code)) in to_hr_opcode()90 return hns_roce_op_code[ib_opcode] ? hns_roce_op_code[ib_opcode] - 1 : in to_hr_opcode()
946 static int ib_to_fw_opcode(int ib_opcode) in ib_to_fw_opcode() argument950 switch (ib_opcode) { in ib_to_fw_opcode()