Lines Matching refs:active_speed
330 u16 *active_speed, u8 *active_width) in translate_eth_legacy_proto_oper() argument
338 *active_speed = IB_SPEED_SDR; in translate_eth_legacy_proto_oper()
348 *active_speed = IB_SPEED_QDR; in translate_eth_legacy_proto_oper()
354 *active_speed = IB_SPEED_EDR; in translate_eth_legacy_proto_oper()
361 *active_speed = IB_SPEED_QDR; in translate_eth_legacy_proto_oper()
367 *active_speed = IB_SPEED_HDR; in translate_eth_legacy_proto_oper()
371 *active_speed = IB_SPEED_FDR; in translate_eth_legacy_proto_oper()
378 *active_speed = IB_SPEED_EDR; in translate_eth_legacy_proto_oper()
387 static int translate_eth_ext_proto_oper(u32 eth_proto_oper, u16 *active_speed, in translate_eth_ext_proto_oper() argument
394 *active_speed = IB_SPEED_SDR; in translate_eth_ext_proto_oper()
398 *active_speed = IB_SPEED_DDR; in translate_eth_ext_proto_oper()
402 *active_speed = IB_SPEED_QDR; in translate_eth_ext_proto_oper()
406 *active_speed = IB_SPEED_QDR; in translate_eth_ext_proto_oper()
410 *active_speed = IB_SPEED_EDR; in translate_eth_ext_proto_oper()
414 *active_speed = IB_SPEED_EDR; in translate_eth_ext_proto_oper()
418 *active_speed = IB_SPEED_HDR; in translate_eth_ext_proto_oper()
422 *active_speed = IB_SPEED_EDR; in translate_eth_ext_proto_oper()
426 *active_speed = IB_SPEED_HDR; in translate_eth_ext_proto_oper()
430 *active_speed = IB_SPEED_HDR; in translate_eth_ext_proto_oper()
439 static int translate_eth_proto_oper(u32 eth_proto_oper, u16 *active_speed, in translate_eth_proto_oper() argument
443 translate_eth_ext_proto_oper(eth_proto_oper, active_speed, in translate_eth_proto_oper()
445 translate_eth_legacy_proto_oper(eth_proto_oper, active_speed, in translate_eth_proto_oper()
491 props->active_speed = IB_SPEED_QDR; in mlx5_query_port_roce()
493 translate_eth_proto_oper(eth_prot_oper, &props->active_speed, in mlx5_query_port_roce()
1308 &props->active_speed, port); in mlx5_query_hca_port()