Lines Matching +full:0 +full:x30000
29 return (nvkm_rd32(pci->subdev.device, 0x8c1c0) & 0x4) == 0x4 ? 2 : 1; in gk104_pcie_version_supported()
40 nvkm_mask(device, 0x8c1c0, 0x30000, 0x10000); in gk104_pcie_set_cap_speed()
44 nvkm_mask(device, 0x8c1c0, 0x30000, 0x20000); in gk104_pcie_set_cap_speed()
48 nvkm_mask(device, 0x8c1c0, 0x30000, 0x30000); in gk104_pcie_set_cap_speed()
58 if (speed == 0) in gk104_pcie_cap_speed()
62 int speed2 = nvkm_rd32(pci->subdev.device, 0x8c1c0) & 0x30000; in gk104_pcie_cap_speed()
64 case 0x00000: in gk104_pcie_cap_speed()
65 case 0x10000: in gk104_pcie_cap_speed()
67 case 0x20000: in gk104_pcie_cap_speed()
69 case 0x30000: in gk104_pcie_cap_speed()
80 u8 reg_v = 0; in gk104_pcie_set_lnkctl_speed()
92 nvkm_pci_mask(pci, 0xa8, 0x3, reg_v); in gk104_pcie_set_lnkctl_speed()
98 u8 reg_v = nvkm_pci_rd32(pci, 0xa8) & 0x3; in gk104_pcie_lnkctl_speed()
100 case 0: in gk104_pcie_lnkctl_speed()
114 u32 max_speed = nvkm_rd32(pci->subdev.device, 0x8c1c0) & 0x300000; in gk104_pcie_max_speed()
116 case 0x000000: in gk104_pcie_max_speed()
118 case 0x100000: in gk104_pcie_max_speed()
120 case 0x200000: in gk104_pcie_max_speed()
134 mask_value = 0x00000; in gk104_pcie_set_link_speed()
137 mask_value = 0x40000; in gk104_pcie_set_link_speed()
141 mask_value = 0x80000; in gk104_pcie_set_link_speed()
145 nvkm_mask(device, 0x8c040, 0xc0000, mask_value); in gk104_pcie_set_link_speed()
146 nvkm_mask(device, 0x8c040, 0x1, 0x1); in gk104_pcie_set_link_speed()
156 return 0; in gk104_pcie_init()
178 return 0; in gk104_pcie_init()
201 return 0; in gk104_pcie_set_link()