Home
last modified time | relevance | path

Searched refs:vbios (Results 1 – 20 of 20) sorted by relevance

/drivers/gpu/drm/amd/display/dc/calcs/
Ddce_calcs.c79 const struct bw_calcs_vbios *vbios, in calculate_bandwidth() argument
141 yclk[low] = vbios->low_yclk; in calculate_bandwidth()
142 yclk[mid] = vbios->mid_yclk; in calculate_bandwidth()
143 yclk[high] = vbios->high_yclk; in calculate_bandwidth()
144 sclk[s_low] = vbios->low_sclk; in calculate_bandwidth()
145 sclk[s_mid1] = vbios->mid1_sclk; in calculate_bandwidth()
146 sclk[s_mid2] = vbios->mid2_sclk; in calculate_bandwidth()
147 sclk[s_mid3] = vbios->mid3_sclk; in calculate_bandwidth()
148 sclk[s_mid4] = vbios->mid4_sclk; in calculate_bandwidth()
149 sclk[s_mid5] = vbios->mid5_sclk; in calculate_bandwidth()
[all …]
Dcalcs_logger.h124 static void print_bw_calcs_vbios(struct dc_context *ctx, const struct bw_calcs_vbios *vbios) in print_bw_calcs_vbios() argument
130 DC_LOG_BANDWIDTH_CALCS(" [enum] bw_defines memory_type: %d", vbios->memory_type); in print_bw_calcs_vbios()
131 DC_LOG_BANDWIDTH_CALCS(" [enum] bw_defines memory_type: %d", vbios->memory_type); in print_bw_calcs_vbios()
132 …DC_LOG_BANDWIDTH_CALCS(" [uint32_t] dram_channel_width_in_bits: %d", vbios->dram_channel_width_in_… in print_bw_calcs_vbios()
133 DC_LOG_BANDWIDTH_CALCS(" [uint32_t] number_of_dram_channels: %d", vbios->number_of_dram_channels); in print_bw_calcs_vbios()
134 DC_LOG_BANDWIDTH_CALCS(" [uint32_t] number_of_dram_banks: %d", vbios->number_of_dram_banks); in print_bw_calcs_vbios()
135 DC_LOG_BANDWIDTH_CALCS(" [bw_fixed] low_yclk: %d", bw_fixed_to_int(vbios->low_yclk)); in print_bw_calcs_vbios()
136 DC_LOG_BANDWIDTH_CALCS(" [bw_fixed] mid_yclk: %d", bw_fixed_to_int(vbios->mid_yclk)); in print_bw_calcs_vbios()
137 DC_LOG_BANDWIDTH_CALCS(" [bw_fixed] high_yclk: %d", bw_fixed_to_int(vbios->high_yclk)); in print_bw_calcs_vbios()
138 DC_LOG_BANDWIDTH_CALCS(" [bw_fixed] low_sclk: %d", bw_fixed_to_int(vbios->low_sclk)); in print_bw_calcs_vbios()
[all …]
/drivers/video/fbdev/matrox/
Dmatroxfb_misc.c427 static void get_bios_version(unsigned char __iomem * vbios, struct matrox_bios* bd) { in get_bios_version() argument
430 pcir_offset = readb(vbios + 24) | (readb(vbios + 25) << 8); in get_bios_version()
432 readb(vbios + pcir_offset ) == 'P' && in get_bios_version()
433 readb(vbios + pcir_offset + 1) == 'C' && in get_bios_version()
434 readb(vbios + pcir_offset + 2) == 'I' && in get_bios_version()
435 readb(vbios + pcir_offset + 3) == 'R') { in get_bios_version()
438 h = readb(vbios + pcir_offset + 0x12); in get_bios_version()
441 bd->version.vRev = readb(vbios + pcir_offset + 0x13); in get_bios_version()
445 h = readb(vbios + 5); in get_bios_version()
452 static void get_bios_output(unsigned char __iomem* vbios, struct matrox_bios* bd) { in get_bios_output() argument
[all …]
/drivers/gpu/drm/nouveau/
Dnouveau_bios.c110 struct nvbios *bios = &drm->vbios; in call_lvds_manufacturer_script()
150 struct nvbios *bios = &drm->vbios; in run_lvds_table()
220 struct nvbios *bios = &drm->vbios; in call_lvds_script()
453 struct nvbios *bios = &drm->vbios; in nouveau_bios_fp_mode()
524 struct nvbios *bios = &drm->vbios; in nouveau_bios_parse_lvds_table()
640 struct nvbios *bios = &drm->vbios; in run_tmds_table()
976 struct nvbios *bios = &drm->vbios; in bit_table()
1257 dcb = ROMPTR(dev, drm->vbios.data[0x36]); in olddcb_table()
1652 struct dcb_table *dcb = &drm->vbios.dcb; in apply_dcb_encoder_quirks()
1790 struct dcb_table *dcb = &drm->vbios.dcb; in parse_dcb_entry()
[all …]
Dnouveau_debugfs.c44 for (i = 0; i < drm->vbios.length; i++) in nouveau_debugfs_vbios_image()
45 seq_printf(m, "%c", drm->vbios.data[i]); in nouveau_debugfs_vbios_image()
251 d_inode(dentry)->i_size = drm->vbios.length; in nouveau_drm_debugfs_init()
Dnouveau_connector.c676 if (!drm->vbios.fp_no_ddc) { in nouveau_connector_detect_lvds()
705 if (nouveau_bios_fp_mode(dev, NULL) && (drm->vbios.fp_no_ddc || in nouveau_connector_detect_lvds()
714 if (!drm->vbios.fp_no_ddc) { in nouveau_connector_detect_lvds()
862 struct nvbios *bios = &drm->vbios; in nouveau_connector_detect_depth()
959 drm->vbios.fp_no_ddc) && nouveau_bios_fp_mode(dev, NULL)) { in nouveau_connector_get_modes()
1315 struct dcb_table *dcbt = &drm->vbios.dcb; in nouveau_connector_create()
Dnouveau_bios.h38 ROM16(x) ? &drm->vbios.data[ROM16(x)] : NULL; \
Dnouveau_drv.h202 struct nvbios vbios; member
Dnouveau_display.c709 if (nouveau_modeset != 2 && drm->vbios.dcb.entries) { in nouveau_display_create()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_bios.c385 GOP_VBIOS_CONTENT *vbios = (GOP_VBIOS_CONTENT *)((char *)hdr + offset); in amdgpu_acpi_vfct_bios() local
386 VFCT_IMAGE_HEADER *vhdr = &vbios->VbiosHeader; in amdgpu_acpi_vfct_bios()
406 adev->bios = kmemdup(&vbios->VbiosContent, in amdgpu_acpi_vfct_bios()
/drivers/gpu/drm/nouveau/dispnv04/
Ddac.c251 if (drm->vbios.tvdactestval) in nv17_dac_sample_load()
252 testval = drm->vbios.tvdactestval; in nv17_dac_sample_load()
256 if (drm->vbios.dactestval) in nv17_dac_sample_load()
257 testval = drm->vbios.dactestval; in nv17_dac_sample_load()
Dtvnv17.c58 if (drm->vbios.tvdactestval) in nv42_tv_sample_load()
59 testval = drm->vbios.tvdactestval; in nv42_tv_sample_load()
426 drm->vbios.fp.dual_link); in nv17_tv_prepare()
Ddisp.c218 struct dcb_table *dcb = &drm->vbios.dcb; in nv04_display_create()
Ddfp.c305 drm->vbios.digital_min_front_porch) in nv04_dfp_mode_set()
308 regp->fp_horiz_regs[FP_CRTC] = output_mode->hsync_start - drm->vbios.digital_min_front_porch - 1; in nv04_dfp_mode_set()
/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dnv04.c173 &imem->base.vbios); in nv04_instmem_oneinit()
204 nvkm_memory_unref(&imem->base.vbios); in nv04_instmem_dtor()
Dnv40.c185 &imem->base.vbios); in nv40_instmem_oneinit()
220 nvkm_memory_unref(&imem->base.vbios); in nv40_instmem_dtor()
/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dinstmem.h21 struct nvkm_memory *vbios; member
/drivers/gpu/drm/radeon/
Dradeon_bios.c630 GOP_VBIOS_CONTENT *vbios = (GOP_VBIOS_CONTENT *)((char *)hdr + offset); in radeon_acpi_vfct_bios() local
631 VFCT_IMAGE_HEADER *vhdr = &vbios->VbiosHeader; in radeon_acpi_vfct_bios()
651 rdev->bios = kmemdup(&vbios->VbiosContent, in radeon_acpi_vfct_bios()
/drivers/gpu/drm/amd/display/dc/inc/
Ddce_calcs.h483 const struct bw_calcs_vbios *vbios,
/drivers/gpu/drm/nouveau/dispnv50/
Ddisp.c576 args.load.data = nouveau_drm(encoder->dev)->vbios.dactestval; in nv50_dac_detect()
1754 struct nvbios *bios = &drm->vbios; in nv50_sor_atomic_enable()
2712 struct dcb_table *dcb = &drm->vbios.dcb; in nv50_display_create()