diff options
author | lars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-03-11 00:29:21 +0000 |
---|---|---|
committer | lars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-03-11 00:29:21 +0000 |
commit | 345d039b28653543d7c52af7542a44de22e14cfe (patch) | |
tree | af300cd01fc3d6e6c694138a3a57389c5ad48851 /target/linux/xburst/files-2.6.32/include/video/metronomefb.h | |
parent | c44117cefd0e09f8d84e4a1f8172c3dfa7d0b81f (diff) |
[xburst] metronomefb: Add rotation support and some minor cleanups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20128 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/xburst/files-2.6.32/include/video/metronomefb.h')
-rw-r--r-- | target/linux/xburst/files-2.6.32/include/video/metronomefb.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/target/linux/xburst/files-2.6.32/include/video/metronomefb.h b/target/linux/xburst/files-2.6.32/include/video/metronomefb.h index 8c7bdbec70..ea446ae85c 100644 --- a/target/linux/xburst/files-2.6.32/include/video/metronomefb.h +++ b/target/linux/xburst/files-2.6.32/include/video/metronomefb.h @@ -17,7 +17,9 @@ struct metromem_cmd { u16 opcode; u16 args[((64-2)/2)]; u16 csum; -} __attribute__(packed); +} __attribute__((packed)); + +struct epd_frame; /* struct used by metronome. board specific stuff comes from *board */ struct metronomefb_par { @@ -38,9 +40,13 @@ struct metronomefb_par { int current_wf_temp; unsigned int manual_refresh_threshold; unsigned int partial_autorefresh_interval; - int dt; + const struct epd_frame *epd_frame; u32 *fxbuckets; u32 *fybuckets; + + unsigned int partial_updates_count; + unsigned is_first_update:1; + struct mutex lock; }; |