Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
aa312be1
Commit
aa312be1
authored
Jan 05, 2011
by
Russell King
Browse files
Options
Browse Files
Download
Plain Diff
Merge branches 'mmci' and 'pl011-dma' into devel
parents
31edf274
8c11a94d
38d62436
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
769 additions
and
61 deletions
+769
-61
drivers/mmc/host/mmci.c
drivers/mmc/host/mmci.c
+177
-30
drivers/mmc/host/mmci.h
drivers/mmc/host/mmci.h
+9
-0
drivers/serial/amba-pl011.c
drivers/serial/amba-pl011.c
+561
-31
include/linux/amba/serial.h
include/linux/amba/serial.h
+22
-0
No files found.
drivers/mmc/host/mmci.c
View file @
aa312be1
This diff is collapsed.
Click to expand it.
drivers/mmc/host/mmci.h
View file @
aa312be1
...
...
@@ -139,6 +139,11 @@
MCI_DATATIMEOUTMASK|MCI_TXUNDERRUNMASK|MCI_RXOVERRUNMASK| \
MCI_CMDRESPENDMASK|MCI_CMDSENTMASK|MCI_DATABLOCKENDMASK)
/* These interrupts are directed to IRQ1 when two IRQ lines are available */
#define MCI_IRQ1MASK \
(MCI_RXFIFOHALFFULLMASK | MCI_RXDATAAVLBLMASK | \
MCI_TXFIFOHALFEMPTYMASK)
#define NR_SG 16
struct
clk
;
...
...
@@ -154,6 +159,7 @@ struct mmci_host {
int
gpio_cd
;
int
gpio_wp
;
int
gpio_cd_irq
;
bool
singleirq
;
unsigned
int
data_xfered
;
...
...
@@ -171,6 +177,9 @@ struct mmci_host {
struct
timer_list
timer
;
unsigned
int
oldstat
;
bool
blockend
;
bool
dataend
;
/* pio stuff */
struct
sg_mapping_iter
sg_miter
;
unsigned
int
size
;
...
...
drivers/serial/amba-pl011.c
View file @
aa312be1
This diff is collapsed.
Click to expand it.
include/linux/amba/serial.h
View file @
aa312be1
...
...
@@ -113,6 +113,21 @@
#define UART01x_LCRH_PEN 0x02
#define UART01x_LCRH_BRK 0x01
#define ST_UART011_DMAWM_RX_1 (0 << 3)
#define ST_UART011_DMAWM_RX_2 (1 << 3)
#define ST_UART011_DMAWM_RX_4 (2 << 3)
#define ST_UART011_DMAWM_RX_8 (3 << 3)
#define ST_UART011_DMAWM_RX_16 (4 << 3)
#define ST_UART011_DMAWM_RX_32 (5 << 3)
#define ST_UART011_DMAWM_RX_48 (6 << 3)
#define ST_UART011_DMAWM_TX_1 0
#define ST_UART011_DMAWM_TX_2 1
#define ST_UART011_DMAWM_TX_4 2
#define ST_UART011_DMAWM_TX_8 3
#define ST_UART011_DMAWM_TX_16 4
#define ST_UART011_DMAWM_TX_32 5
#define ST_UART011_DMAWM_TX_48 6
#define UART010_IIR_RTIS 0x08
#define UART010_IIR_TIS 0x04
#define UART010_IIR_RIS 0x02
...
...
@@ -180,6 +195,13 @@ struct amba_device; /* in uncompress this is included but amba/bus.h is not */
struct
amba_pl010_data
{
void
(
*
set_mctrl
)(
struct
amba_device
*
dev
,
void
__iomem
*
base
,
unsigned
int
mctrl
);
};
struct
dma_chan
;
struct
amba_pl011_data
{
bool
(
*
dma_filter
)(
struct
dma_chan
*
chan
,
void
*
filter_param
);
void
*
dma_rx_param
;
void
*
dma_tx_param
;
};
#endif
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment