source: svn/newcon3bcm2_21bu/magnum/portinginterface/hsm/7552/b0/common/bhsm.h

Last change on this file was 76, checked in by megakiss, 10 years ago

1W 대기전력을 만족시키기 위하여 POWEROFF시 튜너를 Standby 상태로 함

  • Property svn:executable set to *
File size: 23.7 KB
Line 
1/***************************************************************************
2 *     (c)2007-2011 Broadcom Corporation
3 *
4 *  This program is the proprietary software of Broadcom Corporation and/or its licensors,
5 *  and may only be used, duplicated, modified or distributed pursuant to the terms and
6 *  conditions of a separate, written license agreement executed between you and Broadcom
7 *  (an "Authorized License").  Except as set forth in an Authorized License, Broadcom grants
8 *  no license (express or implied), right to use, or waiver of any kind with respect to the
9 *  Software, and Broadcom expressly reserves all rights in and to the Software and all
10 *  intellectual property rights therein.  IF YOU HAVE NO AUTHORIZED LICENSE, THEN YOU
11 *  HAVE NO RIGHT TO USE THIS SOFTWARE IN ANY WAY, AND SHOULD IMMEDIATELY
12 *  NOTIFY BROADCOM AND DISCONTINUE ALL USE OF THE SOFTWARE.
13 *
14 *  Except as expressly set forth in the Authorized License,
15 *
16 *  1.     This program, including its structure, sequence and organization, constitutes the valuable trade
17 *  secrets of Broadcom, and you shall use all reasonable efforts to protect the confidentiality thereof,
18 *  and to use this information only in connection with your use of Broadcom integrated circuit products.
19 *
20 *  2.     TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE SOFTWARE IS PROVIDED "AS IS"
21 *  AND WITH ALL FAULTS AND BROADCOM MAKES NO PROMISES, REPRESENTATIONS OR
22 *  WARRANTIES, EITHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, WITH RESPECT TO
23 *  THE SOFTWARE.  BROADCOM SPECIFICALLY DISCLAIMS ANY AND ALL IMPLIED WARRANTIES
24 *  OF TITLE, MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR A PARTICULAR PURPOSE,
25 *  LACK OF VIRUSES, ACCURACY OR COMPLETENESS, QUIET ENJOYMENT, QUIET POSSESSION
26 *  OR CORRESPONDENCE TO DESCRIPTION. YOU ASSUME THE ENTIRE RISK ARISING OUT OF
27 *  USE OR PERFORMANCE OF THE SOFTWARE.
28 *
29 *  3.     TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL BROADCOM OR ITS
30 *  LICENSORS BE LIABLE FOR (i) CONSEQUENTIAL, INCIDENTAL, SPECIAL, INDIRECT, OR
31 *  EXEMPLARY DAMAGES WHATSOEVER ARISING OUT OF OR IN ANY WAY RELATING TO YOUR
32 *  USE OF OR INABILITY TO USE THE SOFTWARE EVEN IF BROADCOM HAS BEEN ADVISED OF
33 *  THE POSSIBILITY OF SUCH DAMAGES; OR (ii) ANY AMOUNT IN EXCESS OF THE AMOUNT
34 *  ACTUALLY PAID FOR THE SOFTWARE ITSELF OR U.S. $1, WHICHEVER IS GREATER. THESE
35 *  LIMITATIONS SHALL APPLY NOTWITHSTANDING ANY FAILURE OF ESSENTIAL PURPOSE OF
36 *  ANY LIMITED REMEDY.
37 *
38 * $brcm_Workfile: bhsm.h $
39 * $brcm_Revision: Hydra_Software_Devel/6 $
40 * $brcm_Date: 3/27/12 8:43p $
41 *
42 * Module Description:
43 *
44 * Revision History:
45 *
46 * $brcm_Log: /magnum/portinginterface/hsm/7425/b0/common/bhsm.h $
47 *
48 * Hydra_Software_Devel/6   3/27/12 8:43p atruong
49 * SWSECURITY-116: Bug for BHCP_VER referencing fixed
50 *
51 * Hydra_Software_Devel/5   2/6/12 4:02p atruong
52 * SW7429-6: HSM PI/Nexus Security Support for 7429A0
53 *
54 * Hydra_Software_Devel/4   2/6/12 2:40p atruong
55 * SW7429-6: HSM PI/Nexus Security Support for 7429A0
56 *
57 * Hydra_Software_Devel/3   11/30/11 1:00a atruong
58 * SWSECURITY-53: HSM PI code maintenance - Latest 40-nm B0 OTP map
59 *
60 * Hydra_Software_Devel/2   10/17/11 10:46a atruong
61 * SWSECURITY-69: Support for 40-nm B0 Zeus 2.0 platforms
62 *
63 * Hydra_Software_Devel/2   1/24/11 10:49a atruong
64 * SW7422-26: Add HSM PI Support For 7422A0  - CC header format
65 *
66 ******************************************************************************/
67
68#ifndef BHSM_H__
69#define BHSM_H__
70
71#include "bchp.h"
72#include "breg_mem.h"
73
74/* To support Zeus 2.0 and pre-Zeus platforms */
75#if (BCHP_CHIP == 7422) || (BCHP_CHIP==7425) || (BCHP_CHIP == 7346) || (BCHP_CHIP==7231)  || \
76     (BCHP_CHIP == 7344) || (BCHP_CHIP==7358) || (BCHP_CHIP == 7552) || (BCHP_CHIP == 7429)
77#define HSM_IS_ASKM_40NM 1
78#if (BCHP_VER >= BCHP_VER_B0)
79#define HSM_IS_ASKM_40NM_ZEUS_2_0 1
80#endif
81#if (BCHP_VER >= BCHP_VER_B1)
82#define HSM_IS_ASKM_40NM_ZEUS_2_5 1
83#endif
84#if (BCHP_VER >= BCHP_VER_A0) && (BCHP_CHIP == 7429)
85#define HSM_IS_ASKM_40NM_ZEUS_2_0 1
86#endif
87
88#endif
89
90
91/* The following is for debug printing in user mode (AppFrameWork apps) */
92#if 0
93#ifdef USER_MODE_BHSM_DEBUG
94#define BDBG_MSG(x) printf x
95#define BDBG_ERR(x) printf x
96#endif
97#endif
98
99/* added to remove header file dependency chain*/
100#include "bhsm_priv.h"
101
102#ifdef __cplusplus
103extern "C" {
104#endif
105
106/* ??? Cannot use EnterCriticalSection while submitting any commands */  /* ??? BSYT, get rid of this */
107
108/***************************************************************************
109Summary:
110Host Secure Module (HSM) module context handle.
111
112Description:
113Opaque handle that is created in BHSM_Open.
114BHSM_Handle holds the context of the Host Secure Module.  The system
115should have only one BHSM_Handle. Caller of BHSM_Open is responsible to store
116this BHSM_Handle and uses it for the future function call after BHSM_Open function
117returns successfully.
118
119See Also:
120BHSM_Open, BHSM_Channel_Open
121
122****************************************************************************/
123typedef struct BHSM_P_Handle            *BHSM_Handle;
124
125
126/***************************************************************************
127Summary:
128HSM channel context handle.
129
130Description:
131Opaque handle that is created in BHSM_Channel_Open.
132BHSM_ChannelHandle holds the context of the Host Secure Module channel.  The system
133may have more than one BHSM_ChannelHandle if the chip can support multiple
134interfaces to submit Aegis commands.  Caller of BHSM_Channel_Open is
135responsible to store this BHSM_ChannelHandle and uses it for the future function
136call after BHSM_Channel_Open function returns successfully.
137
138See Also:
139BHSM_Open, BHSM_Channel_Open
140
141****************************************************************************/
142typedef struct BHSM_P_ChannelHandle     *BHSM_ChannelHandle;
143
144
145
146
147
148
149/* Basic Module Functions */
150
151
152/*****************************************************************************
153Summary:
154This function returns a recommended default settings for HSM module.
155
156Description:
157This function shall return a recommended default settings for HSM module.
158This function shall be called before BHSM_Open
159and the caller can then over-ride any of the default settings
160required for the build and configuration by calling BHSM_Open.
161
162These default settings are always the same regardless of how
163many times this function is called or what other functions have
164been called in the porting interface.
165
166
167Calling Context:
168The function shall be called from application level (for example in
169VxWorks or no-os) or from driver level (for example in Linux,
170recommended ioctl: BHSM_IOCTL_GET_DEFAULT_SETTINGS)
171
172Performance and Timing:
173This is a synchronous function that will return when it is done.
174
175Input:
176in_chipHandle - BCHP_Handle,  chip handle.
177
178Output:
179outp_sSettings - BHSM_Settings, a ref/pointer to the default setting.
180
181Returns:
182BERR_SUCCESS - success. Otherwise, there is an error.
183
184See Also:
185BHSM_Open
186BHSM_UpdateDefaultSettings
187
188*****************************************************************************/
189BERR_Code BHSM_GetDefaultSettings(
190                BHSM_Settings           *outp_sSettings,
191                BCHP_Handle             in_chipHandle           
192); 
193
194
195/*****************************************************************************
196Summary:
197This function updates the HSM driver special controls, e.g. HSM run in ISR mode or polling mode.
198
199Description:
200The default setting is using ISR inside HSM driver when receiving data from BSP. This function is provided to
201select polling mode, or toggle ISR/Polling mode.   It can also be used to modify the timeout value for polling
202or ISR (the default is 2000 ms). It can only be invoked from non-critical calling code section.
203
204Calling Context:
205Any time it can be called after BHSM initialization.
206
207Performance and Timing:
208This will return immediately.
209
210Input:
211netSettings- BHSM_NewSettings_t, select what to be updated and provide their corresponding values in this
212                  structured data                 
213                  whichControl - BHSM_SpecialCtrol_Flag_e,  select what BHSM controls to update, one or multipe.
214                  control bits shall not be overlapped. 1 to update the corresponding control. 0 for no update of it.
215                     ctrlValue - unsigned long,  what value is set for this control field. Bit0 is for ISR or Polling selection.
216                     Other bits RFU.               
217                     timeoutMs  - unsigned long,  new timeout value for polling or wairt-for-ISR-from-BSP
218
219Output:
220outp_sSettings - BHSM_Settings, a ref/pointer to the updated setting.
221
222Returns:
223BERR_SUCCESS - success. Otherwise, there is an error.
224
225See Also:
226BHSM_GetDefaultSettings
227BHSM_SetSettings_isr
228
229*****************************************************************************/
230BERR_Code BHSM_SetSettings(
231                BHSM_Handle                                hHsm,
232                BHSM_NewSettings_t              * netSettings
233
234);
235
236
237/*****************************************************************************
238Summary:
239This function updates the HSM driver special controls, e.g. HSM run in ISR mode or polling mode.
240
241Description:
242The default setting is using ISR inside HSM driver when receiving data from BSP. This function is provided to
243select polling mode, or toggle ISR/Polling mode.   It can also be used to modify the timeout value for polling
244or ISR (the default is 2000 ms). It can only be invoked from critical calling code section.
245
246Calling Context:
247Any time it can be called after BHSM initialization.
248
249Performance and Timing:
250This will return immediately.
251
252Input:
253netSettings- BHSM_NewSettings_t, select what to be updated and provide their corresponding values in this
254                  structured data                 
255                  whichControl - BHSM_SpecialCtrol_Flag_e,  select what BHSM controls to update, one or multipe.
256                  control bits shall not be overlapped. 1 to update the corresponding control. 0 for no update of it.
257                     ctrlValue - unsigned long,  what value is set for this control field. Bit0 is for ISR or Polling selection.
258                     Other bits RFU.               
259                     timeoutMs  - unsigned long,  new timeout value for polling or wairt-for-ISR-from-BSP
260
261Output:
262outp_sSettings - BHSM_Settings, a ref/pointer to the updated setting.
263
264Returns:
265BERR_SUCCESS - success. Otherwise, there is an error.
266
267See Also:
268BHSM_GetDefaultSettings
269BHSM_SetSettings
270
271*****************************************************************************/
272BERR_Code BHSM_SetSettings_isr(
273                BHSM_Handle                                hHsm,
274                BHSM_NewSettings_t              * netSettings
275
276);
277
278
279/*****************************************************************************
280Summary:
281This function creates the Host Secure Module handle.
282
283Description:
284This function shall create the Host Secure module handle.
285It also initializes the Host Secure module
286and hardware using settings stored in the outp_sSettings pointer.
287All the associated channels are not ready to be access until
288BHSM_ChannelOpen is called and returns successfully.
289 
290The caller can pass a NULL pointer for inp_sSettings. If the
291p_Settings pointer is NULL, default settings should be used.
292
293It is the caller responsibility to store the outp_handle and uses
294it for the future function call after this function returns
295successfully.
296
297Before calling this function, the only function that the caller
298can call is BHSM_GetDefaultSettings. System shall not call
299any other Host Secure functions prior to this function.
300
301System shall not call this function more than once without calling BHSM_Close
302previously.
303
304If illegal settings are passed in an error should be
305returned and the hardware state should not be modified.
306
307The BINT_Handle is only required if this module needs to
308associate ISR callback routines with L2 interrupts.
309
310
311Calling Context:
312The function shall be called from application level (for example in
313VxWorks or no-os) or from driver level (for example in Linux,
314during insmod )
315
316Performance and Timing:
317This is a synchronous function that will return when it is done.
318
319Input:
320in_regHandle  - BREG_Handle, use to access Host Secure register.
321in_chipHandle - BCHP_Handle,  Chip handle.
322in_interruptHandle - BINT_Handle, Interrupt handle to handle Host Secure interrupt.
323in_xptHandle -  BXPT_Handle, Transport handle.
324inp_sSettings - BHSM_Settings, the settings that apply to multiple
325                                channels.  If NULL, a default setting shall be used.
326                       
327Output:
328outp_handle - BHSM_Handle, a ref/pointer to the Host Secure module handle.
329
330Returns:
331BERR_SUCCESS - success
332
333See Also:
334BHSM_GetDefaultSettings
335BHSM_Close
336
337******************************************************************************/
338BERR_Code BHSM_Open(
339                BHSM_Handle                     *outp_handle, 
340                BREG_Handle                     in_regHandle,     
341                BCHP_Handle                     in_chipHandle,
342                BINT_Handle                     in_interruptHandle,
343                const BHSM_Settings     *inp_sSettings
344); 
345
346
347/*****************************************************************************
348Summary:
349This function frees the main handle and any resources contained
350in the main handle.
351
352Description:
353This function shall free the main handle and any resources contained
354in the main handle. This function shall try to free any resources associated
355with sub handles created from the main handle. However, this function does not
356free any resources associated with channel handle.
357
358Regardless of the return value, this function always attempts to free all
359the allocated resources and inout_handle shall be NULL.
360
361Other than BHSM_GetDefaultSettings, system shall not call any other HSM
362functions after this function returns, regardless of the return result.
363
364
365Calling Context:
366The function shall be called from application level (for example in
367VxWorks or no-os) or from driver level (for example in Linux,
368during rmmod)
369
370Performance and Timing:
371This is a synchronous function that will return when it is done.
372
373Input:
374in_handle  - BHSM_Handle, Host Secure module handle.
375
376Returns:
377BERR_SUCCESS - success
378
379See Also:
380BHSM_Open
381BHSM_GetDefaultSettings
382
383******************************************************************************/
384BERR_Code BHSM_Close(
385                BHSM_Handle in_handle
386);
387
388
389/*****************************************************************************
390Summary:
391This function returns the number of Host Secure Module channels
392that we can support for the build and configuration.
393
394Description:
395This function returns the number of Aegis command interfaces
396that we can support for the build and configuration.
397
398The caller shall then call BHSM_Channel_Open or BHSM_GetChannelDefaultSettings
399with in_channelNo that smaller than outp_totalChannels.
400
401Currently we support 2 Hardware Aegis Command interfaces.
402
403Calling Context:
404The function shall be called from application level (for example in
405VxWorks or no-os) or from driver level (for example in Linux,
406recommended ioctl: BHSM_IOCTL_GET_TOTAL_CHANNELS or device open)
407
408Performance and Timing:
409This is a synchronous function that will return when it is done.
410
411Input:
412in_handle  - BHSM_Handle, a ref/pointer to the Host Secure module handle.
413                       
414Output:
415outp_ucTotalChannels - unsigned char, a ref/pointer to number of supported
416                                        Aegis command interfaces
417
418Returns:
419BERR_SUCCESS - success
420
421
422See Also:
423BHSM_GetChannel
424
425******************************************************************************/
426BERR_Code BHSM_GetTotalChannels(
427                BHSM_Handle             in_handle, 
428                unsigned char           *outp_ucTotalChannels
429);
430
431
432/*****************************************************************************
433Summary:
434This function returns a recommended default settings for HSM channel.
435
436Description:
437This function shall return a recommended default settings for HSM channel.
438This function shall be called before BHSM_Channel_Open
439and the caller can then over-ride any of the default settings
440required for the build and configuration by calling BHSM_Channel_Open.
441
442The caller shall pass in_channelNo that is smaller than outp_totalChannels in
443BHSM_GetTotalChannels. The in_channelNo for the first channel shall be zero.
444
445These default settings are always the same regardless of how
446many times this function is called or what other functions have
447been called in the porting interface.
448
449Calling Context:
450The function shall be called from application level (for example in
451VxWorks or no-os) or from driver level (for example in Linux,
452recommended ioctl: BHSM_IOCTL_GET_CHANNEL_DEFAULT_SETTINGS)
453
454Performance and Timing:
455This is a synchronous function that will return when it is done.
456
457Input:
458in_handle - BHSM_Handle,  Host Secure module handle.
459in_channelNo  - BHSM_HwModule, an index that indicates which channel or Aegis
460                                command interface that the caller want to access.
461Output:
462outp_sSettings - BHSM__ChannelSettings, a ref/pointer to the default channel
463                                        setting.
464
465Returns:
466BERR_SUCCESS - success
467
468See Also:
469BHSM_Open
470BHSM_GetTotalChannels
471BHSM_Channel_Open
472
473*****************************************************************************/
474BERR_Code BHSM_GetChannelDefaultSettings(
475                BHSM_Handle                             in_handle, 
476                BHSM_HwModule                   in_channelNo, 
477                BHSM_ChannelSettings            *outp_sSettings
478);
479
480
481
482/*****************************************************************************
483Summary:
484This function creates the Host Secure channel handle.
485
486Description:
487This function shall create the Host Secure channel handle.
488It also initializes the specified Host Secure interface and all the associated registers
489using settings stored in the inp_channelDefSettings pointer.
490
491The caller shall pass in_channelNo that is smaller than outp_totalChannels in
492BHSM_GetTotalChannels. The in_channelNo for the first channel shall be zero.
493
494It is the responsibility of caller to specify the correct in_channelNo for
495different Aegis command interface. 
496
497The caller can pass a NULL pointer for inp_channelDefSettings. If the
498inp_channelDefSettings pointer is NULL, default settings should be used.
499
500It is the caller responsibility to store the outp_channelHandle and uses
501it for the future function call after this function returns
502successfully.
503
504Before calling this function, the only channel related functions that the system
505can call are BHSM_GetTotalChannels and BHSM_GetChannelDefaultSettings.
506System shall not call any other channel related functions prior to this function.
507
508System shall not call this function more than once without calling BHSM_Channel_Close
509previously.
510
511If illegal settings are passed in an error should be
512returned and the hardware state should not be modified.
513
514
515Calling Context:
516The function shall be called from application level (for example in
517VxWorks or no-os) or from driver level (for example in Linux,
518recommended ioctl: BHSM_IOCTL_CHANNEL_OPEN
519
520Performance and Timing:
521This is a synchronous function that will return when it is done.
522
523Input:
524in_handle  - BHSM__Handle, Host Secure module handle.
525in_channelNo  - BHSM_HwModule, an index that indicates which channel
526                                that the caller want to access.       
527inp_channelDefSettings - BHSM_ChannelSettings, the channel settings that apply to this
528                                        specific channel.  If NULL, a default channel setting shall be used.
529                       
530Output:
531outp_channelHandle -BHSM_ChannelHandle, a ref/pointer to the host secure module.
532
533Returns:
534BERR_SUCCESS - success
535
536See Also:
537BHSM_Open
538BHSM_GetTotalChannels
539BHSM_Channel_Close
540
541
542*****************************************************************************/
543BERR_Code BHSM_Channel_Open(
544                BHSM_Handle                             in_handle, 
545                BHSM_ChannelHandle              *outp_channelHandle, 
546                BHSM_HwModule                           in_channelNo, 
547                const BHSM_ChannelSettings      *inp_channelDefSettings
548);
549
550
551/*****************************************************************************
552Summary:
553This function frees the channel handle and any resources contained
554in the channel handle.
555
556Description:
557This function shall free the channel handle and any resources contained
558in the channel handle.
559
560This function always returns successfully even if some of the resources cannot
561be freed successfully.
562
563Other than BHSM_GetTotalChannels and BHSM_GetChannelDefaultSettings, system
564shall not call any other channel related functions after this function returns,
565regardless of the return result.
566 
567Calling Context:
568The function shall be called from application level (for example in
569VxWorks or no-os) or from driver level (for example in Linux,
570recommended ioctl: BHSM_IOCTL_CHANNEL_CLOSE)
571
572Performance and Timing:
573This is a synchronous function that will return when it is done.
574
575Input:
576in_channelHandle  - BHSM_ChannelHandle,  host secure module channel handle.
577
578Returns:
579BERR_SUCCESS - success
580
581See Also:
582BHSM_Channel_Open
583
584******************************************************************************/
585BERR_Code BHSM_Channel_Close(
586                BHSM_ChannelHandle in_channelHandle
587);
588
589
590/*****************************************************************************
591Summary:
592This function gets the module handle based on the channel handle.
593
594Description:
595This function shall get the module handle based on the channel handle.
596
597Calling Context:
598The function shall be called from application level (for example in
599VxWorks or no-os) or from driver level (for example in Linux,
600recommended ioctl: BHSM_IOCTL_GET_DEVICE)
601
602Performance and Timing:
603This is a synchronous function that will return when it is done.
604
605Input:
606in_channelHandle  - BHSM_ChannelHandle, host secure module channel handle.
607                       
608Output:
609outp_handle - BHSM_Handle, a ref/pointer to the host secure module handle.
610
611Returns:
612BERR_SUCCESS - success
613
614See Also:
615BHSM_Open
616BHSM_Channel_Open
617
618*****************************************************************************/
619BERR_Code BHSM_GetDevice(
620                BHSM_ChannelHandle           in_channelHandle, 
621                BHSM_Handle                       *outp_handle
622);
623
624
625/*****************************************************************************
626Summary:
627This function returns the specific Host Secure Module channel handle.
628
629Description:
630This function returns the specific Host Secure module channel handle.
631The caller shall pass in_index that is smaller than outp_totalChannels in
632BHSM_GetTotalChannels. The in_index for the first channel
633shall be zero and the second channel shall be 1.
634It is the caller responsibility to store the return outp_channelHandle
635for the future function calls after this function returns successfully.
636
637Before calling this function, the only functions that the system
638can call are BHSM_GetDefaultSettings, BHSM_Open, BHSM_GetTotalChannels,
639and BHSM_Close.
640
641 
642Calling Context:
643The function shall be called from application level (for example in
644VxWorks or no-os) or from driver level (for example in Linux,
645recommended ioctl: BHSM_IOCTL_GET_CHANNEL )
646
647Performance and Timing:
648This is a synchronous function that will return when it is done.
649
650Input:
651in_handle  - BHSM_Handle, a ref/pointer to the Host Secure module handle.
652in_channelNo -  BHSM_HwModule, an index that indicate which channel or host secure module
653                        slot that the caller want to access.
654                       
655Output:
656outp_channelHandle - BHSM_ChannelHandle, a ref/pointer to the Host Secure
657                                         channel handle.
658
659Returns:
660BERR_SUCCESS - success
661
662
663See Also:
664BHSM_GetTotalChannels
665
666******************************************************************************/
667BERR_Code BHSM_GetChannel(
668                BHSM_Handle                     in_handle, 
669                BHSM_HwModule           in_channelNo, 
670                BHSM_ChannelHandle      *outp_channelHandle
671);
672
673/* End of Basic Module Functions */
674
675/* Module Specific Functions */
676
677
678
679/*****************************************************************************
680Summary:
681
682This function is reserved for Broadcom internal usage only.
683
684******************************************************************************/
685BERR_Code BHSM_SetIntrCallback(
686                BHSM_Handle                     in_handle,
687                BHSM_IntrType           in_eIntType,
688                BHSM_IsrCallbackFunc    in_callback             
689);
690
691
692
693
694#ifdef BHSM_AUTO_TEST
695/*****************************************************************************
696Summary:
697
698This function is reserved for Broadcom internal usage only.
699 
700******************************************************************************/
701BERR_Code BHSM_SubmitRawCommand (
702                BHSM_Handle             in_handle,
703                BHSM_HwModule   in_interface,
704                uint32_t                        in_unInputParamLenInWord,
705                uint32_t                        *inp_unInputParamsBuf,
706                uint32_t                        *outp_unOutputParamLenInWord,
707                uint32_t                        *outp_unOutputParamsBuf
708);
709#endif
710
711/* End of Module Specific Functions */
712
713
714#ifdef __cplusplus
715}
716#endif
717
718
719#endif /* BHSM_H__ */
720
721
722
723
724
725
726
Note: See TracBrowser for help on using the repository browser.