Lines Matching refs:net2272_read

230 	tmp = (1 << ep->num) | net2272_read(dev, IRQENB0);  in net2272_enable()
412 tmp = net2272_read(ep->dev, LOCCTL); in net2272_write_packet()
681 (void) net2272_read(dev, SCRATCH); in net2272_request_dma()
1088 ret = net2272_read(dev, FRAME1) << 8; in net2272_get_frame()
1089 ret |= net2272_read(dev, FRAME0); in net2272_get_frame()
1107 tmp = net2272_read(dev, USBCTL0); in net2272_wakeup()
1139 tmp = net2272_read(dev, USBCTL0); in net2272_pullup()
1190 net2272_read(dev, LOCCTL), in registers_show()
1191 net2272_read(dev, IRQENB0), in registers_show()
1192 net2272_read(dev, IRQENB1), in registers_show()
1193 net2272_read(dev, IRQSTAT0), in registers_show()
1194 net2272_read(dev, IRQSTAT1)); in registers_show()
1199 t1 = net2272_read(dev, DMAREQ); in registers_show()
1210 t1 = net2272_read(dev, USBCTL1); in registers_show()
1222 net2272_read(dev, USBCTL0), t1, in registers_show()
1223 net2272_read(dev, OURADDR), s); in registers_show()
1297 tmp = net2272_read(dev, LOCCTL) & 0x3f; in net2272_set_fifo_mode()
1362 net2272_write(dev, LOCCTL, net2272_read(dev, LOCCTL) | (1 << DATA_WIDTH)); in net2272_usb_reset()
1569 if (net2272_read(ep->dev, IRQSTAT0) & in net2272_handle_dma()
1695 while (!(net2272_read(dev, EP_STAT0) & in net2272_set_test_mode()
1705 net2272_write(dev, LOCCTL, net2272_read(dev, LOCCTL) & in net2272_set_test_mode()
1732 if (net2272_read(dev, USBCTL1) & (1 << USB_HIGH_SPEED)) in net2272_handle_stat0_irqs()
1782 u.raw[0] = net2272_read(dev, SETUP0); in net2272_handle_stat0_irqs()
1783 u.raw[1] = net2272_read(dev, SETUP1); in net2272_handle_stat0_irqs()
1784 u.raw[2] = net2272_read(dev, SETUP2); in net2272_handle_stat0_irqs()
1785 u.raw[3] = net2272_read(dev, SETUP3); in net2272_handle_stat0_irqs()
1786 u.raw[4] = net2272_read(dev, SETUP4); in net2272_handle_stat0_irqs()
1787 u.raw[5] = net2272_read(dev, SETUP5); in net2272_handle_stat0_irqs()
1788 u.raw[6] = net2272_read(dev, SETUP6); in net2272_handle_stat0_irqs()
1789 u.raw[7] = net2272_read(dev, SETUP7); in net2272_handle_stat0_irqs()
1944 num = (net2272_read(dev, DMAREQ) & (1 << DMA_ENDPOINT_SELECT)) in net2272_handle_stat0_irqs()
1995 (net2272_read(dev, USBCTL1) & in net2272_handle_stat1_irqs()
2001 (net2272_read(dev, USBCTL1) & mask) in net2272_handle_stat1_irqs()
2075 net2272_handle_stat1_irqs(dev, net2272_read(dev, IRQSTAT1)); in net2272_irq()
2076 net2272_handle_stat0_irqs(dev, net2272_read(dev, IRQSTAT0)); in net2272_irq()
2085 dmareq = net2272_read(dev, DMAREQ); in net2272_irq()
2103 net2272_handle_stat1_irqs(dev, net2272_read(dev, IRQSTAT1)); in net2272_irq()
2104 net2272_handle_stat0_irqs(dev, net2272_read(dev, IRQSTAT0)); in net2272_irq()
2126 refval = net2272_read(dev, SCRATCH); in net2272_present()
2129 val = net2272_read(dev, SCRATCH); in net2272_present()
2142 refval = net2272_read(dev, CHIPREV_2272); in net2272_present()
2145 val = net2272_read(dev, CHIPREV_2272); in net2272_present()
2162 val = net2272_read(dev, CHIPREV_LEGACY); in net2272_present()
2180 val = net2272_read(dev, CHIPREV_2272); in net2272_present()
2280 dev->chiprev = net2272_read(dev, CHIPREV_2272); in net2272_probe_fin()
2660 (net2272_read(dev, LOCCTL) & (1 << BYTE_SWAP)) ? "" : "no "); in net2272_plat_probe()