1*9430SRaymond.Chen@Sun.COM /* 2*9430SRaymond.Chen@Sun.COM * CDDL HEADER START 3*9430SRaymond.Chen@Sun.COM * 4*9430SRaymond.Chen@Sun.COM * The contents of this file are subject to the terms of the 5*9430SRaymond.Chen@Sun.COM * Common Development and Distribution License (the "License"). 6*9430SRaymond.Chen@Sun.COM * You may not use this file except in compliance with the License. 7*9430SRaymond.Chen@Sun.COM * 8*9430SRaymond.Chen@Sun.COM * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*9430SRaymond.Chen@Sun.COM * or http://www.opensolaris.org/os/licensing. 10*9430SRaymond.Chen@Sun.COM * See the License for the specific language governing permissions 11*9430SRaymond.Chen@Sun.COM * and limitations under the License. 12*9430SRaymond.Chen@Sun.COM * 13*9430SRaymond.Chen@Sun.COM * When distributing Covered Code, include this CDDL HEADER in each 14*9430SRaymond.Chen@Sun.COM * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*9430SRaymond.Chen@Sun.COM * If applicable, add the following below this CDDL HEADER, with the 16*9430SRaymond.Chen@Sun.COM * fields enclosed by brackets "[]" replaced with your own identifying 17*9430SRaymond.Chen@Sun.COM * information: Portions Copyright [yyyy] [name of copyright owner] 18*9430SRaymond.Chen@Sun.COM * 19*9430SRaymond.Chen@Sun.COM * CDDL HEADER END 20*9430SRaymond.Chen@Sun.COM */ 21*9430SRaymond.Chen@Sun.COM /* 22*9430SRaymond.Chen@Sun.COM * Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23*9430SRaymond.Chen@Sun.COM * Use is subject to license terms. 24*9430SRaymond.Chen@Sun.COM */ 25*9430SRaymond.Chen@Sun.COM 26*9430SRaymond.Chen@Sun.COM #ifndef _SYS_USB_HWAHC_UTIL_H 27*9430SRaymond.Chen@Sun.COM #define _SYS_USB_HWAHC_UTIL_H 28*9430SRaymond.Chen@Sun.COM 29*9430SRaymond.Chen@Sun.COM #ifdef __cplusplus 30*9430SRaymond.Chen@Sun.COM extern "C" { 31*9430SRaymond.Chen@Sun.COM #endif 32*9430SRaymond.Chen@Sun.COM 33*9430SRaymond.Chen@Sun.COM usba_hcdi_ops_t *hwahc_alloc_hcdi_ops(hwahc_state_t *hwahcp); 34*9430SRaymond.Chen@Sun.COM int hwahc_start_result_thread(hwahc_state_t *hwahcp); 35*9430SRaymond.Chen@Sun.COM int hwahc_set_encrypt(dev_info_t *, usb_port_t, uint8_t type); 36*9430SRaymond.Chen@Sun.COM int hwahc_set_ptk(dev_info_t *, usb_key_descr_t *, size_t, usb_port_t); 37*9430SRaymond.Chen@Sun.COM int hwahc_set_gtk(dev_info_t *, usb_key_descr_t *, size_t); 38*9430SRaymond.Chen@Sun.COM int hwahc_set_device_info(dev_info_t *, wusb_dev_info_t *, usb_port_t); 39*9430SRaymond.Chen@Sun.COM int hwahc_set_cluster_id(dev_info_t *, uint8_t); 40*9430SRaymond.Chen@Sun.COM int hwahc_set_stream_idx(dev_info_t *, uint8_t); 41*9430SRaymond.Chen@Sun.COM int hwahc_set_wusb_mas(dev_info_t *, uint8_t *); 42*9430SRaymond.Chen@Sun.COM int hwahc_add_mmc_ie(dev_info_t *dip, uint8_t interval, uint8_t rcnt, 43*9430SRaymond.Chen@Sun.COM uint8_t iehdl, uint16_t len, uint8_t *data); 44*9430SRaymond.Chen@Sun.COM int hwahc_remove_mmc_ie(dev_info_t *dip, uint8_t iehdl); 45*9430SRaymond.Chen@Sun.COM int hwahc_stop_ch(dev_info_t *dip, uint32_t time); 46*9430SRaymond.Chen@Sun.COM int hwahc_set_num_dnts(dev_info_t *dip, uint8_t interval, uint8_t nslot); 47*9430SRaymond.Chen@Sun.COM int hwahc_get_time(dev_info_t *dip, uint8_t time_type, uint16_t len, 48*9430SRaymond.Chen@Sun.COM uint32_t *time); 49*9430SRaymond.Chen@Sun.COM 50*9430SRaymond.Chen@Sun.COM #ifdef __cplusplus 51*9430SRaymond.Chen@Sun.COM } 52*9430SRaymond.Chen@Sun.COM #endif 53*9430SRaymond.Chen@Sun.COM 54*9430SRaymond.Chen@Sun.COM #endif /* _SYS_USB_HWAHC_UTIL_H */ 55