realtek-doc/sources/rtk-xgs1210/include/rtk/init.h
Markus Stockhausen 18a30ac6d1 add XGS1210 sdk
2025-04-27 15:53:52 -04:00

69 lines
1.3 KiB
C

/*
* Copyright (C) 2009-2016 Realtek Semiconductor Corp.
* All Rights Reserved.
*
* This program is the proprietary software of Realtek Semiconductor
* Corporation and/or its licensors, and only be used, duplicated,
* modified or distributed under the authorized license from Realtek.
*
* ANY USE OF THE SOFTWARE OTHER THAN AS AUTHORIZED UNDER
* THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
*
* $Revision: 91355 $
* $Date: 2018-08-13 21:54:45 +0800 (Mon, 13 Aug 2018) $
*
* Purpose : Definition of Init API
*
* Feature : Initialize All Layers of RTK Module
*
*/
#ifndef __RTK_INIT_H__
#define __RTK_INIT_H__
/*
* Include Files
*/
#include <common/rt_type.h>
/*
* Symbol Definition
*/
/*
* Data Declaration
*/
/*
* Function Declaration
*/
/* Function Name:
* rtk_init
* Description:
* Initialize the specified device
* Input:
* None
* Output:
* None
* Return:
* RT_ERR_OK
* RT_ERR_FAILED
* RT_ERR_UNIT_ID - invalid unit id
* Applicable:
* 8380, 8390, 9300, 9310
* Note:
* INIT must be initialized before using all of APIs in each modules
* Changes:
* None
*/
extern int32
rtk_init(void);
extern int32
rtk_unit_attach(uint8 *unit_list, uint8 *devID_list, int32 unit_num);
extern int32
rtk_unit_detach(uint8 *unit_list, int32 unit_num);
#endif /* __RTK_INIT_H__ */