• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/usb/c67x00/

Lines Matching defs:c67x00

2  * c67x00-drv.c: Cypress C67X00 USB Common infrastructure
25 * This file implements the common infrastructure for using the c67x00.
30 * The c67x00 has 2 SIE's (serial interface engine) wich can be configured
42 #include <linux/usb/c67x00.h>
44 #include "c67x00.h"
45 #include "c67x00-hcd.h"
87 struct c67x00_device *c67x00 = __dev;
92 int_status = c67x00_ll_hpi_status(c67x00);
97 c67x00_ll_irq(c67x00, int_status);
99 sie = &c67x00->sie[i];
102 msg = c67x00_ll_fetch_siemsg(c67x00, i);
106 int_status = c67x00_ll_hpi_status(c67x00);
110 dev_warn(&c67x00->pdev->dev, "Not all interrupts handled! "
120 struct c67x00_device *c67x00;
137 c67x00 = kzalloc(sizeof(*c67x00), GFP_KERNEL);
138 if (!c67x00)
147 c67x00->hpi.base = ioremap(res->start, resource_size(res));
148 if (!c67x00->hpi.base) {
154 spin_lock_init(&c67x00->hpi.lock);
155 c67x00->hpi.regstep = pdata->hpi_regstep;
156 c67x00->pdata = pdev->dev.platform_data;
157 c67x00->pdev = pdev;
159 c67x00_ll_init(c67x00);
160 c67x00_ll_hpi_reg_init(c67x00);
162 ret = request_irq(res2->start, c67x00_irq, 0, pdev->name, c67x00);
168 ret = c67x00_ll_reset(c67x00);
175 c67x00_probe_sie(&c67x00->sie[i], c67x00, i);
177 platform_set_drvdata(pdev, c67x00);
182 free_irq(res2->start, c67x00);
184 iounmap(c67x00->hpi.base);
188 kfree(c67x00);
195 struct c67x00_device *c67x00 = platform_get_drvdata(pdev);
200 c67x00_remove_sie(&c67x00->sie[i]);
202 c67x00_ll_release(c67x00);
206 free_irq(res->start, c67x00);
208 iounmap(c67x00->hpi.base);
214 kfree(c67x00);
224 .name = "c67x00",
227 MODULE_ALIAS("platform:c67x00");