Searched refs:bmp_offset (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
H A D | bmp.h | 7 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()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | base.c | 173 bios->bmp_offset = nvbios_findstr(bios->data, bios->size, in nvkm_bios_new() 175 if (bios->bmp_offset) { in nvkm_bios_new() 195 bios->version.major = nvbios_rd08(bios, bios->bmp_offset + 13); in nvkm_bios_new() 196 bios->version.chip = nvbios_rd08(bios, bios->bmp_offset + 12); in nvkm_bios_new() 197 bios->version.minor = nvbios_rd08(bios, bios->bmp_offset + 11); in nvkm_bios_new() 198 bios->version.micro = nvbios_rd08(bios, bios->bmp_offset + 10); in nvkm_bios_new()
|
H A D | i2c.c | 136 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()
|
H A D | perf.c | 60 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()
|
H A D | pll.c | 101 data = nvbios_rd16(bios, bios->bmp_offset + 142); in pll_limits_table() 406 info->vco1.max_freq = nvbios_rd32(bios, bios->bmp_offset + 67); in nvbios_pll_parse() 407 info->vco1.min_freq = nvbios_rd32(bios, bios->bmp_offset + 71); in nvbios_pll_parse()
|
H A D | init.c | 370 return bios->bmp_offset + 75; in init_table() 418 data = bios->bmp_offset + (bmp_ver < 0x0200 ? 14 : 18); in init_script()
|
/openbmc/linux/drivers/vfio/pci/pds/ |
H A D | dirty.c | 421 u32 bmp_offset, u32 len_bytes) in pds_vfio_dirty_process_bitmaps() argument 430 seq = (__le64 *)((u64)pds_vfio->dirty.host_seq.bmp + bmp_offset); in pds_vfio_dirty_process_bitmaps() 431 ack = (__le64 *)((u64)pds_vfio->dirty.host_ack.bmp + bmp_offset); in pds_vfio_dirty_process_bitmaps() 432 bmp_offset_bit = bmp_offset * 8; in pds_vfio_dirty_process_bitmaps() 460 u64 bmp_offset, bmp_bytes; in pds_vfio_dirty_sync() local 498 bmp_offset = DIV_ROUND_UP((iova - dirty->region_start) / in pds_vfio_dirty_sync() 503 iova, length, bmp_offset, bmp_bytes); in pds_vfio_dirty_sync() 505 err = pds_vfio_dirty_read_seq(pds_vfio, bmp_offset, bmp_bytes); in pds_vfio_dirty_sync() 509 err = pds_vfio_dirty_process_bitmaps(pds_vfio, dirty_bitmap, bmp_offset, in pds_vfio_dirty_sync() 514 err = pds_vfio_dirty_write_ack(pds_vfio, bmp_offset, bmp_bytes); in pds_vfio_dirty_sync()
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | bios.h | 14 u32 bmp_offset; member
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bios.c | 2037 if (bios->bmp_offset) { in NVInitVBIOS() 2039 legacy->offset = bios->bmp_offset; in NVInitVBIOS()
|