const_ptr 244 drivers/gpu/drm/radeon/radeon_legacy_tv.c const struct radeon_tv_mode_constants *const_ptr; const_ptr 260 drivers/gpu/drm/radeon/radeon_legacy_tv.c const_ptr = &available_tv_modes[0]; const_ptr 262 drivers/gpu/drm/radeon/radeon_legacy_tv.c const_ptr = &available_tv_modes[2]; const_ptr 265 drivers/gpu/drm/radeon/radeon_legacy_tv.c const_ptr = &available_tv_modes[1]; const_ptr 267 drivers/gpu/drm/radeon/radeon_legacy_tv.c const_ptr = &available_tv_modes[3]; const_ptr 269 drivers/gpu/drm/radeon/radeon_legacy_tv.c return const_ptr; const_ptr 433 drivers/gpu/drm/radeon/radeon_legacy_tv.c const struct radeon_tv_mode_constants *const_ptr; const_ptr 435 drivers/gpu/drm/radeon/radeon_legacy_tv.c const_ptr = radeon_legacy_tv_get_std_mode(radeon_encoder, NULL); const_ptr 436 drivers/gpu/drm/radeon/radeon_legacy_tv.c if (!const_ptr) const_ptr 439 drivers/gpu/drm/radeon/radeon_legacy_tv.c h_total = const_ptr->hor_total; const_ptr 440 drivers/gpu/drm/radeon/radeon_legacy_tv.c v_total = const_ptr->ver_total; const_ptr 474 drivers/gpu/drm/radeon/radeon_legacy_tv.c h_offset = (h_offset * (int)(const_ptr->pix_to_tv)) / 1000; const_ptr 477 drivers/gpu/drm/radeon/radeon_legacy_tv.c restart = const_ptr->def_restart; const_ptr 493 drivers/gpu/drm/radeon/radeon_legacy_tv.c const_ptr->def_restart, tv_dac->h_pos, tv_dac->v_pos, p1, p2, restart); const_ptr 510 drivers/gpu/drm/radeon/radeon_legacy_tv.c h_inc = (u16)((int)(const_ptr->hor_resolution * 4096 * NTSC_TV_CLOCK_T) / const_ptr 513 drivers/gpu/drm/radeon/radeon_legacy_tv.c h_inc = (u16)((int)(const_ptr->hor_resolution * 4096 * PAL_TV_CLOCK_T) / const_ptr 532 drivers/gpu/drm/radeon/radeon_legacy_tv.c const struct radeon_tv_mode_constants *const_ptr; const_ptr 546 drivers/gpu/drm/radeon/radeon_legacy_tv.c const_ptr = radeon_legacy_tv_get_std_mode(radeon_encoder, &pll_ref_freq); const_ptr 547 drivers/gpu/drm/radeon/radeon_legacy_tv.c if (!const_ptr) const_ptr 609 drivers/gpu/drm/radeon/radeon_legacy_tv.c vert_space = const_ptr->ver_total * 2 * 10000 / NTSC_TV_LINES_PER_FRAME; const_ptr 611 drivers/gpu/drm/radeon/radeon_legacy_tv.c vert_space = const_ptr->ver_total * 2 * 10000 / PAL_TV_LINES_PER_FRAME; const_ptr 621 drivers/gpu/drm/radeon/radeon_legacy_tv.c if (const_ptr->hor_resolution == 1024) const_ptr 627 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp = const_ptr->ver_total * 2 * 1000; const_ptr 782 drivers/gpu/drm/radeon/radeon_legacy_tv.c WREG32(RADEON_TV_HTOTAL, const_ptr->hor_total - 1); const_ptr 783 drivers/gpu/drm/radeon/radeon_legacy_tv.c WREG32(RADEON_TV_HDISP, const_ptr->hor_resolution - 1); const_ptr 784 drivers/gpu/drm/radeon/radeon_legacy_tv.c WREG32(RADEON_TV_HSTART, const_ptr->hor_start); const_ptr 786 drivers/gpu/drm/radeon/radeon_legacy_tv.c WREG32(RADEON_TV_VTOTAL, const_ptr->ver_total - 1); const_ptr 787 drivers/gpu/drm/radeon/radeon_legacy_tv.c WREG32(RADEON_TV_VDISP, const_ptr->ver_resolution - 1); const_ptr 835 drivers/gpu/drm/radeon/radeon_legacy_tv.c const struct radeon_tv_mode_constants *const_ptr; const_ptr 838 drivers/gpu/drm/radeon/radeon_legacy_tv.c const_ptr = radeon_legacy_tv_get_std_mode(radeon_encoder, NULL); const_ptr 839 drivers/gpu/drm/radeon/radeon_legacy_tv.c if (!const_ptr) const_ptr 842 drivers/gpu/drm/radeon/radeon_legacy_tv.c *h_total_disp = (((const_ptr->hor_resolution / 8) - 1) << RADEON_CRTC_H_DISP_SHIFT) | const_ptr 843 drivers/gpu/drm/radeon/radeon_legacy_tv.c (((const_ptr->hor_total / 8) - 1) << RADEON_CRTC_H_TOTAL_SHIFT); const_ptr 847 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp |= (((const_ptr->hor_syncstart / 8) - 1) << RADEON_CRTC_H_SYNC_STRT_CHAR_SHIFT) | const_ptr 848 drivers/gpu/drm/radeon/radeon_legacy_tv.c (const_ptr->hor_syncstart & 7); const_ptr 851 drivers/gpu/drm/radeon/radeon_legacy_tv.c *v_total_disp = ((const_ptr->ver_resolution - 1) << RADEON_CRTC_V_DISP_SHIFT) | const_ptr 852 drivers/gpu/drm/radeon/radeon_legacy_tv.c ((const_ptr->ver_total - 1) << RADEON_CRTC_V_TOTAL_SHIFT); const_ptr 856 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp |= ((const_ptr->ver_syncstart - 1) << RADEON_CRTC_V_SYNC_STRT_SHIFT); const_ptr 882 drivers/gpu/drm/radeon/radeon_legacy_tv.c const struct radeon_tv_mode_constants *const_ptr; const_ptr 884 drivers/gpu/drm/radeon/radeon_legacy_tv.c const_ptr = radeon_legacy_tv_get_std_mode(radeon_encoder, NULL); const_ptr 885 drivers/gpu/drm/radeon/radeon_legacy_tv.c if (!const_ptr) const_ptr 888 drivers/gpu/drm/radeon/radeon_legacy_tv.c *htotal_cntl = (const_ptr->hor_total & 0x7) | RADEON_HTOT_CNTL_VGA_EN; const_ptr 890 drivers/gpu/drm/radeon/radeon_legacy_tv.c *ppll_ref_div = const_ptr->crtcPLL_M; const_ptr 892 drivers/gpu/drm/radeon/radeon_legacy_tv.c *ppll_div_3 = (const_ptr->crtcPLL_N & 0x7ff) | (get_post_div(const_ptr->crtcPLL_post_div) << 16); const_ptr 902 drivers/gpu/drm/radeon/radeon_legacy_tv.c const struct radeon_tv_mode_constants *const_ptr; const_ptr 904 drivers/gpu/drm/radeon/radeon_legacy_tv.c const_ptr = radeon_legacy_tv_get_std_mode(radeon_encoder, NULL); const_ptr 905 drivers/gpu/drm/radeon/radeon_legacy_tv.c if (!const_ptr) const_ptr 908 drivers/gpu/drm/radeon/radeon_legacy_tv.c *htotal2_cntl = (const_ptr->hor_total & 0x7); const_ptr 910 drivers/gpu/drm/radeon/radeon_legacy_tv.c *p2pll_ref_div = const_ptr->crtcPLL_M; const_ptr 912 drivers/gpu/drm/radeon/radeon_legacy_tv.c *p2pll_div_0 = (const_ptr->crtcPLL_N & 0x7ff) | (get_post_div(const_ptr->crtcPLL_post_div) << 16);