Home
last modified time | relevance | path

Searched refs:uframe (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-6.6/drivers/usb/gadget/function/
H A Duvc_v4l2.c52 struct uvcg_frame *uframe) in uvc_v4l2_get_bytesperline()
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()
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 in find_closest_frame_by_size() local
51 uvc_v4l2_get_bytesperline(struct uvcg_format *uformat, struct uvcg_frame *uframe) uvc_v4l2_get_bytesperline() argument
67 uvc_get_frame_size(struct uvcg_format *uformat, struct uvcg_frame *uframe) uvc_get_frame_size() argument
242 struct uvcg_frame *uframe; uvc_v4l2_try_format() local
303 struct uvcg_frame *uframe = NULL; uvc_v4l2_enum_frameintervals() local
342 struct uvcg_frame *uframe = NULL; uvc_v4l2_enum_framesizes() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dehci-sched.c265 unsigned uframe, uf, x; in compute_tt_budget() local
274 for (uframe = ps->bw_phase << 3; uframe < EHCI_BANDWIDTH_SIZE; in compute_tt_budget()
275 uframe += ps->bw_uperiod) { in compute_tt_budget()
276 budget_line = &budget_table[uframe]; in compute_tt_budget()
313 /* carryover low/fullspeed bandwidth that crosses uframe boundries */
329 * specified frame/uframe. Note that (as summarized in section 11.19
331 * uframe.
333 * The uframe parameter is when the fullspeed/lowspeed transfer
335 * highspeed ssplit's uframe (whic
735 check_period( struct ehci_hcd *ehci, unsigned frame, unsigned uframe, unsigned uperiod, unsigned usecs ) check_period() argument
761 check_intr_schedule( struct ehci_hcd *ehci, unsigned frame, unsigned uframe, struct ehci_qh *qh, unsigned *c_maskp, struct ehci_tt *tt ) check_intr_schedule() argument
832 unsigned uframe; qh_schedule() local
1190 struct ehci_iso_packet *uframe = &iso_sched->packet[i]; itd_sched_init() local
1299 unsigned uframe; reserve_release_iso_bandwidth() local
1373 sitd_slot_ok( struct ehci_hcd *ehci, struct ehci_iso_stream *stream, unsigned uframe, struct ehci_iso_sched *sched, struct ehci_tt *tt ) sitd_slot_ok() argument
1738 unsigned next_uframe, uframe, frame; itd_link_urb() local
1815 unsigned uframe; itd_complete() local
[all...]
H A 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()
133 "(== %u usec/uframe)\n", in uframe_periodic_max_store()
H A Dfotg210-hcd.c53 #define FOTG210_TUNE_MULT_HS 1 /* 1-3 transactions/uframe; 4.10.3 */
563 /* uframe masks */ in fill_periodic_buffer()
709 temp = scnprintf(next, size, "uframe %04x\n", in fill_registers_buffer()
2740 * - allowing for high bandwidth, how many nsec/uframe are used? in qh_make()
2741 * - split transactions need a second CSPLIT uframe; same question in qh_make()
3329 /* how many of the uframe's 125 usecs are allocated? */
3331 unsigned frame, unsigned uframe) in periodic_usecs()
3343 if (hw->hw_info2 & cpu_to_hc32(fotg210, 1 << uframe)) in periodic_usecs()
3347 1 << (8 + uframe))) in periodic_usecs()
3364 if (q->itd->hw_transaction[uframe]) in periodic_usecs()
3330 periodic_usecs(struct fotg210_hcd *fotg210, unsigned frame, unsigned uframe) periodic_usecs() argument
3666 check_period(struct fotg210_hcd *fotg210, unsigned frame, unsigned uframe, unsigned period, unsigned usecs) check_period() argument
3706 check_intr_schedule(struct fotg210_hcd *fotg210, unsigned frame, unsigned uframe, const struct fotg210_qh *qh, __hc32 *c_maskp) check_intr_schedule() argument
3753 unsigned uframe; qh_schedule() local
4036 struct fotg210_iso_packet *uframe = &iso_sched->packet[i]; itd_sched_init() local
4130 itd_slot_ok(struct fotg210_hcd *fotg210, u32 mod, u32 uframe, u8 usecs, u32 period) itd_slot_ok() argument
4296 itd_patch(struct fotg210_hcd *fotg210, struct fotg210_itd *itd, struct fotg210_iso_sched *iso_sched, unsigned index, u16 uframe) itd_patch() argument
4352 unsigned next_uframe, uframe, frame; itd_link_urb() local
4429 unsigned uframe; itd_complete() local
4699 unsigned frame, uframe; uframe_periodic_max_store() local
[all...]
H A Doxu210hp-hcd.c85 #define EHCI_TUNE_MULT_HS 1 /* 1-3 transactions/uframe; 4.10.3 */
1801 * - allowing for high bandwidth, how many nsec/uframe are used? in qh_make()
1802 * - split transactions need a second CSPLIT uframe; same question in qh_make()
2264 /* how many of the uframe's 125 usecs are allocated? */
2266 unsigned frame, unsigned uframe) in periodic_usecs()
2277 if (q->qh->hw_info2 & cpu_to_le32(1 << uframe)) in periodic_usecs()
2280 if (q->qh->hw_info2 & cpu_to_le32(1 << (8 + uframe))) in periodic_usecs()
2289 oxu_err(oxu, "uframe %d sched overrun: %d usecs\n", in periodic_usecs()
2290 frame * 8 + uframe, usecs); in periodic_usecs()
2347 * this just links in a qh; caller guarantees uframe mask
2265 periodic_usecs(struct oxu_hcd *oxu, unsigned frame, unsigned uframe) periodic_usecs() argument
2481 check_period(struct oxu_hcd *oxu, unsigned frame, unsigned uframe, unsigned period, unsigned usecs) check_period() argument
2523 check_intr_schedule(struct oxu_hcd *oxu, unsigned frame, unsigned uframe, const struct ehci_qh *qh, __le32 *c_maskp) check_intr_schedule() argument
2550 unsigned uframe; qh_schedule() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/host/
H A 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()
319 /* carryover low/fullspeed bandwidth that crosses uframe boundries */
335 * specified frame/uframe. Note that (as summarized in section 11.19
337 * uframe.
339 * The uframe parameter is when the fullspeed/lowspeed transfer
341 * highspeed ssplit's uframe (whic
742 check_period( struct ehci_hcd *ehci, unsigned frame, unsigned uframe, unsigned uperiod, unsigned usecs ) check_period() argument
768 check_intr_schedule( struct ehci_hcd *ehci, unsigned frame, unsigned uframe, struct ehci_qh *qh, unsigned *c_maskp, struct ehci_tt *tt ) check_intr_schedule() argument
839 unsigned uframe; qh_schedule() local
1195 struct ehci_iso_packet *uframe = &iso_sched->packet[i]; itd_sched_init() local
1304 unsigned uframe; reserve_release_iso_bandwidth() local
1384 sitd_slot_ok( struct ehci_hcd *ehci, struct ehci_iso_stream *stream, unsigned uframe, struct ehci_iso_sched *sched, struct ehci_tt *tt ) sitd_slot_ok() argument
1749 unsigned next_uframe, uframe, frame; itd_link_urb() local
1826 unsigned uframe; itd_complete() local
[all...]
H A 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()
133 "(== %u usec/uframe)\n", in uframe_periodic_max_store()
H A Doxu210hp-hcd.c85 #define EHCI_TUNE_MULT_HS 1 /* 1-3 transactions/uframe; 4.10.3 */
1802 * - allowing for high bandwidth, how many nsec/uframe are used? in qh_make()
1803 * - split transactions need a second CSPLIT uframe; same question in qh_make()
2265 /* how many of the uframe's 125 usecs are allocated? */
2267 unsigned frame, unsigned uframe) in periodic_usecs()
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()
2290 oxu_err(oxu, "uframe %d sched overrun: %d usecs\n", in periodic_usecs()
2291 frame * 8 + uframe, usecs); in periodic_usecs()
2348 * this just links in a qh; caller guarantees uframe mask
2266 periodic_usecs(struct oxu_hcd *oxu, unsigned frame, unsigned uframe) periodic_usecs() argument
2482 check_period(struct oxu_hcd *oxu, unsigned frame, unsigned uframe, unsigned period, unsigned usecs) check_period() argument
2524 check_intr_schedule(struct oxu_hcd *oxu, unsigned frame, unsigned uframe, const struct ehci_qh *qh, __le32 *c_maskp) check_intr_schedule() argument
2551 unsigned uframe; qh_schedule() local
[all...]
/kernel/linux/linux-6.6/drivers/usb/fotg210/
H A Dfotg210-hcd.c52 #define FOTG210_TUNE_MULT_HS 1 /* 1-3 transactions/uframe; 4.10.3 */
562 /* uframe masks */ in fill_periodic_buffer()
708 temp = scnprintf(next, size, "uframe %04x\n", in fill_registers_buffer()
2741 * - allowing for high bandwidth, how many nsec/uframe are used? in qh_make()
2742 * - split transactions need a second CSPLIT uframe; same question in qh_make()
3330 /* how many of the uframe's 125 usecs are allocated? */
3332 unsigned frame, unsigned uframe) in periodic_usecs()
3344 if (hw->hw_info2 & cpu_to_hc32(fotg210, 1 << uframe)) in periodic_usecs()
3348 1 << (8 + uframe))) in periodic_usecs()
3365 if (q->itd->hw_transaction[uframe]) in periodic_usecs()
3331 periodic_usecs(struct fotg210_hcd *fotg210, unsigned frame, unsigned uframe) periodic_usecs() argument
3667 check_period(struct fotg210_hcd *fotg210, unsigned frame, unsigned uframe, unsigned period, unsigned usecs) check_period() argument
3707 check_intr_schedule(struct fotg210_hcd *fotg210, unsigned frame, unsigned uframe, const struct fotg210_qh *qh, __hc32 *c_maskp) check_intr_schedule() argument
3754 unsigned uframe; qh_schedule() local
4035 struct fotg210_iso_packet *uframe = &iso_sched->packet[i]; itd_sched_init() local
4130 itd_slot_ok(struct fotg210_hcd *fotg210, u32 mod, u32 uframe, u8 usecs, u32 period) itd_slot_ok() argument
4296 itd_patch(struct fotg210_hcd *fotg210, struct fotg210_itd *itd, struct fotg210_iso_sched *iso_sched, unsigned index, u16 uframe) itd_patch() argument
4352 unsigned next_uframe, uframe, frame; itd_link_urb() local
4429 unsigned uframe; itd_complete() local
4696 unsigned frame, uframe; uframe_periodic_max_store() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/dwc2/
H A Dhcd_queue.c547 int uframe = trans_time->start_schedule_us / in dwc2_qh_schedule_print() local
554 qh, i, trans_time->duration_us, uframe, rel_us); in dwc2_qh_schedule_print()
775 * If we were going to start in uframe 7 then we would need to in dwc2_uframe_schedule_split()
776 * issue a start split in uframe 6, which spec says is not OK. in dwc2_uframe_schedule_split()
/kernel/linux/linux-6.6/drivers/usb/dwc2/
H A 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()
745 * If we were going to start in uframe 7 then we would need to in dwc2_uframe_schedule_split()
746 * issue a start split in uframe 6, which spec says is not OK. in dwc2_uframe_schedule_split()

Completed in 50 milliseconds