index
:
litmus-rt.git
archive/unc-master-3.0
archived-2013.1
archived-private-master
archived-semi-part
demo
ecrts-pgm-final
ecrts14-pgm-final
gpusync-rtss12
gpusync/staging
linux-tip
litmus2008-patch-series
master
pgm
prop/litmus-signals
prop/robust-tie-break
staging
test
tracing-devel
v2.6.34-with-arm-patches
v2015.1
wip-2011.2-bbb
wip-2011.2-bbb-trace
wip-2012.3-gpu
wip-2012.3-gpu-preport
wip-2012.3-gpu-rtss13
wip-2012.3-gpu-sobliv-budget-w-kshark
wip-aedzl-final
wip-aedzl-revised
wip-arbit-deadline
wip-aux-tasks
wip-bbb
wip-bbb-prio-don
wip-better-break
wip-binary-heap
wip-budget
wip-color
wip-color-jlh
wip-d10-hz1000
wip-default-clustering
wip-dissipation-jerickso
wip-dissipation2-jerickso
wip-ecrts14-pgm
wip-edf-hsb
wip-edf-os
wip-edf-tie-break
wip-edzl-critique
wip-edzl-final
wip-edzl-revised
wip-events
wip-extra-debug
wip-fix-switch-jerickso
wip-fix3
wip-fmlp-dequeue
wip-ft-irq-flag
wip-gpu-cleanup
wip-gpu-interrupts
wip-gpu-rtas12
wip-gpu-rtss12
wip-gpu-rtss12-srp
wip-gpusync-merge
wip-ikglp
wip-k-fmlp
wip-kernel-coloring
wip-kernthreads
wip-klmirqd-to-aux
wip-kshark
wip-litmus-3.2
wip-litmus2011.2
wip-litmus3.0-2011.2
wip-master-2.6.33-rt
wip-mc
wip-mc-bipasa
wip-mc-jerickso
wip-mc2-cache-slack
wip-mcrit-mac
wip-merge-3.0
wip-merge-v3.0
wip-migration-affinity
wip-mmap-uncache
wip-modechange
wip-nested-locking
wip-omlp-gedf
wip-pai
wip-percore-lib
wip-performance
wip-pgm
wip-pgm-split
wip-pm-ovd
wip-prio-inh
wip-prioq-dgl
wip-refactored-gedf
wip-release-master-fix
wip-robust-tie-break
wip-rt-kshark
wip-rtas12-pgm
wip-semi-part
wip-semi-part-edfos-jerickso
wip-shared-lib
wip-shared-lib2
wip-shared-mem
wip-splitting-jerickso
wip-splitting-omlp-jerickso
wip-stage-binheap
wip-sun-port
wip-timer-trace
wip-tracepoints
The LITMUS^RT kernel.
Bjoern Brandenburg
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
Branch
Commit message
Author
Age
archive/unc-master-3.0
P-FP: fix BUG_ON releated to priority inheritance
Bjoern Brandenburg
13 years
archived-2013.1
uncachedev: mmap memory that is not cached by CPUs
Glenn Elliott
12 years
archived-private-master
Merge branch 'wip-2.6.34' into old-private-master
Andrea Bastoni
15 years
archived-semi-part
Merge branch 'wip-semi-part' of ssh://cvs/cvs/proj/litmus/repo/litmus2010 int...
Andrea Bastoni
15 years
demo
Further refinements
Jonathan Herman
14 years
ecrts-pgm-final
Merge branch 'wip-ecrts14-pgm' of ssh://rtsrv.cs.unc.edu/home/litmus/litmus-r...
Glenn Elliott
12 years
ecrts14-pgm-final
Merge branch 'wip-ecrts14-pgm' of ssh://rtsrv.cs.unc.edu/home/litmus/litmus-r...
Glenn Elliott
12 years
gpusync-rtss12
Final GPUSync implementation.
Glenn Elliott
12 years
gpusync/staging
Rename IKGLP R2DGLP.
Glenn Elliott
12 years
linux-tip
Merge branch 'slab/urgent' of git://git.kernel.org/pub/scm/linux/kernel/git/p...
Linus Torvalds
15 years
litmus2008-patch-series
add i386 feather-trace implementation
Bjoern B. Brandenburg
16 years
master
PSN-EDF: use inferred_sporadic_job_release_at
Bjoern Brandenburg
9 years
pgm
make it compile
Glenn Elliott
12 years
prop/litmus-signals
Infrastructure for Litmus signals.
Glenn Elliott
13 years
prop/robust-tie-break
Fixed bug in edf_higher_prio().
Glenn Elliott
13 years
staging
Fix tracepoint compilation error
Felipe Cerqueira
13 years
test
9/23/2016
Namhoon Kim
9 years
tracing-devel
Test kernel tracing events capabilities
Andrea Bastoni
16 years
v2.6.34-with-arm-patches
smsc911x: Add spinlocks around registers access
Catalin Marinas
15 years
v2015.1
Add ARM syscall def for get_current_budget
Bjoern Brandenburg
10 years
wip-2011.2-bbb
Litmus core: simplify np-section protocol
Bjoern B. Brandenburg
14 years
wip-2011.2-bbb-trace
Refactor sched_trace_log_message() -> debug_trace_log_message()
Andrea Bastoni
14 years
wip-2012.3-gpu
SOBLIV draining support for C-EDF.
Glenn Elliott
12 years
wip-2012.3-gpu-preport
pick up last C-RM file
Glenn Elliott
12 years
wip-2012.3-gpu-rtss13
Fix critical bug in GPU tracker.
Glenn Elliott
12 years
wip-2012.3-gpu-sobliv-budget-w-kshark
Proper sobliv draining and many bug fixes.
Glenn Elliott
12 years
wip-aedzl-final
Make it easier to compile AEDZL interfaces in liblitmus.
Glenn Elliott
15 years
wip-aedzl-revised
Add sched_trace data for Apative EDZL
Glenn Elliott
15 years
wip-arbit-deadline
Fix compilation bug.
Glenn Elliott
13 years
wip-aux-tasks
Description of refined aux task inheritance.
Glenn Elliott
13 years
wip-bbb
GSN-EDF & Core: improve debug TRACE'ing for NP sections
Bjoern B. Brandenburg
14 years
wip-bbb-prio-don
use correct timestamp
Bjoern B. Brandenburg
14 years
wip-better-break
Implement hash-based EDF tie-breaking.
Glenn Elliott
13 years
wip-binary-heap
Make C-EDF work with simplified binheap_delete
Glenn Elliott
13 years
wip-budget
Added support for choices in budget policy enforcement.
Glenn Elliott
15 years
wip-color
Summarize schedulability with final record
Jonathan Herman
13 years
wip-color-jlh
sched_color: Fixed two bugs causing crashing on experiment restart and a rare...
Jonathan Herman
13 years
wip-d10-hz1000
Enable HZ=1000 on District 10
Bjoern B. Brandenburg
15 years
wip-default-clustering
Feature: Make default C-EDF clustering compile-time configurable.
Glenn Elliott
15 years
wip-dissipation-jerickso
Update from 2.6.36 to 2.6.36.4
Jeremy Erickson
11 years
wip-dissipation2-jerickso
Update 2.6.36 to 2.6.36.4
Jeremy Erickson
11 years
wip-ecrts14-pgm
Merge branch 'wip-ecrts14-pgm' of ssh://rtsrv.cs.unc.edu/home/litmus/litmus-r...
Glenn Elliott
12 years
wip-edf-hsb
last tested version
Jonathan Herman
14 years
wip-edf-os
Lookup table EDF-os
Jeremy Erickson
12 years
wip-edf-tie-break
Merge branch 'wip-edf-tie-break' of ssh://rtsrv.cs.unc.edu/home/litmus/litmus...
Glenn Elliott
13 years
wip-edzl-critique
Use hr_timer's active checks instead of having own flag.
Glenn Elliott
15 years
wip-edzl-final
Implementation of the EDZL scheduler.
Glenn Elliott
15 years
wip-edzl-revised
Clean up comments.
Glenn Elliott
15 years
wip-events
Added support for tracing arbitrary actions.
Jonathan Herman
15 years
wip-extra-debug
DBG: add additional tracing
Bjoern B. Brandenburg
15 years
wip-fix-switch-jerickso
Attempt to fix race condition with plugin switching
Jeremy Erickson
15 years
wip-fix3
sched: show length of runqueue clock deactivation in /proc/sched_debug
Bjoern B. Brandenburg
15 years
wip-fmlp-dequeue
Improve FMLP queue management.
Glenn Elliott
14 years
wip-ft-irq-flag
Feather-Trace: keep track of interrupt-related interference.
Bjoern B. Brandenburg
14 years
wip-gpu-cleanup
Enable sched_trace log injection from userspace
Glenn Elliott
13 years
wip-gpu-interrupts
Remove option for threading of all softirqs.
Glenn Elliott
14 years
wip-gpu-rtas12
Generalized GPU cost predictors + EWMA. (untested)
Glenn Elliott
13 years
wip-gpu-rtss12
Final GPUSync implementation.
Glenn Elliott
13 years
wip-gpu-rtss12-srp
experimental changes to support GPUs under SRP
Glenn Elliott
13 years
wip-gpusync-merge
Cleanup priority tracking for budget enforcement.
Glenn Elliott
11 years
wip-ikglp
Move RSM and IKGLP imp. to own .c files
Glenn Elliott
13 years
wip-k-fmlp
Merge branch 'mpi-master' into wip-k-fmlp
Glenn Elliott
14 years
wip-kernel-coloring
Added recolor syscall
Namhoon Kim
7 years
wip-kernthreads
Kludge work-queue processing into klitirqd.
Glenn Elliott
15 years
wip-klmirqd-to-aux
Allow klmirqd threads to be given names.
Glenn Elliott
13 years
wip-kshark
Merge branch 'mpi-staging' into wip-kshark
Jonathan Herman
13 years
wip-l
* Copyright (C) 2007 Atmel Corporatioh
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef __ATMEL_LCDC_H__
#define __ATMEL_LCDC_H__
#include <linux/workqueue.h>
/* Way LCD wires are connected to the chip:
* Some Atmel chips use BGR color mode (instead of standard RGB)
* A swapped wiring onboard can bring to RGB mode.
*/
#define ATMEL_LCDC_WIRING_BGR 0
#define ATMEL_LCDC_WIRING_RGB 1
#define ATMEL_LCDC_WIRING_RGB555 2
/* LCD Controller info data structure, stored in device platform_data */
struct
atmel_lcdfb_info
{
spinlock_t lock
;
struct
fb_info
*
info
;
void
__iomem
*
mmio
;
int
irq_base
;
struct
work_struct task
;
unsigned int
guard_time
;
unsigned int
smem_len
;
struct
platform_device
*
pdev
;
struct
clk
*
bus_clk
;
struct
clk
*
lcdc_clk
;
#ifdef CONFIG_BACKLIGHT_ATMEL_LCDC
struct
backlight_device
*
backlight
;
u8 bl_power
;
#endif
bool
lcdcon_is_backlight
;
bool
lcdcon_pol_negative
;
u8 saved_lcdcon
;
u8 default_bpp
;
u8 lcd_wiring_mode
;
unsigned int
default_lcdcon2
;
unsigned int
default_dmacon
;
void
(*
atmel_lcdfb_power_control
)(
int
on
);
struct
fb_monspecs
*
default_monspecs
;
u32 pseudo_palette
[
16
];
};
#define ATMEL_LCDC_DMABADDR1 0x00
#define ATMEL_LCDC_DMABADDR2 0x04
#define ATMEL_LCDC_DMAFRMPT1 0x08
#define ATMEL_LCDC_DMAFRMPT2 0x0c
#define ATMEL_LCDC_DMAFRMADD1 0x10
#define ATMEL_LCDC_DMAFRMADD2 0x14
#define ATMEL_LCDC_DMAFRMCFG 0x18
#define ATMEL_LCDC_FRSIZE (0x7fffff << 0)
#define ATMEL_LCDC_BLENGTH_OFFSET 24
#define ATMEL_LCDC_BLENGTH (0x7f << ATMEL_LCDC_BLENGTH_OFFSET)
#define ATMEL_LCDC_DMACON 0x1c
#define ATMEL_LCDC_DMAEN (0x1 << 0)
#define ATMEL_LCDC_DMARST (0x1 << 1)
#define ATMEL_LCDC_DMABUSY (0x1 << 2)
#define ATMEL_LCDC_DMAUPDT (0x1 << 3)
#define ATMEL_LCDC_DMA2DEN (0x1 << 4)
#define ATMEL_LCDC_DMA2DCFG 0x20
#define ATMEL_LCDC_ADDRINC_OFFSET 0
#define ATMEL_LCDC_ADDRINC (0xffff)
#define ATMEL_LCDC_PIXELOFF_OFFSET 24
#define ATMEL_LCDC_PIXELOFF (0x1f << 24)
#define ATMEL_LCDC_LCDCON1 0x0800
#define ATMEL_LCDC_BYPASS (1 << 0)
#define ATMEL_LCDC_CLKVAL_OFFSET 12
#define ATMEL_LCDC_CLKVAL (0x1ff << ATMEL_LCDC_CLKVAL_OFFSET)
#define ATMEL_LCDC_LINCNT (0x7ff << 21)
#define ATMEL_LCDC_LCDCON2 0x0804
#define ATMEL_LCDC_DISTYPE (3 << 0)
#define ATMEL_LCDC_DISTYPE_STNMONO (0 << 0)
#define ATMEL_LCDC_DISTYPE_STNCOLOR (1 << 0)
#define ATMEL_LCDC_DISTYPE_TFT (2 << 0)
#define ATMEL_LCDC_SCANMOD (1 << 2)
#define ATMEL_LCDC_SCANMOD_SINGLE (0 << 2)
#define ATMEL_LCDC_SCANMOD_DUAL (1 << 2)
#define ATMEL_LCDC_IFWIDTH (3 << 3)
#define ATMEL_LCDC_IFWIDTH_4 (0 << 3)
#define ATMEL_LCDC_IFWIDTH_8 (1 << 3)
#define ATMEL_LCDC_IFWIDTH_16 (2 << 3)
#define ATMEL_LCDC_PIXELSIZE (7 << 5)
#define ATMEL_LCDC_PIXELSIZE_1 (0 << 5)
#define ATMEL_LCDC_PIXELSIZE_2 (1 << 5)
#define ATMEL_LCDC_PIXELSIZE_4 (2 << 5)
#define ATMEL_LCDC_PIXELSIZE_8 (3 << 5)
#define ATMEL_LCDC_PIXELSIZE_16 (4 << 5)
#define ATMEL_LCDC_PIXELSIZE_24 (5 << 5)
#define ATMEL_LCDC_PIXELSIZE_32 (6 << 5)
#define ATMEL_LCDC_INVVD (1 << 8)
#define ATMEL_LCDC_INVVD_NORMAL (0 << 8)
#define ATMEL_LCDC_INVVD_INVERTED (1 << 8)
#define ATMEL_LCDC_INVFRAME (1 << 9 )
#define ATMEL_LCDC_INVFRAME_NORMAL (0 << 9)
#define ATMEL_LCDC_INVFRAME_INVERTED (1 << 9)
#define ATMEL_LCDC_INVLINE (1 << 10)
#define ATMEL_LCDC_INVLINE_NORMAL (0 << 10)
#define ATMEL_LCDC_INVLINE_INVERTED (1 << 10)
#define ATMEL_LCDC_INVCLK (1 << 11)
#define ATMEL_LCDC_INVCLK_NORMAL (0 << 11)
#define ATMEL_LCDC_INVCLK_INVERTED (1 << 11)
#define ATMEL_LCDC_INVDVAL (1 << 12)
#define ATMEL_LCDC_INVDVAL_NORMAL (0 << 12)
#define ATMEL_LCDC_INVDVAL_INVERTED (1 << 12)
#define ATMEL_LCDC_CLKMOD (1 << 15)
#define ATMEL_LCDC_CLKMOD_ACTIVEDISPLAY (0 << 15)
#define ATMEL_LCDC_CLKMOD_ALWAYSACTIVE (1 << 15)
#define ATMEL_LCDC_MEMOR (1 << 31)
#define ATMEL_LCDC_MEMOR_BIG (0 << 31)
#define ATMEL_LCDC_MEMOR_LITTLE (1 << 31)
#define ATMEL_LCDC_TIM1 0x0808
#define ATMEL_LCDC_VFP (0xffU << 0)
#define ATMEL_LCDC_VBP_OFFSET 8
#define ATMEL_LCDC_VBP (0xffU << ATMEL_LCDC_VBP_OFFSET)
#define ATMEL_LCDC_VPW_OFFSET 16
#define ATMEL_LCDC_VPW (0x3fU << ATMEL_LCDC_VPW_OFFSET)
#define ATMEL_LCDC_VHDLY_OFFSET 24
#define ATMEL_LCDC_VHDLY (0xfU << ATMEL_LCDC_VHDLY_OFFSET)
#define ATMEL_LCDC_TIM2 0x080c
#define ATMEL_LCDC_HBP (0xffU << 0)
#define ATMEL_LCDC_HPW_OFFSET 8
#define ATMEL_LCDC_HPW (0x3fU << ATMEL_LCDC_HPW_OFFSET)
#define ATMEL_LCDC_HFP_OFFSET 21
#define ATMEL_LCDC_HFP (0x7ffU << ATMEL_LCDC_HFP_OFFSET)
#define ATMEL_LCDC_LCDFRMCFG 0x0810
#define ATMEL_LCDC_LINEVAL (0x7ff << 0)
#define ATMEL_LCDC_HOZVAL_OFFSET 21
#define ATMEL_LCDC_HOZVAL (0x7ff << ATMEL_LCDC_HOZVAL_OFFSET)
#define ATMEL_LCDC_FIFO 0x0814
#define ATMEL_LCDC_FIFOTH (0xffff)
#define ATMEL_LCDC_MVAL 0x0818
#define ATMEL_LCDC_DP1_2 0x081c
#define ATMEL_LCDC_DP4_7 0x0820
#define ATMEL_LCDC_DP3_5 0x0824
#define ATMEL_LCDC_DP2_3 0x0828
#define ATMEL_LCDC_DP5_7 0x082c
#define ATMEL_LCDC_DP3_4 0x0830
#define ATMEL_LCDC_DP4_5 0x0834
#define ATMEL_LCDC_DP6_7 0x0838
#define ATMEL_LCDC_DP1_2_VAL (0xff)
#define ATMEL_LCDC_DP4_7_VAL (0xfffffff)
#define ATMEL_LCDC_DP3_5_VAL (0xfffff)
#define ATMEL_LCDC_DP2_3_VAL (0xfff)
#define ATMEL_LCDC_DP5_7_VAL (0xfffffff)
#define ATMEL_LCDC_DP3_4_VAL (0xffff)
#define ATMEL_LCDC_DP4_5_VAL (0xfffff)
#define ATMEL_LCDC_DP6_7_VAL (0xfffffff)
#define ATMEL_LCDC_PWRCON 0x083c
#define ATMEL_LCDC_PWR (1 << 0)
#define ATMEL_LCDC_GUARDT_OFFSET 1
#define ATMEL_LCDC_GUARDT (0x7f << ATMEL_LCDC_GUARDT_OFFSET)
#define ATMEL_LCDC_BUSY (1 << 31)
#define ATMEL_LCDC_CONTRAST_CTR 0x0840
#define ATMEL_LCDC_PS (3 << 0)
#define ATMEL_LCDC_PS_DIV1 (0 << 0)
#define ATMEL_LCDC_PS_DIV2 (1 << 0)
#define ATMEL_LCDC_PS_DIV4 (2 << 0)
#define ATMEL_LCDC_PS_DIV8 (3 << 0)
#define ATMEL_LCDC_POL (1 << 2)
#define ATMEL_LCDC_POL_NEGATIVE (0 << 2)
#define ATMEL_LCDC_POL_POSITIVE (1 << 2)
#define ATMEL_LCDC_ENA (1 << 3)
#define ATMEL_LCDC_ENA_PWMDISABLE (0 << 3)
#define ATMEL_LCDC_ENA_PWMENABLE (1 << 3)
#define ATMEL_LCDC_CONTRAST_VAL 0x0844
#define ATMEL_LCDC_CVAL (0xff)
#define ATMEL_LCDC_IER 0x0848
#define ATMEL_LCDC_IDR 0x084c
#define ATMEL_LCDC_IMR 0x0850
#define ATMEL_LCDC_ISR 0x0854
#define ATMEL_LCDC_ICR 0x0858
#define ATMEL_LCDC_LNI (1 << 0)
#define ATMEL_LCDC_LSTLNI (1 << 1)
#define ATMEL_LCDC_EOFI (1 << 2)
#define ATMEL_LCDC_UFLWI (1 << 4)
#define ATMEL_LCDC_OWRI (1 << 5)
#define ATMEL_LCDC_MERI (1 << 6)
#define ATMEL_LCDC_LUT(n) (0x0c00 + ((n)*4))
#endif
/* __ATMEL_LCDC_H__ */