linux/drivers/video/fbdev/aty/mach64_gx.c

// SPDX-License-Identifier: GPL-2.0

/*
 *  ATI Mach64 GX Support
 */

#include <linux/delay.h>
#include <linux/fb.h>

#include <asm/io.h>

#include <video/mach64.h>
#include "atyfb.h"

/* Definitions for the ICS 2595 == ATI 18818_1 Clockchip */

#define REF_FREQ_2595
#define REF_DIV_2595
				  /* ohne Prescaler */
#define MAX_FREQ_2595
#define MIN_FREQ_2595
				  /* mit Prescaler 2, 4, 8 */
#define ABS_MIN_FREQ_2595
#define N_ADJ_2595

#define STOP_BITS_2595


#define MIN_N_408

#define MIN_N_1703

#define MIN_M
#define MAX_M
#define MIN_N
#define MAX_N


    /*
     *  Support Functions
     */

static void aty_dac_waste4(const struct atyfb_par *par)
{}

static void aty_StrobeClock(const struct atyfb_par *par)
{}


    /*
     *  IBM RGB514 DAC and Clock Chip
     */

static void aty_st_514(int offset, u8 val, const struct atyfb_par *par)
{}

static int aty_set_dac_514(const struct fb_info *info,
			   const union aty_pll *pll, u32 bpp, u32 accel)
{}

static int aty_var_to_pll_514(const struct fb_info *info, u32 vclk_per,
			      u32 bpp, union aty_pll *pll)
{}

static u32 aty_pll_514_to_var(const struct fb_info *info,
			      const union aty_pll *pll)
{}

static void aty_set_pll_514(const struct fb_info *info,
			    const union aty_pll *pll)
{}

const struct aty_dac_ops aty_dac_ibm514 =;

const struct aty_pll_ops aty_pll_ibm514 =;


    /*
     *  ATI 68860-B DAC
     */

static int aty_set_dac_ATI68860_B(const struct fb_info *info,
				  const union aty_pll *pll, u32 bpp,
				  u32 accel)
{}

const struct aty_dac_ops aty_dac_ati68860b =;


    /*
     *  AT&T 21C498 DAC
     */

static int aty_set_dac_ATT21C498(const struct fb_info *info,
				 const union aty_pll *pll, u32 bpp,
				 u32 accel)
{}

const struct aty_dac_ops aty_dac_att21c498 =;


    /*
     *  ATI 18818 / ICS 2595 Clock Chip
     */

static int aty_var_to_pll_18818(const struct fb_info *info, u32 vclk_per,
				u32 bpp, union aty_pll *pll)
{}

static u32 aty_pll_18818_to_var(const struct fb_info *info,
				const union aty_pll *pll)
{}

static void aty_ICS2595_put1bit(u8 data, const struct atyfb_par *par)
{}

static void aty_set_pll18818(const struct fb_info *info,
			     const union aty_pll *pll)
{}

const struct aty_pll_ops aty_pll_ati18818_1 =;


    /*
     *  STG 1703 Clock Chip
     */

static int aty_var_to_pll_1703(const struct fb_info *info, u32 vclk_per,
			       u32 bpp, union aty_pll *pll)
{}

static u32 aty_pll_1703_to_var(const struct fb_info *info,
			       const union aty_pll *pll)
{}

static void aty_set_pll_1703(const struct fb_info *info,
			     const union aty_pll *pll)
{}

const struct aty_pll_ops aty_pll_stg1703 =;


    /*
     *  Chrontel 8398 Clock Chip
     */

static int aty_var_to_pll_8398(const struct fb_info *info, u32 vclk_per,
			       u32 bpp, union aty_pll *pll)
{}

static u32 aty_pll_8398_to_var(const struct fb_info *info,
			       const union aty_pll *pll)
{}

static void aty_set_pll_8398(const struct fb_info *info,
			     const union aty_pll *pll)
{}

const struct aty_pll_ops aty_pll_ch8398 =;


    /*
     *  AT&T 20C408 Clock Chip
     */

static int aty_var_to_pll_408(const struct fb_info *info, u32 vclk_per,
			      u32 bpp, union aty_pll *pll)
{}

static u32 aty_pll_408_to_var(const struct fb_info *info,
			      const union aty_pll *pll)
{}

static void aty_set_pll_408(const struct fb_info *info,
			    const union aty_pll *pll)
{}

const struct aty_pll_ops aty_pll_att20c408 =;


    /*
     *  Unsupported DAC and Clock Chip
     */

static int aty_set_dac_unsupported(const struct fb_info *info,
				   const union aty_pll *pll, u32 bpp,
				   u32 accel)
{}

static int dummy(void)
{}

const struct aty_dac_ops aty_dac_unsupported =;

const struct aty_pll_ops aty_pll_unsupported =;