musb_otg.h (199678) | musb_otg.h (228483) |
---|---|
1/* $FreeBSD: head/sys/dev/usb/controller/musb_otg.h 199678 2009-11-22 21:31:31Z thompsa $ */ | 1/* $FreeBSD: head/sys/dev/usb/controller/musb_otg.h 228483 2011-12-14 00:28:54Z hselasky $ */ |
2/*- 3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 383 unchanged lines hidden (view full) --- 393 394 struct musbotg_flags sc_flags; 395}; 396 397/* prototypes */ 398 399usb_error_t musbotg_init(struct musbotg_softc *sc); 400void musbotg_uninit(struct musbotg_softc *sc); | 2/*- 3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 383 unchanged lines hidden (view full) --- 393 394 struct musbotg_flags sc_flags; 395}; 396 397/* prototypes */ 398 399usb_error_t musbotg_init(struct musbotg_softc *sc); 400void musbotg_uninit(struct musbotg_softc *sc); |
401void musbotg_suspend(struct musbotg_softc *sc); 402void musbotg_resume(struct musbotg_softc *sc); | |
403void musbotg_interrupt(struct musbotg_softc *sc); 404void musbotg_vbus_interrupt(struct musbotg_softc *sc, uint8_t is_on); 405 406#endif /* _MUSB2_OTG_H_ */ | 401void musbotg_interrupt(struct musbotg_softc *sc); 402void musbotg_vbus_interrupt(struct musbotg_softc *sc, uint8_t is_on); 403 404#endif /* _MUSB2_OTG_H_ */ |