Home
last modified time | relevance | path

Searched refs:bmAttributes (Results 1 – 25 of 43) sorted by relevance

12

/freebsd-13.1/sys/dev/usb/template/
H A Dusb_template_multi.c177 .bmAttributes = UE_BULK,
187 .bmAttributes = UE_BULK,
193 .bmAttributes = UE_INTERRUPT,
255 .bmAttributes = UE_INTERRUPT,
261 .bmAttributes = UE_BULK,
267 .bmAttributes = UE_BULK,
334 .bmAttributes = UE_BULK,
344 .bmAttributes = UE_BULK,
373 .bmAttributes = 0,
H A Dusb_template_serialnet.c174 .bmAttributes = UE_BULK,
184 .bmAttributes = UE_BULK,
190 .bmAttributes = UE_INTERRUPT,
252 .bmAttributes = UE_INTERRUPT,
258 .bmAttributes = UE_BULK,
264 .bmAttributes = UE_BULK,
330 .bmAttributes = 0,
H A Dusb_template_modem.c126 .bmAttributes = UE_INTERRUPT,
132 .bmAttributes = UE_BULK,
138 .bmAttributes = UE_BULK,
201 .bmAttributes = 0,
H A Dusb_template_mtp.c126 .bmAttributes = UE_BULK,
132 .bmAttributes = UE_INTERRUPT,
142 .bmAttributes = UE_BULK,
167 .bmAttributes = 0,
H A Dusb_template_cdce.c157 .bmAttributes = UE_BULK,
167 .bmAttributes = UE_BULK,
173 .bmAttributes = UE_INTERRUPT,
222 .bmAttributes = 0,
H A Dusb_template_msc.c111 .bmAttributes = UE_BULK,
121 .bmAttributes = UE_BULK,
145 .bmAttributes = 0,
H A Dusb_template_cdceem.c112 .bmAttributes = UE_BULK,
122 .bmAttributes = UE_BULK,
146 .bmAttributes = 0,
H A Dusb_template_midi.c131 .bmAttributes = UE_BULK,
147 .bmAttributes = UE_BULK,
202 .bmAttributes = 0,
H A Dusb_template.c281 et = (ted->bmAttributes & UE_XFERTYPE); in usb_make_endpoint_desc()
325 ed->bmAttributes = ted->bmAttributes; in usb_make_endpoint_desc()
490 cd->bmAttributes = tcd->bmAttributes; in usb_make_config_desc()
494 cd->bmAttributes |= UC_REMOTE_WAKEUP; in usb_make_config_desc()
496 cd->bmAttributes |= UC_BUS_POWERED; in usb_make_config_desc()
497 cd->bmAttributes &= ~UC_SELF_POWERED; in usb_make_config_desc()
499 cd->bmAttributes &= ~UC_BUS_POWERED; in usb_make_config_desc()
500 cd->bmAttributes |= UC_SELF_POWERED; in usb_make_config_desc()
804 temp = (ed->bmAttributes & UE_XFERTYPE); in usb_hw_ep_get_needs()
H A Dusb_template.h65 uint8_t bmAttributes; member
80 uint8_t bmAttributes; member
H A Dusb_template_phone.c213 .bmAttributes = UE_ISOCHRONOUS,
270 .bmAttributes = UE_ISOCHRONOUS,
321 .bmAttributes = UE_INTERRUPT,
350 .bmAttributes = 0,
H A Dusb_template_audio.c258 .bmAttributes = UE_ISOCHRONOUS | UE_ISO_ADAPT,
316 .bmAttributes = UE_ISOCHRONOUS | UE_ISO_ADAPT,
354 .bmAttributes = 0,
H A Dusb_template_mouse.c124 .bmAttributes = UE_INTERRUPT,
158 .bmAttributes = 0,
H A Dusb_template_kbd.c126 .bmAttributes = UE_INTERRUPT,
160 .bmAttributes = 0,
/freebsd-13.1/lib/libusb/
H A Dlibusb10_desc.c189 pconfd->bmAttributes = pconf->desc.bmAttributes; in libusb_get_config_descriptor()
244 endd->bmAttributes = pend->desc.bmAttributes; in libusb_get_config_descriptor()
390 ptr->bmAttributes = ((const uint8_t *)buf)[3]; in libusb_parse_ss_endpoint_comp()
510 dcap_20->bmAttributes = ((const uint8_t *)buf)[3] | in libusb_parse_bos_descriptor()
527 ss_cap->bmAttributes = ((const uint8_t *)buf)[3]; in libusb_parse_bos_descriptor()
624 desc->bmAttributes = in libusb_get_usb_2_0_extension_descriptor()
662 desc->bmAttributes = dev_cap->dev_capability_data[0]; in libusb_get_ss_usb_device_capability_descriptor()
H A Dlibusb.h320 uint8_t bmAttributes; member
333 uint8_t bmAttributes; member
364 uint8_t bmAttributes; member
375 uint32_t bmAttributes; member
383 uint8_t bmAttributes; member
416 uint32_t bmAttributes; member
H A Dlibusb20_desc.h231 m(n, UINT8_T, bmAttributes, ) \
259 m(n, UINT8_T, bmAttributes, ) \
277 m(n, UINT8_T, bmAttributes, ) \
286 m(n, UINT32_T, bmAttributes, ) \
294 m(n, UINT8_T, bmAttributes, ) \
H A Dusb.h106 uint8_t bmAttributes; member
156 uint8_t bmAttributes; member
H A Dlibusb01.c360 bep->bmAttributes = aep->desc.bmAttributes; in usb_parse_endpoint()
446 bcfg->bmAttributes = acfg->desc.bmAttributes; in usb_parse_config()
/freebsd-13.1/sys/dev/usb/
H A Dusb.h339 uDWord bmAttributes; member
353 uByte bmAttributes; member
394 uByte bmAttributes; member
540 uByte bmAttributes; member
569 uByte bmAttributes; member
675 uByte bmAttributes; member
H A Dusb_device.c445 ((ep->edesc->bmAttributes & type_mask) == type_val)) { in usbd_get_endpoint()
459 ((udev->ctrl_ep.edesc->bmAttributes & type_mask) == type_val) && in usbd_get_endpoint()
529 (edesc->bmAttributes & UE_XFERTYPE) == UE_BULK && in usb_init_endpoint()
530 (UE_GET_BULK_STREAMS(ecomp->bmAttributes) != 0)) { in usb_init_endpoint()
720 (cdp->bmAttributes & UC_SELF_POWERED) && in usbd_set_config_index()
723 if (cdp->bmAttributes & UC_BUS_POWERED) { in usbd_set_config_index()
741 udev->address, cdp->bConfigurationValue, cdp->bmAttributes, in usbd_set_config_index()
1113 et = (ep->edesc->bmAttributes & UE_XFERTYPE); in usbd_set_endpoint_stall()
1825 udev->ctrl_ep_desc.bmAttributes = UE_CONTROL; in usb_alloc_device()
2851 return (cdp->bmAttributes & UC_REMOTE_WAKEUP); in usb_peer_can_wakeup()
/freebsd-13.1/sys/dev/sound/usb/
H A Duaudioreg.h79 uByte bmAttributes; member
116 uByte bmAttributes; member
482 uByte bmAttributes; member
496 uByte bmAttributes; member
598 uByte bmAttributes; member
/freebsd-13.1/usr.sbin/bhyve/
H A Dusb_mouse.c177 .bmAttributes = UC_BUS_POWERED | UC_REMOTE_WAKEUP,
201 .bmAttributes = UE_INTERRUPT,
209 .bmAttributes = 0,
232 .bmAttributes = 0,
/freebsd-13.1/sys/dev/usb/controller/
H A Dxhci.c2382 type = edesc->bmAttributes & UE_XFERTYPE; in xhci_configure_endpoint()
2493 switch (edesc->bmAttributes & UE_XFERTYPE) { in xhci_configure_endpoint()
2823 if ((edesc->bmAttributes & UE_XFERTYPE) == UE_CONTROL) in xhci_get_endpoint_ext()
3201 .bmAttributes[0] = 2,
3207 .bmAttributes = 0, /* XXX */
3231 .bmAttributes = UC_SELF_POWERED,
3246 .bmAttributes = UE_INTERRUPT,
3254 .bmAttributes = 0,
3842 if ((edesc->bmAttributes & UE_XFERTYPE) == UE_CONTROL) in xhci_configure_reset_endpoint()
3907 (edesc->bmAttributes & UE_XFERTYPE) != UE_CONTROL && in xhci_configure_reset_endpoint()
[all …]
/freebsd-13.1/sys/compat/ndis/
H A Dsubr_usbd.c555 pipe->upi_type = UE_GET_XFERTYPE(edesc->bmAttributes); in usbd_func_selconf()
644 if (UE_GET_XFERTYPE(ep->bmAttributes) == UE_CONTROL || in usbd_setup_endpoint()
645 UE_GET_XFERTYPE(ep->bmAttributes) == UE_ISOCHRONOUS) { in usbd_setup_endpoint()
647 __func__, UE_GET_XFERTYPE(ep->bmAttributes)); in usbd_setup_endpoint()
658 cfg.type = UE_GET_XFERTYPE(ep->bmAttributes); in usbd_setup_endpoint()
679 if (UE_GET_XFERTYPE(ep->bmAttributes) == UE_BULK) in usbd_setup_endpoint()

12