Lines Matching refs:sunxi_musb
78 static struct musb *sunxi_musb; variable
227 sunxi_musb = musb; in sunxi_musb_init()
421 if (addr == sunxi_musb->mregs) { in sunxi_musb_readb()
443 glue = dev_get_drvdata(sunxi_musb->controller->parent); in sunxi_musb_readb()
451 dev_warn(sunxi_musb->controller->parent, in sunxi_musb_readb()
464 dev_err(sunxi_musb->controller->parent, in sunxi_musb_readb()
468 } else if (addr == (sunxi_musb->mregs + 0x80)) { in sunxi_musb_readb()
476 dev_err(sunxi_musb->controller->parent, in sunxi_musb_readb()
478 (int)(addr - sunxi_musb->mregs)); in sunxi_musb_readb()
484 if (addr == sunxi_musb->mregs) { in sunxi_musb_writeb()
499 dev_warn(sunxi_musb->controller->parent, in sunxi_musb_writeb()
509 dev_warn(sunxi_musb->controller->parent, in sunxi_musb_writeb()
522 dev_err(sunxi_musb->controller->parent, in sunxi_musb_writeb()
526 } else if (addr == (sunxi_musb->mregs + 0x80)) { in sunxi_musb_writeb()
533 dev_err(sunxi_musb->controller->parent, in sunxi_musb_writeb()
535 (int)(addr - sunxi_musb->mregs)); in sunxi_musb_writeb()
540 if (addr == sunxi_musb->mregs) { in sunxi_musb_readw()
560 dev_err(sunxi_musb->controller->parent, in sunxi_musb_readw()
564 } else if (addr == (sunxi_musb->mregs + 0x80)) { in sunxi_musb_readw()
569 dev_err(sunxi_musb->controller->parent, in sunxi_musb_readw()
571 (int)(addr - sunxi_musb->mregs)); in sunxi_musb_readw()
577 if (addr == sunxi_musb->mregs) { in sunxi_musb_writew()
595 dev_err(sunxi_musb->controller->parent, in sunxi_musb_writew()
599 } else if (addr == (sunxi_musb->mregs + 0x80)) { in sunxi_musb_writew()
604 dev_err(sunxi_musb->controller->parent, in sunxi_musb_writew()
606 (int)(addr - sunxi_musb->mregs)); in sunxi_musb_writew()