Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Dcik.c1575 u32 max_lw, current_lw, tmp; in cik_pcie_gen3_enable() local
1590 max_lw = (tmp & PCIE_LC_STATUS1__LC_DETECTED_LINK_WIDTH_MASK) >> in cik_pcie_gen3_enable()
1595 if (current_lw < max_lw) { in cik_pcie_gen3_enable()
1600 tmp |= (max_lw << in cik_pcie_gen3_enable()
Dsi.c2277 u32 max_lw, current_lw, tmp; in si_pcie_gen3_enable() local
2292 max_lw = (tmp & LC_DETECTED_LINK_WIDTH_MASK) >> LC_DETECTED_LINK_WIDTH_SHIFT; in si_pcie_gen3_enable()
2295 if (current_lw < max_lw) { in si_pcie_gen3_enable()
2299 tmp |= (max_lw << LC_LINK_WIDTH_SHIFT); in si_pcie_gen3_enable()
/linux-6.1.9/drivers/gpu/drm/radeon/
Dsi.c7132 u32 max_lw, current_lw, tmp; in si_pcie_gen3_enable() local
7147 max_lw = (tmp & LC_DETECTED_LINK_WIDTH_MASK) >> LC_DETECTED_LINK_WIDTH_SHIFT; in si_pcie_gen3_enable()
7150 if (current_lw < max_lw) { in si_pcie_gen3_enable()
7154 tmp |= (max_lw << LC_LINK_WIDTH_SHIFT); in si_pcie_gen3_enable()
Dcik.c9535 u32 max_lw, current_lw, tmp; in cik_pcie_gen3_enable() local
9550 max_lw = (tmp & LC_DETECTED_LINK_WIDTH_MASK) >> LC_DETECTED_LINK_WIDTH_SHIFT; in cik_pcie_gen3_enable()
9553 if (current_lw < max_lw) { in cik_pcie_gen3_enable()
9557 tmp |= (max_lw << LC_LINK_WIDTH_SHIFT); in cik_pcie_gen3_enable()