Home
last modified time | relevance | path

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

12

/src/sys/dev/usb/template/
H A Dusb_template_multi.c174 .bmAttributes = UE_BULK,
184 .bmAttributes = UE_BULK,
190 .bmAttributes = UE_INTERRUPT,
252 .bmAttributes = UE_INTERRUPT,
258 .bmAttributes = UE_BULK,
264 .bmAttributes = UE_BULK,
331 .bmAttributes = UE_BULK,
341 .bmAttributes = UE_BULK,
370 .bmAttributes = 0,
H A Dusb_template_serialnet.c171 .bmAttributes = UE_BULK,
181 .bmAttributes = UE_BULK,
187 .bmAttributes = UE_INTERRUPT,
249 .bmAttributes = UE_INTERRUPT,
255 .bmAttributes = UE_BULK,
261 .bmAttributes = UE_BULK,
327 .bmAttributes = 0,
H A Dusb_template_modem.c125 .bmAttributes = UE_INTERRUPT,
131 .bmAttributes = UE_BULK,
137 .bmAttributes = UE_BULK,
200 .bmAttributes = 0,
H A Dusb_template_mtp.c125 .bmAttributes = UE_BULK,
131 .bmAttributes = UE_INTERRUPT,
141 .bmAttributes = UE_BULK,
166 .bmAttributes = 0,
H A Dusb_template_cdce.c156 .bmAttributes = UE_BULK,
166 .bmAttributes = UE_BULK,
172 .bmAttributes = UE_INTERRUPT,
221 .bmAttributes = 0,
H A Dusb_template_cdceem.c111 .bmAttributes = UE_BULK,
121 .bmAttributes = UE_BULK,
145 .bmAttributes = 0,
H A Dusb_template_msc.c110 .bmAttributes = UE_BULK,
120 .bmAttributes = UE_BULK,
144 .bmAttributes = 0,
H A Dusb_template.c280 et = (ted->bmAttributes & UE_XFERTYPE); in usb_make_endpoint_desc()
324 ed->bmAttributes = ted->bmAttributes; in usb_make_endpoint_desc()
489 cd->bmAttributes = tcd->bmAttributes; in usb_make_config_desc()
493 cd->bmAttributes |= UC_REMOTE_WAKEUP; in usb_make_config_desc()
495 cd->bmAttributes |= UC_BUS_POWERED; in usb_make_config_desc()
496 cd->bmAttributes &= ~UC_SELF_POWERED; in usb_make_config_desc()
498 cd->bmAttributes &= ~UC_BUS_POWERED; in usb_make_config_desc()
499 cd->bmAttributes |= UC_SELF_POWERED; in usb_make_config_desc()
803 temp = (ed->bmAttributes & UE_XFERTYPE); in usb_hw_ep_get_needs()
H A Dusb_template_midi.c130 .bmAttributes = UE_BULK,
146 .bmAttributes = UE_BULK,
201 .bmAttributes = 0,
H A Dusb_template_phone.c212 .bmAttributes = UE_ISOCHRONOUS,
269 .bmAttributes = UE_ISOCHRONOUS,
320 .bmAttributes = UE_INTERRUPT,
349 .bmAttributes = 0,
H A Dusb_template.h64 uint8_t bmAttributes; member
79 uint8_t bmAttributes; member
H A Dusb_template_audio.c257 .bmAttributes = UE_ISOCHRONOUS | UE_ISO_ADAPT,
315 .bmAttributes = UE_ISOCHRONOUS | UE_ISO_ADAPT,
353 .bmAttributes = 0,
H A Dusb_template_kbd.c125 .bmAttributes = UE_INTERRUPT,
159 .bmAttributes = 0,
H A Dusb_template_mouse.c123 .bmAttributes = UE_INTERRUPT,
157 .bmAttributes = 0,
/src/lib/libusb/
H A Dlibusb10_desc.c188 pconfd->bmAttributes = pconf->desc.bmAttributes; in libusb_get_config_descriptor()
243 endd->bmAttributes = pend->desc.bmAttributes; in libusb_get_config_descriptor()
389 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 Dlibusb20_desc.h230 m(n, UINT8_T, bmAttributes, ) \
258 m(n, UINT8_T, bmAttributes, ) \
276 m(n, UINT8_T, bmAttributes, ) \
285 m(n, UINT32_T, bmAttributes, ) \
293 m(n, UINT8_T, bmAttributes, ) \
H A Dlibusb.h341 uint8_t bmAttributes; member
354 uint8_t bmAttributes; member
385 uint8_t bmAttributes; member
396 uint32_t bmAttributes; member
404 uint8_t bmAttributes; member
440 uint32_t bmAttributes; member
H A Dusb.h105 uint8_t bmAttributes; member
155 uint8_t bmAttributes; member
H A Dlibusb01.c361 bep->bmAttributes = aep->desc.bmAttributes; in usb_parse_endpoint()
447 bcfg->bmAttributes = acfg->desc.bmAttributes; in usb_parse_config()
/src/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.c444 ((ep->edesc->bmAttributes & type_mask) == type_val)) { in usbd_get_endpoint()
458 ((udev->ctrl_ep.edesc->bmAttributes & type_mask) == type_val) && in usbd_get_endpoint()
528 (edesc->bmAttributes & UE_XFERTYPE) == UE_BULK && in usb_init_endpoint()
529 (UE_GET_BULK_STREAMS(ecomp->bmAttributes) != 0)) { in usb_init_endpoint()
719 (cdp->bmAttributes & UC_SELF_POWERED) && in usbd_set_config_index()
722 if (cdp->bmAttributes & UC_BUS_POWERED) { in usbd_set_config_index()
740 udev->address, cdp->bConfigurationValue, cdp->bmAttributes, in usbd_set_config_index()
1128 et = (ep->edesc->bmAttributes & UE_XFERTYPE); in usbd_set_endpoint_stall()
1840 udev->ctrl_ep_desc.bmAttributes = UE_CONTROL; in usb_alloc_device()
2869 return (cdp->bmAttributes & UC_REMOTE_WAKEUP); in usb_peer_can_wakeup()
/src/sys/dev/sound/usb/
H A Duaudioreg.h78 uByte bmAttributes; member
115 uByte bmAttributes; member
481 uByte bmAttributes; member
495 uByte bmAttributes; member
597 uByte bmAttributes; member
/src/sys/contrib/dev/athk/ath10k/
H A Dusb.c839 if (ATH10K_USB_IS_BULK_EP(endpoint->bmAttributes)) { in ath10k_usb_setup_pipe_resources()
850 } else if (ATH10K_USB_IS_INT_EP(endpoint->bmAttributes)) { in ath10k_usb_setup_pipe_resources()
862 } else if (ATH10K_USB_IS_ISOC_EP(endpoint->bmAttributes)) { in ath10k_usb_setup_pipe_resources()
904 if (ATH10K_USB_IS_BULK_EP(endpoint->bmAttributes)) { in ath10k_usb_setup_pipe_resources()
914 } else if (ATH10K_USB_IS_INT_EP(endpoint->bmAttributes)) { in ath10k_usb_setup_pipe_resources()
924 } else if (ATH10K_USB_IS_ISOC_EP(endpoint->bmAttributes)) { in ath10k_usb_setup_pipe_resources()
/src/usr.sbin/bhyve/
H A Dusb_mouse.c175 .bmAttributes = UC_BUS_POWERED | UC_REMOTE_WAKEUP,
199 .bmAttributes = UE_INTERRUPT,
207 .bmAttributes = 0,
230 .bmAttributes = 0,
/src/sys/dev/usb/controller/
H A Dxhci.c2102 UE_GET_SS_ISO_MULT(xfer->endpoint->ecomp->bmAttributes) in xhci_setup_generic_chain()
2411 type = edesc->bmAttributes & UE_XFERTYPE; in xhci_configure_endpoint()
2525 switch (edesc->bmAttributes & UE_XFERTYPE) { in xhci_configure_endpoint()
2588 (ecomp != NULL) ? UE_GET_SS_ISO_MULT(ecomp->bmAttributes) + 1 : 1, in xhci_configure_endpoint_by_xfer()
2855 if ((edesc->bmAttributes & UE_XFERTYPE) == UE_CONTROL) in xhci_get_endpoint_ext()
2946 switch (xfer->endpoint->edesc->bmAttributes & UE_XFERTYPE) { in xhci_transfer_insert()
3233 .bmAttributes[0] = 2,
3239 .bmAttributes = 0, /* XXX */
3263 .bmAttributes = UC_SELF_POWERED,
3278 .bmAttributes = UE_INTERRUPT,
[all …]

12