Lines Matching refs:firstread
564 static const uint firstread = DHD_FIRSTREAD; variable
5947 bus->rxctl += firstread; in dhdsdio_read_control()
5950 bus->rxctl -= firstread; in dhdsdio_read_control()
5955 bcopy(hdr, bus->rxctl, firstread); in dhdsdio_read_control()
5956 if (len <= firstread) in dhdsdio_read_control()
5966 rdlen = len - firstread; in dhdsdio_read_control()
5981 if ((rdlen + firstread) > bus->dhd->maxctl) { in dhdsdio_read_control()
5999 (bus->rxctl + firstread), rdlen, NULL, NULL, NULL); in dhdsdio_read_control()
6601 ((rdlen + pad + firstread) < MAX_RX_DATASZ))
6621 bus->rxctl += firstread;
6624 bus->rxctl -= firstread;
6928 bus->rxhdr, firstread, NULL, NULL, NULL);
7037 rdlen = (len > firstread) ? (len - firstread) : 0;
7043 ((rdlen + pad + firstread) < MAX_RX_DATASZ))
7053 if ((rdlen + firstread) > MAX_RX_DATASZ) {
7062 if (!(pkt = PKTGET(osh, (rdlen + firstread + DHD_SDALIGN), FALSE))) {
7076 ASSERT(firstread < (PKTLEN(osh, pkt)));
7077 PKTPULL(osh, pkt, firstread);
7099 PKTPUSH(osh, pkt, firstread);
7100 bcopy(bus->rxhdr, PKTDATA(osh, pkt), firstread);