Home
last modified time | relevance | path

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

/openbsd/sys/sys/
H A Dmalloc.h140 #define M_USBHC 103 /* USB host controller */ macro
/openbsd/sys/dev/usb/dwc2/
H A Ddwc2_hcd.c3916 urb = malloc(size, M_USBHC, M_ZERO | mem_flags); in dwc2_hcd_urb_alloc()
3929 free(urb, M_USBHC, size); in dwc2_hcd_urb_free()
4139 dwc_tt = malloc(sizeof(*dwc_tt) + bitmap_size, M_USBHC, in dwc2_host_get_tt_info()
4177 free(dwc_tt, M_USBHC, 0); in dwc2_host_put_tt_info()
5209 free(chan, M_USBHC, sizeof(*chan)); in dwc2_hcd_free()
5220 free(hsotg->status_buf, M_USBHC, DWC2_HCD_STATUS_BUF_SIZE); in dwc2_hcd_free()
5280 FRAME_NUM_ARRAY_SIZE, M_USBHC, in dwc2_hcd_init()
5286 FRAME_NUM_ARRAY_SIZE, M_USBHC, M_ZERO | M_WAITOK); in dwc2_hcd_init()
5370 hsotg->status_buf = malloc(DWC2_HCD_STATUS_BUF_SIZE, M_USBHC, in dwc2_hcd_init()
5402 free(hsotg->last_frame_num_array, M_USBHC, in dwc2_hcd_init()
[all …]
H A Ddwc2_hcdddma.c118 qh->n_bytes = malloc(sizeof(u32) * dwc2_max_desc_num(qh), M_USBHC, in dwc2_desc_list_alloc()
146 free(qh->n_bytes, M_USBHC, sizeof(u32) * dwc2_max_desc_num(qh)); in dwc2_desc_list_free()
H A Ddwc2.c1340 sc->sc_hsotg = malloc(sizeof(struct dwc2_hsotg), M_USBHC, in dwc2_init()
1404 free(sc->sc_hsotg, M_USBHC, sizeof(struct dwc2_hsotg)); in dwc2_init()
/openbsd/sys/dev/usb/
H A Duhci.c366 uhcixfer = malloc(sizeof(struct pool), M_USBHC, M_NOWAIT); in uhci_init()
1958 free(qhs, M_USBHC, npoll * sizeof(*qhs)); in uhci_device_intr_close()
2322 free(iso->stds, M_USBHC, UHCI_VFRAMELIST_COUNT * sizeof(*iso->stds)); in uhci_device_isoc_close()
2340 M_USBHC, M_WAITOK); in uhci_setup_isoc()
2375 free(iso->stds, M_USBHC, UHCI_VFRAMELIST_COUNT * sizeof(*iso->stds)); in uhci_setup_isoc()
2576 qhs = mallocarray(npoll, sizeof(*qhs), M_USBHC, M_NOWAIT); in uhci_device_setintr()
2600 free(qhs, M_USBHC, npoll * sizeof(*qhs)); in uhci_device_setintr()
H A Dehci.c333 ehcixfer = malloc(sizeof(struct pool), M_USBHC, M_NOWAIT); in ehci_init()
370 sizeof(struct ehci_soft_itd *), M_USBHC, M_NOWAIT | M_ZERO); in ehci_init()
489 free(sc->sc_softitds, M_USBHC, in ehci_init()
950 free(sc->sc_softitds, M_USBHC, in ehci_detach()
H A Dohci.c723 ohcixfer = malloc(sizeof(struct pool), M_USBHC, M_NOWAIT); in ohci_init()
H A Dxhci.c320 xhcixfer = malloc(sizeof(struct pool), M_USBHC, M_NOWAIT); in xhci_init()