Home
last modified time | relevance | path

Searched refs:nth16 (Results 1 – 1 of 1) sorted by relevance

/components/drivers/usb/cherryusb/class/cdc/
A Dusbh_cdc_ncm.c299 struct cdc_ncm_nth16 *nth16 = (struct cdc_ncm_nth16 *)&g_cdc_ncm_rx_buffer[0]; local
300 if ((nth16->dwSignature != CDC_NCM_NTH16_SIGNATURE) ||
301 (nth16->wHeaderLength != 12) ||
302 (nth16->wBlockLength != g_cdc_ncm_rx_length)) {
361 struct cdc_ncm_nth16 *nth16 = (struct cdc_ncm_nth16 *)&g_cdc_ncm_tx_buffer[0]; local
363 nth16->dwSignature = CDC_NCM_NTH16_SIGNATURE;
364 nth16->wHeaderLength = 12;
365 nth16->wSequence = g_cdc_ncm_class.bulkout_sequence++;
366 nth16->wBlockLength = 16 + 16 + USB_ALIGN_UP(buflen, 4);
367 nth16->wNdpIndex = 16 + USB_ALIGN_UP(buflen, 4);
[all …]

Completed in 9 milliseconds