Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/acpi/arm64/
Dgtdt.c227 if (gtdt_frame->frame_number >= ARCH_TIMER_MEM_MAX_FRAMES || in gtdt_parse_timer_block()
231 frame = &timer_mem->frame[gtdt_frame->frame_number]; in gtdt_parse_timer_block()
241 gtdt_frame->frame_number); in gtdt_parse_timer_block()
251 gtdt_frame->frame_number); in gtdt_parse_timer_block()
256 gtdt_frame->frame_number); in gtdt_parse_timer_block()
274 gtdt_frame->frame_number >= ARCH_TIMER_MEM_MAX_FRAMES) in gtdt_parse_timer_block()
277 frame = &timer_mem->frame[gtdt_frame->frame_number]; in gtdt_parse_timer_block()
/linux-6.6.21/drivers/usb/dwc2/
Dhcd_queue.c1058 u16 frame_number; in dwc2_pick_first_frame() local
1068 frame_number = dwc2_hcd_get_frame_number(hsotg); in dwc2_pick_first_frame()
1078 earliest_frame = dwc2_frame_num_inc(frame_number, 1); in dwc2_pick_first_frame()
1157 qh, frame_number, qh->next_active_frame); in dwc2_pick_first_frame()
1363 hsotg->frame_number)) in dwc2_schedule_periodic()
1707 qh->start_active_frame = hsotg->frame_number; in dwc2_hcd_qh_add()
1794 struct dwc2_qh *qh, u16 frame_number) in dwc2_next_for_periodic_split() argument
1797 u16 prev_frame_number = dwc2_frame_num_dec(frame_number, 1); in dwc2_next_for_periodic_split()
1830 qh->next_active_frame = frame_number; in dwc2_next_for_periodic_split()
1857 struct dwc2_qh *qh, u16 frame_number) in dwc2_next_periodic_start() argument
[all …]
Dhcd_ddma.c403 hsotg->frame_number = dwc2_hcd_get_frame_number(hsotg); in dwc2_calc_starting_frame()
432 if (dwc2_micro_frame_num(hsotg->frame_number) >= 5) { in dwc2_calc_starting_frame()
434 frame = dwc2_frame_num_inc(hsotg->frame_number, in dwc2_calc_starting_frame()
438 frame = dwc2_frame_num_inc(hsotg->frame_number, in dwc2_calc_starting_frame()
450 frame = dwc2_frame_num_inc(hsotg->frame_number, 2); in dwc2_calc_starting_frame()
561 hsotg->frame_number = dwc2_hcd_get_frame_number(hsotg); in dwc2_init_isoc_dma_desc()
562 cur_idx = dwc2_frame_list_idx(hsotg->frame_number); in dwc2_init_isoc_dma_desc()
1020 cur_idx = dwc2_frame_list_idx(hsotg->frame_number); in dwc2_complete_isoc_xfer_ddma()
Dgadget.c1200 hs_req->req.frame_number = hs_ep->target_frame; in dwc2_hsotg_start_req()
1350 u32 current_frame = hsotg->frame_number; in dwc2_gadget_target_frame_elapsed()
1507 hs->frame_number = dwc2_hsotg_read_frameno(hs); in dwc2_hsotg_ep_queue()
1513 hs->frame_number = dwc2_hsotg_read_frameno(hs); in dwc2_hsotg_ep_queue()
2213 ureq->frame_number = in dwc2_gadget_complete_isoc_request_ddma()
2454 req->frame_number = hs_ep->target_frame; in dwc2_hsotg_handle_outdone()
2772 hs_req->req.frame_number = hs_ep->target_frame; in dwc2_hsotg_complete_in()
2862 hs_req->req.frame_number = hs_ep->target_frame; in dwc2_gadget_handle_ep_disabled()
2869 hsotg->frame_number = dwc2_hsotg_read_frameno(hsotg); in dwc2_gadget_handle_ep_disabled()
2896 ep->target_frame = hsotg->frame_number; in dwc2_gadget_handle_out_token_ep_disabled()
[all …]
Dcore_intr.c815 hsotg->frame_number = (dwc2_readl(hsotg, DSTS) in dwc2_handle_common_intr()
818 hsotg->frame_number = (dwc2_readl(hsotg, HFNUM) in dwc2_handle_common_intr()
Dhcd.c968 u16 frame_number; in dwc2_hc_set_even_odd_frame() local
1018 frame_number = dwc2_hcd_get_future_frame_number(hsotg, xfer_us); in dwc2_hc_set_even_odd_frame()
1030 if (dwc2_frame_num_gt(frame_number, wire_frame)) { in dwc2_hc_set_even_odd_frame()
1033 chan->qh, wire_frame, frame_number, in dwc2_hc_set_even_odd_frame()
1034 dwc2_frame_num_dec(frame_number, in dwc2_hc_set_even_odd_frame()
1036 wire_frame = frame_number; in dwc2_hc_set_even_odd_frame()
1047 dwc2_frame_num_dec(frame_number, 1); in dwc2_hc_set_even_odd_frame()
3790 unsigned int frame_number; in dwc2_hcd_get_future_frame_number() local
3799 frame_number = (hfnum & HFNUM_FRNUM_MASK) >> HFNUM_FRNUM_SHIFT; in dwc2_hcd_get_future_frame_number()
3810 return dwc2_frame_num_inc(frame_number, phy_clks / interval); in dwc2_hcd_get_future_frame_number()
[all …]
Dhcd_intr.c35 u16 curr_frame_number = hsotg->frame_number; in dwc2_track_missed_sofs()
123 hsotg->frame_number = dwc2_hcd_get_frame_number(hsotg); in dwc2_sof_intr()
133 hsotg->frame_number)) { in dwc2_sof_intr()
135 qh, hsotg->frame_number, in dwc2_sof_intr()
/linux-6.6.21/drivers/usb/host/
Duhci-hcd.c160 ++uhci->frame_number; in uhci_hc_died()
259 uhci_writew(uhci, uhci->frame_number & UHCI_MAX_SOF_NUMBER, in configure_hc()
521 delta = (uhci_readw(uhci, USBFRNUM) - uhci->frame_number) & in uhci_get_current_frame_number()
523 uhci->frame_number += delta; in uhci_get_current_frame_number()
796 unsigned frame_number; in uhci_hcd_get_frame_number() local
800 frame_number = uhci->frame_number; in uhci_hcd_get_frame_number()
802 delta = (uhci_readw(uhci, USBFRNUM) - frame_number) & in uhci_hcd_get_frame_number()
804 return frame_number + delta; in uhci_hcd_get_frame_number()
Dmax3421-hcd.c135 u16 frame_number; member
688 max3421_hcd->frame_number) == 0) in max3421_select_and_start_urb()
695 max3421_hcd->frame_number) in max3421_select_and_start_urb()
707 if (frame_diff(max3421_hcd->frame_number, in max3421_select_and_start_urb()
751 max3421_ep->last_active = max3421_hcd->frame_number; in max3421_select_and_start_urb()
1206 max3421_hcd->frame_number = ((max3421_hcd->frame_number + 1) in max3421_handle_irqs()
1311 max3421_hcd->frame_number = USB_MAX_FRAME_NUMBER; in max3421_reset_hcd()
1526 max3421_ep->last_active = max3421_hcd->frame_number; in max3421_urb_enqueue()
1591 return max3421_hcd->frame_number; in max3421_get_frame_number()
Docteon-hcd.c377 u64 frame_number; member
1125 pipe->next_tx_frame = ((usb->frame_number + 7) & ~7) + in cvmx_usb_open_pipe()
1129 pipe->next_tx_frame = usb->frame_number + pipe->interval; in cvmx_usb_open_pipe()
1612 (usb->frame_number + 1) & 0x7f; in cvmx_usb_start_channel()
1615 (usb->frame_number + 2) & 0x7f; in cvmx_usb_start_channel()
1756 usbc_hcchar.s.oddfrm = usb->frame_number & 1; in cvmx_usb_start_channel()
1844 u64 current_frame = usb->frame_number; in cvmx_usb_find_ready_pipe()
1946 if (pipe->next_tx_frame > usb->frame_number) { in cvmx_usb_schedule()
2898 if (pipe->next_tx_frame < usb->frame_number) in cvmx_usb_poll_channel()
2899 pipe->next_tx_frame = usb->frame_number + in cvmx_usb_poll_channel()
[all …]
Duhci-q.c326 ret = (uhci->frame_number + uhci->is_stopped != in uhci_cleanup_queue()
567 qh->unlink_frame = uhci->frame_number; in uhci_unlink_qh()
1279 next = uhci->frame_number + 10; in uhci_submit_isochronous()
1289 next = uhci->frame_number + 1; in uhci_submit_isochronous()
1502 if (uhci_frame_before_eq(urb->start_frame, uhci->frame_number)) in uhci_urb_dequeue()
1503 qh->unlink_frame = uhci->frame_number; in uhci_urb_dequeue()
1573 uhci->frame_number + uhci->is_stopped != qh->unlink_frame)
1758 uhci->cur_iso_frame = uhci->frame_number; in uhci_scan_schedule()
Duhci-debug.c365 uhci->frame_number, uhci->frame_number & 1023, in uhci_show_status()
Duhci-hcd.h406 unsigned int frame_number; /* As of last check */ member
/linux-6.6.21/drivers/media/platform/ti/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()
502 data->frame_number = buf->frame_number; in omap3isp_stat_request_statistics()
919 stat->frame_number = atomic_read(&pipe->frame_number); in __stat_isr()
Dispstat.h41 u32 frame_number; member
106 u32 frame_number; member
Dispvideo.h93 atomic_t frame_number; member
Dispvideo.c534 atomic_inc_return(&pipe->frame_number); in omap3isp_video_buffer_next()
536 buf->vb.sequence = atomic_read(&pipe->frame_number); in omap3isp_video_buffer_next()
1145 atomic_set(&pipe->frame_number, -1); in isp_video_streamon()
/linux-6.6.21/include/uapi/linux/
Domap3isp.h77 __u32 frame_number; member
182 __u16 frame_number;
197 __u16 frame_number;
/linux-6.6.21/drivers/usb/dwc3/
Dgadget.c30 #define DWC3_ALIGN_FRAME(d, n) (((d)->frame_number + ((d)->interval * (n))) \
1668 cmd |= DWC3_DEPCMD_PARAM(dep->frame_number); in __dwc3_gadget_kick_transfer()
1814 test_frame_number = dep->frame_number & DWC3_FRNUMBER_MASK; in dwc3_gadget_start_isoc_quirk()
1861 dep->frame_number &= DWC3_FRNUMBER_MASK; in dwc3_gadget_start_isoc_quirk()
1862 dep->frame_number |= dep->combo_num << 14; in dwc3_gadget_start_isoc_quirk()
1863 dep->frame_number += max_t(u32, 4, dep->interval); in dwc3_gadget_start_isoc_quirk()
1896 (dep->frame_number & DWC3_FRNUMBER_MASK); in __dwc3_gadget_start_isoc()
1907 dep->frame_number = (dep->frame_number & ~DWC3_FRNUMBER_MASK) | in __dwc3_gadget_start_isoc()
1910 dep->frame_number += BIT(14); in __dwc3_gadget_start_isoc()
1920 dep->frame_number = DWC3_ALIGN_FRAME(dep, future_interval); in __dwc3_gadget_start_isoc()
[all …]
/linux-6.6.21/drivers/staging/media/omap4iss/
Diss_video.h84 atomic_t frame_number; member
Diss_video.c450 atomic_inc_return(&pipe->frame_number); in omap4iss_video_buffer_next()
452 buf->vb.sequence = atomic_read(&pipe->frame_number); in omap4iss_video_buffer_next()
939 atomic_set(&pipe->frame_number, -1); in iss_video_streamon()
/linux-6.6.21/Documentation/translations/zh_CN/video4linux/
Domap3isp.txt250 omap3isp_stat_data.frame_number 域与视频缓冲的 field_count
/linux-6.6.21/drivers/media/platform/samsung/exynos4-is/
Dfimc-is-param.h873 u32 frame_number; member
885 u32 frame_number; member
/linux-6.6.21/Documentation/usb/
Draw-gadget.rst93 - Support ISO transfer features (expose ``frame_number`` for completed
/linux-6.6.21/include/linux/usb/
Dgadget.h120 unsigned frame_number; /* ISO ONLY */ member

12