Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
87de27a3
Commit
87de27a3
authored
Sep 05, 2006
by
David Brownell
Committed by
Tony Lindgren
Sep 05, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MUSB: tusb multipoint fixes
tusb multipoint fixes
parent
fb7a7837
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
6 deletions
+13
-6
drivers/usb/musb/musb_gadget.c
drivers/usb/musb/musb_gadget.c
+1
-1
drivers/usb/musb/plat_uds.c
drivers/usb/musb/plat_uds.c
+5
-0
drivers/usb/musb/tusb6010.c
drivers/usb/musb/tusb6010.c
+4
-2
drivers/usb/musb/tusb6010.h
drivers/usb/musb/tusb6010.h
+3
-3
No files found.
drivers/usb/musb/musb_gadget.c
View file @
87de27a3
...
...
@@ -1614,7 +1614,7 @@ static inline void __devinit musb_g_init_endpoints(struct musb *pThis)
}
}
DBG
(
2
,
"initialized %d (max %d) endpoints
\n
"
,
count
,
pThis
->
bEndCount
*
2
-
1
);
MUSB_C_NUM_EPS
*
2
-
1
);
}
/* called once during driver setup to initialize and link into
...
...
drivers/usb/musb/plat_uds.c
View file @
87de27a3
...
...
@@ -950,6 +950,11 @@ static int __devinit ep_config_from_table(struct musb *musb)
musb
->
bEndCount
=
max
(
epn
,
musb
->
bEndCount
);
}
printk
(
KERN_DEBUG
"%s: %d/%d max ep, %d/%d memory
\n
"
,
musb_driver_name
,
musb
->
bEndCount
,
MUSB_C_NUM_EPS
*
2
-
1
,
offset
,
DYN_FIFO_SIZE
);
#ifdef CONFIG_USB_MUSB_HDRC_HCD
if
(
!
musb
->
bulk_ep
)
{
pr_debug
(
"%s: missing bulk
\n
"
,
musb_driver_name
);
...
...
drivers/usb/musb/tusb6010.c
View file @
87de27a3
...
...
@@ -43,7 +43,8 @@ void musb_write_fifo(struct musb_hw_ep *hw_ep, u16 len, const u8 *buf)
prefetch
(
bufp
);
DBG
(
3
,
"%cX ep%d count %d bufp %p
\n
"
,
'T'
,
epnum
,
len
,
bufp
);
DBG
(
4
,
"%cX ep%d fifo %p count %d buf %p
\n
"
,
'T'
,
epnum
,
fifo
,
len
,
bufp
);
if
(
epnum
)
musb_writel
(
ep_conf
,
TUSB_EP_TX_OFFSET
,
...
...
@@ -97,7 +98,8 @@ void musb_read_fifo(struct musb_hw_ep *hw_ep, u16 len, u8 *buf)
int
i
,
remain
;
u32
val
;
DBG
(
3
,
"%cX ep%d count %d buf %p
\n
"
,
'R'
,
epnum
,
len
,
bufp
);
DBG
(
4
,
"%cX ep%d fifo %p count %d buf %p
\n
"
,
'R'
,
epnum
,
fifo
,
len
,
bufp
);
if
(
epnum
)
musb_writel
(
ep_conf
,
TUSB_EP_RX_OFFSET
,
...
...
drivers/usb/musb/tusb6010.h
View file @
87de27a3
...
...
@@ -225,10 +225,10 @@
/* configuration parameters specific to this silicon */
/* Number of Tx endpoints. Legal values are 1 - 16 (this value includes EP0) */
#define MUSB_C_NUM_EPT
5
#define MUSB_C_NUM_EPT
16
/* Number of Rx endpoints. Legal values are 1 - 16 (this value includes EP0) */
#define MUSB_C_NUM_EPR
5
#define MUSB_C_NUM_EPR
16
/* Endpoint 1 to 15 direction types. C_EP1_DEF is defined if either Tx endpoint
* 1 or Rx endpoint 1 are used.
...
...
@@ -383,7 +383,7 @@
* addresses). It is defined as log2 of the sum of 2** of all the endpoint FIFO
* dword address bits (rounded up).
*/
#define MUSB_C_RAM_BITS 1
0
#define MUSB_C_RAM_BITS 1
2
#endif
/* CONFIG_USB_TUSB6010 */
...
...
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