Lines Matching refs:au_writel
313 au_writel(USBDEV_FSTAT_FLUSH | USBDEV_FSTAT_UF | in flush_write_fifo()
327 au_writel(USBDEV_FSTAT_FLUSH | USBDEV_FSTAT_UF | in flush_read_fifo()
359 au_writel(cs, ep->reg->ctrl_stat); in endpoint_stall()
371 au_writel(cs, ep->reg->ctrl_stat); in endpoint_unstall()
418 au_writel(*bufptr++, ep->reg->write_fifo);
458 au_writel(cs, ep->reg->ctrl_stat); in kickstart_send_packet()
998 au_writel(0, ep0->reg->write_fifo); in process_ep0_receive()
1046 au_writel(status, USBD_INTSTAT); // ack'em in req_sus_intr()
1285 au_writel(0, USBD_INTEN); // disable usb dev ints in usbdev_exit()
1286 au_writel(0, USBD_ENABLE); // disable usb dev in usbdev_exit()
1433 au_writel(0x0002, USBD_ENABLE); in usbdev_init()
1435 au_writel(0x0003, USBD_ENABLE); in usbdev_init()
1445 au_writel((ep->address << 4) | 0x04, USBD_CONFIG); in usbdev_init()
1446 au_writel(((ep->max_pkt_size & 0x380) >> 7) | in usbdev_init()
1449 au_writel((ep->max_pkt_size & 0x7f) << 1, USBD_CONFIG); in usbdev_init()
1450 au_writel(0x00, USBD_CONFIG); in usbdev_init()
1451 au_writel(ep->address, USBD_CONFIG); in usbdev_init()
1454 au_writel((i << 4) | 0x04, USBD_CONFIG); in usbdev_init()
1455 au_writel(((16 & 0x380) >> 7) | dir | in usbdev_init()
1457 au_writel((16 & 0x7f) << 1, USBD_CONFIG); in usbdev_init()
1458 au_writel(0x00, USBD_CONFIG); in usbdev_init()
1459 au_writel(i, USBD_CONFIG); in usbdev_init()
1467 au_writel(0x31, USBD_INTEN); in usbdev_init()