Home
last modified time | relevance | path

Searched refs:max_lw (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
H A Dcik.c1575 u32 max_lw, current_lw, tmp; in cik_pcie_gen3_enable() local
1581 max_lw = (tmp & PCIE_LC_STATUS1__LC_DETECTED_LINK_WIDTH_MASK) >> in cik_pcie_gen3_enable()
1586 if (current_lw < max_lw) { in cik_pcie_gen3_enable()
1591 tmp |= (max_lw << in cik_pcie_gen3_enable()
H A Dsi.c2277 u32 max_lw, current_lw, tmp; in si_pcie_gen3_enable() local
2283 max_lw = (tmp & LC_DETECTED_LINK_WIDTH_MASK) >> LC_DETECTED_LINK_WIDTH_SHIFT; in si_pcie_gen3_enable()
2286 if (current_lw < max_lw) { in si_pcie_gen3_enable()
2290 tmp |= (max_lw << LC_LINK_WIDTH_SHIFT); in si_pcie_gen3_enable()
/linux/drivers/gpu/drm/radeon/
H A Dsi.c7117 u32 max_lw, current_lw, tmp; in si_pcie_gen3_enable() local
7123 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()
H A Dcik.c9535 u32 max_lw, current_lw, tmp; in cik_pcie_gen3_enable() local
9541 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()