Lines Matching refs:temp

299 	struct usb_ncm_parameters temp;
322 USETW(req.wLength, sizeof(temp));
325 &temp, 0, NULL, 1000 /* ms */);
332 sc->sc_ncm.rx_max = UGETDW(temp.dwNtbInMaxSize);
333 sc->sc_ncm.tx_max = UGETDW(temp.dwNtbOutMaxSize);
334 sc->sc_ncm.tx_remainder = UGETW(temp.wNdpOutPayloadRemainder);
335 sc->sc_ncm.tx_modulus = UGETW(temp.wNdpOutDivisor);
336 sc->sc_ncm.tx_struct_align = UGETW(temp.wNdpOutAlignment);
337 sc->sc_ncm.tx_nframe = UGETW(temp.wNtbOutMaxDatagrams);
339 sc->sc_ncm.rx_max = UGETDW(temp.dwNtbOutMaxSize);
340 sc->sc_ncm.tx_max = UGETDW(temp.dwNtbInMaxSize);
341 sc->sc_ncm.tx_remainder = UGETW(temp.wNdpInPayloadRemainder);
342 sc->sc_ncm.tx_modulus = UGETW(temp.wNdpInDivisor);
343 sc->sc_ncm.tx_struct_align = UGETW(temp.wNdpInAlignment);
344 sc->sc_ncm.tx_nframe = UGETW(temp.wNtbOutMaxDatagrams);
1212 uint8_t temp;
1226 temp = cdce_ncm_fill_tx_frames(xfer, x);
1227 if (temp == 0)
1229 if (temp == 1) {
1272 int temp;
1305 temp = UGETW(sc->sc_ncm.hdr.wBlockLength);
1306 if (temp > sumlen) {
1308 temp, sumlen);
1311 temp = UGETW(sc->sc_ncm.hdr.wDptIndex);
1312 if ((int)(temp + sizeof(sc->sc_ncm.dpt)) > actlen) {
1313 DPRINTFN(1, "invalid DPT index: 0x%04x\n", temp);
1316 usbd_copy_out(pc, temp, &(sc->sc_ncm.dpt),
1341 temp += sizeof(sc->sc_ncm.dpt);
1343 if ((temp + (4 * nframes)) > actlen)
1351 usbd_copy_out(pc, temp, &(sc->sc_ncm.dp), (4 * nframes));
1358 temp = UGETW(sc->sc_ncm.dp[x].wFrameLength);
1361 (temp < (int)sizeof(struct ether_header)) ||
1362 (temp > (MCLBYTES - ETHER_ALIGN))) {
1367 } else if ((offset + temp) > actlen) {
1373 } else if (temp > (int)(MHLEN - ETHER_ALIGN)) {
1380 x, offset, temp);
1386 usbd_copy_out(pc, offset, m->m_data, temp);
1389 uether_rxmbuf(&sc->sc_ue, m, temp);
1391 sumdata += temp;