Home
last modified time | relevance | path

Searched refs:nv_ro08 (Results 1 – 25 of 35) sorted by relevance

12

/dports/misc/rump/buildrump.sh-b914579/src/sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/bios/
H A Dnouveau_subdev_bios_rammap.c47 *ver = nv_ro08(bios, rammap + 0); in nvbios_rammapTe()
51 *hdr = nv_ro08(bios, rammap + 1); in nvbios_rammapTe()
52 *cnt = nv_ro08(bios, rammap + 5); in nvbios_rammapTe()
53 *len = nv_ro08(bios, rammap + 2); in nvbios_rammapTe()
54 *snr = nv_ro08(bios, rammap + 4); in nvbios_rammapTe()
55 *ssz = nv_ro08(bios, rammap + 3); in nvbios_rammapTe()
105 p->rammap_11_08_01 = (nv_ro08(bios, data + 0x08) & 0x01) >> 0; in nvbios_rammapEp()
106 p->rammap_11_08_0c = (nv_ro08(bios, data + 0x08) & 0x0c) >> 2; in nvbios_rammapEp()
107 p->rammap_11_08_10 = (nv_ro08(bios, data + 0x08) & 0x10) >> 4; in nvbios_rammapEp()
108 p->rammap_11_11_0c = (nv_ro08(bios, data + 0x11) & 0x0c) >> 2; in nvbios_rammapEp()
[all …]
H A Dnouveau_subdev_bios_perf.c45 *ver = nv_ro08(bios, perf + 0); in nvbios_perf_table()
46 *hdr = nv_ro08(bios, perf + 1); in nvbios_perf_table()
48 *cnt = nv_ro08(bios, perf + 5); in nvbios_perf_table()
49 *len = nv_ro08(bios, perf + 2); in nvbios_perf_table()
50 *snr = nv_ro08(bios, perf + 4); in nvbios_perf_table()
51 *ssz = nv_ro08(bios, perf + 3); in nvbios_perf_table()
55 *cnt = nv_ro08(bios, perf + 2); in nvbios_perf_table()
69 *hdr = nv_ro08(bios, perf + 0); in nvbios_perf_table()
70 *ver = nv_ro08(bios, perf + 1); in nvbios_perf_table()
71 *cnt = nv_ro08(bios, perf + 2); in nvbios_perf_table()
[all …]
H A Dnouveau_subdev_bios_volt.c48 *ver = nv_ro08(bios, volt + 0); in nvbios_volt_table()
52 *cnt = nv_ro08(bios, volt + 2); in nvbios_volt_table()
53 *len = nv_ro08(bios, volt + 1); in nvbios_volt_table()
56 *hdr = nv_ro08(bios, volt + 1); in nvbios_volt_table()
57 *cnt = nv_ro08(bios, volt + 2); in nvbios_volt_table()
58 *len = nv_ro08(bios, volt + 3); in nvbios_volt_table()
63 *hdr = nv_ro08(bios, volt + 1); in nvbios_volt_table()
64 *cnt = nv_ro08(bios, volt + 3); in nvbios_volt_table()
65 *len = nv_ro08(bios, volt + 2); in nvbios_volt_table()
82 info->vidmask = nv_ro08(bios, volt + 0x04); in nvbios_volt_parse()
[all …]
H A Dnouveau_subdev_bios_i2c.c48 *ver = nv_ro08(bios, i2c + 0); in dcb_i2c_table()
49 *hdr = nv_ro08(bios, i2c + 1); in dcb_i2c_table()
50 *cnt = nv_ro08(bios, i2c + 2); in dcb_i2c_table()
51 *len = nv_ro08(bios, i2c + 3); in dcb_i2c_table()
78 info->type = nv_ro08(bios, ent + 3); in dcb_i2c_parse()
88 info->drive = nv_ro08(bios, ent + 0); in dcb_i2c_parse()
89 info->sense = nv_ro08(bios, ent + 1); in dcb_i2c_parse()
92 info->drive = nv_ro08(bios, ent + 1); in dcb_i2c_parse()
97 if (nv_ro08(bios, ent + 1) & 0x01) { in dcb_i2c_parse()
121 info->drive = nv_ro08(bios, ent + 4); in dcb_i2c_parse()
[all …]
H A Dnouveau_subdev_bios_pll.c93 *ver = nv_ro08(bios, data + 0); in pll_limits_table()
94 *hdr = nv_ro08(bios, data + 1); in pll_limits_table()
95 *len = nv_ro08(bios, data + 2); in pll_limits_table()
96 *cnt = nv_ro08(bios, data + 3); in pll_limits_table()
104 *ver = nv_ro08(bios, data + 0); in pll_limits_table()
154 *type = nv_ro08(bios, data + 0); in pll_map_reg()
195 if (nv_ro08(bios, data + 0) == type) { in pll_map_type()
315 info->max_p = nv_ro08(bios, data + 29); in nvbios_pll_parse()
319 info->bias_p = nv_ro08(bios, data + 30); in nvbios_pll_parse()
359 info->min_p = nv_ro08(bios, data + 12); in nvbios_pll_parse()
[all …]
H A Dnouveau_subdev_bios_init.c114 return nv_ro08(bios, conn); in init_conn()
435 return nv_ro08(bios, data + offset); in init_xlat_()
749 u8 cond = nv_ro08(bios, init->offset + 1); in init_io_flag_condition()
1001 data[i] = nv_ro08(bios, init->offset); in init_zm_i2c()
1026 u8 tmds = nv_ro08(bios, init->offset + 1); in init_tmds()
1027 u8 addr = nv_ro08(bios, init->offset + 2); in init_tmds()
1090 u8 data = nv_ro08(bios, init->offset); in init_cr_idx_adr_latch()
1422 if (nv_ro08(bios, mdata) & 0x01) in init_configure_mem()
1477 if (nv_ro08(bios, mdata) & 0x01) in init_configure_clk()
2039 cont("0x%02x ", nv_ro08(bios, i)); in init_gpio_ne()
[all …]
H A Dnouveau_subdev_bios_dp.c44 *ver = nv_ro08(bios, data + 0x00); in nvbios_dp_table()
49 *hdr = nv_ro08(bios, data + 0x01); in nvbios_dp_table()
50 *len = nv_ro08(bios, data + 0x02); in nvbios_dp_table()
51 *cnt = nv_ro08(bios, data + 0x03); in nvbios_dp_table()
73 *hdr = nv_ro08(bios, data + 0x04); in nvbios_dpout_entry()
74 *len = nv_ro08(bios, data + 0x05); in nvbios_dpout_entry()
75 *cnt = nv_ro08(bios, outp + 0x04); in nvbios_dpout_entry()
78 *hdr = nv_ro08(bios, data + 0x04); in nvbios_dpout_entry()
154 *len = nv_ro08(bios, outp + 0x06); in nvbios_dpcfg_entry()
155 *cnt = nv_ro08(bios, outp + 0x07); in nvbios_dpcfg_entry()
[all …]
H A Dnouveau_subdev_bios_timing.c50 *ver = nv_ro08(bios, timing + 0); in nvbios_timingTe()
53 *hdr = nv_ro08(bios, timing + 1); in nvbios_timingTe()
54 *cnt = nv_ro08(bios, timing + 2); in nvbios_timingTe()
55 *len = nv_ro08(bios, timing + 3); in nvbios_timingTe()
60 *hdr = nv_ro08(bios, timing + 1); in nvbios_timingTe()
61 *cnt = nv_ro08(bios, timing + 5); in nvbios_timingTe()
62 *len = nv_ro08(bios, timing + 2); in nvbios_timingTe()
63 *snr = nv_ro08(bios, timing + 4); in nvbios_timingTe()
64 *ssz = nv_ro08(bios, timing + 3); in nvbios_timingTe()
110 p->timing_20_2e_03 = (nv_ro08(bios, data + 0x2e) & 0x03) >> 0; in nvbios_timingEp()
[all …]
H A Dnouveau_subdev_bios_xpio.c41 *ver = nv_ro08(bios, data + 0x00); in dcb_xpiod_table()
42 *hdr = nv_ro08(bios, data + 0x01); in dcb_xpiod_table()
43 *cnt = nv_ro08(bios, data + 0x02); in dcb_xpiod_table()
44 *len = nv_ro08(bios, data + 0x03); in dcb_xpiod_table()
59 *ver = nv_ro08(bios, data + 0x00); in dcb_xpio_table()
60 *hdr = nv_ro08(bios, data + 0x01); in dcb_xpio_table()
61 *cnt = nv_ro08(bios, data + 0x02); in dcb_xpio_table()
62 *len = nv_ro08(bios, data + 0x03); in dcb_xpio_table()
76 info->type = nv_ro08(bios, data + 0x04); in dcb_xpio_parse()
77 info->addr = nv_ro08(bios, data + 0x05); in dcb_xpio_parse()
[all …]
H A Dnouveau_subdev_bios_cstep.c46 *ver = nv_ro08(bios, cstep + 0); in nvbios_cstepTe()
49 *hdr = nv_ro08(bios, cstep + 1); in nvbios_cstepTe()
50 *cnt = nv_ro08(bios, cstep + 3); in nvbios_cstepTe()
51 *len = nv_ro08(bios, cstep + 2); in nvbios_cstepTe()
52 *xnr = nv_ro08(bios, cstep + 5); in nvbios_cstepTe()
53 *xsz = nv_ro08(bios, cstep + 4); in nvbios_cstepTe()
85 info->index = nv_ro08(bios, data + 0x03); in nvbios_cstepEp()
123 info->unkn[0] = nv_ro08(bios, data + 0x02); in nvbios_cstepXp()
124 info->unkn[1] = nv_ro08(bios, data + 0x03); in nvbios_cstepXp()
125 info->voltage = nv_ro08(bios, data + 0x04); in nvbios_cstepXp()
H A Dnouveau_subdev_bios_mxm.c87 ver = nv_ro08(bios, map); in mxm_sor_map()
89 if (conn < nv_ro08(bios, map + 3)) { in mxm_sor_map()
90 map += nv_ro08(bios, map + 1); in mxm_sor_map()
92 return nv_ro08(bios, map); in mxm_sor_map()
123 ver = nv_ro08(bios, map); in mxm_ddc_map()
125 if (port < nv_ro08(bios, map + 3)) { in mxm_ddc_map()
126 map += nv_ro08(bios, map + 1); in mxm_ddc_map()
128 return nv_ro08(bios, map); in mxm_ddc_map()
H A Dnouveau_subdev_bios_therm.c55 *ver = nv_ro08(bios, therm + 0); in therm_table()
56 *hdr = nv_ro08(bios, therm + 1); in therm_table()
57 *len = nv_ro08(bios, therm + 2); in therm_table()
58 *cnt = nv_ro08(bios, therm + 3); in therm_table()
60 return therm + nv_ro08(bios, therm + 1); in therm_table()
93 switch (nv_ro08(bios, entry + 0)) { in nvbios_therm_sensor_parse()
102 offset = ((s8) nv_ro08(bios, entry + 2)) / 2; in nvbios_therm_sensor_parse()
176 switch (nv_ro08(bios, entry + 0)) { in nvbios_therm_fan_parse()
207 fan->linear_min_temp = nv_ro08(bios, entry + 1); in nvbios_therm_fan_parse()
208 fan->linear_max_temp = nv_ro08(bios, entry + 2); in nvbios_therm_fan_parse()
H A Dnouveau_subdev_bios_gpio.c44 if (*ver >= 0x22 && nv_ro08(bios, dcb - 1) >= 0x13) in dcb_gpio_table()
48 *ver = nv_ro08(bios, data + 0x00); in dcb_gpio_table()
51 *cnt = nv_ro08(bios, data + 0x02); in dcb_gpio_table()
52 *len = nv_ro08(bios, data + 0x01); in dcb_gpio_table()
55 *hdr = nv_ro08(bios, data + 0x01); in dcb_gpio_table()
56 *cnt = nv_ro08(bios, data + 0x02); in dcb_gpio_table()
57 *len = nv_ro08(bios, data + 0x03); in dcb_gpio_table()
139 u8 conf = nv_ro08(bios, data - 5); in dcb_gpio_match()
140 u8 addr = nv_ro08(bios, data - 4); in dcb_gpio_match()
H A Dnouveau_subdev_bios_extdev.c48 *ver = nv_ro08(bios, extdev + 0); in extdev_table()
49 *hdr = nv_ro08(bios, extdev + 1); in extdev_table()
50 *cnt = nv_ro08(bios, extdev + 2); in extdev_table()
51 *len = nv_ro08(bios, extdev + 3); in extdev_table()
70 entry->type = nv_ro08(bios, offset + 0); in extdev_parse_entry()
71 entry->addr = nv_ro08(bios, offset + 1); in extdev_parse_entry()
72 entry->bus = (nv_ro08(bios, offset + 2) >> 4) & 1; in extdev_parse_entry()
H A Dnouveau_subdev_bios_bit.c39 u8 entries = nv_ro08(bios, bios->bit_offset + 10); in bit_entry()
42 if (nv_ro08(bios, entry + 0) == id) { in bit_entry()
43 bit->id = nv_ro08(bios, entry + 0); in bit_entry()
44 bit->version = nv_ro08(bios, entry + 1); in bit_entry()
50 entry += nv_ro08(bios, bios->bit_offset + 9); in bit_entry()
H A Dnouveau_subdev_bios_boost.c46 *ver = nv_ro08(bios, boost + 0); in nvbios_boostTe()
49 *hdr = nv_ro08(bios, boost + 1); in nvbios_boostTe()
50 *cnt = nv_ro08(bios, boost + 5); in nvbios_boostTe()
51 *len = nv_ro08(bios, boost + 2); in nvbios_boostTe()
52 *snr = nv_ro08(bios, boost + 4); in nvbios_boostTe()
53 *ssz = nv_ro08(bios, boost + 3); in nvbios_boostTe()
126 info->domain = nv_ro08(bios, data + 0x00); in nvbios_boostSp()
127 info->percent = nv_ro08(bios, data + 0x01); in nvbios_boostSp()
H A Dnouveau_subdev_bios_vmap.c44 *ver = nv_ro08(bios, vmap + 0); in nvbios_vmap_table()
48 *hdr = nv_ro08(bios, vmap + 1); in nvbios_vmap_table()
49 *cnt = nv_ro08(bios, vmap + 3); in nvbios_vmap_table()
50 *len = nv_ro08(bios, vmap + 2); in nvbios_vmap_table()
104 info->unk0 = nv_ro08(bios, vmap + 0x00); in nvbios_vmap_entry_parse()
105 info->link = nv_ro08(bios, vmap + 0x01); in nvbios_vmap_entry_parse()
H A Dnouveau_subdev_bios_conn.c43 *ver = nv_ro08(bios, data + 0); in dcb_conntab()
44 *hdr = nv_ro08(bios, data + 1); in dcb_conntab()
45 *cnt = nv_ro08(bios, data + 2); in dcb_conntab()
46 *len = nv_ro08(bios, data + 3); in dcb_conntab()
H A Dnouveau_subdev_bios_dcb.c48 *ver = nv_ro08(bios, dcb); in dcb_table()
56 *hdr = nv_ro08(bios, dcb + 1); in dcb_table()
57 *cnt = nv_ro08(bios, dcb + 2); in dcb_table()
58 *len = nv_ro08(bios, dcb + 3); in dcb_table()
225 if (nv_ro08(bios, outp) == DCB_OUTPUT_UNUSED) in dcb_outp_foreach()
227 if (nv_ro08(bios, outp) == DCB_OUTPUT_EOL) in dcb_outp_foreach()
H A Dnouveau_subdev_bios_disp.c44 *ver = nv_ro08(bios, data + 0x00); in nvbios_disp_table()
48 *hdr = nv_ro08(bios, data + 0x01); in nvbios_disp_table()
49 *len = nv_ro08(bios, data + 0x02); in nvbios_disp_table()
50 *cnt = nv_ro08(bios, data + 0x03); in nvbios_disp_table()
51 *sub = nv_ro08(bios, data + 0x04); in nvbios_disp_table()
95 *cnt = nv_ro08(bios, info.data + 0x05); in nvbios_outp_entry()
H A Dnouveau_subdev_bios_P0260.c46 *ver = nv_ro08(bios, data + 0); in nvbios_P0260Te()
49 *hdr = nv_ro08(bios, data + 1); in nvbios_P0260Te()
50 *cnt = nv_ro08(bios, data + 2); in nvbios_P0260Te()
52 *xnr = nv_ro08(bios, data + 3); in nvbios_P0260Te()
H A Dnouveau_subdev_bios_ramcfg.c47 return nv_ro08(bios, bit_M.offset + 2); in nvbios_ramcfg_count()
49 return nv_ro08(bios, bit_M.offset + 0); in nvbios_ramcfg_count()
71 strap = nv_ro08(bios, xlat + strap); in nvbios_ramcfg_index()
H A Dnouveau_subdev_bios_base.c508 bios->version.major = nv_ro08(bios, bit_i.offset + 3); in nouveau_bios_ctor()
509 bios->version.chip = nv_ro08(bios, bit_i.offset + 2); in nouveau_bios_ctor()
510 bios->version.minor = nv_ro08(bios, bit_i.offset + 1); in nouveau_bios_ctor()
511 bios->version.micro = nv_ro08(bios, bit_i.offset + 0); in nouveau_bios_ctor()
512 bios->version.patch = nv_ro08(bios, bit_i.offset + 4); in nouveau_bios_ctor()
515 bios->version.major = nv_ro08(bios, bios->bmp_offset + 13); in nouveau_bios_ctor()
516 bios->version.chip = nv_ro08(bios, bios->bmp_offset + 12); in nouveau_bios_ctor()
517 bios->version.minor = nv_ro08(bios, bios->bmp_offset + 11); in nouveau_bios_ctor()
518 bios->version.micro = nv_ro08(bios, bios->bmp_offset + 10); in nouveau_bios_ctor()
/dports/misc/rump/buildrump.sh-b914579/src/sys/external/bsd/drm2/dist/drm/nouveau/core/subdev/fb/
H A Dnouveau_subdev_fb_ramnva3.c119 strap = nv_ro08(bios, ramcfg.data + 0x01); in nva3_ram_calc()
171 if ( (nv_ro08(bios, ramcfg.data + 0x02) & 0x10)) { in nva3_ram_calc()
178 if (!(nv_ro08(bios, rammap.data + 0x04) & 0x02)) in nva3_ram_calc()
181 if (!(nv_ro08(bios, ramcfg.data + 0x02) & 0x10)) in nva3_ram_calc()
212 nv_ro08(bios, ramcfg.data + 0x05); in nva3_ram_calc()
264 if ( (nv_ro08(bios, ramcfg.data + 0x02) & 0x20)) in nva3_ram_calc()
266 if (!(nv_ro08(bios, ramcfg.data + 0x02) & 0x04)) in nva3_ram_calc()
270 if (nv_ro08(bios, ramcfg.data + 0x02) & 0x01) in nva3_ram_calc()
274 if (nv_ro08(bios, ramcfg.data + 0x02) & 0x02) in nva3_ram_calc()
278 if (nv_ro08(bios, ramcfg.data + 0x02) & 0x10) in nva3_ram_calc()
[all …]
H A Dnouveau_subdev_fb_base.c44 u8 version = nv_ro08(bios, table + 0); in nouveau_fb_bios_memtype()
45 u8 header = nv_ro08(bios, table + 1); in nouveau_fb_bios_memtype()
46 u8 record = nv_ro08(bios, table + 2); in nouveau_fb_bios_memtype()
47 u8 entries = nv_ro08(bios, table + 3); in nouveau_fb_bios_memtype()
50 switch (nv_ro08(bios, entry) & 0x0f) { in nouveau_fb_bios_memtype()

12