Lines Matching refs:speed
33 nvkm_pcie_speed(enum pci_bus_speed speed) in nvkm_pcie_speed() argument
35 switch (speed) { in nvkm_pcie_speed()
44 if (speed == 0x17) in nvkm_pcie_speed()
108 if (pci->pcie.speed != -1) in nvkm_pcie_init()
109 nvkm_pcie_set_link(pci, pci->pcie.speed, pci->pcie.width); in nvkm_pcie_init()
115 nvkm_pcie_set_link(struct nvkm_pci *pci, enum nvkm_pcie_speed speed, u8 width) in nvkm_pcie_set_link() argument
128 nvkm_trace(subdev, "requested %s\n", nvkm_pcie_speeds[speed]); in nvkm_pcie_set_link()
141 if (speed > max_speed) { in nvkm_pcie_set_link()
143 "requested speed to %s", nvkm_pcie_speeds[speed], in nvkm_pcie_set_link()
145 speed = max_speed; in nvkm_pcie_set_link()
148 pci->pcie.speed = speed; in nvkm_pcie_set_link()
151 if (speed == cur_speed) { in nvkm_pcie_set_link()
153 return speed; in nvkm_pcie_set_link()
157 nvkm_pcie_speeds[speed], width); in nvkm_pcie_set_link()
159 ret = pci->func->pcie.set_link(pci, speed, width); in nvkm_pcie_set_link()