/drivers/gpu/drm/amd/display/dc/calcs/ |
D | dce_calcs.c | 79 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 …]
|
D | calcs_logger.h | 124 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/ |
D | matroxfb_misc.c | 427 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/ |
D | nouveau_bios.c | 110 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 …]
|
D | nouveau_debugfs.c | 44 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()
|
D | nouveau_connector.c | 676 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()
|
D | nouveau_bios.h | 38 ROM16(x) ? &drm->vbios.data[ROM16(x)] : NULL; \
|
D | nouveau_drv.h | 202 struct nvbios vbios; member
|
D | nouveau_display.c | 709 if (nouveau_modeset != 2 && drm->vbios.dcb.entries) { in nouveau_display_create()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_bios.c | 385 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/ |
D | dac.c | 251 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()
|
D | tvnv17.c | 58 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()
|
D | disp.c | 218 struct dcb_table *dcb = &drm->vbios.dcb; in nv04_display_create()
|
D | dfp.c | 305 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/ |
D | nv04.c | 173 &imem->base.vbios); in nv04_instmem_oneinit() 204 nvkm_memory_unref(&imem->base.vbios); in nv04_instmem_dtor()
|
D | nv40.c | 185 &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/ |
D | instmem.h | 21 struct nvkm_memory *vbios; member
|
/drivers/gpu/drm/radeon/ |
D | radeon_bios.c | 630 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/ |
D | dce_calcs.h | 483 const struct bw_calcs_vbios *vbios,
|
/drivers/gpu/drm/nouveau/dispnv50/ |
D | disp.c | 576 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()
|