Lines Matching refs:active_width

379 					   u16 *active_speed, u8 *active_width)  in translate_eth_legacy_proto_oper()  argument
386 *active_width = IB_WIDTH_1X; in translate_eth_legacy_proto_oper()
396 *active_width = IB_WIDTH_1X; in translate_eth_legacy_proto_oper()
402 *active_width = IB_WIDTH_1X; in translate_eth_legacy_proto_oper()
409 *active_width = IB_WIDTH_4X; in translate_eth_legacy_proto_oper()
415 *active_width = IB_WIDTH_1X; in translate_eth_legacy_proto_oper()
419 *active_width = IB_WIDTH_4X; in translate_eth_legacy_proto_oper()
426 *active_width = IB_WIDTH_4X; in translate_eth_legacy_proto_oper()
437 u8 *active_width) in translate_eth_ext_proto_oper() argument
442 *active_width = IB_WIDTH_1X; in translate_eth_ext_proto_oper()
446 *active_width = IB_WIDTH_1X; in translate_eth_ext_proto_oper()
450 *active_width = IB_WIDTH_1X; in translate_eth_ext_proto_oper()
454 *active_width = IB_WIDTH_4X; in translate_eth_ext_proto_oper()
458 *active_width = IB_WIDTH_1X; in translate_eth_ext_proto_oper()
462 *active_width = IB_WIDTH_2X; in translate_eth_ext_proto_oper()
466 *active_width = IB_WIDTH_1X; in translate_eth_ext_proto_oper()
470 *active_width = IB_WIDTH_4X; in translate_eth_ext_proto_oper()
474 *active_width = IB_WIDTH_2X; in translate_eth_ext_proto_oper()
478 *active_width = IB_WIDTH_1X; in translate_eth_ext_proto_oper()
482 *active_width = IB_WIDTH_4X; in translate_eth_ext_proto_oper()
486 *active_width = IB_WIDTH_2X; in translate_eth_ext_proto_oper()
490 *active_width = IB_WIDTH_1X; in translate_eth_ext_proto_oper()
494 *active_width = IB_WIDTH_8X; in translate_eth_ext_proto_oper()
498 *active_width = IB_WIDTH_4X; in translate_eth_ext_proto_oper()
502 *active_width = IB_WIDTH_2X; in translate_eth_ext_proto_oper()
506 *active_width = IB_WIDTH_8X; in translate_eth_ext_proto_oper()
510 *active_width = IB_WIDTH_4X; in translate_eth_ext_proto_oper()
521 u8 *active_width, bool ext) in translate_eth_proto_oper() argument
525 active_width) : in translate_eth_proto_oper()
527 active_width); in translate_eth_proto_oper()
570 props->active_width = IB_WIDTH_4X; in mlx5_query_port_roce()
574 &props->active_width, ext); in mlx5_query_port_roce()
1308 static void translate_active_width(struct ib_device *ibdev, u16 active_width, in translate_active_width() argument
1313 if (active_width & MLX5_PTYS_WIDTH_1X) in translate_active_width()
1315 else if (active_width & MLX5_PTYS_WIDTH_2X) in translate_active_width()
1317 else if (active_width & MLX5_PTYS_WIDTH_4X) in translate_active_width()
1319 else if (active_width & MLX5_PTYS_WIDTH_8X) in translate_active_width()
1321 else if (active_width & MLX5_PTYS_WIDTH_12X) in translate_active_width()
1325 active_width); in translate_active_width()
1452 translate_active_width(ibdev, ib_link_width_oper, &props->active_width); in mlx5_query_hca_port()