Lines Matching +full:otg +full:- +full:port
1 /* SPDX-License-Identifier: GPL-2.0+ */
4 #include <linux/usb/otg-fsm.h>
5 #include <linux/usb/otg.h>
30 /* bit 9-8 are async schedule park mode count */
37 /* bit 23-16 are interrupt threshold control */
77 /* PORTSC Register Bit Masks,Only one PORT in OTG mode*/
99 /* bit 11-10 are line status */
106 /* bit 15-14 are port indicator control */
113 /* bit 19-16 are port test control */
122 /* bit 27-26 are port speed */
134 /* bit 31-30 are port transceiver select */
145 /* OTG Status Control Register Bit Masks */
209 /* OTG interrupt enable bit masks */
219 /* OTG interrupt status bit masks */
230 * A-DEVICE timing constants
236 /* Wait for B-Connect */
243 /* A-Idle to B-Disconnect */
250 /* B-Idle to A-Disconnect */
253 /* B-device timing constants */
256 /* Data-Line Pulse Time*/
277 /* A-SE0 to B-Reset */
287 #define SET_OTG_STATE(phy, newstate) ((phy)->otg->state = newstate)
315 u32 portsc; /* Port 1 Status and Control Register */
317 u32 otgsc; /* On-The-Go Status and Control */
351 timer->function = function; in otg_timer_initializer()
352 timer->expires = expires; in otg_timer_initializer()
353 timer->data = data; in otg_timer_initializer()
374 #define FSL_OTG_NAME "fsl-usb2-otg"