54extern void sio2_ctrl_set(u32 val);
55extern u32 sio2_ctrl_get(
void);
56extern u32 sio2_stat6c_get(
void);
57extern void sio2_portN_ctrl1_set(
int N, u32 val);
58extern u32 sio2_portN_ctrl1_get(
int N);
59extern void sio2_portN_ctrl2_set(
int N, u32 val);
60extern u32 sio2_portN_ctrl2_get(
int N);
61extern u32 sio2_stat70_get(
void);
62extern void sio2_regN_set(
int N, u32 val);
63extern u32 sio2_regN_get(
int N);
64extern u32 sio2_stat74_get(
void);
65extern void sio2_unkn78_set(u32 val);
66extern u32 sio2_unkn78_get(
void);
67extern void sio2_unkn7c_set(u32 val);
68extern u32 sio2_unkn7c_get(
void);
69extern void sio2_data_out(u8 val);
70extern u8 sio2_data_in(
void);
71extern void sio2_stat_set(u32 val);
72extern u32 sio2_stat_get(
void);
73extern void sio2_pad_transfer_init(
void);
74extern void sio2_mc_transfer_init(
void);
77#define sio2man_IMPORTS_start DECLARE_IMPORT_TABLE(sio2man, 1, 1)
78#define sio2man_IMPORTS_end END_IMPORT_TABLE
80#define I_sio2_ctrl_set DECLARE_IMPORT(4, sio2_ctrl_set)
81#define I_sio2_ctrl_get DECLARE_IMPORT(5, sio2_ctrl_get)
82#define I_sio2_stat6c_get DECLARE_IMPORT(6, sio2_stat6c_get)
83#define I_sio2_portN_ctrl1_set DECLARE_IMPORT(7, sio2_portN_ctrl1_set)
84#define I_sio2_portN_ctrl1_get DECLARE_IMPORT(8, sio2_portN_ctrl1_get)
85#define I_sio2_portN_ctrl2_set DECLARE_IMPORT(9, sio2_portN_ctrl2_set)
86#define I_sio2_portN_ctrl2_get DECLARE_IMPORT(10, sio2_portN_ctrl2_get)
87#define I_sio2_stat70_get DECLARE_IMPORT(11, sio2_stat70_get)
88#define I_sio2_regN_set DECLARE_IMPORT(12, sio2_regN_set)
89#define I_sio2_regN_get DECLARE_IMPORT(13, sio2_regN_get)
90#define I_sio2_stat74_get DECLARE_IMPORT(14, sio2_stat74_get)
91#define I_sio2_unkn78_set DECLARE_IMPORT(15, sio2_unkn78_set)
92#define I_sio2_unkn78_get DECLARE_IMPORT(16, sio2_unkn78_get)
93#define I_sio2_unkn7c_set DECLARE_IMPORT(17, sio2_unkn7c_set)
94#define I_sio2_unkn7c_get DECLARE_IMPORT(18, sio2_unkn7c_get)
95#define I_sio2_data_out DECLARE_IMPORT(19, sio2_data_out)
96#define I_sio2_data_in DECLARE_IMPORT(20, sio2_data_in)
97#define I_sio2_stat_set DECLARE_IMPORT(21, sio2_stat_set)
98#define I_sio2_stat_get DECLARE_IMPORT(22, sio2_stat_get)
99#define I_sio2_pad_transfer_init DECLARE_IMPORT(23, sio2_pad_transfer_init)
100#define I_sio2_mc_transfer_init DECLARE_IMPORT(24, sio2_mc_transfer_init)
101#define I_sio2_transfer DECLARE_IMPORT(25, sio2_transfer)