Lines Matching defs:count
516 u16 count = 0;
530 count = mtu3_readl(mbase, U3D_RXCOUNT0);
531 if (count > len) {
533 count = len;
535 ep0_read_fifo(mtu->ep0, buf, count);
536 req->actual += count;
540 if (count < maxp || req->actual == req->length) {
569 u32 count;
582 count = min(maxp, req->length - req->actual);
583 if (count)
584 ep0_write_fifo(mtu->ep0, src, count);
587 __func__, req->actual, req->length, count, maxp, req->zero);
589 req->actual += count;
591 if ((count < maxp)
606 u32 count;
610 count = mtu3_readl(mtu->mac_base, U3D_RXCOUNT0);
612 ep0_read_fifo(mtu->ep0, (u8 *)setup, count);