/* * hecubafb.h - definitions for the hecuba framebuffer driver * * Copyright (C) 2008 by Jaya Kumar * * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive for * more details. * */ #ifndef _LINUX_HECUBAFB_H_ #define _LINUX_HECUBAFB_H_ /* Apollo controller specific defines */ #define APOLLO_START_NEW_IMG … #define APOLLO_STOP_IMG_DATA … #define APOLLO_DISPLAY_IMG … #define APOLLO_ERASE_DISPLAY … #define APOLLO_INIT_DISPLAY … /* Hecuba interface specific defines */ #define HCB_WUP_BIT … #define HCB_DS_BIT … #define HCB_RW_BIT … #define HCB_CD_BIT … #define HCB_ACK_BIT … /* struct used by hecuba. board specific stuff comes from *board */ struct hecubafb_par { … }; /* board specific routines board drivers can implement wait_for_ack with interrupts if desired. if wait_for_ack is called with clear=0, then go to sleep and return when ack goes hi or if wait_for_ack with clear=1, then return when ack goes lo */ struct hecuba_board { … }; #endif