Lines Matching +full:max +full:- +full:link +full:- +full:speed
1 /* SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause */
3 * Copyright(c) 2015 - 2017 Intel Corporation.
38 #define OPA_NOTICE_TRAP_LWDE_CHG 0x08 /* Link Width Downgrade Enable
41 #define OPA_NOTICE_TRAP_LSE_CHG 0x04 /* Link Speed Enable changed */
42 #define OPA_NOTICE_TRAP_LWE_CHG 0x02 /* Link Width Enable changed */
147 * The default link width is multiplied by 1000
282 __be16 ccti_limit; /* max CCTI for cc table */
287 u16 ccti_limit; /* max CCTI for cc table */
295 u16 ccti_limit; /* max CCTI for cc table */
300 * struct cc_state combines the (active) per-port congestion control
301 * table, and the (active) per-SL congestion settings. cc_state data
390 #define COUNTER_MASK(q, n) (q << ((9 - n) * 3))
404 * get_link_speed - determine whether 12.5G or 25G speed
405 * @link_speed: the speed of active link
406 * @return: Return 2 if link speed identified as 12.5G
407 * or return 1 if link speed is 25G.
409 * The function indirectly calculate required link speed
410 * value for convert_xmit_counter function. If the link
411 * speed is 25G, the function return as 1 as it is required
412 * by xmit counter conversion formula :-( 25G / link_speed).
414 * link speed is 25G or 2 if 12.5G.This is done to avoid
424 * convert_xmit_counter - calculate flit times for given xmit counter
427 * @link_width: width of active link
428 * @link_speed: speed of active link