Lines Matching full:speed

33 gk104_pcie_set_cap_speed(struct nvkm_pci *pci, enum nvkm_pcie_speed speed)  in gk104_pcie_set_cap_speed()  argument
37 switch (speed) { in gk104_pcie_set_cap_speed()
56 int speed = gf100_pcie_cap_speed(pci); in gk104_pcie_cap_speed() local
58 if (speed == 0) in gk104_pcie_cap_speed()
61 if (speed >= 1) { in gk104_pcie_cap_speed()
78 gk104_pcie_set_lnkctl_speed(struct nvkm_pci *pci, enum nvkm_pcie_speed speed) in gk104_pcie_set_lnkctl_speed() argument
81 switch (speed) { in gk104_pcie_set_lnkctl_speed()
127 gk104_pcie_set_link_speed(struct nvkm_pci *pci, enum nvkm_pcie_speed speed) in gk104_pcie_set_link_speed() argument
132 switch (speed) { in gk104_pcie_set_link_speed()
163 nvkm_trace(subdev, "adjusting cap to max speed\n"); in gk104_pcie_init()
167 nvkm_warn(subdev, "failed to adjust cap speed\n"); in gk104_pcie_init()
171 nvkm_debug(subdev, "adjusting lnkctl to max speed\n"); in gk104_pcie_init()
175 nvkm_error(subdev, "failed to adjust lnkctl speed\n"); in gk104_pcie_init()
182 gk104_pcie_set_link(struct nvkm_pci *pci, enum nvkm_pcie_speed speed, u8 width) in gk104_pcie_set_link() argument
188 if (speed > lnk_cap_speed) { in gk104_pcie_set_link()
189 speed = lnk_cap_speed; in gk104_pcie_set_link()
190 nvkm_warn(subdev, "dropping requested speed due too low cap" in gk104_pcie_set_link()
191 " speed\n"); in gk104_pcie_set_link()
194 if (speed > lnk_ctl_speed) { in gk104_pcie_set_link()
195 speed = lnk_ctl_speed; in gk104_pcie_set_link()
196 nvkm_warn(subdev, "dropping requested speed due too low" in gk104_pcie_set_link()
197 " lnkctl speed\n"); in gk104_pcie_set_link()
200 gk104_pcie_set_link_speed(pci, speed); in gk104_pcie_set_link()