Home
last modified time | relevance | path

Searched refs:uframe (Results 1 – 6 of 6) sorted by relevance

/drivers/usb/gadget/function/
Duvc_v4l2.c52 struct uvcg_frame *uframe) in uvc_v4l2_get_bytesperline() argument
61 return u->desc.bBitsPerPixel * uframe->frame.w_width / 8; in uvc_v4l2_get_bytesperline()
68 struct uvcg_frame *uframe) in uvc_get_frame_size() argument
70 unsigned int bpl = uvc_v4l2_get_bytesperline(uformat, uframe); in uvc_get_frame_size()
72 return bpl ? bpl * uframe->frame.w_height : in uvc_get_frame_size()
73 uframe->frame.dw_max_video_frame_buffer_size; in uvc_get_frame_size()
99 struct uvcg_frame *uframe = NULL; in find_frame_by_index() local
106 uframe = frame->frm; in find_frame_by_index()
112 return uframe; in find_frame_by_index()
140 struct uvcg_frame *uframe = NULL; in find_closest_frame_by_size() local
[all …]
/drivers/usb/host/
Dehci-sched.c271 unsigned uframe, uf, x; in compute_tt_budget() local
280 for (uframe = ps->bw_phase << 3; uframe < EHCI_BANDWIDTH_SIZE; in compute_tt_budget()
281 uframe += ps->bw_uperiod) { in compute_tt_budget()
282 budget_line = &budget_table[uframe]; in compute_tt_budget()
358 unsigned uframe in tt_available() argument
364 if ((period == 0) || (uframe >= 7)) /* error */ in tt_available()
379 if (max_tt_usecs[uframe] <= tt_usecs[uframe]) in tt_available()
390 for (i = uframe; i < (uframe + ufs) && i < 8; i++) in tt_available()
395 tt_usecs[uframe] += usecs; in tt_available()
745 unsigned uframe, in check_period() argument
[all …]
Dehci-sysfs.c87 unsigned uframe; in uframe_periodic_max_store() local
116 for (uframe = 0; uframe < EHCI_BANDWIDTH_SIZE; ++uframe) in uframe_periodic_max_store()
118 ehci->bandwidth[uframe]); in uframe_periodic_max_store()
Dfotg210-hcd.c3333 unsigned frame, unsigned uframe) in periodic_usecs() argument
3345 if (hw->hw_info2 & cpu_to_hc32(fotg210, 1 << uframe)) in periodic_usecs()
3349 1 << (8 + uframe))) in periodic_usecs()
3366 if (q->itd->hw_transaction[uframe]) in periodic_usecs()
3375 frame * 8 + uframe, usecs); in periodic_usecs()
3669 unsigned uframe, unsigned period, unsigned usecs) in check_period() argument
3676 if (uframe >= 8) in check_period()
3687 for (uframe = 0; uframe < 7; uframe++) { in check_period()
3689 uframe); in check_period()
3698 claimed = periodic_usecs(fotg210, frame, uframe); in check_period()
[all …]
Doxu210hp-hcd.c2267 unsigned frame, unsigned uframe) in periodic_usecs() argument
2278 if (q->qh->hw_info2 & cpu_to_le32(1 << uframe)) in periodic_usecs()
2281 if (q->qh->hw_info2 & cpu_to_le32(1 << (8 + uframe))) in periodic_usecs()
2291 frame * 8 + uframe, usecs); in periodic_usecs()
2483 unsigned frame, unsigned uframe, in check_period() argument
2491 if (uframe >= 8) in check_period()
2505 for (uframe = 0; uframe < 7; uframe++) { in check_period()
2506 claimed = periodic_usecs(oxu, frame, uframe); in check_period()
2515 claimed = periodic_usecs(oxu, frame, uframe); in check_period()
2525 unsigned frame, unsigned uframe, in check_intr_schedule() argument
[all …]
/drivers/usb/dwc2/
Dhcd_queue.c517 int uframe = trans_time->start_schedule_us / in dwc2_qh_schedule_print() local
524 qh, i, trans_time->duration_us, uframe, rel_us); in dwc2_qh_schedule_print()