Searched refs:cdc (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/sys/dev/usb/net/
H A Duhso.c1385 struct usb_cdc_notification cdc; local
1402 usbd_copy_out(pc, 0, &cdc, actlen);
1404 if (UGETW(cdc.wIndex) != sc->sc_iface_no) {
1406 UGETW(cdc.wIndex), sc->sc_iface_no);
1410 if (cdc.bmRequestType == UCDC_NOTIFICATION &&
1411 cdc.bNotification == UCDC_N_SERIAL_STATE) {
1412 UHSO_DPRINTF(2, "notify = 0x%02x\n", cdc.data[0]);
1416 if (cdc.data[0] & UCDC_N_SERIAL_RI)
1418 if (cdc.data[0] & UCDC_N_SERIAL_DSR)
1420 if (cdc
[all...]
H A Dif_usie.c994 struct usb_cdc_notification cdc; local
1004 if (actlen < (sizeof(cdc) - 16)) {
1009 usbd_copy_out(pc, 0, &cdc, (sizeof(cdc) - 16));
1011 DPRINTFN(4, "bNotification=%x\n", cdc.bNotification);
1013 if (cdc.bNotification & UCDC_N_RESPONSE_AVAILABLE) {

Completed in 59 milliseconds