Lines Matching +full:toggle +full:- +full:mode
1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2006-2008 Freescale Semiconductor, Inc. All rights reserved.
35 /* USB Mode Register bit define */
152 #define ep_index(EP) ((EP)->ep.desc->bEndpointAddress & 0xF)
153 #define ep_maxpacket(EP) ((EP)->ep.maxpacket)
154 #define ep_is_in(EP) ((ep_index(EP) == 0) ? (EP->udc->ep0_dir == \
155 USB_DIR_IN) : ((EP)->ep.desc->bEndpointAddress \
165 /* ep tramsfer mode */
171 /*-----------------------------------------------------------------------------
173 -----------------------------------------------------------------------------*/
185 #define PID_DATA0 0x80000000 /* Data toggle zero */
186 #define PID_DATA1 0x40000000 /* Data toggle one */
211 #define RX_ER_BITSTUFF 0x08000000 /* Frame Aborted --Received packet
214 #define RX_ER_OVERUN 0x02000000 /* Over-run occurred on reception */
226 #define frame_get_length(frm) (frm->len)
227 #define frame_set_length(frm, leng) (frm->len = leng)
228 #define frame_get_data(frm) (frm->data)
229 #define frame_set_data(frm, dat) (frm->data = dat)
230 #define frame_get_info(frm) (frm->info)
231 #define frame_set_info(frm, inf) (frm->info = inf)
232 #define frame_get_status(frm) (frm->status)
233 #define frame_set_status(frm, stat) (frm->status = stat)
234 #define frame_get_privdata(frm) (frm->privdata)
235 #define frame_set_privdata(frm, dat) (frm->privdata = dat)
249 INIT_LIST_HEAD(&(frm->node)); in qe_frame_init()
256 a request->queue into a udc_ep->queue 'd tail */
291 u8 tm; /* transfer mode */
374 #define T_LSP 0x01000000 /* Low-speed transaction */
387 #define T_PID_DATA0 0x00800000 /* Data 0 toggle */
388 #define T_PID_DATA1 0x00c00000 /* Data 1 toggle */