Lines Matching refs:u32

72 static const u32 ep_bit[9] = { 0, 17, 2, 19, 4, 1, 18, 3, 20 };
170 u32 tmp = readl(&ep->dev->regs->pciirqenb0); in enable_pciirqenb()
186 u32 max; in net2280_enable()
187 u32 tmp = 0; in net2280_enable()
188 u32 type; in net2280_enable()
190 static const u32 ep_key[9] = { 1, 0, 1, 0, 1, 1, 0, 1, 0 }; in net2280_enable()
361 static int handshake(u32 __iomem *ptr, u32 mask, u32 done, int usec) in handshake()
363 u32 result; in handshake()
381 u32 tmp; in ep_reset_228x()
457 u32 tmp, dmastat; in ep_reset_338x()
612 u32 tmp; in write_fifo()
640 tmp = get_unaligned((u32 *)buf); in write_fifo()
652 tmp = count ? get_unaligned((u32 *)buf) : count; in write_fifo()
670 u32 __iomem *statp; in out_flush()
671 u32 tmp; in out_flush()
772 put_unaligned(tmp, (u32 *)buf); in read_fifo()
799 u32 dmacount = req->req.length; in fill_dma_desc()
825 static const u32 dmactl_default =
847 static void start_queue(struct net2280_ep *ep, u32 dmactl, u32 td_dma) in start_queue()
871 u32 tmp; in start_dma()
1052 u32 s; in net2280_queue()
1117 dma_done(struct net2280_ep *ep, struct net2280_request *req, u32 dmacount, in dma_done()
1133 u32 req_dma_count; in scan_dma_completions()
1150 u32 const ep_dmacount = readl(&ep->dma->dmacount); in scan_dma_completions()
1162 u32 const ep_stat = readl(&ep->regs->ep_stat); in scan_dma_completions()
1172 u32 const ep_avail = readl(&ep->regs->ep_avail); in scan_dma_completions()
1238 u32 dmactl; in net2280_dequeue()
1399 u32 avail; in net2280_fifo_status()
1479 u32 tmp; in net2280_wakeup()
1499 u32 tmp; in net2280_set_selfpowered()
1524 u32 tmp; in net2280_pullup()
1658 u32 t1, t2; in registers_show()
1875 (u32) req->td_dma, in queues_show()
1946 u32 tmp_reg; in defect7374_disable_data_eps()
1978 u32 tmp = 0, tmp_reg; in defect7374_enable_data_eps_zero()
1979 u32 scratch; in defect7374_enable_data_eps_zero()
2059 u32 tmp; in usb_reset_228x()
2079 writel(~(u32)BIT(SUSPEND_REQUEST_INTERRUPT), &dev->regs->irqstat1), in usb_reset_228x()
2095 u32 tmp; in usb_reset_338x()
2153 u32 tmp; in usb_reinit_228x()
2191 u32 tmp, val; in usb_reinit_338x()
2192 static const u32 ne[9] = { 0, 1, 2, 3, 4, 1, 2, 3, 4 }; in usb_reinit_338x()
2193 static const u32 ep_reg_addr[9] = { 0x00, 0xC0, 0x00, 0xC0, 0x00, in usb_reinit_338x()
2519 u32 t; in handle_ep_small()
2606 u32 count; in handle_ep_small()
2778 u32 scratch, fsmvalue; in defect7374_workaround()
2779 u32 ack_wait_timeout, state; in defect7374_workaround()
2851 u32 val; in ep_clear_seqnum()
2852 static const u32 ep_pl[9] = { 0, 3, 4, 7, 8, 2, 5, 6, 9 }; in ep_clear_seqnum()
2889 writel((__force u32) status, &dev->epregs[0].ep_data); in handle_stat0_irqs_superspeed()
2901 writel((__force u32) status, &dev->epregs[0].ep_data); in handle_stat0_irqs_superspeed()
3072 static void usb338x_handle_ep_intr(struct net2280 *dev, u32 stat0) in usb338x_handle_ep_intr()
3074 u32 index; in usb338x_handle_ep_intr()
3075 u32 bit; in usb338x_handle_ep_intr()
3092 static void handle_stat0_irqs(struct net2280 *dev, u32 stat) in handle_stat0_irqs()
3095 u32 num, scratch; in handle_stat0_irqs()
3106 u32 raw[2]; in handle_stat0_irqs()
3113 u32 val = readl(&dev->usb->usbstat); in handle_stat0_irqs()
3232 writel((__force u32)status, &dev->epregs[0].ep_data); in handle_stat0_irqs()
3319 u32 mask = (BIT(ENDPOINT_0_INTERRUPT) | in handle_stat0_irqs()
3332 u32 t; in handle_stat0_irqs()
3358 static void handle_stat1_irqs(struct net2280 *dev, u32 stat) in handle_stat1_irqs()
3363 u32 tmp, num, mask, scratch; in handle_stat1_irqs()
3486 u32 r_dmacount = readl(&dma->dmacount); in handle_stat1_irqs()
3556 u32 pciirqenb1 = readl(&dev->regs->pciirqenb1); in net2280_irq()
3684 u32 fsmvalue; in net2280_probe()
3685 u32 usbstat; in net2280_probe()