Searched refs:max_lw (Results 1 – 2 of 2) sorted by relevance
7117 u32 max_lw, current_lw, tmp; in si_pcie_gen3_enable() local7123 max_lw = (tmp & LC_DETECTED_LINK_WIDTH_MASK) >> LC_DETECTED_LINK_WIDTH_SHIFT; in si_pcie_gen3_enable()7126 if (current_lw < max_lw) { in si_pcie_gen3_enable()7130 tmp |= (max_lw << LC_LINK_WIDTH_SHIFT); in si_pcie_gen3_enable()
9535 u32 max_lw, current_lw, tmp; in cik_pcie_gen3_enable() local9541 max_lw = (tmp & LC_DETECTED_LINK_WIDTH_MASK) >> LC_DETECTED_LINK_WIDTH_SHIFT; in cik_pcie_gen3_enable()9544 if (current_lw < max_lw) { in cik_pcie_gen3_enable()9548 tmp |= (max_lw << LC_LINK_WIDTH_SHIFT); in cik_pcie_gen3_enable()