• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/host/

Lines Matching refs:sitd

43  * @periodic: host pointer to qh/itd/sitd
59 return &periodic->sitd->sitd_next;
146 if (q->sitd->hw_uframe & cpu_to_hc32(ehci,
148 if (q->sitd->hw_fullspeed_ep &
150 usecs += q->sitd->stream->usecs;
156 if (q->sitd->hw_uframe &
159 usecs += q->sitd->stream->c_usecs;
162 hw_p = &q->sitd->hw_next;
163 q = &q->sitd->sitd_next;
264 if (same_tt(dev, q->sitd->urb->dev)) {
265 uf = tt_start_uframe(ehci, q->sitd->hw_uframe);
266 tt_usecs[uf] += q->sitd->stream->tt_usecs;
268 hw_p = &q->sitd->hw_next;
269 q = &q->sitd->sitd_next;
421 if (same_tt (dev, here.sitd->urb->dev)) {
424 mask = hc32_to_cpu(ehci, here.sitd
430 type = Q_NEXT_TYPE(ehci, here.sitd->hw_next);
431 here = here.sitd->sitd_next;
1055 struct ehci_sitd *sitd;
1057 sitd = list_entry (entry, struct ehci_sitd,
1059 dma_pool_free (ehci->sitd_pool, sitd,
1060 sitd->sitd_dma);
1907 /* figure out per-frame sitd fields that we'll need later
1950 struct ehci_sitd *sitd;
1967 * for IN (using sitd->hw_backpointer, like a FSTN), which
1977 sitd = list_entry (stream->free_list.prev,
1979 list_del (&sitd->sitd_list);
1980 sitd_dma = sitd->sitd_dma;
1983 sitd = dma_pool_alloc (ehci->sitd_pool, mem_flags,
1986 if (!sitd) {
1993 memset (sitd, 0, sizeof *sitd);
1994 sitd->sitd_dma = sitd_dma;
1995 list_add (&sitd->sitd_list, &iso_sched->td_list);
2012 struct ehci_sitd *sitd,
2020 sitd->hw_next = EHCI_LIST_END(ehci);
2021 sitd->hw_fullspeed_ep = stream->address;
2022 sitd->hw_uframe = stream->splits;
2023 sitd->hw_results = uf->transaction;
2024 sitd->hw_backpointer = EHCI_LIST_END(ehci);
2027 sitd->hw_buf[0] = cpu_to_hc32(ehci, bufp);
2028 sitd->hw_buf_hi[0] = cpu_to_hc32(ehci, bufp >> 32);
2030 sitd->hw_buf[1] = cpu_to_hc32(ehci, uf->buf1);
2033 sitd->hw_buf_hi[1] = cpu_to_hc32(ehci, bufp >> 32);
2034 sitd->index = index;
2038 sitd_link (struct ehci_hcd *ehci, unsigned frame, struct ehci_sitd *sitd)
2040 /* note: sitd ordering could matter (CSPLIT then SSPLIT) */
2041 sitd->sitd_next = ehci->pshadow [frame];
2042 sitd->hw_next = ehci->periodic [frame];
2043 ehci->pshadow [frame].sitd = sitd;
2044 sitd->frame = frame;
2046 ehci->periodic[frame] = cpu_to_hc32(ehci, sitd->sitd_dma | Q_TYPE_SITD);
2061 struct ehci_sitd *sitd;
2085 for (packet = 0, sitd = NULL;
2094 sitd = list_entry (sched->td_list.next,
2096 list_move_tail (&sitd->sitd_list, &stream->td_list);
2097 sitd->stream = iso_stream_get (stream);
2098 sitd->urb = urb;
2100 sitd_patch(ehci, stream, sitd, sched, packet);
2102 sitd);
2134 struct ehci_sitd *sitd
2136 struct urb *urb = sitd->urb;
2140 struct ehci_iso_stream *stream = sitd->stream;
2144 urb_index = sitd->index;
2146 t = hc32_to_cpup(ehci, &sitd->hw_results);
2169 /* ASSERT: it's really the last sitd for this urb
2170 list_for_each_entry (sitd, &stream->td_list, sitd_list)
2171 BUG_ON (sitd->urb == urb);
2198 sitd->urb = NULL;
2199 if (ehci->clock_frame != sitd->frame) {
2201 sitd->stream = NULL;
2202 list_move(&sitd->sitd_list, &stream->free_list);
2208 list_move(&sitd->sitd_list, &ehci->cached_sitd_list);
2284 struct ehci_sitd *sitd, *sn;
2293 list_for_each_entry_safe(sitd, sn, &ehci->cached_sitd_list, sitd_list) {
2294 struct ehci_iso_stream *stream = sitd->stream;
2295 sitd->stream = NULL;
2296 list_move(&sitd->sitd_list, &stream->free_list);
2420 && (q.sitd->hw_results &
2424 q_p = &q.sitd->sitd_next;
2425 hw_p = &q.sitd->hw_next;
2427 q.sitd->hw_next);
2436 *q_p = q.sitd->sitd_next;
2437 *hw_p = q.sitd->hw_next;
2438 type = Q_NEXT_TYPE(ehci, q.sitd->hw_next);
2440 modified = sitd_complete (ehci, q.sitd);