Lines Matching +full:0 +full:x0f000000

32 	u16 dcb = 0x0000;  in dcb_table()
35 dcb = nvbios_rd16(bios, 0x36); in dcb_table()
43 if (*ver >= 0x42) { in dcb_table()
44 nvkm_warn(subdev, "DCB version 0x%02x unknown\n", *ver); in dcb_table()
45 return 0x0000; in dcb_table()
47 if (*ver >= 0x30) { in dcb_table()
48 if (nvbios_rd32(bios, dcb + 6) == 0x4edcbdcb) { in dcb_table()
55 if (*ver >= 0x20) { in dcb_table()
56 if (nvbios_rd32(bios, dcb + 4) == 0x4edcbdcb) { in dcb_table()
64 if (*ver >= 0x15) { in dcb_table()
91 return 0x0000; in dcb_table()
95 return 0x0000; in dcb_table()
105 return 0x0000; in dcb_outp()
125 memset(outp, 0x00, sizeof(*outp)); in dcb_outp_parse()
127 if (*ver >= 0x20) { in dcb_outp_parse()
128 u32 conn = nvbios_rd32(bios, dcb + 0x00); in dcb_outp_parse()
129 outp->or = (conn & 0x0f000000) >> 24; in dcb_outp_parse()
130 outp->location = (conn & 0x00300000) >> 20; in dcb_outp_parse()
131 outp->bus = (conn & 0x000f0000) >> 16; in dcb_outp_parse()
132 outp->connector = (conn & 0x0000f000) >> 12; in dcb_outp_parse()
133 outp->heads = (conn & 0x00000f00) >> 8; in dcb_outp_parse()
134 outp->i2c_index = (conn & 0x000000f0) >> 4; in dcb_outp_parse()
135 outp->type = (conn & 0x0000000f); in dcb_outp_parse()
136 outp->link = 0; in dcb_outp_parse()
138 dcb = 0x0000; in dcb_outp_parse()
141 if (*ver >= 0x40) { in dcb_outp_parse()
142 u32 conf = nvbios_rd32(bios, dcb + 0x04); in dcb_outp_parse()
145 switch (conf & 0x00e00000) { in dcb_outp_parse()
146 case 0x00000000: /* 1.62 */ in dcb_outp_parse()
147 outp->dpconf.link_bw = 0x06; in dcb_outp_parse()
149 case 0x00200000: /* 2.7 */ in dcb_outp_parse()
150 outp->dpconf.link_bw = 0x0a; in dcb_outp_parse()
152 case 0x00400000: /* 5.4 */ in dcb_outp_parse()
153 outp->dpconf.link_bw = 0x14; in dcb_outp_parse()
155 case 0x00600000: /* 8.1 */ in dcb_outp_parse()
157 outp->dpconf.link_bw = 0x1e; in dcb_outp_parse()
161 switch ((conf & 0x0f000000) >> 24) { in dcb_outp_parse()
162 case 0xf: in dcb_outp_parse()
163 case 0x4: in dcb_outp_parse()
166 case 0x3: in dcb_outp_parse()
167 case 0x2: in dcb_outp_parse()
170 case 0x1: in dcb_outp_parse()
179 outp->link = (conf & 0x00000030) >> 4; in dcb_outp_parse()
181 outp->extdev = 0x00; in dcb_outp_parse()
182 if (outp->location != 0) in dcb_outp_parse()
183 outp->extdev = (conf & 0x0000ff00) >> 8; in dcb_outp_parse()
200 u16 dcb, idx = 0; in dcb_outp_match()
202 if ((dcb_outp_hasht(outp) & 0x00ff) == (type & 0x00ff)) { in dcb_outp_match()
219 if (nvbios_rd32(bios, outp) == 0x00000000) in dcb_outp_foreach()
221 if (nvbios_rd32(bios, outp) == 0xffffffff) in dcb_outp_foreach()
222 break; /* seen on an NV17 with DCB v2.0 */ in dcb_outp_foreach()
234 return 0; in dcb_outp_foreach()