Home
last modified time | relevance | path

Searched refs:frame_number (Results 1 – 20 of 20) sorted by relevance

/drivers/usb/dwc2/
Dhcd_queue.c111 hsotg->frame_number = dwc2_hcd_get_frame_number(hsotg); in dwc2_qh_init()
113 qh->sched_frame = dwc2_frame_num_inc(hsotg->frame_number, in dwc2_qh_init()
589 if (!dwc2_frame_num_le(qh->sched_frame, hsotg->frame_number) && in dwc2_hcd_qh_add()
590 !hsotg->frame_number) { in dwc2_hcd_qh_add()
593 qh->sched_frame = dwc2_frame_num_inc(hsotg->frame_number, in dwc2_hcd_qh_add()
656 struct dwc2_qh *qh, u16 frame_number, in dwc2_sched_periodic_split() argument
662 qh->sched_frame = frame_number; in dwc2_sched_periodic_split()
664 if (dwc2_frame_num_le(frame_number, incr)) { in dwc2_sched_periodic_split()
680 if (dwc2_frame_num_le(qh->sched_frame, frame_number)) in dwc2_sched_periodic_split()
681 qh->sched_frame = frame_number; in dwc2_sched_periodic_split()
[all …]
Dhcd_ddma.c402 hsotg->frame_number = dwc2_hcd_get_frame_number(hsotg); in dwc2_calc_starting_frame()
428 if (dwc2_micro_frame_num(hsotg->frame_number) >= 5) { in dwc2_calc_starting_frame()
430 frame = dwc2_frame_num_inc(hsotg->frame_number, in dwc2_calc_starting_frame()
434 frame = dwc2_frame_num_inc(hsotg->frame_number, in dwc2_calc_starting_frame()
446 frame = dwc2_frame_num_inc(hsotg->frame_number, 2); in dwc2_calc_starting_frame()
Dcore.h799 u16 frame_number; member
Dhcd_intr.c59 u16 curr_frame_number = hsotg->frame_number; in dwc2_track_missed_sofs()
129 hsotg->frame_number = dwc2_hcd_get_frame_number(hsotg); in dwc2_sof_intr()
138 if (dwc2_frame_num_le(qh->sched_frame, hsotg->frame_number)) in dwc2_sof_intr()
Dcore.c119 hsotg->frame_number = 0; in dwc2_restore_host_registers()
/drivers/usb/host/
Duhci-hcd.c159 ++uhci->frame_number; in uhci_hc_died()
258 uhci_writew(uhci, uhci->frame_number & UHCI_MAX_SOF_NUMBER, in configure_hc()
509 delta = (uhci_readw(uhci, USBFRNUM) - uhci->frame_number) & in uhci_get_current_frame_number()
511 uhci->frame_number += delta; in uhci_get_current_frame_number()
795 unsigned frame_number; in uhci_hcd_get_frame_number() local
799 frame_number = uhci->frame_number; in uhci_hcd_get_frame_number()
801 delta = (uhci_readw(uhci, USBFRNUM) - frame_number) & in uhci_hcd_get_frame_number()
803 return frame_number + delta; in uhci_hcd_get_frame_number()
Dmax3421-hcd.c137 u16 frame_number; member
690 max3421_hcd->frame_number) == 0) in max3421_select_and_start_urb()
697 max3421_hcd->frame_number) in max3421_select_and_start_urb()
709 if (frame_diff(max3421_hcd->frame_number, in max3421_select_and_start_urb()
753 max3421_ep->last_active = max3421_hcd->frame_number; in max3421_select_and_start_urb()
1218 max3421_hcd->frame_number = ((max3421_hcd->frame_number + 1) in max3421_handle_irqs()
1323 max3421_hcd->frame_number = USB_MAX_FRAME_NUMBER; in max3421_reset_hcd()
1537 max3421_ep->last_active = max3421_hcd->frame_number; in max3421_urb_enqueue()
1602 return max3421_hcd->frame_number; in max3421_get_frame_number()
Duhci-q.c327 ret = (uhci->frame_number + uhci->is_stopped != in uhci_cleanup_queue()
568 qh->unlink_frame = uhci->frame_number; in uhci_unlink_qh()
1280 next = uhci->frame_number + 10; in uhci_submit_isochronous()
1290 next = uhci->frame_number + 1; in uhci_submit_isochronous()
1503 if (uhci_frame_before_eq(urb->start_frame, uhci->frame_number)) in uhci_urb_dequeue()
1504 qh->unlink_frame = uhci->frame_number; in uhci_urb_dequeue()
1574 uhci->frame_number + uhci->is_stopped != qh->unlink_frame)
1759 uhci->cur_iso_frame = uhci->frame_number; in uhci_scan_schedule()
Duhci-debug.c364 uhci->frame_number, uhci->frame_number & 1023, in uhci_show_status()
Duhci-hcd.h406 unsigned int frame_number; /* As of last check */ member
/drivers/media/platform/omap3isp/
Dispstat.c214 (s32)curr->frame_number - (s32)found->frame_number < 0) in __isp_stat_buf_find()
247 stat->active_buf->frame_number = stat->frame_number; in isp_stat_buf_queue()
465 status->frame_number = stat->frame_number; in isp_stat_queue_event()
501 data->frame_number = buf->frame_number; in omap3isp_stat_request_statistics()
903 stat->frame_number = atomic_read(&pipe->frame_number); in __stat_isr()
Dispstat.h44 u32 frame_number; member
109 u32 frame_number; member
Dispvideo.h96 atomic_t frame_number; member
Dispvideo.c480 atomic_inc_return(&pipe->frame_number); in omap3isp_video_buffer_next()
482 buf->vb.sequence = atomic_read(&pipe->frame_number); in omap3isp_video_buffer_next()
1071 atomic_set(&pipe->frame_number, -1); in isp_video_streamon()
Dispccdc.c1469 atomic_inc(&pipe->frame_number); in ccdc_hs_vs_isr()
1473 event.u.frame_sync.frame_sequence = atomic_read(&pipe->frame_number); in ccdc_hs_vs_isr()
1651 atomic_inc(&pipe->frame_number); in ccdc_vd0_isr()
/drivers/staging/octeon-usb/
Docteon-hcd.c385 uint64_t frame_number; member
1148 pipe->next_tx_frame = ((usb->frame_number+7)&~7) + in cvmx_usb_open_pipe()
1152 pipe->next_tx_frame = usb->frame_number + pipe->interval; in cvmx_usb_open_pipe()
1642 (usb->frame_number + 1) & 0x7f; in cvmx_usb_start_channel()
1645 (usb->frame_number + 2) & 0x7f; in cvmx_usb_start_channel()
1786 usbc_hcchar.s.oddfrm = usb->frame_number&1; in cvmx_usb_start_channel()
1946 usb->frame_number); in cvmx_usb_schedule()
1951 usb->frame_number); in cvmx_usb_schedule()
1957 usb->frame_number); in cvmx_usb_schedule()
1962 usb->frame_number); in cvmx_usb_schedule()
[all …]
/drivers/staging/media/omap4iss/
Diss_video.h91 atomic_t frame_number; member
Diss_video.c448 atomic_inc_return(&pipe->frame_number); in omap4iss_video_buffer_next()
450 buf->vb.sequence = atomic_read(&pipe->frame_number); in omap4iss_video_buffer_next()
834 atomic_set(&pipe->frame_number, -1); in iss_video_streamon()
Diss_csi2.c693 atomic_inc(&pipe->frame_number); in csi2_isr_ctx()
707 atomic_add(delta, &pipe->frame_number); in csi2_isr_ctx()
/drivers/media/platform/exynos4-is/
Dfimc-is-param.h876 u32 frame_number; member
888 u32 frame_number; member