linux/drivers/staging/sm750fb/ddk750_chip.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef DDK750_CHIP_H__
#define DDK750_CHIP_H__
#define DEFAULT_INPUT_CLOCK
#ifndef SM750LE_REVISION_ID
#define SM750LE_REVISION_ID
#endif

#include <linux/io.h>
#include <linux/ioport.h>
#include <linux/uaccess.h>

extern void __iomem *mmio750;

/* software control endianness */
static inline u32 peek32(u32 addr)
{}

static inline void poke32(u32 addr, u32 data)
{}

/* This is all the chips recognized by this library */
enum logical_chip_type {};

enum clock_type {};

struct pll_value {};

/* input struct to initChipParam() function */
struct initchip_param {};

enum logical_chip_type sm750_get_chip_type(void);
void sm750_set_chip_type(unsigned short dev_id, u8 rev_id);
unsigned int sm750_calc_pll_value(unsigned int request, struct  pll_value *pll);
unsigned int sm750_format_pll_reg(struct pll_value *p_PLL);
unsigned int ddk750_get_vm_size(void);
int ddk750_init_hw(struct initchip_param *pinit_param);

#endif