Home
last modified time | relevance | path

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

12

/freebsd-12.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_mtp.c126 .bmAttributes = UE_BULK,
132 .bmAttributes = UE_INTERRUPT,
142 .bmAttributes = UE_BULK,
167 .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_cdce.c157 .bmAttributes = UE_BULK,
167 .bmAttributes = UE_BULK,
173 .bmAttributes = UE_INTERRUPT,
222 .bmAttributes = 0,
H A Dusb_template.c282 et = (ted->bmAttributes & UE_XFERTYPE); in usb_make_endpoint_desc()
326 ed->bmAttributes = ted->bmAttributes; in usb_make_endpoint_desc()
491 cd->bmAttributes = tcd->bmAttributes; in usb_make_config_desc()
495 cd->bmAttributes |= UC_REMOTE_WAKEUP; in usb_make_config_desc()
497 cd->bmAttributes |= UC_BUS_POWERED; in usb_make_config_desc()
498 cd->bmAttributes &= ~UC_SELF_POWERED; in usb_make_config_desc()
500 cd->bmAttributes &= ~UC_BUS_POWERED; in usb_make_config_desc()
501 cd->bmAttributes |= UC_SELF_POWERED; in usb_make_config_desc()
809 temp = (ed->bmAttributes & UE_XFERTYPE); in usb_hw_ep_get_needs()
H A Dusb_template_cdceem.c112 .bmAttributes = UE_BULK,
122 .bmAttributes = UE_BULK,
146 .bmAttributes = 0,
H A Dusb_template_msc.c111 .bmAttributes = UE_BULK,
121 .bmAttributes = UE_BULK,
145 .bmAttributes = 0,
H A Dusb_template_midi.c131 .bmAttributes = UE_BULK,
147 .bmAttributes = UE_BULK,
202 .bmAttributes = 0,
H A Dusb_template_phone.c213 .bmAttributes = UE_ISOCHRONOUS,
270 .bmAttributes = UE_ISOCHRONOUS,
321 .bmAttributes = UE_INTERRUPT,
350 .bmAttributes = 0,
H A Dusb_template.h65 uint8_t bmAttributes; member
80 uint8_t bmAttributes; member
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_kbd.c126 .bmAttributes = UE_INTERRUPT,
160 .bmAttributes = 0,
H A Dusb_template_mouse.c124 .bmAttributes = UE_INTERRUPT,
158 .bmAttributes = 0,
/freebsd-12.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.h304 uint8_t bmAttributes; member
317 uint8_t bmAttributes; member
348 uint8_t bmAttributes; member
359 uint32_t bmAttributes; member
367 uint8_t bmAttributes; member
400 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-12.1/sys/dev/usb/
H A Dusb.h334 uDWord bmAttributes; member
348 uByte bmAttributes; member
389 uByte bmAttributes; member
534 uByte bmAttributes; member
563 uByte bmAttributes; member
669 uByte bmAttributes; member
H A Dusb_device.c448 ((ep->edesc->bmAttributes & type_mask) == type_val)) { in usbd_get_endpoint()
462 ((udev->ctrl_ep.edesc->bmAttributes & type_mask) == type_val) && in usbd_get_endpoint()
532 (edesc->bmAttributes & UE_XFERTYPE) == UE_BULK && in usb_init_endpoint()
533 (UE_GET_BULK_STREAMS(ecomp->bmAttributes) != 0)) { in usb_init_endpoint()
723 (cdp->bmAttributes & UC_SELF_POWERED) && in usbd_set_config_index()
726 if (cdp->bmAttributes & UC_BUS_POWERED) { in usbd_set_config_index()
744 udev->address, cdp->bConfigurationValue, cdp->bmAttributes, in usbd_set_config_index()
1114 et = (ep->edesc->bmAttributes & UE_XFERTYPE); in usbd_set_endpoint_stall()
1755 udev->ctrl_ep_desc.bmAttributes = UE_CONTROL; in usb_alloc_device()
2834 return (cdp->bmAttributes & UC_REMOTE_WAKEUP); in usb_peer_can_wakeup()
/freebsd-12.1/sys/dev/sound/usb/
H A Duaudioreg.h79 uByte bmAttributes; member
116 uByte bmAttributes; member
483 uByte bmAttributes; member
497 uByte bmAttributes; member
599 uByte bmAttributes; member
/freebsd-12.1/usr.sbin/bhyve/
H A Dusb_mouse.c174 .bmAttributes = UC_BUS_POWERED | UC_REMOTE_WAKEUP,
198 .bmAttributes = UE_INTERRUPT,
206 .bmAttributes = 0,
229 .bmAttributes = 0,
/freebsd-12.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()
/freebsd-12.1/sys/dev/usb/controller/
H A Dxhci.c2060 UE_GET_SS_ISO_MULT(xfer->endpoint->ecomp->bmAttributes) in xhci_setup_generic_chain()
2376 type = edesc->bmAttributes & UE_XFERTYPE; in xhci_configure_endpoint()
2487 switch (edesc->bmAttributes & UE_XFERTYPE) { in xhci_configure_endpoint()
2836 if ((edesc->bmAttributes & UE_XFERTYPE) == UE_CONTROL) in xhci_get_endpoint_ext()
3234 .bmAttributes[0] = 2,
3240 .bmAttributes = 0, /* XXX */
3264 .bmAttributes = UC_SELF_POWERED,
3279 .bmAttributes = UE_INTERRUPT,
3287 .bmAttributes = 0,
3855 if ((edesc->bmAttributes & UE_XFERTYPE) == UE_CONTROL) in xhci_configure_reset_endpoint()
[all …]

12