/* * 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 0xA0 #define APOLLO_STOP_IMG_DATA 0xA1 #define APOLLO_DISPLAY_IMG 0xA2 #define APOLLO_ERASE_DISPLAY 0xA3 #define APOLLO_INIT_DISPLAY 0xA4 /* Hecuba interface specific defines */ #define HCB_WUP_BIT 0x01 #define HCB_DS_BIT 0x02 #define HCB_RW_BIT 0x04 #define HCB_CD_BIT 0x08 #define HCB_ACK_BIT 0x80 /* struct used by hecuba. board specific stuff comes from *board */ struct hecubafb_par { struct fb_info *info; struct hecuba_board *board; void (*send_command)(struct hecubafb_par *, unsigned char); void (*send_data)(struct hecubafb_par *, unsigned char); }; /* 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 { struct module *owner; void (*remove)(struct hecubafb_par *); void (*set_ctl)(struct hecubafb_par *, unsigned char, unsigned char); void (*set_data)(struct hecubafb_par *, unsigned char); void (*wait_for_ack)(struct hecubafb_par *, int); int (*init)(struct hecubafb_par *); }; #endif /linux/net-next.git/?h=nds-private-remove'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove&id=0becc0ae5b42828785b589f686725ff5bc3b9b25'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/kernel/events/uprobes.c?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/kernel/events/uprobes.c?h=nds-private-remove&id=0becc0ae5b42828785b589f686725ff5bc3b9b25'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/kernel/events/uprobes.c?h=nds-private-remove&id=0becc0ae5b42828785b589f686725ff5bc3b9b25'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/kernel/events/uprobes.c?h=nds-private-remove&id=0becc0ae5b42828785b589f686725ff5bc3b9b25'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/kernel/events/uprobes.c'> <input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='0becc0ae5b42828785b589f686725ff5bc3b9b25'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?h=nds-private-remove&id=0becc0ae5b42828785b589f686725ff5bc3b9b25'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/kernel?h=nds-private-remove&id=0becc0ae5b42828785b589f686725ff5bc3b9b25'>kernel</a>/<a href='/cgit.cgi/linux/net-next.git/log/kernel/events?h=nds-private-remove&id=0becc0ae5b42828785b589f686725ff5bc3b9b25'>events</a>/<a href='/cgit.cgi/linux/net-next.git/log/kernel/events/uprobes.c?h=nds-private-remove&id=0becc0ae5b42828785b589f686725ff5bc3b9b25'>uprobes.c</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/kernel/events/uprobes.c?h=nds-private-remove&id=0becc0ae5b42828785b589f686725ff5bc3b9b25&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr> lass='left'>Files</th><th class='left'>Lines</th></tr>