Print this page
5832 EOF wireless usb (aka UWB)
Reviewed by: TBD
Reviewed by: TBD
Approved by: TBD

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/usb/usba/usba_private.h
          +++ new/usr/src/uts/common/sys/usb/usba/usba_private.h
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
       24 + *
       25 + * Copyright 2014 Garrett D'Amore <garrett@damore.org>
  24   26   */
  25   27  
  26   28  #ifndef _SYS_USB_USBA_USBA_PRIVATE_H
  27   29  #define _SYS_USB_USBA_USBA_PRIVATE_H
  28   30  
  29   31  
  30   32  #include <sys/sunndi.h>
  31   33  
  32   34  /*
  33   35   * Header file for items to be shared within usba but not to be used
↓ open down ↓ 162 lines elided ↑ open up ↑
 196  198   * for unpacking any kind of LE data
 197  199   */
 198  200  size_t usb_parse_CV_descr(
 199  201          char                    *format,
 200  202          uchar_t                 *data,
 201  203          size_t                  datalen,
 202  204          void                    *structure,
 203  205          size_t                  structlen);
 204  206  
 205  207  /*
 206      - * For WUSB extended descriptors
 207      - */
 208      -size_t
 209      -usb_parse_bos_descr(uchar_t     *buf,   /* from GET_DESCRIPTOR(BOS) */
 210      -        size_t                  buflen,
 211      -        usb_bos_descr_t         *ret_descr,
 212      -        size_t                  ret_buf_len);
 213      -
 214      -size_t
 215      -usb_parse_uwb_bos_descr(uchar_t *buf,   /* from GET_DESCRIPTOR(BOS) */
 216      -        size_t                  buflen,
 217      -        usb_uwb_cap_descr_t             *ret_descr,
 218      -        size_t                  ret_buf_len);
 219      -
 220      -size_t
 221      -usb_parse_comp_ep_descr(uchar_t *buf,   /* from GET_DESCRIPTOR(CONFIGURATION) */
 222      -        size_t                  buflen,
 223      -        uint_t                  if_number,
 224      -        uint_t                  alt_if_setting,
 225      -        uint_t                  ep_index,
 226      -        usb_ep_comp_descr_t     *ret_descr,
 227      -        size_t                  ret_buf_len);
 228      -
 229      -/*
 230  208   * Returns pointer to the raw config cloud. The client should
 231  209   * not free this space.
 232  210   */
 233  211  uchar_t *usb_get_raw_cfg_data(
 234  212          dev_info_t              *dip,
 235  213          size_t                  *length);
 236  214  
 237  215  /*
 238  216   * Return pointer to device descriptor
 239  217   */
↓ open down ↓ 256 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX