2 Copyright © 2011-2014, The AROS Development Team. All rights reserved.
9 #include "card_intern.h"
11 AROS_LH1(struct CardHandle
*, OwnCard
,
12 AROS_LHA(struct CardHandle
*, handle
, A1
),
13 struct CardResource
*, CardResource
, 1, Card
)
22 AROS_LH2(void, ReleaseCard
,
23 AROS_LHA(struct CardHandle
*, handle
, A1
),
24 AROS_LHA(ULONG
, flags
, D0
),
25 struct CardResource
*, CardResource
, 2, Card
)
32 AROS_LH0(struct CardMemoryMap
*, GetCardMap
,
33 struct CardResource
*, CardResource
, 3, Card
)
37 return &CardResource
->cmm
;
42 AROS_LH1(BOOL
, BeginCardAccess
,
43 AROS_LHA(struct CardHandle
*, handle
, A1
),
44 struct CardResource
*, CardResource
, 4, Card
)
53 AROS_LH1(BOOL
, EndCardAccess
,
54 AROS_LHA(struct CardHandle
*, handle
, A1
),
55 struct CardResource
*, CardResource
, 5, Card
)
64 AROS_LH0(UBYTE
, ReadCardStatus
,
65 struct CardResource
*, CardResource
, 6, Card
)
74 AROS_LH2(BOOL
, CardResetRemove
,
75 AROS_LHA(struct CardHandle
*, handle
, A1
),
76 AROS_LHA(ULONG
, flag
, D0
),
77 struct CardResource
*, CardResource
, 7, Card
)
86 AROS_LH2(UBYTE
, CardMiscControl
,
87 AROS_LHA(struct CardHandle
*, handle
, A1
),
88 AROS_LHA(UBYTE
, control_bits
, D1
),
89 struct CardResource
*, CardResource
, 8, Card
)
98 AROS_LH2(ULONG
, CardAccessSpeed
,
99 AROS_LHA(struct CardHandle
*, handle
, A1
),
100 AROS_LHA(ULONG
, nanoseconds
, D0
),
101 struct CardResource
*, CardResource
, 9, Card
)
110 AROS_LH2(LONG
, CardProgramVoltage
,
111 AROS_LHA(struct CardHandle
*, handle
, A1
),
112 AROS_LHA(ULONG
, voltage
, D0
),
113 struct CardResource
*, CardResource
, 10, Card
)
122 AROS_LH1(BOOL
, CardResetCard
,
123 AROS_LHA(struct CardHandle
*, handle
, A1
),
124 struct CardResource
*, CardResource
, 11, Card
)
133 AROS_LH4(BOOL
, CopyTuple
,
134 AROS_LHA(struct CardHandle
*, handle
, A1
),
135 AROS_LHA(UBYTE
*, buffer
, A0
),
136 AROS_LHA(ULONG
, tuplecode
, D1
),
137 AROS_LHA(ULONG
, size
, D0
),
138 struct CardResource
*, CardResource
, 12, Card
)
147 AROS_LH2(BOOL
, DeviceTuple
,
148 AROS_LHA(UBYTE
*, tuple_data
, A0
),
149 AROS_LHA(struct DeviceTData
*, storage
, A1
),
150 struct CardResource
*, CardResource
, 13, Card
)
159 AROS_LH1(struct Resident
*, IfAmigaXIP
,
160 AROS_LHA(struct CardHandle
*, handle
, A2
),
161 struct CardResource
*, CardResource
, 14, Card
)
170 AROS_LH0(ULONG
, CardChangeCount
,
171 struct CardResource
*, CardResource
, 16, Card
)
180 AROS_LH0(BOOL
, CardForceChange
,
181 struct CardResource
*, CardResource
, 15, Card
)
190 AROS_LH0(ULONG
, CardInterface
,
191 struct CardResource
*, CardResource
, 17, Card
)