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_8X; in translate_eth_ext_proto_oper()
451 *active_width = IB_WIDTH_4X; in translate_eth_ext_proto_oper()
462 u8 *active_width, bool ext) in translate_eth_proto_oper() argument
466 active_width) : in translate_eth_proto_oper()
468 active_width); in translate_eth_proto_oper()
511 props->active_width = IB_WIDTH_4X; in mlx5_query_port_roce()
515 &props->active_width, ext); in mlx5_query_port_roce()
1217 static void translate_active_width(struct ib_device *ibdev, u16 active_width, in translate_active_width() argument
1222 if (active_width & MLX5_PTYS_WIDTH_1X) in translate_active_width()
1224 else if (active_width & MLX5_PTYS_WIDTH_2X) in translate_active_width()
1226 else if (active_width & MLX5_PTYS_WIDTH_4X) in translate_active_width()
1228 else if (active_width & MLX5_PTYS_WIDTH_8X) in translate_active_width()
1230 else if (active_width & MLX5_PTYS_WIDTH_12X) in translate_active_width()
1234 active_width); in translate_active_width()
1349 translate_active_width(ibdev, ib_link_width_oper, &props->active_width); in mlx5_query_hca_port()