18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * sisfb.h - definitions for the SiS framebuffer driver 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (C) 2001-2005 by Thomas Winischhofer, Vienna, Austria. 68c2ecf20Sopenharmony_ci */ 78c2ecf20Sopenharmony_ci#ifndef _LINUX_SISFB_H_ 88c2ecf20Sopenharmony_ci#define _LINUX_SISFB_H_ 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#include <linux/pci.h> 128c2ecf20Sopenharmony_ci#include <uapi/video/sisfb.h> 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci#define UNKNOWN_VGA 0 158c2ecf20Sopenharmony_ci#define SIS_300_VGA 1 168c2ecf20Sopenharmony_ci#define SIS_315_VGA 2 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci#define SISFB_HAVE_MALLOC_NEW 198c2ecf20Sopenharmony_ciextern void sis_malloc(struct sis_memreq *req); 208c2ecf20Sopenharmony_ciextern void sis_malloc_new(struct pci_dev *pdev, struct sis_memreq *req); 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ciextern void sis_free(u32 base); 238c2ecf20Sopenharmony_ciextern void sis_free_new(struct pci_dev *pdev, u32 base); 248c2ecf20Sopenharmony_ci#endif 25