usb_util.h (194227) | usb_util.h (194228) |
---|---|
1/* $FreeBSD: head/sys/dev/usb/usb_util.h 194227 2009-06-15 00:33:18Z thompsa $ */ | 1/* $FreeBSD: head/sys/dev/usb/usb_util.h 194228 2009-06-15 01:02:43Z thompsa $ */ |
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. --- 13 unchanged lines hidden (view full) --- 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#ifndef _USB2_UTIL_H_ 28#define _USB2_UTIL_H_ 29 30int device_delete_all_children(device_t dev); | 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. --- 13 unchanged lines hidden (view full) --- 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#ifndef _USB2_UTIL_H_ 28#define _USB2_UTIL_H_ 29 30int device_delete_all_children(device_t dev); |
31uint8_t usb2_make_str_desc(void *ptr, uint16_t max_len, const char *s); 32void device_set_usb2_desc(device_t dev); 33void usb2_pause_mtx(struct mtx *mtx, int _ticks); 34void usb2_printBCD(char *p, uint16_t p_len, uint16_t bcd); 35void usb2_trim_spaces(char *p); | 31uint8_t usb_make_str_desc(void *ptr, uint16_t max_len, const char *s); 32void device_set_usb_desc(device_t dev); 33void usb_pause_mtx(struct mtx *mtx, int _ticks); 34void usb_printbcd(char *p, uint16_t p_len, uint16_t bcd); 35void usb_trim_spaces(char *p); |
36 37#endif /* _USB2_UTIL_H_ */ | 36 37#endif /* _USB2_UTIL_H_ */ |