PS2SDK
PS2 Homebrew Libraries
|
#include <sio2man.h>
Go to the source code of this file.
Macros | |
#define | xsio2man_IMPORTS_start DECLARE_IMPORT_TABLE(sio2man, 1, 2) |
#define | xsio2man_IMPORTS_end END_IMPORT_TABLE |
#define | I_sio2_transfer_reset DECLARE_IMPORT(26, sio2_transfer_reset) |
#define | I_sio2_ctrl_set2 DECLARE_IMPORT(27, sio2_ctrl_set2) |
#define | I_sio2_ctrl_get2 DECLARE_IMPORT(28, sio2_ctrl_get2) |
#define | I_sio2_stat6c_get2 DECLARE_IMPORT(29, sio2_stat6c_get2) |
#define | I_sio2_portN_ctrl1_set2 DECLARE_IMPORT(30, sio2_portN_ctrl1_set2) |
#define | I_sio2_portN_ctrl1_get2 DECLARE_IMPORT(31, sio2_portN_ctrl1_get2) |
#define | I_sio2_portN_ctrl2_set2 DECLARE_IMPORT(32, sio2_portN_ctrl2_set2) |
#define | I_sio2_portN_ctrl2_get2 DECLARE_IMPORT(33, sio2_portN_ctrl2_get2) |
#define | I_sio2_stat70_get2 DECLARE_IMPORT(34, sio2_stat70_get2) |
#define | I_sio2_regN_set2 DECLARE_IMPORT(35, sio2_regN_set2) |
#define | I_sio2_regN_get2 DECLARE_IMPORT(36, sio2_regN_get2) |
#define | I_sio2_stat74_get2 DECLARE_IMPORT(37, sio2_stat74_get2) |
#define | I_sio2_unkn78_set2 DECLARE_IMPORT(38, sio2_unkn78_set2) |
#define | I_sio2_unkn78_get2 DECLARE_IMPORT(39, sio2_unkn78_get2) |
#define | I_sio2_unkn7c_set2 DECLARE_IMPORT(40, sio2_unkn7c_set2) |
#define | I_sio2_unkn7c_get2 DECLARE_IMPORT(41, sio2_unkn7c_get2) |
#define | I_sio2_data_out2 DECLARE_IMPORT(42, sio2_data_out2) |
#define | I_sio2_data_in2 DECLARE_IMPORT(43, sio2_data_in2) |
#define | I_sio2_stat_set2 DECLARE_IMPORT(44, sio2_stat_set2) |
#define | I_sio2_stat_get2 DECLARE_IMPORT(45, sio2_stat_get2) |
#define | I_sio2_pad_transfer_init2 DECLARE_IMPORT(46, sio2_pad_transfer_init2) |
#define | I_sio2_mc_transfer_init2 DECLARE_IMPORT(47, sio2_mc_transfer_init2) |
#define | I_sio2_mtap_transfer_init DECLARE_IMPORT(48, sio2_mtap_transfer_init) |
#define | I_sio2_transfer2 DECLARE_IMPORT(49, sio2_transfer2) |
#define | I_sio2_transfer_reset2 DECLARE_IMPORT(50, sio2_transfer_reset2) |
#define | I_sio2_mtap_change_slot_set DECLARE_IMPORT(51, sio2_mtap_change_slot_set) |
#define | I_sio2_mtap_get_slot_max_set DECLARE_IMPORT(52, sio2_mtap_get_slot_max_set) |
#define | I_sio2_mtap_get_slot_max2_set DECLARE_IMPORT(53, sio2_mtap_get_slot_max2_set) |
#define | I_sio2_mtap_update_slots_set DECLARE_IMPORT(54, sio2_mtap_update_slots_set) |
#define | I_sio2_mtap_change_slot DECLARE_IMPORT(55, sio2_mtap_change_slot) |
#define | I_sio2_mtap_get_slot_max DECLARE_IMPORT(56, sio2_mtap_get_slot_max) |
#define | I_sio2_mtap_get_slot_max2 DECLARE_IMPORT(57, sio2_mtap_get_slot_max2) |
#define | I_sio2_mtap_update_slots DECLARE_IMPORT(58, sio2_mtap_update_slots) |
Typedefs | |
typedef int(* | sio2_mtap_change_slot_cb_t) (s32 *status) |
typedef int(* | sio2_mtap_get_slot_max_cb_t) (int port) |
typedef int(* | sio2_mtap_get_slot_max2_cb_t) (int port) |
typedef void(* | sio2_mtap_update_slots_t) (void) |
Functions | |
void | sio2_transfer_reset (void) |
void | sio2_ctrl_set2 (u32 val) |
u32 | sio2_ctrl_get2 (void) |
u32 | sio2_stat6c_get2 (void) |
void | sio2_portN_ctrl1_set2 (int N, u32 val) |
u32 | sio2_portN_ctrl1_get2 (int N) |
void | sio2_portN_ctrl2_set2 (int N, u32 val) |
u32 | sio2_portN_ctrl2_get2 (int N) |
u32 | sio2_stat70_get2 (void) |
void | sio2_regN_set2 (int N, u32 val) |
u32 | sio2_regN_get2 (int N) |
u32 | sio2_stat74_get2 (void) |
void | sio2_unkn78_set2 (u32 val) |
u32 | sio2_unkn78_get2 (void) |
void | sio2_unkn7c_set2 (u32 val) |
u32 | sio2_unkn7c_get2 (void) |
void | sio2_data_out2 (u8 val) |
u8 | sio2_data_in2 (void) |
void | sio2_stat_set2 (u32 val) |
u32 | sio2_stat_get2 (void) |
void | sio2_pad_transfer_init2 (void) |
void | sio2_mc_transfer_init2 (void) |
void | sio2_mtap_transfer_init (void) |
int | sio2_transfer2 (sio2_transfer_data_t *td) |
void | sio2_transfer_reset2 (void) |
void | sio2_mtap_change_slot_set (sio2_mtap_change_slot_cb_t cb) |
void | sio2_mtap_get_slot_max_set (sio2_mtap_get_slot_max_cb_t cb) |
void | sio2_mtap_get_slot_max2_set (sio2_mtap_get_slot_max2_cb_t cb) |
void | sio2_mtap_update_slots_set (sio2_mtap_update_slots_t cb) |
int | sio2_mtap_change_slot (s32 *arg) |
int | sio2_mtap_get_slot_max (int port) |
int | sio2_mtap_get_slot_max2 (int port) |
void | sio2_mtap_update_slots (void) |
SIO2MAN from SDK 1.4 and newer definitions For non-Protokernel systems, rom0:XSIO2MAN module definitions
Definition in file xsio2man.h.
#define xsio2man_IMPORTS_start DECLARE_IMPORT_TABLE(sio2man, 1, 2) |
Definition at line 65 of file xsio2man.h.
#define xsio2man_IMPORTS_end END_IMPORT_TABLE |
Definition at line 66 of file xsio2man.h.
#define I_sio2_transfer_reset DECLARE_IMPORT(26, sio2_transfer_reset) |
Definition at line 69 of file xsio2man.h.
#define I_sio2_ctrl_set2 DECLARE_IMPORT(27, sio2_ctrl_set2) |
Definition at line 70 of file xsio2man.h.
#define I_sio2_ctrl_get2 DECLARE_IMPORT(28, sio2_ctrl_get2) |
Definition at line 71 of file xsio2man.h.
#define I_sio2_stat6c_get2 DECLARE_IMPORT(29, sio2_stat6c_get2) |
Definition at line 72 of file xsio2man.h.
#define I_sio2_portN_ctrl1_set2 DECLARE_IMPORT(30, sio2_portN_ctrl1_set2) |
Definition at line 73 of file xsio2man.h.
#define I_sio2_portN_ctrl1_get2 DECLARE_IMPORT(31, sio2_portN_ctrl1_get2) |
Definition at line 74 of file xsio2man.h.
#define I_sio2_portN_ctrl2_set2 DECLARE_IMPORT(32, sio2_portN_ctrl2_set2) |
Definition at line 75 of file xsio2man.h.
#define I_sio2_portN_ctrl2_get2 DECLARE_IMPORT(33, sio2_portN_ctrl2_get2) |
Definition at line 76 of file xsio2man.h.
#define I_sio2_stat70_get2 DECLARE_IMPORT(34, sio2_stat70_get2) |
Definition at line 77 of file xsio2man.h.
#define I_sio2_regN_set2 DECLARE_IMPORT(35, sio2_regN_set2) |
Definition at line 78 of file xsio2man.h.
#define I_sio2_regN_get2 DECLARE_IMPORT(36, sio2_regN_get2) |
Definition at line 79 of file xsio2man.h.
#define I_sio2_stat74_get2 DECLARE_IMPORT(37, sio2_stat74_get2) |
Definition at line 80 of file xsio2man.h.
#define I_sio2_unkn78_set2 DECLARE_IMPORT(38, sio2_unkn78_set2) |
Definition at line 81 of file xsio2man.h.
#define I_sio2_unkn78_get2 DECLARE_IMPORT(39, sio2_unkn78_get2) |
Definition at line 82 of file xsio2man.h.
#define I_sio2_unkn7c_set2 DECLARE_IMPORT(40, sio2_unkn7c_set2) |
Definition at line 83 of file xsio2man.h.
#define I_sio2_unkn7c_get2 DECLARE_IMPORT(41, sio2_unkn7c_get2) |
Definition at line 84 of file xsio2man.h.
#define I_sio2_data_out2 DECLARE_IMPORT(42, sio2_data_out2) |
Definition at line 85 of file xsio2man.h.
#define I_sio2_data_in2 DECLARE_IMPORT(43, sio2_data_in2) |
Definition at line 86 of file xsio2man.h.
#define I_sio2_stat_set2 DECLARE_IMPORT(44, sio2_stat_set2) |
Definition at line 87 of file xsio2man.h.
#define I_sio2_stat_get2 DECLARE_IMPORT(45, sio2_stat_get2) |
Definition at line 88 of file xsio2man.h.
#define I_sio2_pad_transfer_init2 DECLARE_IMPORT(46, sio2_pad_transfer_init2) |
Definition at line 89 of file xsio2man.h.
#define I_sio2_mc_transfer_init2 DECLARE_IMPORT(47, sio2_mc_transfer_init2) |
Definition at line 90 of file xsio2man.h.
#define I_sio2_mtap_transfer_init DECLARE_IMPORT(48, sio2_mtap_transfer_init) |
Definition at line 91 of file xsio2man.h.
#define I_sio2_transfer2 DECLARE_IMPORT(49, sio2_transfer2) |
Definition at line 93 of file xsio2man.h.
#define I_sio2_transfer_reset2 DECLARE_IMPORT(50, sio2_transfer_reset2) |
Definition at line 94 of file xsio2man.h.
#define I_sio2_mtap_change_slot_set DECLARE_IMPORT(51, sio2_mtap_change_slot_set) |
Definition at line 95 of file xsio2man.h.
#define I_sio2_mtap_get_slot_max_set DECLARE_IMPORT(52, sio2_mtap_get_slot_max_set) |
Definition at line 96 of file xsio2man.h.
#define I_sio2_mtap_get_slot_max2_set DECLARE_IMPORT(53, sio2_mtap_get_slot_max2_set) |
Definition at line 97 of file xsio2man.h.
#define I_sio2_mtap_update_slots_set DECLARE_IMPORT(54, sio2_mtap_update_slots_set) |
Definition at line 98 of file xsio2man.h.
#define I_sio2_mtap_change_slot DECLARE_IMPORT(55, sio2_mtap_change_slot) |
Definition at line 99 of file xsio2man.h.
#define I_sio2_mtap_get_slot_max DECLARE_IMPORT(56, sio2_mtap_get_slot_max) |
Definition at line 100 of file xsio2man.h.
#define I_sio2_mtap_get_slot_max2 DECLARE_IMPORT(57, sio2_mtap_get_slot_max2) |
Definition at line 101 of file xsio2man.h.
#define I_sio2_mtap_update_slots DECLARE_IMPORT(58, sio2_mtap_update_slots) |
Definition at line 102 of file xsio2man.h.
typedef int(* sio2_mtap_change_slot_cb_t) (s32 *status) |
Definition at line 26 of file xsio2man.h.
typedef int(* sio2_mtap_get_slot_max_cb_t) (int port) |
Definition at line 27 of file xsio2man.h.
typedef int(* sio2_mtap_get_slot_max2_cb_t) (int port) |
Definition at line 28 of file xsio2man.h.
typedef void(* sio2_mtap_update_slots_t) (void) |
Definition at line 29 of file xsio2man.h.
|
extern |
|
extern |
|
extern |
|
extern |