Lines Matching +full:big +full:- +full:endian +full:- +full:desc
1 // SPDX-License-Identifier: GPL-2.0+
19 /* USB DR device mode registers (Little Endian) */
46 u32 otgsc; /* On-The-Go Status and Control */
56 /* USB DR host mode registers (Little Endian) */
83 u32 otgsc; /* On-The-Go Status and Control */
93 /* non-EHCI USB system interface registers (Big Endian) */
139 /* bit 9-8 are async schedule park mode count */
146 /* bit 23-16 are interrupt threshold control */
213 /* bit 11-10 are line status */
220 /* bit 15-14 are port indicator control */
227 /* bit 19-16 are port test control */
236 /* bit 27-26 are port speed */
248 /* bit 31-30 are port transceiver select */
287 #define USB_MODE_ES 0x00000004 /* Endian Select */
312 /* bit 19-18 and 3-2 are endpoint type */
367 u32 max_pkt_length; /* Mult(31-30) , Zlt(29) , Max Pkt len
369 u32 curr_dtd_ptr; /* Current dTD Pointer(31-5) */
370 u32 next_dtd_ptr; /* Next dTD Pointer(31-5), T(0) */
371 u32 size_ioc_int_sts; /* Total bytes (30-16), IOC (15),
372 MultO(11-10), STS (7-0) */
373 u32 buff_ptr0; /* Buffer pointer Page 0 (31-12) */
374 u32 buff_ptr1; /* Buffer pointer Page 1 (31-12) */
375 u32 buff_ptr2; /* Buffer pointer Page 2 (31-12) */
376 u32 buff_ptr3; /* Buffer pointer Page 3 (31-12) */
377 u32 buff_ptr4; /* Buffer pointer Page 4 (31-12) */
402 u32 next_td_ptr; /* Next TD pointer(31-5), T(0) set
404 u32 size_ioc_sts; /* Total bytes (30-16), IOC (15),
405 MultO(11-10), STS (7-0) */
439 /*-------------------------------------------------------------------------*/
447 a request->queue into a udc_ep->queue 'd tail */
452 cpu endian Virtual addr */
491 struct ep_queue_head *ep_qh; /* Endpoints Queue-Head */
509 /*-------------------------------------------------------------------------*/
523 #define ep_index(EP) ((EP)->ep.desc->bEndpointAddress&0xF)
524 #define ep_maxpacket(EP) ((EP)->ep.maxpacket)
525 #define ep_is_in(EP) ( (ep_index(EP) == 0) ? (EP->udc->ep0_dir == \
526 USB_DIR_IN) : ((EP)->ep.desc->bEndpointAddress \
528 #define get_ep_by_pipe(udc, pipe) ((pipe == 1)? &udc->eps[0]: \
529 &udc->eps[pipe])
538 return ep->qh; in get_qh_by_ep()
540 return &ep->udc->ep_qh[(ep->udc->ep0_dir == in get_qh_by_ep()