/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | dp.c | 35 u16 data = nv_ro16(bios, d.offset); in nvbios_dp_table() 63 u16 outp = nv_ro16(bios, data + *hdr + idx * *len); in nvbios_dpout_entry() 94 info->type = nv_ro16(bios, data + 0x00); in nvbios_dpout_parse() 95 info->mask = nv_ro16(bios, data + 0x02); in nvbios_dpout_parse() 100 info->script[0] = nv_ro16(bios, data + 0x06); in nvbios_dpout_parse() 101 info->script[1] = nv_ro16(bios, data + 0x08); in nvbios_dpout_parse() 102 info->lnkcmp = nv_ro16(bios, data + 0x0a); in nvbios_dpout_parse() 104 info->script[2] = nv_ro16(bios, data + 0x0c); in nvbios_dpout_parse() 105 info->script[3] = nv_ro16(bios, data + 0x0e); in nvbios_dpout_parse() 108 info->script[4] = nv_ro16(bios, data + 0x10); in nvbios_dpout_parse() [all …]
|
D | perf.c | 39 perf = nv_ro16(bios, bit_P.offset + 0); in nvbios_perf_table() 63 perf = nv_ro16(bios, bios->bmp_offset + 0x94); in nvbios_perf_table() 117 info->shader = nv_ro16(bios, perf + 0x06) * 1000; in nvbios_perfEp() 123 info->memory = nv_ro16(bios, perf + 0x0b) * 1000; in nvbios_perfEp() 126 info->memory = nv_ro16(bios, perf + 0x0b) * 2000; in nvbios_perfEp() 133 info->core = nv_ro16(bios, perf + 0x06) * 1000; in nvbios_perfEp() 134 info->shader = nv_ro16(bios, perf + 0x0a) * 1000; in nvbios_perfEp() 135 info->memory = nv_ro16(bios, perf + 0x0c) * 1000; in nvbios_perfEp() 138 info->script = nv_ro16(bios, perf + 0x02); in nvbios_perfEp() 142 info->core = nv_ro16(bios, perf + 0x08) * 1000; in nvbios_perfEp() [all …]
|
D | pll.c | 87 u16 data = nv_ro16(bios, bit_C.offset + 8); in pll_limits_table() 98 u16 data = nv_ro16(bios, bios->bmp_offset + 142); in pll_limits_table() 294 info->vco1.min_freq = nv_ro16(bios, data + 4) * 1000; in nvbios_pll_parse() 295 info->vco1.max_freq = nv_ro16(bios, data + 6) * 1000; in nvbios_pll_parse() 296 info->vco2.min_freq = nv_ro16(bios, data + 8) * 1000; in nvbios_pll_parse() 297 info->vco2.max_freq = nv_ro16(bios, data + 10) * 1000; in nvbios_pll_parse() 298 info->vco1.min_inputfreq = nv_ro16(bios, data + 12) * 1000; in nvbios_pll_parse() 299 info->vco2.min_inputfreq = nv_ro16(bios, data + 14) * 1000; in nvbios_pll_parse() 300 info->vco1.max_inputfreq = nv_ro16(bios, data + 16) * 1000; in nvbios_pll_parse() 301 info->vco2.max_inputfreq = nv_ro16(bios, data + 18) * 1000; in nvbios_pll_parse() [all …]
|
D | disp.c | 36 u16 data = nv_ro16(bios, U.offset); in nvbios_disp_table() 75 info->data = nv_ro16(bios, data + 0); in nvbios_disp_parse() 101 info->type = nv_ro16(bios, data + 0x00); in nvbios_outp_parse() 105 info->script[0] = nv_ro16(bios, data + 0x06); in nvbios_outp_parse() 106 info->script[1] = nv_ro16(bios, data + 0x08); in nvbios_outp_parse() 109 info->script[2] = nv_ro16(bios, data + 0x0a); in nvbios_outp_parse() 144 info->match = nv_ro16(bios, data + 0x00); in nvbios_ocfg_parse() 145 info->clkcmp[0] = nv_ro16(bios, data + 0x02); in nvbios_ocfg_parse() 146 info->clkcmp[1] = nv_ro16(bios, data + 0x04); in nvbios_ocfg_parse() 167 if (khz / 10 >= nv_ro16(bios, cmp + 0x00)) in nvbios_oclk_match() [all …]
|
D | pcir.c | 30 u32 data = nv_ro16(bios, base + 0x18); in nvbios_pcirTe() 37 *hdr = nv_ro16(bios, data + 0x0a); in nvbios_pcirTe() 57 info->vendor_id = nv_ro16(bios, data + 0x04); in nvbios_pcirTp() 58 info->device_id = nv_ro16(bios, data + 0x06); in nvbios_pcirTp() 62 info->image_size = nv_ro16(bios, data + 0x10) * 512; in nvbios_pcirTp() 63 info->image_rev = nv_ro16(bios, data + 0x12); in nvbios_pcirTp()
|
D | boost.c | 37 boost = nv_ro16(bios, bit_P.offset + 0x30); in nvbios_boostTe() 81 info->pstate = (nv_ro16(bios, data + 0x00) & 0x01e0) >> 5; in nvbios_boostEp() 82 info->min = nv_ro16(bios, data + 0x02) * 1000; in nvbios_boostEp() 83 info->max = nv_ro16(bios, data + 0x04) * 1000; in nvbios_boostEp() 122 info->min = nv_ro16(bios, data + 0x02) * 1000; in nvbios_boostSp() 123 info->max = nv_ro16(bios, data + 0x04) * 1000; in nvbios_boostSp()
|
D | volt.c | 36 volt = nv_ro16(bios, bit_P.offset + 0x0c); in nvbios_volt_table() 39 volt = nv_ro16(bios, bit_P.offset + 0x10); in nvbios_volt_table() 86 info->step = nv_ro16(bios, volt + 0x08); in nvbios_volt_parse() 97 info->step = nv_ro16(bios, volt + 0x16); in nvbios_volt_parse()
|
D | therm.c | 38 therm = nv_ro16(bios, bit_P.offset + 12); in therm_table() 40 therm = nv_ro16(bios, bit_P.offset + 16); in therm_table() 86 s16 value = nv_ro16(bios, entry + 1); in nvbios_therm_sensor_parse() 168 s16 value = nv_ro16(bios, entry + 1); in nvbios_therm_fan_parse()
|
D | i2c.c | 35 i2c = nv_ro16(bios, dcb + 2); in dcb_i2c_table() 37 i2c = nv_ro16(bios, dcb + 4); in dcb_i2c_table() 118 info->drive = (nv_ro16(bios, ent + 0) & 0x01f) >> 0; in dcb_i2c_parse() 121 info->auxch = (nv_ro16(bios, ent + 0) & 0x3e0) >> 5; in dcb_i2c_parse()
|
D | bit.c | 37 bit->length = nv_ro16(bios, entry + 2); in bit_entry() 38 bit->offset = nv_ro16(bios, entry + 4); in bit_entry()
|
D | cstep.c | 37 cstep = nv_ro16(bios, bit_P.offset + 0x34); in nvbios_cstepTe() 78 info->pstate = (nv_ro16(bios, data + 0x00) & 0x01e0) >> 5; in nvbios_cstepEp() 116 info->freq = nv_ro16(bios, data + 0x00) * 1000; in nvbios_cstepXp()
|
D | ramcfg.c | 62 xlat = nv_ro16(bios, bit_M.offset + 3); in nvbios_ramcfg_index() 71 xlat = nv_ro16(bios, bit_M.offset + 1); in nvbios_ramcfg_index()
|
D | timing.c | 37 timing = nv_ro16(bios, bit_P.offset + 4); in nvbios_timingTe() 40 timing = nv_ro16(bios, bit_P.offset + 8); in nvbios_timingTe() 148 temp = nv_ro16(bios, data + 0x2c); in nvbios_timingEp() 153 temp = nv_ro16(bios, data + 0x31); in nvbios_timingEp()
|
D | rammap.c | 37 rammap = nv_ro16(bios, bit_P.offset + 4); in nvbios_rammapTe() 85 p->rammap_min = nv_ro16(bios, data + 0x00); in nvbios_rammapEp() 86 p->rammap_max = nv_ro16(bios, data + 0x02); in nvbios_rammapEp() 91 p->rammap_min = nv_ro16(bios, data + 0x00); in nvbios_rammapEp() 92 p->rammap_max = nv_ro16(bios, data + 0x02); in nvbios_rammapEp()
|
D | gpio.c | 36 data = nv_ro16(bios, dcb + 0x0a); in dcb_gpio_table() 39 data = nv_ro16(bios, dcb - 0x0f); in dcb_gpio_table() 84 u16 info = nv_ro16(bios, data); in dcb_gpio_parse()
|
D | init.c | 374 data = nv_ro16(bios, data + offset); in init_table_() 410 return nv_ro16(bios, data + (index * 2)); in init_script() 415 return nv_ro16(bios, data + (index * 2)); in init_script() 425 return nv_ro16(bios, data + 14); in init_unknown_script() 457 u16 data = nv_ro16(bios, table + (index * 2)); in init_xlat_() 491 u16 port = nv_ro16(bios, table + (cond * 5) + 0); in init_io_condition_met() 508 u16 port = nv_ro16(bios, table + (cond * 9) + 0); in init_io_flag_condition_met() 512 u16 data = nv_ro16(bios, table + (cond * 9) + 5); in init_io_flag_condition_met() 614 u16 port = nv_ro16(bios, init->offset + 1); in init_io_restrict_prog() 677 u16 port = nv_ro16(bios, init->offset + 1); in init_io_restrict_pll() [all …]
|
D | xpio.c | 33 u16 xpio = nv_ro16(bios, data + 0x04); in dcb_xpiod_table() 51 u16 xpio = nv_ro16(bios, data + *hdr + (idx * *len)); in dcb_xpio_table()
|
D | dcb.c | 36 dcb = nv_ro16(bios, 0x36); in dcb_table() 58 u16 i2c = nv_ro16(bios, dcb + 2); in dcb_table() 67 u16 i2c = nv_ro16(bios, dcb + 2); in dcb_table()
|
D | mxm.c | 79 u16 map = nv_ro16(bios, mxm + 4); in mxm_sor_map() 115 u16 map = nv_ro16(bios, mxm + 6); in mxm_ddc_map()
|
D | M0203.c | 36 data = nv_ro16(bios, bit_M.offset + 0x03); in nvbios_M0203Te() 63 info->pointer = nv_ro16(bios, data + 0x05); in nvbios_M0203Tp()
|
D | npde.c | 54 info->image_size = nv_ro16(bios, data + 0x08) * 512; in nvbios_npdeTp()
|
D | image.c | 38 switch ((data = nv_ro16(bios, image->base + 0x00))) { in nvbios_imagen()
|
D | fan.c | 36 fan = nv_ro16(bios, bit_P.offset + 0x58); in nvbios_fan_table()
|
D | extdev.c | 38 extdev = nv_ro16(bios, dcb + 18); in extdev_table()
|
D | conn.c | 33 u32 data = nv_ro16(bios, dcb + 0x14); in nvbios_connTe()
|
D | vmap.c | 36 vmap = nv_ro16(bios, bit_P.offset + 0x20); in nvbios_vmap_table()
|
D | M0205.c | 66 info->freq = nv_ro16(bios, data + 0x06); in nvbios_M0205Tp()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
D | bmp.h | 18 return nv_ro16(bios, bios->bmp_offset + 24); in bmp_mem_init_table() 26 return nv_ro16(bios, bios->bmp_offset + 26); in bmp_sdr_seq_table() 34 return nv_ro16(bios, bios->bmp_offset + 28); in bmp_ddr_seq_table()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
D | gm204.c | 135 u32 img = nv_ro16(bios, bit_I.offset + 0x14); in gm204_devinit_post() 136 u32 len = nv_ro16(bios, bit_I.offset + 0x16); in gm204_devinit_post() 143 u32 img = nv_ro16(bios, bit_I.offset + 0x18); in gm204_devinit_post() 144 u32 len = nv_ro16(bios, bit_I.offset + 0x1a); in gm204_devinit_post()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | dport.c | 72 while ((dp->link_bw / 10) < nv_ro16(bios, lnkcmp)) in dp_set_link_config() 74 init.offset = nv_ro16(bios, lnkcmp + 2); in dp_set_link_config() 78 init.offset = nv_ro16(bios, lnkcmp + 1); in dp_set_link_config()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramnv40.c | 145 .offset = nv_ro16(bios, M.offset + 0x00), in nv40_ram_prog()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | object.h | 146 nv_ro16(void *obj, u64 addr) in nv_ro16() function
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/core/ |
D | ioctl.c | 246 args->v0.data = nv_ro16(object, args->v0.addr); in nvkm_ioctl_rd()
|