usb_util.h (196219) | usb_util.h (227701) |
---|---|
1/* $FreeBSD: head/sys/dev/usb/usb_util.h 196219 2009-08-14 20:03:53Z jhb $ */ | 1/* $FreeBSD: head/sys/dev/usb/usb_util.h 227701 2011-11-19 10:11:50Z 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. --- 12 unchanged lines hidden (view full) --- 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#ifndef _USB_UTIL_H_ 28#define _USB_UTIL_H_ 29 | 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. --- 12 unchanged lines hidden (view full) --- 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#ifndef _USB_UTIL_H_ 28#define _USB_UTIL_H_ 29 |
30int device_delete_all_children(device_t dev); | |
31uint8_t usb_make_str_desc(void *ptr, uint16_t max_len, const char *s); 32void usb_printbcd(char *p, uint16_t p_len, uint16_t bcd); 33void usb_trim_spaces(char *p); 34 35#endif /* _USB_UTIL_H_ */ | 30uint8_t usb_make_str_desc(void *ptr, uint16_t max_len, const char *s); 31void usb_printbcd(char *p, uint16_t p_len, uint16_t bcd); 32void usb_trim_spaces(char *p); 33 34#endif /* _USB_UTIL_H_ */ |