Searched refs:isp1362_hcd (Results 1 – 2 of 2) sorted by relevance
119 static inline void isp1362_enable_int(struct isp1362_hcd *isp1362_hcd, u16 mask) in isp1362_enable_int() argument121 if ((isp1362_hcd->irqenb | mask) == isp1362_hcd->irqenb) in isp1362_enable_int()123 if (mask & ~isp1362_hcd->irqenb) in isp1362_enable_int()124 isp1362_write_reg16(isp1362_hcd, HCuPINT, mask & ~isp1362_hcd->irqenb); in isp1362_enable_int()125 isp1362_hcd->irqenb |= mask; in isp1362_enable_int()126 if (isp1362_hcd->irq_active) in isp1362_enable_int()128 isp1362_write_reg16(isp1362_hcd, HCuPINTENB, isp1362_hcd->irqenb); in isp1362_enable_int()133 static inline struct isp1362_ep_queue *get_ptd_queue(struct isp1362_hcd *isp1362_hcd, in get_ptd_queue() argument138 if (offset < isp1362_hcd->istl_queue[1].buf_start) in get_ptd_queue()139 epq = &isp1362_hcd->istl_queue[0]; in get_ptd_queue()[all …]
431 struct isp1362_hcd { struct508 static inline void ALIGNSTAT(struct isp1362_hcd *isp1362_hcd, void *ptr) in ALIGNSTAT() argument512 isp1362_hcd->stat16++; in ALIGNSTAT()514 isp1362_hcd->stat8++; in ALIGNSTAT()516 isp1362_hcd->stat4++; in ALIGNSTAT()518 isp1362_hcd->stat2++; in ALIGNSTAT()520 isp1362_hcd->stat1++; in ALIGNSTAT()523 static inline struct isp1362_hcd *hcd_to_isp1362_hcd(struct usb_hcd *hcd) in hcd_to_isp1362_hcd()525 return (struct isp1362_hcd *) (hcd->hcd_priv); in hcd_to_isp1362_hcd()528 static inline struct usb_hcd *isp1362_hcd_to_hcd(struct isp1362_hcd *isp1362_hcd) in isp1362_hcd_to_hcd() argument[all …]