0
|
1 |
unsigned long cif_open_card(
|
|
2 |
unsigned int board_no,
|
|
3 |
unsigned int in_size,
|
|
4 |
unsigned int out_size,
|
|
5 |
void (*callback)(unsigned long priv_data),
|
|
6 |
unsigned long priv_data
|
|
7 |
);
|
|
8 |
|
|
9 |
void cif_close_card(
|
|
10 |
unsigned long fd
|
|
11 |
);
|
|
12 |
|
|
13 |
int cif_reset_card(
|
|
14 |
unsigned long fd,
|
|
15 |
unsigned int timeout,
|
|
16 |
unsigned int context // 1 = interrupt context
|
|
17 |
);
|
|
18 |
|
|
19 |
void cif_set_host_state(
|
|
20 |
unsigned long fd,
|
|
21 |
unsigned int state
|
|
22 |
);
|
|
23 |
|
|
24 |
int cif_exchange_io(
|
|
25 |
unsigned long fd,
|
|
26 |
void *recv_data,
|
|
27 |
void *send_data
|
|
28 |
);
|
|
29 |
|
|
30 |
int cif_read_io(
|
|
31 |
unsigned long fd,
|
|
32 |
void *recv_data
|
|
33 |
);
|
|
34 |
|
|
35 |
int cif_write_io(
|
|
36 |
unsigned long fd,
|
|
37 |
void *send_data
|
|
38 |
);
|
|
39 |
|
|
40 |
int cif_card_ready(
|
|
41 |
unsigned long fd
|
|
42 |
);
|
|
43 |
|