Lines Matching refs:max_speed
114 u32 max_speed = nvkm_rd32(pci->subdev.device, 0x8c1c0) & 0x300000; in gk104_pcie_max_speed() local
115 switch (max_speed) { in gk104_pcie_max_speed()
152 enum nvkm_pcie_speed lnkctl_speed, max_speed, cap_speed; in gk104_pcie_init() local
159 max_speed = gk104_pcie_max_speed(pci); in gk104_pcie_init()
162 if (cap_speed != max_speed) { in gk104_pcie_init()
164 gk104_pcie_set_cap_speed(pci, max_speed); in gk104_pcie_init()
166 if (cap_speed != max_speed) in gk104_pcie_init()
170 if (lnkctl_speed != max_speed) { in gk104_pcie_init()
172 gk104_pcie_set_lnkctl_speed(pci, max_speed); in gk104_pcie_init()
174 if (lnkctl_speed != max_speed) in gk104_pcie_init()
216 .pcie.max_speed = gk104_pcie_max_speed,