/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | pll.c | 88 data = nvbios_rd16(bios, bit_C.offset + 8); in pll_limits_table() 101 data = nvbios_rd16(bios, bios->bmp_offset + 142); in pll_limits_table() 303 info->vco1.min_freq = nvbios_rd16(bios, data + 4) * 1000; in nvbios_pll_parse() 304 info->vco1.max_freq = nvbios_rd16(bios, data + 6) * 1000; in nvbios_pll_parse() 305 info->vco2.min_freq = nvbios_rd16(bios, data + 8) * 1000; in nvbios_pll_parse() 330 data = nvbios_rd16(bios, data + 1); in nvbios_pll_parse() 332 info->vco1.min_freq = nvbios_rd16(bios, data + 0) * 1000; in nvbios_pll_parse() 333 info->vco1.max_freq = nvbios_rd16(bios, data + 2) * 1000; in nvbios_pll_parse() 353 info->refclk = nvbios_rd16(bios, data + 9) * 1000; in nvbios_pll_parse() 354 data = nvbios_rd16(bios, data + 1); in nvbios_pll_parse() [all …]
|
H A D | dp.c | 35 u16 data = nvbios_rd16(bios, d.offset); in nvbios_dp_table() 98 info->type = nvbios_rd16(bios, data + 0x00); in nvbios_dpout_parse() 99 info->mask = nvbios_rd16(bios, data + 0x02); in nvbios_dpout_parse() 107 info->script[0] = nvbios_rd16(bios, data + 0x06); in nvbios_dpout_parse() 108 info->script[1] = nvbios_rd16(bios, data + 0x08); in nvbios_dpout_parse() 122 info->script[0] = nvbios_rd16(bios, data + 0x05); in nvbios_dpout_parse() 123 info->script[1] = nvbios_rd16(bios, data + 0x07); in nvbios_dpout_parse() 124 info->lnkcmp = nvbios_rd16(bios, data + 0x09); in nvbios_dpout_parse() 125 info->script[2] = nvbios_rd16(bios, data + 0x0b); in nvbios_dpout_parse() 126 info->script[3] = nvbios_rd16(bios, data + 0x0d); in nvbios_dpout_parse() [all …]
|
H A D | perf.c | 62 perf = nvbios_rd16(bios, bios->bmp_offset + 0x94); in nvbios_perf_table() 116 info->shader = nvbios_rd16(bios, perf + 0x06) * 1000; in nvbios_perfEp() 122 info->memory = nvbios_rd16(bios, perf + 0x0b) * 1000; in nvbios_perfEp() 125 info->memory = nvbios_rd16(bios, perf + 0x0b) * 2000; in nvbios_perfEp() 132 info->core = nvbios_rd16(bios, perf + 0x06) * 1000; in nvbios_perfEp() 133 info->shader = nvbios_rd16(bios, perf + 0x0a) * 1000; in nvbios_perfEp() 134 info->memory = nvbios_rd16(bios, perf + 0x0c) * 1000; in nvbios_perfEp() 137 info->script = nvbios_rd16(bios, perf + 0x02); in nvbios_perfEp() 142 info->core = nvbios_rd16(bios, perf + 0x08) * 1000; in nvbios_perfEp() 143 info->shader = nvbios_rd16(bios, perf + 0x0a) * 1000; in nvbios_perfEp() [all …]
|
H A D | pcir.c | 30 u32 data = nvbios_rd16(bios, base + 0x18); in nvbios_pcirTe() 37 *hdr = nvbios_rd16(bios, data + 0x0a); in nvbios_pcirTe() 58 info->vendor_id = nvbios_rd16(bios, data + 0x04); in nvbios_pcirTp() 59 info->device_id = nvbios_rd16(bios, data + 0x06); in nvbios_pcirTp() 63 info->image_size = nvbios_rd16(bios, data + 0x10) * 512; in nvbios_pcirTp() 64 info->image_rev = nvbios_rd16(bios, data + 0x12); in nvbios_pcirTp()
|
H A D | disp.c | 36 u16 data = nvbios_rd16(bios, U.offset); in nvbios_disp_table() 75 info->data = nvbios_rd16(bios, data + 0); in nvbios_disp_parse() 101 info->type = nvbios_rd16(bios, data + 0x00); in nvbios_outp_parse() 105 info->script[0] = nvbios_rd16(bios, data + 0x06); in nvbios_outp_parse() 106 info->script[1] = nvbios_rd16(bios, data + 0x08); in nvbios_outp_parse() 109 info->script[2] = nvbios_rd16(bios, data + 0x0a); in nvbios_outp_parse() 145 info->flags = nvbios_rd16(bios, data + 0x01); in nvbios_ocfg_parse() 146 info->clkcmp[0] = nvbios_rd16(bios, data + 0x02); in nvbios_ocfg_parse() 147 info->clkcmp[1] = nvbios_rd16(bios, data + 0x04); in nvbios_ocfg_parse() 169 if (khz / 10 >= nvbios_rd16(bios, cmp + 0x00)) in nvbios_oclk_match() [all …]
|
H A D | boost.c | 81 info->pstate = (nvbios_rd16(bios, data + 0x00) & 0x01e0) >> 5; in nvbios_boostEp() 82 info->min = nvbios_rd16(bios, data + 0x02) * 1000; in nvbios_boostEp() 83 info->max = nvbios_rd16(bios, data + 0x04) * 1000; in nvbios_boostEp() 122 info->min = nvbios_rd16(bios, data + 0x02) * 1000; in nvbios_boostSp() 123 info->max = nvbios_rd16(bios, data + 0x04) * 1000; in nvbios_boostSp()
|
H A D | i2c.c | 35 i2c = nvbios_rd16(bios, dcb + 2); in dcb_i2c_table() 37 i2c = nvbios_rd16(bios, dcb + 4); in dcb_i2c_table() 119 info->drive = (nvbios_rd16(bios, ent + 0) & 0x01f) >> 0; in dcb_i2c_parse() 122 info->auxch = (nvbios_rd16(bios, ent + 0) & 0x3e0) >> 5; in dcb_i2c_parse()
|
H A D | bit.c | 37 bit->length = nvbios_rd16(bios, entry + 2); in bit_entry() 38 bit->offset = nvbios_rd16(bios, entry + 4); in bit_entry()
|
H A D | ramcfg.c | 62 xlat = nvbios_rd16(bios, bit_M.offset + 3); in nvbios_ramcfg_index() 71 xlat = nvbios_rd16(bios, bit_M.offset + 1); in nvbios_ramcfg_index()
|
H A D | init.c | 383 data = nvbios_rd16(bios, data + offset); in init_table_() 419 return nvbios_rd16(bios, data + (index * 2)); in init_script() 424 return nvbios_rd16(bios, data + (index * 2)); in init_script() 434 return nvbios_rd16(bios, data + 14); in init_unknown_script() 624 u16 port = nvbios_rd16(bios, init->offset + 1); in init_io_restrict_prog() 687 u16 port = nvbios_rd16(bios, init->offset + 1); in init_io_restrict_pll() 746 u16 port = nvbios_rd16(bios, init->offset + 7); in init_copy() 953 u16 port = nvbios_rd16(bios, init->offset + 1); in init_io_restrict_pll2() 1267 u16 msec = nvbios_rd16(bios, init->offset + 1); in init_ltime() 1580 clock = nvbios_rd16(bios, mdata + 4) * 10; in init_configure_clk() [all …]
|
H A D | gpio.c | 36 data = nvbios_rd16(bios, dcb + 0x0a); in dcb_gpio_table() 39 data = nvbios_rd16(bios, dcb - 0x0f); in dcb_gpio_table() 84 u16 info = nvbios_rd16(bios, data); in dcb_gpio_parse()
|
H A D | xpio.c | 33 u16 xpio = nvbios_rd16(bios, data + 0x04); in dcb_xpiod_table() 51 u16 xpio = nvbios_rd16(bios, data + *hdr + (idx * *len)); in dcb_xpio_table()
|
H A D | dcb.c | 35 dcb = nvbios_rd16(bios, 0x36); in dcb_table() 57 u16 i2c = nvbios_rd16(bios, dcb + 2); in dcb_table() 66 u16 i2c = nvbios_rd16(bios, dcb + 2); in dcb_table()
|
H A D | mxm.c | 81 u16 map = nvbios_rd16(bios, mxm + 4); in mxm_sor_map() 118 u16 map = nvbios_rd16(bios, mxm + 6); in mxm_ddc_map()
|
H A D | M0203.c | 36 data = nvbios_rd16(bios, bit_M.offset + 0x03); in nvbios_M0203Te() 63 info->pointer = nvbios_rd16(bios, data + 0x05); in nvbios_M0203Tp()
|
H A D | cstep.c | 78 info->pstate = (nvbios_rd16(bios, data + 0x00) & 0x01e0) >> 5; in nvbios_cstepEp() 116 info->freq = nvbios_rd16(bios, data + 0x00) * 1000; in nvbios_cstepXp()
|
H A D | rammap.c | 100 p->rammap_min = nvbios_rd16(bios, data + 0x00); in nvbios_rammapEp() 101 p->rammap_max = nvbios_rd16(bios, data + 0x02); in nvbios_rammapEp() 106 p->rammap_min = nvbios_rd16(bios, data + 0x00); in nvbios_rammapEp() 107 p->rammap_max = nvbios_rd16(bios, data + 0x02); in nvbios_rammapEp()
|
H A D | therm.c | 84 s16 value = nvbios_rd16(bios, entry + 1); in nvbios_therm_sensor_parse() 166 s16 value = nvbios_rd16(bios, entry + 1); in nvbios_therm_fan_parse()
|
H A D | volt.c | 93 info->step = nvbios_rd16(bios, volt + 0x08); in nvbios_volt_parse() 115 info->step = nvbios_rd16(bios, volt + 0x16); in nvbios_volt_parse()
|
H A D | npde.c | 55 info->image_size = nvbios_rd16(bios, data + 0x08) * 512; in nvbios_npdeTp()
|
H A D | timing.c | 155 temp = nvbios_rd16(bios, data + 0x2c); in nvbios_timingEp() 160 temp = nvbios_rd16(bios, data + 0x31); in nvbios_timingEp()
|
H A D | image.c | 39 switch ((data = nvbios_rd16(bios, image->base + 0x00))) { in nvbios_imagen()
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
H A D | bmp.h | 19 return nvbios_rd16(bios, bios->bmp_offset + 24); in bmp_mem_init_table() 27 return nvbios_rd16(bios, bios->bmp_offset + 26); in bmp_sdr_seq_table() 35 return nvbios_rd16(bios, bios->bmp_offset + 28); in bmp_ddr_seq_table()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
H A D | gm200.c | 150 u32 img = nvbios_rd16(bios, bit_I.offset + 0x14); in gm200_devinit_post() 151 u32 len = nvbios_rd16(bios, bit_I.offset + 0x16); in gm200_devinit_post() 158 u32 img = nvbios_rd16(bios, bit_I.offset + 0x18); in gm200_devinit_post() 159 u32 len = nvbios_rd16(bios, bit_I.offset + 0x1a); in gm200_devinit_post()
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | bios.h | 30 u16 nvbios_rd16(struct nvkm_bios *, u32 addr);
|