/* periodic_next_shadow - return "next" pointer on shadow list @periodic: host pointer to qh/itd/sitd @tag: hardware tag for type of this record  */
static union ehci_shadow* periodic_next_shadow(struct ehci_hcd *ehci, union ehci_shadow *periodic, __hc32 tag)
/* periodic_next_shadow - return "next" pointer on shadow list @periodic: host pointer to qh/itd/sitd @tag: hardware tag for type of this record  */
static union ehci_shadow* periodic_next_shadow(struct ehci_hcd *ehci, union ehci_shadow *periodic, __hc32 tag)
{
	switch (hc32_to_cpu(ehci, tag)) {
	case Q_TYPE_QH:
		return &periodic->qh->qh_next;
	case Q_TYPE_FSTN:
		return &periodic->fstn->fstn_next;
	case Q_TYPE_ITD:
		return &periodic->itd->itd_next;
	default:
		return &periodic->sitd->sitd_next;
	}
}