From e9b29ffc519b9e63d4e1c0b1278bb951bb418a9d Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sun, 27 Apr 2008 08:59:45 +0200 Subject: USB: add Cypress c67x00 OTG controller HCD driver This patch adds HCD support for the Cypress c67x00 family of devices. Signed-off-by: Peter Korsgaard Signed-off-by: Greg Kroah-Hartman --- drivers/usb/c67x00/c67x00.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'drivers/usb/c67x00/c67x00.h') diff --git a/drivers/usb/c67x00/c67x00.h b/drivers/usb/c67x00/c67x00.h index 1f1a2eef9a2..a26e9ded0f3 100644 --- a/drivers/usb/c67x00/c67x00.h +++ b/drivers/usb/c67x00/c67x00.h @@ -274,6 +274,15 @@ void c67x00_ll_write_mem_le16(struct c67x00_device *dev, u16 addr, void c67x00_ll_read_mem_le16(struct c67x00_device *dev, u16 addr, void *data, int len); +/* Host specific functions */ +void c67x00_ll_set_husb_eot(struct c67x00_device *dev, u16 value); +void c67x00_ll_husb_reset(struct c67x00_sie *sie, int port); +void c67x00_ll_husb_set_current_td(struct c67x00_sie *sie, u16 addr); +u16 c67x00_ll_husb_get_current_td(struct c67x00_sie *sie); +u16 c67x00_ll_husb_get_frame(struct c67x00_sie *sie); +void c67x00_ll_husb_init_host_port(struct c67x00_sie *sie); +void c67x00_ll_husb_reset_port(struct c67x00_sie *sie, int port); + /* Called by c67x00_irq to handle lcp interrupts */ void c67x00_ll_irq(struct c67x00_device *dev, u16 int_status); -- cgit v1.2.3