Lines Matching refs:active_width

336 					   u16 *active_speed, u8 *active_width)  in translate_eth_legacy_proto_oper()  argument
343 *active_width = IB_WIDTH_1X; in translate_eth_legacy_proto_oper()
353 *active_width = IB_WIDTH_1X; in translate_eth_legacy_proto_oper()
359 *active_width = IB_WIDTH_1X; in translate_eth_legacy_proto_oper()
366 *active_width = IB_WIDTH_4X; in translate_eth_legacy_proto_oper()
372 *active_width = IB_WIDTH_1X; in translate_eth_legacy_proto_oper()
376 *active_width = IB_WIDTH_4X; in translate_eth_legacy_proto_oper()
383 *active_width = IB_WIDTH_4X; in translate_eth_legacy_proto_oper()
394 u8 *active_width) in translate_eth_ext_proto_oper() argument
399 *active_width = IB_WIDTH_1X; in translate_eth_ext_proto_oper()
403 *active_width = IB_WIDTH_1X; in translate_eth_ext_proto_oper()
407 *active_width = IB_WIDTH_1X; in translate_eth_ext_proto_oper()
411 *active_width = IB_WIDTH_4X; in translate_eth_ext_proto_oper()
415 *active_width = IB_WIDTH_1X; in translate_eth_ext_proto_oper()
419 *active_width = IB_WIDTH_2X; in translate_eth_ext_proto_oper()
423 *active_width = IB_WIDTH_1X; in translate_eth_ext_proto_oper()
427 *active_width = IB_WIDTH_4X; in translate_eth_ext_proto_oper()
431 *active_width = IB_WIDTH_2X; in translate_eth_ext_proto_oper()
435 *active_width = IB_WIDTH_1X; in translate_eth_ext_proto_oper()
439 *active_width = IB_WIDTH_4X; in translate_eth_ext_proto_oper()
443 *active_width = IB_WIDTH_2X; in translate_eth_ext_proto_oper()
447 *active_width = IB_WIDTH_4X; in translate_eth_ext_proto_oper()
458 u8 *active_width, bool ext) in translate_eth_proto_oper() argument
462 active_width) : in translate_eth_proto_oper()
464 active_width); in translate_eth_proto_oper()
507 props->active_width = IB_WIDTH_4X; in mlx5_query_port_roce()
511 &props->active_width, ext); in mlx5_query_port_roce()
1207 static void translate_active_width(struct ib_device *ibdev, u16 active_width, in translate_active_width() argument
1212 if (active_width & MLX5_PTYS_WIDTH_1X) in translate_active_width()
1214 else if (active_width & MLX5_PTYS_WIDTH_2X) in translate_active_width()
1216 else if (active_width & MLX5_PTYS_WIDTH_4X) in translate_active_width()
1218 else if (active_width & MLX5_PTYS_WIDTH_8X) in translate_active_width()
1220 else if (active_width & MLX5_PTYS_WIDTH_12X) in translate_active_width()
1224 active_width); in translate_active_width()
1339 translate_active_width(ibdev, ib_link_width_oper, &props->active_width); in mlx5_query_hca_port()