Home
last modified time | relevance | path

Searched refs:bmp_offset (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
Dbmp.h7 if (bios->bmp_offset) { in bmp_version()
8 return nvbios_rd08(bios, bios->bmp_offset + 5) << 8 | in bmp_version()
9 nvbios_rd08(bios, bios->bmp_offset + 6); in bmp_version()
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()
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dbase.c172 bios->bmp_offset = nvbios_findstr(bios->data, bios->size, in nvkm_bios_new()
174 if (bios->bmp_offset) { in nvkm_bios_new()
194 bios->version.major = nvbios_rd08(bios, bios->bmp_offset + 13); in nvkm_bios_new()
195 bios->version.chip = nvbios_rd08(bios, bios->bmp_offset + 12); in nvkm_bios_new()
196 bios->version.minor = nvbios_rd08(bios, bios->bmp_offset + 11); in nvkm_bios_new()
197 bios->version.micro = nvbios_rd08(bios, bios->bmp_offset + 10); in nvkm_bios_new()
Di2c.c136 if (bios->bmp_offset && idx < 2) { in dcb_i2c_parse()
140 if (nvbios_rd08(bios, bios->bmp_offset + 5) < 4) in dcb_i2c_parse()
143 ent = 0x0036 + bios->bmp_offset; in dcb_i2c_parse()
Dperf.c60 if (bios->bmp_offset) { in nvbios_perf_table()
61 if (nvbios_rd08(bios, bios->bmp_offset + 6) >= 0x25) { in nvbios_perf_table()
62 perf = nvbios_rd16(bios, bios->bmp_offset + 0x94); in nvbios_perf_table()
Dpll.c101 data = nvbios_rd16(bios, bios->bmp_offset + 142); in pll_limits_table()
407 info->vco1.max_freq = nvbios_rd32(bios, bios->bmp_offset + 67); in nvbios_pll_parse()
408 info->vco1.min_freq = nvbios_rd32(bios, bios->bmp_offset + 71); in nvbios_pll_parse()
Dinit.c370 return bios->bmp_offset + 75; in init_table()
418 data = bios->bmp_offset + (bmp_ver < 0x0200 ? 14 : 18); in init_script()
/Linux-v5.4/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dbios.h14 u32 bmp_offset; member
/Linux-v5.4/drivers/media/platform/davinci/
Dvpbe_osd.c204 int bmp_offset; in _osd_set_palette_map() local
225 bmp_offset = OSD_W0BMP01 + (bmp_reg >> 1) * sizeof(u32); in _osd_set_palette_map()
228 bmp_offset = OSD_W1BMP01 + (bmp_reg >> 1) * sizeof(u32); in _osd_set_palette_map()
242 osd_modify(sd, bmp_mask, clut_index << bmp_shift, bmp_offset); in _osd_set_palette_map()
/Linux-v5.4/drivers/gpu/drm/nouveau/
Dnouveau_bios.c2031 if (bios->bmp_offset) { in NVInitVBIOS()
2033 legacy->offset = bios->bmp_offset; in NVInitVBIOS()