/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | base.c | 56 nvbios_extend(struct nvkm_bios *bios, u32 length) in nvbios_extend() argument 58 if (bios->size < length) { in nvbios_extend() 59 u8 *prev = bios->data; in nvbios_extend() 60 if (!(bios->data = kmalloc(length, GFP_KERNEL))) { in nvbios_extend() 61 bios->data = prev; in nvbios_extend() 64 memcpy(bios->data, prev, bios->size); in nvbios_extend() 65 bios->size = length; in nvbios_extend() 75 struct nvkm_bios *bios = (void *)object; in nvkm_bios_rd08() local 76 return bios->data[addr]; in nvkm_bios_rd08() 82 struct nvkm_bios *bios = (void *)object; in nvkm_bios_rd16() local [all …]
|
D | rammap.c | 29 nvbios_rammapTe(struct nvkm_bios *bios, u8 *ver, u8 *hdr, in nvbios_rammapTe() argument 35 if (!bit_entry(bios, 'P', &bit_P)) { in nvbios_rammapTe() 37 rammap = nv_ro16(bios, bit_P.offset + 4); in nvbios_rammapTe() 40 *ver = nv_ro08(bios, rammap + 0); in nvbios_rammapTe() 44 *hdr = nv_ro08(bios, rammap + 1); in nvbios_rammapTe() 45 *cnt = nv_ro08(bios, rammap + 5); in nvbios_rammapTe() 46 *len = nv_ro08(bios, rammap + 2); in nvbios_rammapTe() 47 *snr = nv_ro08(bios, rammap + 4); in nvbios_rammapTe() 48 *ssz = nv_ro08(bios, rammap + 3); in nvbios_rammapTe() 60 nvbios_rammapEe(struct nvkm_bios *bios, int idx, in nvbios_rammapEe() argument [all …]
|
D | pll.c | 82 pll_limits_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in pll_limits_table() argument 86 if (!bit_entry(bios, 'C', &bit_C) && bit_C.length >= 10) { in pll_limits_table() 87 u16 data = nv_ro16(bios, bit_C.offset + 8); in pll_limits_table() 89 *ver = nv_ro08(bios, data + 0); in pll_limits_table() 90 *hdr = nv_ro08(bios, data + 1); in pll_limits_table() 91 *len = nv_ro08(bios, data + 2); in pll_limits_table() 92 *cnt = nv_ro08(bios, data + 3); in pll_limits_table() 97 if (bmp_version(bios) >= 0x0524) { in pll_limits_table() 98 u16 data = nv_ro16(bios, bios->bmp_offset + 142); in pll_limits_table() 100 *ver = nv_ro08(bios, data + 0); in pll_limits_table() [all …]
|
D | perf.c | 31 nvbios_perf_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, in nvbios_perf_table() argument 37 if (!bit_entry(bios, 'P', &bit_P)) { in nvbios_perf_table() 39 perf = nv_ro16(bios, bit_P.offset + 0); in nvbios_perf_table() 41 *ver = nv_ro08(bios, perf + 0); in nvbios_perf_table() 42 *hdr = nv_ro08(bios, perf + 1); in nvbios_perf_table() 44 *cnt = nv_ro08(bios, perf + 5); in nvbios_perf_table() 45 *len = nv_ro08(bios, perf + 2); in nvbios_perf_table() 46 *snr = nv_ro08(bios, perf + 4); in nvbios_perf_table() 47 *ssz = nv_ro08(bios, perf + 3); in nvbios_perf_table() 51 *cnt = nv_ro08(bios, perf + 2); in nvbios_perf_table() [all …]
|
D | timing.c | 29 nvbios_timingTe(struct nvkm_bios *bios, in nvbios_timingTe() argument 35 if (!bit_entry(bios, 'P', &bit_P)) { in nvbios_timingTe() 37 timing = nv_ro16(bios, bit_P.offset + 4); in nvbios_timingTe() 40 timing = nv_ro16(bios, bit_P.offset + 8); in nvbios_timingTe() 43 *ver = nv_ro08(bios, timing + 0); in nvbios_timingTe() 46 *hdr = nv_ro08(bios, timing + 1); in nvbios_timingTe() 47 *cnt = nv_ro08(bios, timing + 2); in nvbios_timingTe() 48 *len = nv_ro08(bios, timing + 3); in nvbios_timingTe() 53 *hdr = nv_ro08(bios, timing + 1); in nvbios_timingTe() 54 *cnt = nv_ro08(bios, timing + 5); in nvbios_timingTe() [all …]
|
D | init.c | 41 nv_printk(init->bios, lvl, "0x%04x[%c]: "fmt, init->offset, \ 45 if (nv_subdev(init->bios)->debug >= NV_DBG_TRACE) \ 122 struct nvkm_bios *bios = init->bios; in init_conn() local 130 conn = nvbios_connEp(bios, conn, &ver, &hdr, &connE); in init_conn() 144 struct nvkm_devinit *devinit = nvkm_devinit(init->bios); in init_nvreg() 157 if (nv_device(init->bios)->card_type >= NV_50) { in init_nvreg() 260 struct nvkm_i2c *i2c = nvkm_i2c(init->bios); in init_i2c() 337 struct nvkm_devinit *devinit = nvkm_devinit(init->bios); in init_prog_pll() 350 init_table(struct nvkm_bios *bios, u16 *len) in init_table() argument 354 if (!bit_entry(bios, 'I', &bit_I)) { in init_table() [all …]
|
D | dp.c | 29 nvbios_dp_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_dp_table() argument 33 if (!bit_entry(bios, 'd', &d)) { in nvbios_dp_table() 35 u16 data = nv_ro16(bios, d.offset); in nvbios_dp_table() 37 *ver = nv_ro08(bios, data + 0x00); in nvbios_dp_table() 43 *hdr = nv_ro08(bios, data + 0x01); in nvbios_dp_table() 44 *len = nv_ro08(bios, data + 0x02); in nvbios_dp_table() 45 *cnt = nv_ro08(bios, data + 0x03); in nvbios_dp_table() 58 nvbios_dpout_entry(struct nvkm_bios *bios, u8 idx, in nvbios_dpout_entry() argument 61 u16 data = nvbios_dp_table(bios, ver, hdr, cnt, len); in nvbios_dpout_entry() 63 u16 outp = nv_ro16(bios, data + *hdr + idx * *len); in nvbios_dpout_entry() [all …]
|
D | shadow.c | 41 shadow_fetch(struct nvkm_bios *bios, u32 upto) in shadow_fetch() argument 43 struct shadow *mthd = (void *)nv_object(bios)->oclass; in shadow_fetch() 45 const u32 start = bios->size; in shadow_fetch() 47 if (nvbios_extend(bios, limit) > 0) { in shadow_fetch() 48 u32 read = mthd->func->read(data, start, limit - start, bios); in shadow_fetch() 49 bios->size = start + read; in shadow_fetch() 51 return bios->size >= limit; in shadow_fetch() 57 struct nvkm_bios *bios = (void *)object; in shadow_rd08() local 58 if (shadow_fetch(bios, addr + 1)) in shadow_rd08() 59 return bios->data[addr]; in shadow_rd08() [all …]
|
D | Kbuild | 1 nvkm-y += nvkm/subdev/bios/base.o 2 nvkm-y += nvkm/subdev/bios/bit.o 3 nvkm-y += nvkm/subdev/bios/boost.o 4 nvkm-y += nvkm/subdev/bios/conn.o 5 nvkm-y += nvkm/subdev/bios/cstep.o 6 nvkm-y += nvkm/subdev/bios/dcb.o 7 nvkm-y += nvkm/subdev/bios/disp.o 8 nvkm-y += nvkm/subdev/bios/dp.o 9 nvkm-y += nvkm/subdev/bios/extdev.o 10 nvkm-y += nvkm/subdev/bios/fan.o [all …]
|
D | volt.c | 29 nvbios_volt_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_volt_table() argument 34 if (!bit_entry(bios, 'P', &bit_P)) { in nvbios_volt_table() 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() 42 *ver = nv_ro08(bios, volt + 0); in nvbios_volt_table() 46 *cnt = nv_ro08(bios, volt + 2); in nvbios_volt_table() 47 *len = nv_ro08(bios, volt + 1); in nvbios_volt_table() 50 *hdr = nv_ro08(bios, volt + 1); in nvbios_volt_table() 51 *cnt = nv_ro08(bios, volt + 2); in nvbios_volt_table() 52 *len = nv_ro08(bios, volt + 3); in nvbios_volt_table() [all …]
|
D | mxm.c | 29 mxm_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr) in mxm_table() argument 33 if (bit_entry(bios, 'x', &x)) { in mxm_table() 34 nv_debug(bios, "BIT 'x' table not present\n"); in mxm_table() 41 nv_warn(bios, "BIT 'x' table %d/%d unknown\n", *ver, *hdr); in mxm_table() 74 mxm_sor_map(struct nvkm_bios *bios, u8 conn) in mxm_sor_map() argument 77 u16 mxm = mxm_table(bios, &ver, &hdr); in mxm_sor_map() 79 u16 map = nv_ro16(bios, mxm + 4); in mxm_sor_map() 81 ver = nv_ro08(bios, map); in mxm_sor_map() 83 if (conn < nv_ro08(bios, map + 3)) { in mxm_sor_map() 84 map += nv_ro08(bios, map + 1); in mxm_sor_map() [all …]
|
D | i2c.c | 29 dcb_i2c_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in dcb_i2c_table() argument 32 u16 dcb = dcb_table(bios, ver, hdr, cnt, len); in dcb_i2c_table() 35 i2c = nv_ro16(bios, dcb + 2); in dcb_i2c_table() 37 i2c = nv_ro16(bios, dcb + 4); in dcb_i2c_table() 41 nv_warn(bios, "ccb %02x not supported\n", *ver); in dcb_i2c_table() 46 *ver = nv_ro08(bios, i2c + 0); in dcb_i2c_table() 47 *hdr = nv_ro08(bios, i2c + 1); in dcb_i2c_table() 48 *cnt = nv_ro08(bios, i2c + 2); in dcb_i2c_table() 49 *len = nv_ro08(bios, i2c + 3); in dcb_i2c_table() 61 dcb_i2c_entry(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len) in dcb_i2c_entry() argument [all …]
|
D | pmu.c | 30 weirdo_pointer(struct nvkm_bios *bios, u32 data) in weirdo_pointer() argument 34 if (nvbios_image(bios, idx++, &image)) { in weirdo_pointer() 36 while (nvbios_image(bios, idx++, &image)) { in weirdo_pointer() 45 nvbios_pmuTe(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_pmuTe() argument 50 if (!bit_entry(bios, 'p', &bit_p)) { in nvbios_pmuTe() 52 data = nv_ro32(bios, bit_p.offset + 0x00); in nvbios_pmuTe() 53 if ((data = weirdo_pointer(bios, data))) { in nvbios_pmuTe() 54 *ver = nv_ro08(bios, data + 0x00); /* maybe? */ in nvbios_pmuTe() 55 *hdr = nv_ro08(bios, data + 0x01); in nvbios_pmuTe() 56 *len = nv_ro08(bios, data + 0x02); in nvbios_pmuTe() [all …]
|
D | vmap.c | 29 nvbios_vmap_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_vmap_table() argument 34 if (!bit_entry(bios, 'P', &bit_P)) { in nvbios_vmap_table() 36 vmap = nv_ro16(bios, bit_P.offset + 0x20); in nvbios_vmap_table() 38 *ver = nv_ro08(bios, vmap + 0); in nvbios_vmap_table() 42 *hdr = nv_ro08(bios, vmap + 1); in nvbios_vmap_table() 43 *cnt = nv_ro08(bios, vmap + 3); in nvbios_vmap_table() 44 *len = nv_ro08(bios, vmap + 2); in nvbios_vmap_table() 57 nvbios_vmap_parse(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, in nvbios_vmap_parse() argument 60 u16 vmap = nvbios_vmap_table(bios, ver, hdr, cnt, len); in nvbios_vmap_parse() 71 nvbios_vmap_entry(struct nvkm_bios *bios, int idx, u8 *ver, u8 *len) in nvbios_vmap_entry() argument [all …]
|
D | disp.c | 29 nvbios_disp_table(struct nvkm_bios *bios, in nvbios_disp_table() argument 34 if (!bit_entry(bios, 'U', &U)) { in nvbios_disp_table() 36 u16 data = nv_ro16(bios, U.offset); in nvbios_disp_table() 38 *ver = nv_ro08(bios, data + 0x00); in nvbios_disp_table() 43 *hdr = nv_ro08(bios, data + 0x01); in nvbios_disp_table() 44 *len = nv_ro08(bios, data + 0x02); in nvbios_disp_table() 45 *cnt = nv_ro08(bios, data + 0x03); in nvbios_disp_table() 46 *sub = nv_ro08(bios, data + 0x04); in nvbios_disp_table() 59 nvbios_disp_entry(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len, u8 *sub) in nvbios_disp_entry() argument 62 u16 data = nvbios_disp_table(bios, ver, &hdr, &cnt, len, sub); in nvbios_disp_entry() [all …]
|
D | shadowramin.c | 28 struct nvkm_bios *bios; member 33 pramin_read(void *data, u32 offset, u32 length, struct nvkm_bios *bios) in pramin_read() argument 38 *(u32 *)&bios->data[i] = nv_rd32(bios, 0x700000 + i); in pramin_read() 49 nv_wr32(priv->bios, 0x001700, priv->bar0); in pramin_fini() 55 pramin_init(struct nvkm_bios *bios, const char *name) in pramin_init() argument 61 if (nv_device(bios)->card_type < NV_50) in pramin_init() 65 if (nv_device(bios)->card_type >= GM100) in pramin_init() 66 addr = nv_rd32(bios, 0x021c04); in pramin_init() 68 if (nv_device(bios)->card_type >= NV_C0) in pramin_init() 69 addr = nv_rd32(bios, 0x022500); in pramin_init() [all …]
|
D | conn.c | 29 nvbios_connTe(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_connTe() argument 31 u32 dcb = dcb_table(bios, ver, hdr, cnt, len); in nvbios_connTe() 33 u32 data = nv_ro16(bios, dcb + 0x14); in nvbios_connTe() 35 *ver = nv_ro08(bios, data + 0); in nvbios_connTe() 36 *hdr = nv_ro08(bios, data + 1); in nvbios_connTe() 37 *cnt = nv_ro08(bios, data + 2); in nvbios_connTe() 38 *len = nv_ro08(bios, data + 3); in nvbios_connTe() 46 nvbios_connTp(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, in nvbios_connTp() argument 49 u32 data = nvbios_connTe(bios, ver, hdr, cnt, len); in nvbios_connTp() 62 nvbios_connEe(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len) in nvbios_connEe() argument [all …]
|
D | dcb.c | 30 dcb_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in dcb_table() argument 32 struct nvkm_device *device = nv_device(bios); in dcb_table() 36 dcb = nv_ro16(bios, 0x36); in dcb_table() 38 nv_warn(bios, "DCB table not found\n"); in dcb_table() 42 *ver = nv_ro08(bios, dcb); in dcb_table() 45 nv_warn(bios, "DCB version 0x%02x unknown\n", *ver); in dcb_table() 49 if (nv_ro32(bios, dcb + 6) == 0x4edcbdcb) { in dcb_table() 50 *hdr = nv_ro08(bios, dcb + 1); in dcb_table() 51 *cnt = nv_ro08(bios, dcb + 2); in dcb_table() 52 *len = nv_ro08(bios, dcb + 3); in dcb_table() [all …]
|
D | cstep.c | 29 nvbios_cstepTe(struct nvkm_bios *bios, in nvbios_cstepTe() argument 35 if (!bit_entry(bios, 'P', &bit_P)) { in nvbios_cstepTe() 37 cstep = nv_ro16(bios, bit_P.offset + 0x34); in nvbios_cstepTe() 40 *ver = nv_ro08(bios, cstep + 0); in nvbios_cstepTe() 43 *hdr = nv_ro08(bios, cstep + 1); in nvbios_cstepTe() 44 *cnt = nv_ro08(bios, cstep + 3); in nvbios_cstepTe() 45 *len = nv_ro08(bios, cstep + 2); in nvbios_cstepTe() 46 *xnr = nv_ro08(bios, cstep + 5); in nvbios_cstepTe() 47 *xsz = nv_ro08(bios, cstep + 4); in nvbios_cstepTe() 59 nvbios_cstepEe(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr) in nvbios_cstepEe() argument [all …]
|
D | pcir.c | 28 nvbios_pcirTe(struct nvkm_bios *bios, u32 base, u8 *ver, u16 *hdr) in nvbios_pcirTe() argument 30 u32 data = nv_ro16(bios, base + 0x18); in nvbios_pcirTe() 33 switch (nv_ro32(bios, data + 0x00)) { in nvbios_pcirTe() 37 *hdr = nv_ro16(bios, data + 0x0a); in nvbios_pcirTe() 38 *ver = nv_ro08(bios, data + 0x0c); in nvbios_pcirTe() 41 nv_debug(bios, "%08x: PCIR signature (%08x) unknown\n", in nvbios_pcirTe() 42 data, nv_ro32(bios, data + 0x00)); in nvbios_pcirTe() 51 nvbios_pcirTp(struct nvkm_bios *bios, u32 base, u8 *ver, u16 *hdr, in nvbios_pcirTp() argument 54 u32 data = nvbios_pcirTe(bios, base, ver, hdr); in nvbios_pcirTp() 57 info->vendor_id = nv_ro16(bios, data + 0x04); in nvbios_pcirTp() [all …]
|
D | M0203.c | 29 nvbios_M0203Te(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_M0203Te() argument 34 if (!bit_entry(bios, 'M', &bit_M)) { in nvbios_M0203Te() 36 data = nv_ro16(bios, bit_M.offset + 0x03); in nvbios_M0203Te() 38 *ver = nv_ro08(bios, data + 0x00); in nvbios_M0203Te() 41 *hdr = nv_ro08(bios, data + 0x01); in nvbios_M0203Te() 42 *len = nv_ro08(bios, data + 0x02); in nvbios_M0203Te() 43 *cnt = nv_ro08(bios, data + 0x03); in nvbios_M0203Te() 55 nvbios_M0203Tp(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, in nvbios_M0203Tp() argument 58 u32 data = nvbios_M0203Te(bios, ver, hdr, cnt, len); in nvbios_M0203Tp() 62 info->type = nv_ro08(bios, data + 0x04); in nvbios_M0203Tp() [all …]
|
D | xpio.c | 29 dcb_xpiod_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in dcb_xpiod_table() argument 31 u16 data = dcb_gpio_table(bios, ver, hdr, cnt, len); in dcb_xpiod_table() 33 u16 xpio = nv_ro16(bios, data + 0x04); in dcb_xpiod_table() 35 *ver = nv_ro08(bios, data + 0x00); in dcb_xpiod_table() 36 *hdr = nv_ro08(bios, data + 0x01); in dcb_xpiod_table() 37 *cnt = nv_ro08(bios, data + 0x02); in dcb_xpiod_table() 38 *len = nv_ro08(bios, data + 0x03); in dcb_xpiod_table() 46 dcb_xpio_table(struct nvkm_bios *bios, u8 idx, in dcb_xpio_table() argument 49 u16 data = dcb_xpiod_table(bios, ver, hdr, cnt, len); in dcb_xpio_table() 51 u16 xpio = nv_ro16(bios, data + *hdr + (idx * *len)); in dcb_xpio_table() [all …]
|
D | boost.c | 29 nvbios_boostTe(struct nvkm_bios *bios, in nvbios_boostTe() argument 35 if (!bit_entry(bios, 'P', &bit_P)) { in nvbios_boostTe() 37 boost = nv_ro16(bios, bit_P.offset + 0x30); in nvbios_boostTe() 40 *ver = nv_ro08(bios, boost + 0); in nvbios_boostTe() 43 *hdr = nv_ro08(bios, boost + 1); in nvbios_boostTe() 44 *cnt = nv_ro08(bios, boost + 5); in nvbios_boostTe() 45 *len = nv_ro08(bios, boost + 2); in nvbios_boostTe() 46 *snr = nv_ro08(bios, boost + 4); in nvbios_boostTe() 47 *ssz = nv_ro08(bios, boost + 3); in nvbios_boostTe() 59 nvbios_boostEe(struct nvkm_bios *bios, int idx, in nvbios_boostEe() argument [all …]
|
D | gpio.c | 30 dcb_gpio_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in dcb_gpio_table() argument 33 u16 dcb = dcb_table(bios, ver, hdr, cnt, len); in dcb_gpio_table() 36 data = nv_ro16(bios, dcb + 0x0a); in dcb_gpio_table() 38 if (*ver >= 0x22 && nv_ro08(bios, dcb - 1) >= 0x13) in dcb_gpio_table() 39 data = nv_ro16(bios, dcb - 0x0f); in dcb_gpio_table() 42 *ver = nv_ro08(bios, data + 0x00); in dcb_gpio_table() 45 *cnt = nv_ro08(bios, data + 0x02); in dcb_gpio_table() 46 *len = nv_ro08(bios, data + 0x01); in dcb_gpio_table() 49 *hdr = nv_ro08(bios, data + 0x01); in dcb_gpio_table() 50 *cnt = nv_ro08(bios, data + 0x02); in dcb_gpio_table() [all …]
|
D | extdev.c | 29 extdev_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *len, u8 *cnt) in extdev_table() argument 34 dcb = dcb_table(bios, &dcb_ver, &dcb_hdr, &dcb_cnt, &dcb_len); in extdev_table() 38 extdev = nv_ro16(bios, dcb + 18); in extdev_table() 42 *ver = nv_ro08(bios, extdev + 0); in extdev_table() 43 *hdr = nv_ro08(bios, extdev + 1); in extdev_table() 44 *cnt = nv_ro08(bios, extdev + 2); in extdev_table() 45 *len = nv_ro08(bios, extdev + 3); in extdev_table() 50 nvbios_extdev_entry(struct nvkm_bios *bios, int idx, u8 *ver, u8 *len) in nvbios_extdev_entry() argument 53 u16 extdev = extdev_table(bios, ver, &hdr, len, &cnt); in nvbios_extdev_entry() 60 extdev_parse_entry(struct nvkm_bios *bios, u16 offset, in extdev_parse_entry() argument [all …]
|
D | M0209.c | 29 nvbios_M0209Te(struct nvkm_bios *bios, in nvbios_M0209Te() argument 35 if (!bit_entry(bios, 'M', &bit_M)) { in nvbios_M0209Te() 37 data = nv_ro32(bios, bit_M.offset + 0x09); in nvbios_M0209Te() 39 *ver = nv_ro08(bios, data + 0x00); in nvbios_M0209Te() 42 *hdr = nv_ro08(bios, data + 0x01); in nvbios_M0209Te() 43 *len = nv_ro08(bios, data + 0x02); in nvbios_M0209Te() 44 *ssz = nv_ro08(bios, data + 0x03); in nvbios_M0209Te() 46 *cnt = nv_ro08(bios, data + 0x04); in nvbios_M0209Te() 58 nvbios_M0209Ee(struct nvkm_bios *bios, int idx, in nvbios_M0209Ee() argument 62 u32 data = nvbios_M0209Te(bios, ver, hdr, cnt, len, &snr, &ssz); in nvbios_M0209Ee() [all …]
|
D | shadowrom.c | 28 prom_read(void *data, u32 offset, u32 length, struct nvkm_bios *bios) in prom_read() argument 33 *(u32 *)&bios->data[i] = nv_rd32(bios, 0x300000 + i); in prom_read() 42 struct nvkm_bios *bios = data; in prom_fini() local 43 if (nv_device(bios)->card_type < NV_50) in prom_fini() 44 nv_mask(bios, 0x001850, 0x00000001, 0x00000001); in prom_fini() 46 nv_mask(bios, 0x088050, 0x00000001, 0x00000001); in prom_fini() 50 prom_init(struct nvkm_bios *bios, const char *name) in prom_init() argument 52 if (nv_device(bios)->card_type < NV_50) { in prom_init() 53 if (nv_device(bios)->card_type == NV_40 && in prom_init() 54 nv_device(bios)->chipset >= 0x4c) in prom_init() [all …]
|
D | M0205.c | 29 nvbios_M0205Te(struct nvkm_bios *bios, in nvbios_M0205Te() argument 35 if (!bit_entry(bios, 'M', &bit_M)) { in nvbios_M0205Te() 37 data = nv_ro32(bios, bit_M.offset + 0x05); in nvbios_M0205Te() 39 *ver = nv_ro08(bios, data + 0x00); in nvbios_M0205Te() 42 *hdr = nv_ro08(bios, data + 0x01); in nvbios_M0205Te() 43 *len = nv_ro08(bios, data + 0x02); in nvbios_M0205Te() 44 *ssz = nv_ro08(bios, data + 0x03); in nvbios_M0205Te() 45 *snr = nv_ro08(bios, data + 0x04); in nvbios_M0205Te() 46 *cnt = nv_ro08(bios, data + 0x05); in nvbios_M0205Te() 58 nvbios_M0205Tp(struct nvkm_bios *bios, in nvbios_M0205Tp() argument [all …]
|
D | therm.c | 31 therm_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *len, u8 *cnt) in therm_table() argument 36 if (!bit_entry(bios, 'P', &bit_P)) { in therm_table() 38 therm = nv_ro16(bios, bit_P.offset + 12); in therm_table() 40 therm = nv_ro16(bios, bit_P.offset + 16); in therm_table() 42 nv_error(bios, in therm_table() 51 *ver = nv_ro08(bios, therm + 0); in therm_table() 52 *hdr = nv_ro08(bios, therm + 1); in therm_table() 53 *len = nv_ro08(bios, therm + 2); in therm_table() 54 *cnt = nv_ro08(bios, therm + 3); in therm_table() 55 return therm + nv_ro08(bios, therm + 1); in therm_table() [all …]
|
D | bit.c | 28 bit_entry(struct nvkm_bios *bios, u8 id, struct bit_entry *bit) in bit_entry() argument 30 if (likely(bios->bit_offset)) { in bit_entry() 31 u8 entries = nv_ro08(bios, bios->bit_offset + 10); in bit_entry() 32 u32 entry = bios->bit_offset + 12; in bit_entry() 34 if (nv_ro08(bios, entry + 0) == id) { in bit_entry() 35 bit->id = nv_ro08(bios, entry + 0); in bit_entry() 36 bit->version = nv_ro08(bios, entry + 1); in bit_entry() 37 bit->length = nv_ro16(bios, entry + 2); in bit_entry() 38 bit->offset = nv_ro16(bios, entry + 4); in bit_entry() 42 entry += nv_ro08(bios, bios->bit_offset + 9); in bit_entry()
|
D | fan.c | 29 nvbios_fan_table(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len) in nvbios_fan_table() argument 34 if (!bit_entry(bios, 'P', &bit_P)) { in nvbios_fan_table() 36 fan = nv_ro16(bios, bit_P.offset + 0x58); in nvbios_fan_table() 39 *ver = nv_ro08(bios, fan + 0); in nvbios_fan_table() 42 *hdr = nv_ro08(bios, fan + 1); in nvbios_fan_table() 43 *len = nv_ro08(bios, fan + 2); in nvbios_fan_table() 44 *cnt = nv_ro08(bios, fan + 3); in nvbios_fan_table() 56 nvbios_fan_entry(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr, in nvbios_fan_entry() argument 59 u16 data = nvbios_fan_table(bios, ver, hdr, cnt, len); in nvbios_fan_entry() 66 nvbios_fan_parse(struct nvkm_bios *bios, struct nvbios_therm_fan *fan) in nvbios_fan_parse() argument [all …]
|
D | P0260.c | 29 nvbios_P0260Te(struct nvkm_bios *bios, in nvbios_P0260Te() argument 35 if (!bit_entry(bios, 'P', &bit_P)) { in nvbios_P0260Te() 37 data = nv_ro32(bios, bit_P.offset + 0x60); in nvbios_P0260Te() 39 *ver = nv_ro08(bios, data + 0); in nvbios_P0260Te() 42 *hdr = nv_ro08(bios, data + 1); in nvbios_P0260Te() 43 *cnt = nv_ro08(bios, data + 2); in nvbios_P0260Te() 45 *xnr = nv_ro08(bios, data + 3); in nvbios_P0260Te() 58 nvbios_P0260Ee(struct nvkm_bios *bios, int idx, u8 *ver, u8 *len) in nvbios_P0260Ee() argument 61 u32 data = nvbios_P0260Te(bios, ver, &hdr, &cnt, len, &xnr, &xsz); in nvbios_P0260Ee() 68 nvbios_P0260Ep(struct nvkm_bios *bios, int idx, u8 *ver, u8 *len, in nvbios_P0260Ep() argument [all …]
|
D | ramcfg.c | 36 nvbios_ramcfg_count(struct nvkm_bios *bios) in nvbios_ramcfg_count() argument 40 if (!bit_entry(bios, 'M', &bit_M)) { in nvbios_ramcfg_count() 42 return nv_ro08(bios, bit_M.offset + 2); in nvbios_ramcfg_count() 44 return nv_ro08(bios, bit_M.offset + 0); in nvbios_ramcfg_count() 53 struct nvkm_bios *bios = nvkm_bios(subdev); in nvbios_ramcfg_index() local 60 if (!bit_entry(bios, 'M', &bit_M)) { in nvbios_ramcfg_index() 62 xlat = nv_ro16(bios, bit_M.offset + 3); in nvbios_ramcfg_index() 69 nvbios_M0203Em(bios, strap, &ver, &hdr, &M0203E)) in nvbios_ramcfg_index() 71 xlat = nv_ro16(bios, bit_M.offset + 1); in nvbios_ramcfg_index() 76 strap = nv_ro08(bios, xlat + strap); in nvbios_ramcfg_index()
|
D | npde.c | 29 nvbios_npdeTe(struct nvkm_bios *bios, u32 base) in nvbios_npdeTe() argument 33 u32 data = nvbios_pcirTp(bios, base, &ver, &hdr, &pcir); in nvbios_npdeTe() 35 switch (nv_ro32(bios, data + 0x00)) { in nvbios_npdeTe() 39 nv_debug(bios, "%08x: NPDE signature (%08x) unknown\n", in nvbios_npdeTe() 40 data, nv_ro32(bios, data + 0x00)); in nvbios_npdeTe() 49 nvbios_npdeTp(struct nvkm_bios *bios, u32 base, struct nvbios_npdeT *info) in nvbios_npdeTp() argument 51 u32 data = nvbios_npdeTe(bios, base); in nvbios_npdeTp() 54 info->image_size = nv_ro16(bios, data + 0x08) * 512; in nvbios_npdeTp() 55 info->last = nv_ro08(bios, data + 0x0a) & 0x80; in nvbios_npdeTp()
|
D | shadowacpi.c | 28 int nouveau_acpi_get_bios_chunk(uint8_t *bios, int offset, int len); 38 nouveau_acpi_get_bios_chunk(uint8_t *bios, int offset, int len) in nouveau_acpi_get_bios_chunk() argument 49 acpi_read_fast(void *data, u32 offset, u32 length, struct nvkm_bios *bios) in acpi_read_fast() argument 55 if (nvbios_extend(bios, limit) >= 0) { in acpi_read_fast() 56 int ret = nouveau_acpi_get_bios_chunk(bios->data, start, fetch); in acpi_read_fast() 70 acpi_read_slow(void *data, u32 offset, u32 length, struct nvkm_bios *bios) in acpi_read_slow() argument 76 if (nvbios_extend(bios, limit) >= 0) { in acpi_read_slow() 78 int ret = nouveau_acpi_get_bios_chunk(bios->data, in acpi_read_slow() 91 acpi_init(struct nvkm_bios *bios, const char *name) in acpi_init() argument 93 if (!nouveau_acpi_rom_supported(nv_device(bios)->pdev)) in acpi_init()
|
D | image.c | 30 nvbios_imagen(struct nvkm_bios *bios, struct nvbios_image *image) in nvbios_imagen() argument 38 switch ((data = nv_ro16(bios, image->base + 0x00))) { in nvbios_imagen() 44 nv_debug(bios, "%08x: ROM signature (%04x) unknown\n", in nvbios_imagen() 49 if (!(data = nvbios_pcirTp(bios, image->base, &ver, &hdr, &pcir))) in nvbios_imagen() 56 if (!(data = nvbios_npdeTp(bios, image->base, &npde))) in nvbios_imagen() 68 nvbios_image(struct nvkm_bios *bios, int idx, struct nvbios_image *image) in nvbios_image() argument 73 if (image->last || !nvbios_imagen(bios, image)) in nvbios_image()
|
D | shadowpci.c | 34 pcirom_read(void *data, u32 offset, u32 length, struct nvkm_bios *bios) in pcirom_read() argument 38 memcpy_fromio(bios->data + offset, priv->rom + offset, length); in pcirom_read() 54 pcirom_init(struct nvkm_bios *bios, const char *name) in pcirom_init() argument 56 struct pci_dev *pdev = nv_device(bios)->pdev; in pcirom_init() 86 platform_init(struct nvkm_bios *bios, const char *name) in platform_init() argument 88 struct pci_dev *pdev = nv_device(bios)->pdev; in platform_init()
|
D | shadowof.c | 34 of_read(void *data, u32 offset, u32 length, struct nvkm_bios *bios) in of_read() argument 38 memcpy_fromio(bios->data + offset, priv->data + offset, length); in of_read() 45 of_init(struct nvkm_bios *bios, const char *name) in of_init() argument 47 struct pci_dev *pdev = nv_device(bios)->pdev; in of_init()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
D | nouveau_bios.c | 68 static uint16_t clkcmptable(struct nvbios *bios, uint16_t clktable, int pxclk) in clkcmptable() argument 73 if (bios->major_version < 5) /* pre BIT */ in clkcmptable() 79 compareclk = ROM16(bios->data[clktable + compare_record_len * i]); in clkcmptable() 81 if (bios->major_version < 5) { in clkcmptable() 82 uint8_t tmdssub = bios->data[clktable + 2 + compare_record_len * i]; in clkcmptable() 83 scriptptr = ROM16(bios->data[bios->init_script_tbls_ptr + tmdssub * 2]); in clkcmptable() 85 scriptptr = ROM16(bios->data[clktable + 2 + compare_record_len * i]); in clkcmptable() 112 struct nvbios *bios = &drm->vbios; in call_lvds_manufacturer_script() local 113 …uint8_t sub = bios->data[bios->fp.xlated_entry + script] + (bios->fp.link_c_increment && dcbent->o… in call_lvds_manufacturer_script() 114 uint16_t scriptofs = ROM16(bios->data[bios->init_script_tbls_ptr + sub * 2]); in call_lvds_manufacturer_script() [all …]
|
D | nouveau_acpi.h | 12 int nouveau_acpi_get_bios_chunk(uint8_t *bios, int offset, int len); 22 static inline int nouveau_acpi_get_bios_chunk(uint8_t *bios, int offset, int len) { return -EINVAL;… in nouveau_acpi_get_bios_chunk() argument
|
D | nouveau_acpi.c | 347 static int nouveau_rom_call(acpi_handle rom_handle, uint8_t *bios, in nouveau_rom_call() argument 370 memcpy(bios+offset, obj->buffer.pointer, len); in nouveau_rom_call() 392 int nouveau_acpi_get_bios_chunk(uint8_t *bios, int offset, int len) in nouveau_acpi_get_bios_chunk() argument 394 return nouveau_rom_call(nouveau_dsm_priv.rom_handle, bios, offset, len); in nouveau_acpi_get_bios_chunk()
|
D | nouveau_connector.c | 700 struct nvbios *bios = &drm->vbios; in nouveau_connector_detect_depth() local 723 if (bios->fp_no_ddc) { in nouveau_connector_detect_depth() 724 if (bios->fp.if_is_24bit) in nouveau_connector_detect_depth() 736 duallink = mode->clock >= bios->fp.duallink_transition_clk; in nouveau_connector_detect_depth() 738 if ((!duallink && (bios->fp.strapless_is_24bit & 1)) || in nouveau_connector_detect_depth() 739 ( duallink && (bios->fp.strapless_is_24bit & 2))) in nouveau_connector_detect_depth()
|
D | nv50_display.c | 1927 struct nvbios *bios = &drm->vbios; in nv50_sor_mode_set() local 1952 if (bios->fp_no_ddc) { in nv50_sor_mode_set() 1953 if (bios->fp.dual_link) in nv50_sor_mode_set() 1955 if (bios->fp.if_is_24bit) in nv50_sor_mode_set() 1962 if (mode->clock >= bios->fp.duallink_transition_clk) { in nv50_sor_mode_set() 1967 if (bios->fp.strapless_is_24bit & 2) in nv50_sor_mode_set() 1970 if (bios->fp.strapless_is_24bit & 1) in nv50_sor_mode_set()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
D | bmp.h | 4 bmp_version(struct nvkm_bios *bios) in bmp_version() argument 6 if (bios->bmp_offset) { in bmp_version() 7 return nv_ro08(bios, bios->bmp_offset + 5) << 8 | in bmp_version() 8 nv_ro08(bios, bios->bmp_offset + 6); in bmp_version() 15 bmp_mem_init_table(struct nvkm_bios *bios) in bmp_mem_init_table() argument 17 if (bmp_version(bios) >= 0x0300) in bmp_mem_init_table() 18 return nv_ro16(bios, bios->bmp_offset + 24); in bmp_mem_init_table() 23 bmp_sdr_seq_table(struct nvkm_bios *bios) in bmp_sdr_seq_table() argument 25 if (bmp_version(bios) >= 0x0300) in bmp_sdr_seq_table() 26 return nv_ro16(bios, bios->bmp_offset + 26); in bmp_sdr_seq_table() [all …]
|
D | conn.h | 27 u32 nvbios_connTe(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len); 28 u32 nvbios_connTp(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, 41 u32 nvbios_connEe(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *hdr); 42 u32 nvbios_connEp(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *hdr,
|
D | fan.h | 5 u16 nvbios_fan_parse(struct nvkm_bios *bios, struct nvbios_therm_fan *fan);
|
D | init.h | 5 struct nvkm_bios *bios; member
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | atom-bits.h | 28 static inline uint8_t get_u8(void *bios, int ptr) in get_u8() argument 30 return ((unsigned char *)bios)[ptr]; in get_u8() 32 #define U8(ptr) get_u8(ctx->ctx->bios, (ptr)) 33 #define CU8(ptr) get_u8(ctx->bios, (ptr)) 34 static inline uint16_t get_u16(void *bios, int ptr) in get_u16() argument 36 return get_u8(bios ,ptr)|(((uint16_t)get_u8(bios, ptr+1))<<8); in get_u16() 38 #define U16(ptr) get_u16(ctx->ctx->bios, (ptr)) 39 #define CU16(ptr) get_u16(ctx->bios, (ptr)) 40 static inline uint32_t get_u32(void *bios, int ptr) in get_u32() argument 42 return get_u16(bios, ptr)|(((uint32_t)get_u16(bios, ptr+2))<<16); in get_u32() [all …]
|
D | radeon_bios.c | 48 uint8_t __iomem *bios; in igp_read_bios_from_vram() local 56 rdev->bios = NULL; in igp_read_bios_from_vram() 58 bios = ioremap(vram_base, size); in igp_read_bios_from_vram() 59 if (!bios) { in igp_read_bios_from_vram() 63 if (size == 0 || bios[0] != 0x55 || bios[1] != 0xaa) { in igp_read_bios_from_vram() 64 iounmap(bios); in igp_read_bios_from_vram() 67 rdev->bios = kmalloc(size, GFP_KERNEL); in igp_read_bios_from_vram() 68 if (rdev->bios == NULL) { in igp_read_bios_from_vram() 69 iounmap(bios); in igp_read_bios_from_vram() 72 memcpy_fromio(rdev->bios, bios, size); in igp_read_bios_from_vram() [all …]
|
D | r600_dpm.c | 853 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in r600_get_platform_caps() 884 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in r600_parse_extended_power_table() 890 fan_info = (union fan_info *)(mode_info->atom_context->bios + data_offset + in r600_parse_extended_power_table() 921 (mode_info->atom_context->bios + data_offset + in r600_parse_extended_power_table() 930 (mode_info->atom_context->bios + data_offset + in r600_parse_extended_power_table() 941 (mode_info->atom_context->bios + data_offset + in r600_parse_extended_power_table() 953 (mode_info->atom_context->bios + data_offset + in r600_parse_extended_power_table() 967 (mode_info->atom_context->bios + data_offset + in r600_parse_extended_power_table() 985 (mode_info->atom_context->bios + data_offset + in r600_parse_extended_power_table() 1032 (mode_info->atom_context->bios + data_offset + in r600_parse_extended_power_table() [all …]
|
D | radeon_atombios.c | 144 i2c_info = (struct _ATOM_GPIO_I2C_INFO *)(ctx->bios + data_offset); in radeon_lookup_i2c_gpio() 178 i2c_info = (struct _ATOM_GPIO_I2C_INFO *)(ctx->bios + data_offset); in radeon_atombios_i2c_init() 214 gpio_info = (struct _ATOM_GPIO_PIN_LUT *)(ctx->bios + data_offset); in radeon_atombios_lookup_gpio() 544 obj_header = (ATOM_OBJECT_HEADER *) (ctx->bios + data_offset); in radeon_get_atom_connector_info_from_object_table() 546 (ctx->bios + data_offset + in radeon_get_atom_connector_info_from_object_table() 549 (ctx->bios + data_offset + in radeon_get_atom_connector_info_from_object_table() 552 (ctx->bios + data_offset + in radeon_get_atom_connector_info_from_object_table() 555 (ctx->bios + data_offset + in radeon_get_atom_connector_info_from_object_table() 602 *) (ctx->bios + igp_offset); in radeon_get_atom_connector_info_from_object_table() 663 (ctx->bios + data_offset + in radeon_get_atom_connector_info_from_object_table() [all …]
|
D | atom.h | 129 void *bios; member
|
D | atom.c | 1266 struct atom_context *atom_parse(struct card_info *card, void *bios) in atom_parse() argument 1279 ctx->bios = bios; in atom_parse() 1368 u16 *mdt = (u16 *)(ctx->bios + ctx->data_table + 4); in atom_parse_data_header() 1388 u16 *mct = (u16 *)(ctx->bios + ctx->cmd_table + 4); in atom_parse_cmd_header() 1408 firmware_usage = (struct _ATOM_VRAM_USAGE_BY_FIRMWARE *)(ctx->bios + data_offset); in atom_allocate_fb_scratch()
|
D | rs780_dpm.c | 805 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in rs780_parse_power_table() 814 (mode_info->atom_context->bios + data_offset + in rs780_parse_power_table() 818 (mode_info->atom_context->bios + data_offset + in rs780_parse_power_table() 824 (mode_info->atom_context->bios + data_offset + in rs780_parse_power_table() 873 info = (union igp_info *)(rdev->mode_info.atom_context->bios + data_offset); in rs780_dpm_init()
|
D | r420.c | 370 kfree(rdev->bios); in r420_fini() 371 rdev->bios = NULL; in r420_fini()
|
D | rs400.c | 512 kfree(rdev->bios); in rs400_fini() 513 rdev->bios = NULL; in rs400_fini()
|
D | r520.c | 286 if (!radeon_card_posted(rdev) && rdev->bios) { in r520_init()
|
D | trinity_dpm.c | 1683 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in trinity_parse_power_table() 1686 (mode_info->atom_context->bios + data_offset + in trinity_parse_power_table() 1689 (mode_info->atom_context->bios + data_offset + in trinity_parse_power_table() 1692 (mode_info->atom_context->bios + data_offset + in trinity_parse_power_table() 1778 igp_info = (union igp_info *)(mode_info->atom_context->bios + in trinity_parse_sys_info_table()
|
D | rs690.c | 75 info = (union igp_info *)(rdev->mode_info.atom_context->bios + data_offset); in rs690_pm_info() 795 kfree(rdev->bios); in rs690_fini() 796 rdev->bios = NULL; in rs690_fini()
|
D | sumo_dpm.c | 1473 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in sumo_parse_power_table() 1476 (mode_info->atom_context->bios + data_offset + in sumo_parse_power_table() 1479 (mode_info->atom_context->bios + data_offset + in sumo_parse_power_table() 1482 (mode_info->atom_context->bios + data_offset + in sumo_parse_power_table() 1667 igp_info = (union igp_info *)(mode_info->atom_context->bios + in sumo_parse_sys_info_table()
|
D | rv770.c | 1870 if (!rdev->bios) { in rv770_init() 1969 kfree(rdev->bios); in rv770_fini() 1970 rdev->bios = NULL; in rv770_fini()
|
D | rs600.c | 1086 kfree(rdev->bios); in rs600_fini() 1087 rdev->bios = NULL; in rs600_fini()
|
D | rv6xx_dpm.c | 1889 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in rv6xx_parse_power_table() 1898 (mode_info->atom_context->bios + data_offset + in rv6xx_parse_power_table() 1902 (mode_info->atom_context->bios + data_offset + in rv6xx_parse_power_table() 1919 (mode_info->atom_context->bios + data_offset + in rv6xx_parse_power_table()
|
D | kv_dpm.c | 2500 igp_info = (union igp_info *)(mode_info->atom_context->bios + in kv_parse_sys_info_table() 2651 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in kv_parse_power_table() 2654 (mode_info->atom_context->bios + data_offset + in kv_parse_power_table() 2657 (mode_info->atom_context->bios + data_offset + in kv_parse_power_table() 2660 (mode_info->atom_context->bios + data_offset + in kv_parse_power_table()
|
D | ni.c | 2209 if (!rdev->bios) { in cayman_init() 2335 kfree(rdev->bios); in cayman_fini() 2336 rdev->bios = NULL; in cayman_fini()
|
D | radeon_acpi.c | 701 if (!ASIC_IS_AVIVO(rdev) || !rdev->bios || !handle) in radeon_acpi_init()
|
D | r300.c | 1478 kfree(rdev->bios); in r300_fini() 1479 rdev->bios = NULL; in r300_fini()
|
D | rv770_dpm.c | 2283 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in rv7xx_parse_power_table() 2292 (mode_info->atom_context->bios + data_offset + in rv7xx_parse_power_table() 2296 (mode_info->atom_context->bios + data_offset + in rv7xx_parse_power_table() 2314 (mode_info->atom_context->bios + data_offset + in rv7xx_parse_power_table()
|
D | radeon_device.c | 739 if (rdev->bios) { in radeon_boot_test_post_card() 981 rdev->mode_info.atom_context = atom_parse(atom_card_info, rdev->bios); in radeon_atombios_init()
|
D | rv515.c | 628 kfree(rdev->bios); in rv515_fini() 629 rdev->bios = NULL; in rv515_fini()
|
D | radeon_combios.c | 137 if (!rdev->bios) in combios_get_table_offset() 379 raw = rdev->bios + edid_info; in radeon_combios_check_hardcoded_edid() 3326 if (rdev->bios == NULL) in radeon_combios_asic_init()
|
D | radeon_pm.c | 1306 if (rdev->bios) { in radeon_pm_init_old() 1372 if (rdev->bios && rdev->is_atom_bios) in radeon_pm_init_dpm()
|
D | ni_dpm.c | 4001 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in ni_parse_power_table() 4010 (mode_info->atom_context->bios + data_offset + in ni_parse_power_table() 4014 (mode_info->atom_context->bios + data_offset + in ni_parse_power_table() 4032 (mode_info->atom_context->bios + data_offset + in ni_parse_power_table()
|
D | ci_dpm.c | 5528 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in ci_parse_power_table() 5531 (mode_info->atom_context->bios + data_offset + in ci_parse_power_table() 5534 (mode_info->atom_context->bios + data_offset + in ci_parse_power_table() 5537 (mode_info->atom_context->bios + data_offset + in ci_parse_power_table() 5611 (ATOM_FIRMWARE_INFO_V2_2 *)(mode_info->atom_context->bios + in ci_get_vbios_boot_values()
|
D | r600.c | 3176 if (!rdev->bios) { in r600_init() 3271 kfree(rdev->bios); in r600_fini() 3272 rdev->bios = NULL; in r600_fini()
|
D | radeon.h | 2328 uint8_t *bios; member 2837 #define RBIOS8(i) (rdev->bios[i])
|
D | si_dpm.c | 6748 power_info = (union power_info *)(mode_info->atom_context->bios + data_offset); in si_parse_power_table() 6751 (mode_info->atom_context->bios + data_offset + in si_parse_power_table() 6754 (mode_info->atom_context->bios + data_offset + in si_parse_power_table() 6757 (mode_info->atom_context->bios + data_offset + in si_parse_power_table()
|
D | evergreen.c | 5687 if (!rdev->bios) { in evergreen_init() 5813 kfree(rdev->bios); in evergreen_fini() 5814 rdev->bios = NULL; in evergreen_fini()
|
D | radeon_display.c | 822 if (rdev->bios) { in radeon_setup_enc_conn()
|
D | r100.c | 3979 kfree(rdev->bios); in r100_fini() 3980 rdev->bios = NULL; in r100_fini()
|
D | si.c | 7120 if (!rdev->bios) { in si_init() 7249 kfree(rdev->bios); in si_fini() 7250 rdev->bios = NULL; in si_fini()
|
D | radeon_asic.c | 2338 if (rdev->bios == NULL) { in radeon_asic_init()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramgk104.c | 211 u8 v0 = next->bios.ramcfg_11_03_c0; in r1373f4_fini() 212 u8 v1 = next->bios.ramcfg_11_03_30; in r1373f4_fini() 256 int vc = !next->bios.ramcfg_11_02_08; in gk104_ram_calc_gddr5() 257 int mv = !next->bios.ramcfg_11_02_04; in gk104_ram_calc_gddr5() 309 switch (next->bios.ramcfg_11_03_c0) { in gk104_ram_calc_gddr5() 316 switch (next->bios.ramcfg_11_03_30) { in gk104_ram_calc_gddr5() 324 if (next->bios.ramcfg_11_02_80) in gk104_ram_calc_gddr5() 326 if (next->bios.ramcfg_11_02_40) in gk104_ram_calc_gddr5() 328 if (next->bios.ramcfg_11_07_10) in gk104_ram_calc_gddr5() 330 if (next->bios.ramcfg_11_07_08) in gk104_ram_calc_gddr5() [all …]
|
D | gddr5.c | 41 switch (ram->next->bios.ramcfg_ver) { in nvkm_gddr5_calc() 43 pd = ram->next->bios.ramcfg_11_01_80; in nvkm_gddr5_calc() 44 lf = ram->next->bios.ramcfg_11_01_40; in nvkm_gddr5_calc() 45 xd = !ram->next->bios.ramcfg_11_01_20; in nvkm_gddr5_calc() 46 vh = ram->next->bios.ramcfg_11_02_10; in nvkm_gddr5_calc() 47 vr = ram->next->bios.ramcfg_11_02_04; in nvkm_gddr5_calc() 48 vo = ram->next->bios.ramcfg_11_06; in nvkm_gddr5_calc() 49 l3 = !ram->next->bios.ramcfg_11_07_02; in nvkm_gddr5_calc() 55 switch (ram->next->bios.timing_ver) { in nvkm_gddr5_calc() 57 WL = (ram->next->bios.timing[1] & 0x00000f80) >> 7; in nvkm_gddr5_calc() [all …]
|
D | sddr3.c | 73 switch (ram->next->bios.timing_ver) { in nvkm_sddr3_calc() 75 if (ram->next->bios.timing_hdr < 0x17) { in nvkm_sddr3_calc() 79 CWL = ram->next->bios.timing_10_CWL; in nvkm_sddr3_calc() 80 CL = ram->next->bios.timing_10_CL; in nvkm_sddr3_calc() 81 WR = ram->next->bios.timing_10_WR; in nvkm_sddr3_calc() 82 DLL = !ram->next->bios.ramcfg_10_DLLoff; in nvkm_sddr3_calc() 83 ODT = ram->next->bios.timing_10_ODT; in nvkm_sddr3_calc() 86 CWL = (ram->next->bios.timing[1] & 0x00000f80) >> 7; in nvkm_sddr3_calc() 87 CL = (ram->next->bios.timing[1] & 0x0000001f) >> 0; in nvkm_sddr3_calc() 88 WR = (ram->next->bios.timing[2] & 0x007f0000) >> 16; in nvkm_sddr3_calc()
|
D | gddr3.c | 75 switch (ram->next->bios.timing_ver) { in nvkm_gddr3_calc() 77 CWL = ram->next->bios.timing_10_CWL; in nvkm_gddr3_calc() 78 CL = ram->next->bios.timing_10_CL; in nvkm_gddr3_calc() 79 WR = ram->next->bios.timing_10_WR; in nvkm_gddr3_calc() 80 DLL = !ram->next->bios.ramcfg_10_DLLoff; in nvkm_gddr3_calc() 81 ODT = ram->next->bios.timing_10_ODT; in nvkm_gddr3_calc() 84 CWL = (ram->next->bios.timing[1] & 0x00000f80) >> 7; in nvkm_gddr3_calc() 85 CL = (ram->next->bios.timing[1] & 0x0000001f) >> 0; in nvkm_gddr3_calc() 86 WR = (ram->next->bios.timing[2] & 0x007f0000) >> 16; in nvkm_gddr3_calc()
|
D | sddr2.c | 64 switch (ram->next->bios.timing_ver) { in nvkm_sddr2_calc() 66 CL = ram->next->bios.timing_10_CL; in nvkm_sddr2_calc() 67 WR = ram->next->bios.timing_10_WR; in nvkm_sddr2_calc() 68 DLL = !ram->next->bios.ramcfg_10_DLLoff; in nvkm_sddr2_calc() 69 ODT = ram->next->bios.timing_10_ODT & 3; in nvkm_sddr2_calc() 72 CL = (ram->next->bios.timing[1] & 0x0000001f); in nvkm_sddr2_calc() 73 WR = (ram->next->bios.timing[2] & 0x007f0000) >> 16; in nvkm_sddr2_calc()
|
D | ramgt215.c | 159 struct nvkm_bios *bios = nvkm_bios(pfb); in gt215_link_train() local 184 nvbios_M0205Tp(bios, &ver, &hdr, &cnt, &len, &snr, &ssz, &M0205T); in gt215_link_train() 280 struct nvkm_bios *bios = nvkm_bios(pfb); in gt215_link_train_init() local 293 if (!nvbios_M0205Ep(bios, i, &ver, &hdr, &cnt, &len, &M0205E)) in gt215_link_train_init() 353 struct nvbios_ramcfg *cfg = &ram->base.target.bios; in gt215_ram_timing_calc() 492 struct nvkm_bios *bios = nvkm_bios(pfb); in gt215_ram_calc() local 515 data = nvbios_rammapEm(bios, freq / 1000, &ver, &hdr, &cnt, &len, in gt215_ram_calc() 516 &next->bios); in gt215_ram_calc() 529 data = nvbios_rammapSp(bios, data, ver, hdr, cnt, len, strap, in gt215_ram_calc() 530 &ver, &hdr, &next->bios); in gt215_ram_calc() [all …]
|
D | ramnv40.c | 37 struct nvkm_bios *bios = nvkm_bios(pfb); in nv40_ram_calc() local 43 ret = nvbios_pll_parse(bios, 0x04, &pll); in nv40_ram_calc() 70 struct nvkm_bios *bios = nvkm_bios(pfb); in nv40_ram_prog() local 141 if (!bit_entry(bios, 'M', &M)) { in nv40_ram_prog() 144 .bios = bios, in nv40_ram_prog() 145 .offset = nv_ro16(bios, M.offset + 0x00), in nv40_ram_prog()
|
D | base.c | 30 nvkm_fb_bios_memtype(struct nvkm_bios *bios) in nvkm_fb_bios_memtype() argument 32 const u8 ramcfg = (nv_rd32(bios, 0x101000) & 0x0000003c) >> 2; in nvkm_fb_bios_memtype() 36 if (nvbios_M0203Em(bios, ramcfg, &ver, &hdr, &M0203E)) { in nvkm_fb_bios_memtype() 43 nv_warn(bios, "M0203E type %02x\n", M0203E.type); in nvkm_fb_bios_memtype() 48 nv_warn(bios, "M0203E not matched!\n"); in nvkm_fb_bios_memtype()
|
D | ramnv50.c | 63 struct nvkm_bios *bios = nvkm_bios(pfb); in nv50_ram_calc() local 79 ramcfg.data = nvbios_perfEp(bios, i++, &ver, &hdr, &cnt, in nv50_ram_calc() 98 strap = nv_ro08(bios, ramcfg.data + 0x01); in nv50_ram_calc() 100 timing.data = nvbios_timingEe(bios, strap, &ver, &hdr, in nv50_ram_calc() 130 ret = nvbios_pll_parse(bios, 0x004008, &mpll); in nv50_ram_calc() 356 struct nvkm_bios *bios = nvkm_bios(parent); in nv50_ram_create_() local 375 if (nvkm_fb_bios_memtype(bios) == NV_MEM_TYPE_DDR3) in nv50_ram_create_()
|
D | ramgf100.c | 130 struct nvkm_bios *bios = nvkm_bios(pfb); in gf100_ram_calc() local 145 rammap.data = nvbios_rammapEm(bios, freq / 1000, &ver, &rammap.size, in gf100_ram_calc() 166 strap = nv_ro08(bios, ramcfg.data + 0x01); in gf100_ram_calc() 168 timing.data = nvbios_timingEe(bios, strap, &ver, &timing.size, in gf100_ram_calc() 511 struct nvkm_bios *bios = nvkm_bios(pfb); in gf100_ram_create_() local 530 ram->type = nvkm_fb_bios_memtype(bios); in gf100_ram_create_() 629 struct nvkm_bios *bios = nvkm_bios(parent); in gf100_ram_ctor() local 638 ret = nvbios_pll_parse(bios, 0x0c, &ram->refpll); in gf100_ram_ctor() 644 ret = nvbios_pll_parse(bios, 0x04, &ram->mempll); in gf100_ram_ctor()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
D | fan.c | 45 target = max_t(u8, target, fan->bios.min_duty); in nvkm_fan_update() 46 target = min_t(u8, target, fan->bios.max_duty); in nvkm_fan_update() 87 u16 bump_period = fan->bios.bump_period; in nvkm_fan_update() 88 u16 slow_down_period = fan->bios.slow_down_period; in nvkm_fan_update() 187 priv->fan->bios.pwm_freq = 0; in nvkm_therm_fan_set_defaults() 188 priv->fan->bios.min_duty = 0; in nvkm_therm_fan_set_defaults() 189 priv->fan->bios.max_duty = 100; in nvkm_therm_fan_set_defaults() 190 priv->fan->bios.bump_period = 500; in nvkm_therm_fan_set_defaults() 191 priv->fan->bios.slow_down_period = 2000; in nvkm_therm_fan_set_defaults() 192 priv->fan->bios.linear_min_temp = 40; in nvkm_therm_fan_set_defaults() [all …]
|
D | base.c | 32 struct nvbios_therm_trip_point *trip = priv->fan->bios.trip, in nvkm_therm_update_trip() 40 for (i = 0; i < priv->fan->bios.nr_fan_trip; i++) { in nvkm_therm_update_trip() 65 u8 linear_min_temp = priv->fan->bios.linear_min_temp; in nvkm_therm_update_linear() 66 u8 linear_max_temp = priv->fan->bios.linear_max_temp; in nvkm_therm_update_linear() 72 return priv->fan->bios.min_duty; in nvkm_therm_update_linear() 74 return priv->fan->bios.max_duty; in nvkm_therm_update_linear() 78 duty *= (priv->fan->bios.max_duty - priv->fan->bios.min_duty); in nvkm_therm_update_linear() 80 duty += priv->fan->bios.min_duty; in nvkm_therm_update_linear() 108 switch(priv->fan->bios.fan_mode) { in nvkm_therm_update() 198 return priv->fan->bios.min_duty; in nvkm_therm_attr_get() [all …]
|
D | fanpwm.c | 69 if (priv->base.bios.pwm_freq) { in nvkm_fanpwm_set() 73 divs /= priv->base.bios.pwm_freq; in nvkm_fanpwm_set() 91 struct nvkm_bios *bios = nvkm_bios(therm); in nvkm_fanpwm_create() local 96 nvbios_fan_parse(bios, &fan); in nvkm_fanpwm_create()
|
D | ic.c | 86 struct nvkm_bios *bios = nvkm_bios(therm); in nvkm_therm_ic_ctor() local 90 if (!nvbios_extdev_find(bios, NVBIOS_EXTDEV_LM89, &extdev_entry)) { in nvkm_therm_ic_ctor() 102 if (!nvbios_extdev_find(bios, NVBIOS_EXTDEV_ADT7473, &extdev_entry)) { in nvkm_therm_ic_ctor()
|
D | temp.c | 248 struct nvkm_bios *bios = nvkm_bios(therm); in nvkm_therm_sensor_ctor() local 253 if (nvbios_therm_sensor_parse(bios, NVBIOS_THERM_DOMAIN_CORE, in nvkm_therm_sensor_ctor()
|
D | priv.h | 38 struct nvbios_therm_fan bios; member
|
/linux-4.1.27/drivers/char/ |
D | toshiba.c | 372 static int tosh_get_machine_id(void __iomem *bios) in tosh_get_machine_id() argument 379 id = (0x100*(int) readb(bios+0xfffe))+((int) readb(bios+0xfffa)); in tosh_get_machine_id() 406 cx = readw(bios + address); in tosh_get_machine_id() 408 cx = readw(bios + address); in tosh_get_machine_id() 410 cx = readw(bios + address); in tosh_get_machine_id() 433 void __iomem *bios = ioremap_cache(0xf0000, 0x10000); in tosh_probe() local 435 if (!bios) in tosh_probe() 442 if (readb(bios+0xe010+i)!=signature[i]) { in tosh_probe() 444 iounmap(bios); in tosh_probe() 460 iounmap(bios); in tosh_probe() [all …]
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
D | gm204.c | 33 struct nvkm_bios *bios = nvkm_bios(priv); in pmu_code() local 40 nv_wr32(priv, 0x10a184, nv_ro32(bios, img + i)); in pmu_code() 52 struct nvkm_bios *bios = nvkm_bios(priv); in pmu_data() local 57 nv_wr32(priv, 0x10a1c4, nv_ro32(bios, img + i)); in pmu_data() 80 struct nvkm_bios *bios = nvkm_bios(priv); in pmu_load() local 83 if (!nvbios_pmuRm(bios, type, &pmu)) { in pmu_load() 108 struct nvkm_bios *bios = nvkm_bios(priv); in gm204_devinit_post() local 113 if (bit_entry(bios, 'I', &bit_I) || bit_I.version != 1 || in gm204_devinit_post() 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() [all …]
|
D | nv50.c | 39 struct nvkm_bios *bios = nvkm_bios(priv); in nv50_devinit_pll_set() local 44 ret = nvbios_pll_parse(bios, type, &info); in nv50_devinit_pll_set() 95 struct nvkm_bios *bios = nvkm_bios(object); in nv50_devinit_init() local 126 while (priv->base.post && dcb_outp_parse(bios, i, &ver, &hdr, &outp)) { in nv50_devinit_init() 127 if (nvbios_outp_match(bios, outp.hasht, outp.hashm, in nv50_devinit_init() 131 .bios = bios, in nv50_devinit_init()
|
D | nv05.c | 48 struct nvkm_bios *bios = nvkm_bios(priv); in nv05_devinit_meminit() local 63 if ((data = bmp_mem_init_table(bios))) { in nv05_devinit_meminit() 64 ramcfg[0] = nv_ro08(bios, data + 2 * strap + 0); in nv05_devinit_meminit() 65 ramcfg[1] = nv_ro08(bios, data + 2 * strap + 1); in nv05_devinit_meminit() 82 u32 scramble = nv_ro32(bios, data); in nv05_devinit_meminit()
|
D | gt215.c | 35 struct nvkm_bios *bios = nvkm_bios(priv); in gt215_devinit_pll_set() local 40 ret = nvbios_pll_parse(bios, type, &info); in gt215_devinit_pll_set()
|
D | gf100.c | 35 struct nvkm_bios *bios = nvkm_bios(priv); in gf100_devinit_pll_set() local 40 ret = nvbios_pll_parse(bios, type, &info); in gf100_devinit_pll_set()
|
D | nv04.c | 355 struct nvkm_bios *bios = nvkm_bios(devinit); in nv04_devinit_pll_set() local 358 int cv = bios->version.chip; in nv04_devinit_pll_set() 362 ret = nvbios_pll_parse(bios, type > 0x405c ? type : type - 4, &info); in nv04_devinit_pll_set()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/mxm/ |
D | nv50.c | 56 struct nvkm_bios *bios = nvkm_bios(mxm); in mxm_match_dcb() local 72 u8 link = mxm_sor_map(bios, ctx->desc.dig_conn); in mxm_match_dcb() 99 mxm_dcb_sanitise_entry(struct nvkm_bios *bios, void *data, int idx, u16 pdcb) in mxm_dcb_sanitise_entry() argument 102 struct context ctx = { .outp = (u32 *)(bios->data + pdcb) }; in mxm_dcb_sanitise_entry() 120 i2cidx = mxm_ddc_map(bios, ctx.desc.ddc_port); in mxm_dcb_sanitise_entry() 137 link = mxm_sor_map(bios, ctx.desc.dig_conn) & 0x30; in mxm_dcb_sanitise_entry() 150 conn = bios->data; in mxm_dcb_sanitise_entry() 151 conn += nvbios_connEe(bios, (ctx.outp[0] & 0x0000f000) >> 12, &ver, &len); in mxm_dcb_sanitise_entry() 192 struct nvkm_bios *bios = nvkm_bios(mxm); in mxm_dcb_sanitise() local 194 u16 dcb = dcb_table(bios, &ver, &hdr, &cnt, &len); in mxm_dcb_sanitise() [all …]
|
D | base.c | 47 struct nvkm_bios *bios = nvkm_bios(mxm); in mxm_shadow_rom() local 52 i2cidx = mxm_ddc_map(bios, 1 /* LVDS_DDC */) & 0x0f; in mxm_shadow_rom() 230 struct nvkm_bios *bios = nvkm_bios(device); in nvkm_mxm_create_() local 242 data = mxm_table(bios, &ver, &len); in nvkm_mxm_create_() 243 if (!data || !(ver = nv_ro08(bios, data))) { in nvkm_mxm_create_()
|
/linux-4.1.27/arch/x86/kernel/ |
D | apm_32.c | 865 clock_slowed = (apm_info.bios.flags & APM_IDLE_SLOWS_CLOCK) != 0; in apm_do_idle() 1008 if ((enable == 0) && (apm_info.bios.flags & APM_BIOS_DISENGAGED)) in apm_enable_power_management() 1014 apm_info.bios.flags &= ~APM_BIOS_DISABLED; in apm_enable_power_management() 1016 apm_info.bios.flags |= APM_BIOS_DISABLED; in apm_enable_power_management() 1101 && (apm_info.bios.flags & APM_BIOS_DISABLED)) in apm_engage_power_management() 1108 apm_info.bios.flags &= ~APM_BIOS_DISENGAGED; in apm_engage_power_management() 1110 apm_info.bios.flags |= APM_BIOS_DISENGAGED; in apm_engage_power_management() 1702 (apm_info.bios.version >> 8) & 0xff, in proc_apm_show() 1703 apm_info.bios.version & 0xff, in proc_apm_show() 1704 apm_info.bios.flags, in proc_apm_show() [all …]
|
D | setup.c | 916 apm_info.bios = boot_params.apm_bios_info; in setup_arch()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/volt/ |
D | base.c | 66 struct nvkm_bios *bios = nvkm_bios(volt); in nvkm_volt_map() local 71 vmap = nvbios_vmap_entry_parse(bios, id, &ver, &len, &info); in nvkm_volt_map() 103 nvkm_volt_parse_bios(struct nvkm_bios *bios, struct nvkm_volt *volt) in nvkm_volt_parse_bios() argument 111 data = nvbios_volt_parse(bios, &ver, &hdr, &cnt, &len, &info); in nvkm_volt_parse_bios() 125 data = nvbios_volt_entry_parse(bios, i, &ver, &hdr, in nvkm_volt_parse_bios() 169 struct nvkm_bios *bios = nvkm_bios(parent); in nvkm_volt_create_() local 184 if (bios) in nvkm_volt_create_() 185 nvkm_volt_parse_bios(bios, volt); in nvkm_volt_create_()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | dport.c | 54 struct nvkm_bios *bios = nvkm_bios(disp); in dp_set_link_config() local 57 .bios = bios, in dp_set_link_config() 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() 76 while ((dp->link_bw / 27000) < nv_ro08(bios, lnkcmp)) in dp_set_link_config() 78 init.offset = nv_ro16(bios, lnkcmp + 1); in dp_set_link_config() 264 struct nvkm_bios *bios = nvkm_bios(disp); in dp_link_train_init() local 267 .bios = bios, in dp_link_train_init() 290 struct nvkm_bios *bios = nvkm_bios(disp); in dp_link_train_fini() local 293 .bios = bios, in dp_link_train_fini()
|
D | sorgf110.c | 79 struct nvkm_bios *bios = nvkm_bios(priv); in gf110_sor_dp_drv_ctl() local 87 addr = nvbios_dpout_match(bios, outp->base.info.hasht, in gf110_sor_dp_drv_ctl() 93 addr = nvbios_dpcfg_match(bios, addr, pc, vs, pe, in gf110_sor_dp_drv_ctl()
|
D | sorg94.c | 102 struct nvkm_bios *bios = nvkm_bios(priv); in g94_sor_dp_drv_ctl() local 110 addr = nvbios_dpout_match(bios, outp->base.info.hasht, in g94_sor_dp_drv_ctl() 116 addr = nvbios_dpcfg_match(bios, addr, 0, vs, pe, in g94_sor_dp_drv_ctl()
|
D | sorgm204.c | 94 struct nvkm_bios *bios = nvkm_bios(priv); in gm204_sor_dp_drv_ctl() local 102 addr = nvbios_dpout_match(bios, outp->base.info.hasht, in gm204_sor_dp_drv_ctl() 108 addr = nvbios_dpcfg_match(bios, addr, pc, vs, pe, in gm204_sor_dp_drv_ctl()
|
D | gf110.c | 794 struct nvkm_bios *bios = nvkm_bios(priv); in exec_lookup() local 823 *data = nvbios_outp_match(bios, outp->info.hasht, in exec_lookup() 838 struct nvkm_bios *bios = nvkm_bios(priv); in exec_script() local 858 .bios = bios, in exec_script() 874 struct nvkm_bios *bios = nvkm_bios(priv); in exec_clkcmp() local 913 data = nvbios_ocfg_match(bios, data, *conf, &ver, &hdr, &cnt, &len, &info2); in exec_clkcmp() 915 data = nvbios_oclk_match(bios, info2.clkcmp[id], pclk); in exec_clkcmp() 919 .bios = bios, in exec_clkcmp() 949 .bios = nvkm_bios(priv), in gf110_disp_intr_unk2_0()
|
D | outp.c | 67 struct nvkm_bios *bios = nvkm_bios(parent); in nvkm_output_create_() local 95 data = nvbios_connEp(bios, outp->info.connector, &ver, &hdr, &connE); in nvkm_output_create_()
|
D | nv50.c | 1389 struct nvkm_bios *bios = nvkm_bios(priv); in exec_lookup() local 1429 *data = nvbios_outp_match(bios, outp->info.hasht, in exec_lookup() 1444 struct nvkm_bios *bios = nvkm_bios(priv); in exec_script() local 1485 .bios = bios, in exec_script() 1501 struct nvkm_bios *bios = nvkm_bios(priv); in exec_clkcmp() local 1566 data = nvbios_ocfg_match(bios, data, *conf, &ver, &hdr, &cnt, &len, &info2); in exec_clkcmp() 1568 data = nvbios_oclk_match(bios, info2.clkcmp[id], pclk); in exec_clkcmp() 1572 .bios = bios, in exec_clkcmp() 1614 .bios = nvkm_bios(priv), in nv50_disp_intr_unk20_0() 1848 struct nvkm_bios *bios = nvkm_bios(priv); in nv50_disp_intr_unk40_0_tmds() local [all …]
|
D | base.c | 191 struct nvkm_bios *bios = nvkm_bios(parent); in nvkm_disp_create_() local 210 while ((data = dcb_outp_parse(bios, ++i, &ver, &hdr, &dcbE))) { in nvkm_disp_create_()
|
D | outpdp.c | 218 struct nvkm_bios *bios = nvkm_bios(parent); in nvkm_output_dp_create_() local 240 data = nvbios_dpout_match(bios, outp->base.info.hasht, in nvkm_output_dp_create_()
|
/linux-4.1.27/drivers/input/misc/ |
D | apanel.c | 256 static __init const void __iomem *bios_signature(const void __iomem *bios) in bios_signature() argument 262 if (check_signature(bios + offset, signature, in bios_signature() 264 return bios + offset; in bios_signature() 273 void __iomem *bios; in apanel_init() local 279 bios = ioremap(0xF0000, 0x10000); /* Can't fail */ in apanel_init() 281 p = bios_signature(bios); in apanel_init() 283 iounmap(bios); in apanel_init() 327 iounmap(bios); in apanel_init()
|
/linux-4.1.27/drivers/md/ |
D | dm-bio-prison.c | 80 bio_list_init(&cell->bios); in __setup_new_cell() 129 bio_list_add(&cell->bios, inmate); in __bio_detain() 191 bio_list_merge(inmates, &cell->bios); in __cell_release() 197 struct bio_list *bios) in dm_cell_release() argument 202 __cell_release(prison, cell, bios); in dm_cell_release() 215 bio_list_merge(inmates, &cell->bios); in __cell_release_no_holder() 233 struct bio_list bios; in dm_cell_error() local 236 bio_list_init(&bios); in dm_cell_error() 237 dm_cell_release(prison, cell, &bios); in dm_cell_error() 239 while ((bio = bio_list_pop(&bios))) in dm_cell_error()
|
D | raid1.c | 76 int size = offsetof(struct r1bio, bios[pi->raid_disks]); in r1bio_pool_alloc() 114 r1_bio->bios[j] = bio; in r1buf_pool_alloc() 127 bio = r1_bio->bios[j]; in r1buf_pool_alloc() 137 r1_bio->bios[j]->bi_io_vec[i].bv_page = in r1buf_pool_alloc() 138 r1_bio->bios[0]->bi_io_vec[i].bv_page; in r1buf_pool_alloc() 149 bio_for_each_segment_all(bv, r1_bio->bios[j], i) in r1buf_pool_alloc() 155 bio_put(r1_bio->bios[j]); in r1buf_pool_alloc() 169 r1bio->bios[j]->bi_io_vec[i].bv_page != in r1buf_pool_free() 170 r1bio->bios[0]->bi_io_vec[i].bv_page) in r1buf_pool_free() 171 safe_put_page(r1bio->bios[j]->bi_io_vec[i].bv_page); in r1buf_pool_free() [all …]
|
D | dm-bio-prison.h | 46 struct bio_list bios; member 89 struct bio_list *bios);
|
D | dm-thin.c | 352 struct bio_list *bios) in cell_release() argument 354 dm_cell_release(pool->prison, cell, bios); in cell_release() 369 struct bio_list *bios) in cell_release_no_holder() argument 371 dm_cell_release_no_holder(pool->prison, cell, bios); in cell_release_no_holder() 467 static void __merge_bio_list(struct bio_list *bios, struct bio_list *master) in __merge_bio_list() argument 469 bio_list_merge(bios, master); in __merge_bio_list() 473 static void error_bio_list(struct bio_list *bios, int error) in error_bio_list() argument 477 while ((bio = bio_list_pop(bios))) in error_bio_list() 483 struct bio_list bios; in error_thin_bio_list() local 486 bio_list_init(&bios); in error_thin_bio_list() [all …]
|
D | dm-io.c | 26 struct bio_set *bios; member 61 client->bios = bioset_create(min_ios, 0); in dm_io_client_create() 62 if (!client->bios) in dm_io_client_create() 78 bioset_free(client->bios); in dm_io_client_destroy() 320 bio = bio_alloc_bioset(GFP_NOIO, num_bvecs, io->client->bios); in do_region()
|
D | raid1.h | 147 struct bio *bios[0]; member
|
D | dm-cache-target.c | 1603 struct bio_list bios; in process_deferred_bios() local 1608 bio_list_init(&bios); in process_deferred_bios() 1611 bio_list_merge(&bios, &cache->deferred_bios); in process_deferred_bios() 1615 while (!bio_list_empty(&bios)) { in process_deferred_bios() 1623 bio_list_merge(&cache->deferred_bios, &bios); in process_deferred_bios() 1628 bio = bio_list_pop(&bios); in process_deferred_bios() 1644 struct bio_list bios; in process_deferred_flush_bios() local 1647 bio_list_init(&bios); in process_deferred_flush_bios() 1650 bio_list_merge(&bios, &cache->deferred_flush_bios); in process_deferred_flush_bios() 1657 while ((bio = bio_list_pop(&bios))) in process_deferred_flush_bios() [all …]
|
D | dm-region-hash.c | 92 void (*dispatch_bios)(void *context, struct bio_list *bios); 162 struct bio_list *bios), in dm_region_hash_create() argument 526 void dm_rh_inc_pending(struct dm_region_hash *rh, struct bio_list *bios) in dm_rh_inc_pending() argument 530 for (bio = bios->head; bio; bio = bio->bi_next) { in dm_rh_inc_pending()
|
/linux-4.1.27/drivers/video/fbdev/sis/ |
D | sis_main.c | 4312 unsigned char *bios = ivideo->SiS_Pr.VirtualRomBase; in sisfb_post_sis300() local 4318 bios = NULL; in sisfb_post_sis300() 4322 if(bios) { in sisfb_post_sis300() 4323 if(bios[0x52] & 0x80) { in sisfb_post_sis300() 4324 memtype = bios[0x52]; in sisfb_post_sis300() 4338 if(bios) { in sisfb_post_sis300() 4341 v1 = bios[rindex++]; in sisfb_post_sis300() 4342 v2 = bios[rindex++]; in sisfb_post_sis300() 4343 v3 = bios[rindex++]; in sisfb_post_sis300() 4345 v4 = bios[rindex++]; in sisfb_post_sis300() [all …]
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
D | gf110.c | 29 struct nvkm_bios *bios = nvkm_bios(gpio); in gf110_gpio_reset() local 34 while ((entry = dcb_gpio_entry(bios, 0, ++ent, &ver, &len))) { in gf110_gpio_reset() 35 u32 data = nv_ro32(bios, entry); in gf110_gpio_reset()
|
D | nv50.c | 29 struct nvkm_bios *bios = nvkm_bios(gpio); in nv50_gpio_reset() local 34 while ((entry = dcb_gpio_entry(bios, 0, ++ent, &ver, &len))) { in nv50_gpio_reset() 36 u32 data = nv_ro32(bios, entry); in nv50_gpio_reset()
|
D | base.c | 47 struct nvkm_bios *bios = nvkm_bios(gpio); in nvkm_gpio_find() local 54 data = dcb_gpio_match(bios, idx, tag, line, &ver, &len, func); in nvkm_gpio_find()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | base.c | 43 struct nvkm_bios *bios = nvkm_bios(clk); in nvkm_clk_adjust() local 48 data = nvbios_boostEm(bios, pstate, &ver, &hdr, &cnt, &len, &boostE); in nvkm_clk_adjust() 59 subd = nvbios_boostSp(bios, idx++, data, &sver, &shdr, in nvkm_clk_adjust() 138 struct nvkm_bios *bios = nvkm_bios(clk); in nvkm_cstate_new() local 145 data = nvbios_cstepXp(bios, idx, &ver, &hdr, &cstepX); in nvkm_cstate_new() 159 domain->bios, cstepX.freq); in nvkm_cstate_new() 304 struct nvkm_bios *bios = nvkm_bios(clk); in nvkm_pstate_new() local 313 data = nvbios_perfEp(bios, idx, &ver, &hdr, &cnt, &len, &perfE); in nvkm_pstate_new() 338 u32 perfSe = nvbios_perfSp(bios, data, domain->bios, in nvkm_pstate_new() 346 domain->bios, in nvkm_pstate_new() [all …]
|
D | pllnv04.c | 40 struct nvkm_bios *bios = nvkm_bios(subdev); in getMNP_single() local 56 if (bios->version.major < 0x60) { in getMNP_single() 57 int cv = bios->version.chip; in getMNP_single()
|
D | nv40.c | 133 struct nvkm_bios *bios = nvkm_bios(priv); in nv40_clk_calc_pll() local 137 ret = nvbios_pll_parse(bios, reg, &pll); in nv40_clk_calc_pll()
|
D | mcp77.c | 164 struct nvkm_bios *bios = nvkm_bios(priv); in calc_pll() local 169 ret = nvbios_pll_parse(bios, reg, &pll); in calc_pll()
|
D | gf100.c | 241 struct nvkm_bios *bios = nvkm_bios(priv); in calc_pll() local 245 ret = nvbios_pll_parse(bios, 0x137000 + (clk * 0x20), &limits); in calc_pll()
|
D | gk104.c | 259 struct nvkm_bios *bios = nvkm_bios(priv); in calc_pll() local 263 ret = nvbios_pll_parse(bios, 0x137000 + (clk * 0x20), &limits); in calc_pll()
|
D | gt215.c | 229 struct nvkm_bios *bios = nvkm_bios(clock); in gt215_pll_info() local 246 ret = nvbios_pll_parse(bios, pll, &limits); in gt215_pll_info()
|
D | nv50.c | 323 struct nvkm_bios *bios = nvkm_bios(priv); in calc_pll() local 327 ret = nvbios_pll_parse(bios, reg, &pll); in calc_pll()
|
/linux-4.1.27/Documentation/block/ |
D | biovecs.txt | 49 * Before, iterating over bios was very awkward when you weren't processing 53 it had to walk two different bios at the same time, keeping both bi_idx and 66 * Biovecs can be shared between multiple bios - a bvec iter can represent an 69 bios. Note that this means we _only_ use bi_size to determine when we've 73 * Splitting bios is now much simpler. The old bio_split() didn't even work on 74 bios with more than a single bvec! Now, we can efficiently split arbitrary 75 size bios - because the new bio can share the old bio's biovec. 79 bio_chain() when splitting bios helps with this. 81 * Submitting partially completed bios is now perfectly fine - this comes up 89 audited to make sure they are - submitting partially completed bios is
|
D | biodoc.txt | 60 3. Using bios 66 3.2.4 Implications for drivers that do not interpret bios (don't handle 319 expect bios, a helper function could be provided for setting up a bio 459 - A linked list of bios is used as before for unrelated merges (*) - this 463 has multiple bios, each of which can have multiple segments. 470 (*) unrelated merges -- a request ends up containing two or more bios that 475 At a lower level, drivers build a scatter gather list from the merged bios. 484 Note: Right now the only user of bios with more than one page is ll_rw_kio, 488 bios, but that is currently not included in the stock development kernels. 560 except that since we have multi-segment bios, current_nr_sectors refers [all …]
|
D | writeback_cache_control.txt | 56 to be implemented for bios with the REQ_FLUSH bit set. For real device 58 on non-empty bios can simply be ignored, and REQ_FLUSH requests without
|
/linux-4.1.27/arch/x86/platform/geode/ |
D | net5501.c | 106 unsigned char *rombase, *bios; in net5501_present() local 115 bios = rombase + 0x20; /* null terminated */ in net5501_present() 117 if (memcmp(bios, "comBIOS", 7)) in net5501_present()
|
/linux-4.1.27/drivers/gpu/drm/gma500/ |
D | intel_bios.c | 532 u8 __iomem *bios = NULL; in psb_intel_init_bios() local 551 bios = pci_map_rom(pdev, &size); in psb_intel_init_bios() 552 if (!bios) in psb_intel_init_bios() 557 if (!memcmp(bios + i, "$VBT", 4)) { in psb_intel_init_bios() 558 vbt = (struct vbt_header *)(bios + i); in psb_intel_init_bios() 565 pci_unmap_rom(pdev, bios); in psb_intel_init_bios() 568 bdb = (struct bdb_header *)(bios + i + vbt->bdb_offset); in psb_intel_init_bios() 581 if (bios) in psb_intel_init_bios() 582 pci_unmap_rom(pdev, bios); in psb_intel_init_bios()
|
/linux-4.1.27/drivers/char/mwave/ |
D | README | 18 If the dsp irq has not been setup and stored in bios by the 23 If the dsp io range has not been setup and stored in bios by the 28 If the mwave's uart irq has not been setup and stored in bios by the 33 If the uart io range has not been setup and stored in bios by the
|
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/ |
D | disp.h | 173 struct nvkm_bios *bios = nvxx_bios(&drm->device); in nouveau_bios_run_init_table() local 175 .subdev = nv_subdev(bios), in nouveau_bios_run_init_table() 176 .bios = bios, in nouveau_bios_run_init_table()
|
D | hw.c | 169 struct nvkm_bios *bios = nvxx_bios(device); in nouveau_hw_get_pllvals() local 174 ret = nvbios_pll_parse(bios, plltype, &pll_lim); in nouveau_hw_get_pllvals() 257 struct nvkm_bios *bios = nvxx_bios(device); in nouveau_hw_fix_bad_vpll() local 262 if (nvbios_pll_parse(bios, pll, &pll_lim)) in nouveau_hw_fix_bad_vpll()
|
D | crtc.c | 115 struct nvkm_bios *bios = nvxx_bios(&drm->device); in nv_crtc_calc_state_ext() local 123 if (nvbios_pll_parse(bios, nv_crtc->index ? PLL_VPLL1 : PLL_VPLL0, in nv_crtc_calc_state_ext()
|
/linux-4.1.27/arch/x86/platform/ts5500/ |
D | ts5500.c | 100 void __iomem *bios; in ts5500_check_signature() local 103 bios = ioremap(0xf0000, 0x10000); in ts5500_check_signature() 104 if (!bios) in ts5500_check_signature() 108 if (check_signature(bios + ts5500_signatures[i].offset, in ts5500_check_signature() 116 iounmap(bios); in ts5500_check_signature()
|
/linux-4.1.27/include/linux/ |
D | dm-region-hash.h | 37 struct bio_list *bios), 75 void dm_rh_inc_pending(struct dm_region_hash *rh, struct bio_list *bios);
|
D | apm_bios.h | 36 struct apm_bios_info bios; member
|
/linux-4.1.27/arch/x86/realmode/rm/ |
D | reboot.S | 111 jz bios 123 bios: label
|
D | Makefile | 21 wakeup-objs += video-bios.o
|
/linux-4.1.27/drivers/video/fbdev/aty/ |
D | aty128fb.c | 500 static void aty128_get_pllinfo(struct aty128fb_par *par, void __iomem *bios); 517 #define BIOS_IN8(v) (readb(bios + (v))) 518 #define BIOS_IN16(v) (readb(bios + (v)) | \ 519 (readb(bios + (v) + 1) << 8)) 520 #define BIOS_IN32(v) (readb(bios + (v)) | \ 521 (readb(bios + (v) + 1) << 8) | \ 522 (readb(bios + (v) + 2) << 16) | \ 523 (readb(bios + (v) + 3) << 24)) 836 void __iomem *bios; in aty128_map_ROM() local 847 bios = pci_map_rom(dev, &rom_size); in aty128_map_ROM() [all …]
|
/linux-4.1.27/arch/cris/arch-v32/drivers/pci/ |
D | Makefile | 5 obj-$(CONFIG_ETRAX_CARDBUS) += bios.o dma.o
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
D | base.c | 172 struct nvkm_bios *bios = nvkm_bios(i2c); in nvkm_i2c_find() local 178 u16 i2c = dcb_i2c_table(bios, &ver, &hdr, &cnt, &len); in nvkm_i2c_find() 180 u8 auxidx = nv_ro08(bios, i2c + 4); in nvkm_i2c_find() 513 struct nvkm_bios *bios = nvkm_bios(parent); in nvkm_i2c_create_() local 538 while (!dcb_i2c_parse(bios, ++index, &info)) { in nvkm_i2c_create_() 572 while ((data = dcb_outp_parse(bios, ++i, &ver, &hdr, &outp))) { in nvkm_i2c_create_()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | gm107.c | 307 struct nvkm_bios *bios = nvkm_bios(priv); in gm107_gr_init_bios() local 313 while (nvbios_P0260Ep(bios, ++E, &ver, &hdr, &infoE)) { in gm107_gr_init_bios() 316 while (nvbios_P0260Xp(bios, ++X, &ver, &hdr, &infoX)) in gm107_gr_init_bios()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
D | intel_bios.c | 1259 u8 __iomem *bios = NULL; in intel_parse_bios() local 1275 bios = pci_map_rom(pdev, &size); in intel_parse_bios() 1276 if (!bios) in intel_parse_bios() 1281 if (memcmp(bios + i, "$VBT", 4) == 0) { in intel_parse_bios() 1282 bdb = validate_vbt(bios, size, in intel_parse_bios() 1283 (struct vbt_header *)(bios + i), in intel_parse_bios() 1290 pci_unmap_rom(pdev, bios); in intel_parse_bios() 1309 if (bios) in intel_parse_bios() 1310 pci_unmap_rom(pdev, bios); in intel_parse_bios()
|
/linux-4.1.27/Documentation/device-mapper/ |
D | dm-flakey.txt | 50 - replaces the 32nd byte of READ bios with the value 1 53 - replaces the 224th byte of REQ_META (=32) bios with the value 0
|
D | cache-policies.txt | 17 Because we map bios, rather than requests it's easy for the policy 18 to get fooled by many small bios. For this reason the core target 21 for each tick. The core ticks by watching bios complete, and so
|
D | dm-crypt.txt | 73 There are some situations where offloading write bios from the 75 significantly. The default is to offload write bios to the same
|
/linux-4.1.27/drivers/pci/pcie/aer/ |
D | Kconfig | 23 Used to override firmware/bios settings for PCI Express ECRC
|
/linux-4.1.27/drivers/i2c/busses/ |
D | i2c-i801.c | 859 static __init const void __iomem *bios_signature(const void __iomem *bios) in bios_signature() argument 865 if (check_signature(bios + offset, signature, in bios_signature() 867 return bios + offset; in bios_signature() 874 void __iomem *bios; in input_apanel_init() local 877 bios = ioremap(0xF0000, 0x10000); /* Can't fail */ in input_apanel_init() 878 p = bios_signature(bios); in input_apanel_init() 883 iounmap(bios); in input_apanel_init()
|
/linux-4.1.27/drivers/video/fbdev/matrox/ |
D | matroxfb_misc.c | 770 memset(&minfo->bios, 0, sizeof(minfo->bios)); in matroxfb_read_pins() 776 parse_bios(vaddr_va(minfo->video.vbase), &minfo->bios); in matroxfb_read_pins() 780 if (!minfo->bios.bios_valid) { in matroxfb_read_pins() 794 parse_bios(b, &minfo->bios); in matroxfb_read_pins() 800 matroxfb_set_limits(minfo, &minfo->bios); in matroxfb_read_pins()
|
D | matroxfb_base.h | 487 struct matrox_bios bios; member
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/ |
D | Kbuild | 2 include $(src)/nvkm/subdev/bios/Kbuild
|
/linux-4.1.27/drivers/scsi/aic94xx/ |
D | aic94xx_sds.c | 254 asd_ha->hw_prof.bios.present = 1; in asd_get_bios_chim() 255 asd_ha->hw_prof.bios.maj = bc_struct->bios_major; in asd_get_bios_chim() 256 asd_ha->hw_prof.bios.min = bc_struct->bios_minor; in asd_get_bios_chim() 257 asd_ha->hw_prof.bios.bld = le32_to_cpu(bc_struct->bios_build); in asd_get_bios_chim() 259 asd_ha->hw_prof.bios.maj, in asd_get_bios_chim() 260 asd_ha->hw_prof.bios.min, in asd_get_bios_chim() 261 asd_ha->hw_prof.bios.bld); in asd_get_bios_chim()
|
D | aic94xx_init.c | 296 return snprintf(buf, PAGE_SIZE, "%d\n", asd_ha->hw_prof.bios.bld); in asd_show_dev_bios_build() 812 asd_ha->hw_prof.bios.present ? "build " : "not present", in asd_pci_probe() 813 asd_ha->hw_prof.bios.bld); in asd_pci_probe()
|
D | aic94xx_hwi.h | 104 struct bios_struct bios; member
|
/linux-4.1.27/drivers/net/ethernet/amd/ |
D | lance.c | 481 void __iomem *bios; in lance_probe1() local 488 bios = ioremap(0xf00f0, 0x14); in lance_probe1() 489 if (!bios) in lance_probe1() 491 if (readw(bios + 0x12) == 0x5048) { in lance_probe1() 493 int hp_port = (readl(bios + 1) & 1) ? 0x499 : 0x99; in lance_probe1() 499 iounmap(bios); in lance_probe1()
|
/linux-4.1.27/block/ |
D | blk-throttle.c | 54 struct bio_list bios; /* queued bios */ member 309 bio_list_init(&qn->bios); in throtl_qnode_init() 326 bio_list_add(&qn->bios, bio); in throtl_qnode_add_bio() 345 bio = bio_list_peek(&qn->bios); in throtl_peek_queued() 373 bio = bio_list_pop(&qn->bios); in throtl_pop_queued() 376 if (bio_list_empty(&qn->bios)) { in throtl_pop_queued()
|
/linux-4.1.27/Documentation/misc-devices/mei/ |
D | mei-amt-version.c | 251 uint8_t bios[AMT_BIOS_VERSION_LEN]; member 321 sizeof(code_ver->bios) - in amt_verify_code_versions()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | fb.h | 111 struct nvbios_ramcfg bios; member
|
D | clk.h | 66 u8 bios; /* 0xff for none */ member
|
/linux-4.1.27/Documentation/dvb/ |
D | cards.txt | 25 …rlink mt312 or Mitel vp310 demodulator, sl1935 or tsa5059 PLLi, Technisat Sky2Pc with bios Rev. 2.3 28 Philips SU1278SH (tsa5059 PLL), Samsung TBMU24112IMB, Technisat Sky2Pc with bios Rev. 2.6
|
/linux-4.1.27/Documentation/x86/x86_64/ |
D | boot-options.txt | 54 Don't overwrite the bios-set CMCI threshold. This boot option 56 bios. Without this option, Linux always sets the CMCI 58 analysis less effective if the bios sets thresholds for memory 110 bios Use the CPU reboot vector for warm reset
|
/linux-4.1.27/arch/sh/configs/ |
D | shx3_defconfig | 54 CONFIG_CMDLINE="console=ttySC0,115200 earlyprintk=bios ignore_loglevel"
|
/linux-4.1.27/drivers/scsi/ |
D | in2000.c | 1922 int bios; in in2000_detect() local 1947 for (bios = 0; bios_tab[bios]; bios++) { in in2000_detect() 1953 bios = 2; in in2000_detect() 1960 else if (probe_bios(bios_tab[bios], &s1, &switches)) { in in2000_detect() 1961 printk("Found IN2000 BIOS at 0x%x ", (unsigned int) bios_tab[bios]); in in2000_detect()
|
D | a100u2w.c | 1090 unsigned long port, bios; in inia100_probe_one() local 1113 bios = inw(port + 0x50); in inia100_probe_one() 1123 host->BIOScfg = bios; in inia100_probe_one()
|
/linux-4.1.27/drivers/platform/x86/ |
D | thinkpad_acpi.c | 439 .bios = TPID(__id1, __id2), \ 445 .bios = TPID(__id1, __id2), \ 451 .bios = TPACPI_MATCH_ANY, \ 457 u16 bios; member 482 (qlist->bios == thinkpad_id.bios_model || in tpacpi_check_quirks() 483 qlist->bios == TPACPI_MATCH_ANY) && in tpacpi_check_quirks() 1659 .bios = TPID(__id1, __id2), \ 1667 .bios = TPID(__bid1, __bid2), \ 3276 .bios = TPACPI_MATCH_ANY, .ec = TPACPI_MATCH_ANY, in hotkey_init() 3281 .bios = TPACPI_MATCH_ANY, .ec = TPACPI_MATCH_ANY, in hotkey_init() [all …]
|
/linux-4.1.27/fs/btrfs/ |
D | scrub.c | 172 struct scrub_bio *bios[SCRUB_BIOS_PER_SCTX]; member 424 struct scrub_bio *sbio = sctx->bios[sctx->curr]; in scrub_free_ctx() 434 struct scrub_bio *sbio = sctx->bios[i]; in scrub_free_ctx() 486 sctx->bios[i] = sbio; in scrub_setup_ctx() 495 sctx->bios[i]->next_free = i + 1; in scrub_setup_ctx() 497 sctx->bios[i]->next_free = -1; in scrub_setup_ctx() 2087 sbio = sctx->bios[sctx->curr]; in scrub_submit() 2122 sctx->first_free = sctx->bios[sctx->curr]->next_free; in scrub_add_page_to_rd_bio() 2123 sctx->bios[sctx->curr]->next_free = -1; in scrub_add_page_to_rd_bio() 2124 sctx->bios[sctx->curr]->page_count = 0; in scrub_add_page_to_rd_bio() [all …]
|
/linux-4.1.27/Documentation/sound/alsa/ |
D | HD-Audio-Models.txt | 243 dell-bios Fixes with Dell BIOS setup 244 dell-bios-amic Fixes with Dell BIOS setup including analog mic
|
/linux-4.1.27/Documentation/power/ |
D | video.txt | 67 POSTing bios works. Ole Rohne has patch to do just that at 77 bios, you'll get a hard crash during resume. Be careful. Also it is
|
D | swsusp.txt | 172 shutdown: save state in linux, then tell bios to powerdown 174 platform: save state in linux, then tell bios to powerdown and blink
|
/linux-4.1.27/arch/x86/boot/ |
D | Makefile | 37 setup-y += video-bios.o
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_init.c | 1212 u32 ver, bios, min_size; in qlcnic_validate_firmware() local 1244 qlcnic_rom_fast_read(adapter, QLCNIC_BIOS_VERSION_OFFSET, (int *)&bios); in qlcnic_validate_firmware() 1245 if (val != bios) { in qlcnic_validate_firmware()
|
/linux-4.1.27/Documentation/cgroups/ |
D | blkio-controller.txt | 240 - Total number of bios/requests merged into requests belonging to this 339 of bios as seen by throttling policy. These bios can later be
|
/linux-4.1.27/drivers/block/drbd/ |
D | drbd_receiver.c | 1370 struct bio *bios = NULL; in drbd_submit_peer_request() local 1424 bio->bi_next = bios; in drbd_submit_peer_request() 1425 bios = bio; in drbd_submit_peer_request() 1462 bio = bios; in drbd_submit_peer_request() 1463 bios = bios->bi_next; in drbd_submit_peer_request() 1467 } while (bios); in drbd_submit_peer_request() 1471 while (bios) { in drbd_submit_peer_request() 1472 bio = bios; in drbd_submit_peer_request() 1473 bios = bios->bi_next; in drbd_submit_peer_request()
|
/linux-4.1.27/Documentation/scsi/ |
D | 53c700.txt | 39 the SCSI Id from the card bios or whether the chip is wired for
|
D | ChangeLog.1992-1997 | 708 address lines for the bios chips, but I am not entirely sure. 866 jshiffle@netcom.com. Support new bios versions. 1486 * fdomain.c: Update to version 5.15 from 5.9. Handles 3.4 bios. 1499 Add a few more bios signatures. (Patches from Juergen). 1567 * aha1542.c: Support 1542CF/extended bios. Different from 1542C 1569 * wd7000.c: Allow bios at 0xd8000 as well. 1573 * fdomain.c: Update to version 5.9 (add new bios signature). 1957 * wd7000.c: Check at more addresses for bios. Fix bug in biosparam
|
D | ChangeLog.ncr53c8xx | 125 - Get rid of the old PCI bios interface, but preserve kernel 2.0
|
/linux-4.1.27/security/ |
D | Kconfig | 38 the TPM bios character driver and IMA, an integrity provider. It is
|
/linux-4.1.27/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_init.c | 1092 u32 file_fw_ver, min_ver, bios; in netxen_validate_firmware() local 1128 netxen_rom_fast_read(adapter, NX_BIOS_VERSION_OFFSET, (int *)&bios); in netxen_validate_firmware() 1129 if ((__force u32)val != bios) { in netxen_validate_firmware()
|
/linux-4.1.27/drivers/acpi/ |
D | video.c | 181 u8 bios:1; member 1153 data->flags.bios = 1; in acpi_video_bus_get_one_device()
|
/linux-4.1.27/drivers/mtd/ |
D | Kconfig | 269 http://www.gensw.com/pages/prod/bios/rfd.htm
|
/linux-4.1.27/Documentation/hwmon/ |
D | abituguru-datasheet | 311 immediately enter the bios and reload the defaults). This probably means that
|
/linux-4.1.27/Documentation/fb/ |
D | matroxfb.txt | 142 bios - preserve state of BIOS ROM. It is default. Driver does not enable
|
/linux-4.1.27/Documentation/ioctl/ |
D | hdio.txt | 117 are the "bios" values -- presumably the values the drive had
|
/linux-4.1.27/drivers/scsi/aic7xxx/ |
D | aic7xxx.reg | 1393 * whether the bios has been installed.
|