Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Prototypes.h
Go to the documentation of this file.
1 #ifndef _PROTOTYPES_H_
2 #define _PROTOTYPES_H_
3 
5 
7 
9 
11 
13 
15 
17 
19 
21  PVOID ioBuffer
22  );
23 
25 
27 
29 
31 
33 
35 
36 BOOLEAN MatchSrcPort(struct bcm_classifier_rule *pstClassifierRule,USHORT ushSrcPort);
37 BOOLEAN MatchDestPort(struct bcm_classifier_rule *pstClassifierRule,USHORT ushSrcPort);
38 BOOLEAN MatchProtocol(struct bcm_classifier_rule *pstClassifierRule,UCHAR ucProtocol);
39 
40 
42  struct sk_buff *Packet,
43  USHORT Vcid) ;
44 
46 
48 
50  char *pControlPacket
51  );
52 
53 
56 
58 
60 
62 
64 
66 
68 
69 int InitCardAndDownloadFirmware(struct bcm_mini_adapter *ps_adapter);
70 
71 
73 
75 
77 
78 int rdm(struct bcm_mini_adapter *Adapter, UINT uiAddress, PCHAR pucBuff, size_t size);
79 
80 int wrm(struct bcm_mini_adapter *Adapter, UINT uiAddress, PCHAR pucBuff, size_t size);
81 
82 int wrmalt (struct bcm_mini_adapter *Adapter, UINT uiAddress, PUINT pucBuff, size_t sSize);
83 
84 int rdmalt (struct bcm_mini_adapter *Adapter, UINT uiAddress, PUINT pucBuff, size_t sSize);
85 
86 int get_dsx_sf_data_to_application(struct bcm_mini_adapter *Adapter, UINT uiSFId, void __user * user_buffer);
87 
89 
90 
94 
96 
98  struct bcm_connect_mgr_params *psfLocalSet, UINT uiSearchRuleIndex);
99 
101 
103 
104 struct bcm_classifier_rule *GetFragIPClsEntry(struct bcm_mini_adapter *Adapter,USHORT usIpIdentification,ULONG SrcIP);
105 
106 void AddFragIPClsEntry(struct bcm_mini_adapter *Adapter, struct bcm_fragmented_packet_info *psFragPktInfo);
107 
108 void DelFragIPClsEntry(struct bcm_mini_adapter *Adapter,USHORT usIpIdentification,ULONG SrcIp);
109 
111 
113 
115 
116 
117 void flush_queue(struct bcm_mini_adapter *Adapter, UINT iQIndex);
118 
119 
121 
122 
124  struct bcm_mini_adapter *Adapter,
125  PUINT pBuffer,
126  UINT uiOffset,
127  UINT uiNumBytes);
128 
129 
130 
131 INT WriteBeceemEEPROM(struct bcm_mini_adapter *Adapter,UINT uiEEPROMOffset, UINT uiData);
132 
134 
135 
137  struct bcm_mini_adapter *Adapter,
138  PUCHAR pBuffer,
139  UINT uiOffset,
140  UINT uiNumBytes,
141  BOOLEAN bVerify);
142 
143 
144 INT ReadBeceemEEPROM(struct bcm_mini_adapter *Adapter,UINT dwAddress, UINT *pdwData);
145 
146 
148  struct bcm_mini_adapter *Adapter,
149  PUINT pBuffer,
150  UINT uiOffset,
151  UINT uiNumBytes);
152 
154  struct bcm_mini_adapter *Adapter,
155  PUINT pBuffer,
156  UINT uiOffset,
157  UINT uiNumBytes,
158  BOOLEAN bVerify);
159 
160 
162 
163 INT BcmUpdateSectorSize(struct bcm_mini_adapter *Adapter,UINT uiSectorSize);
165 
167 
169  struct bcm_mini_adapter *Adapter,
170  PUINT pBuffer,
171  FLASH2X_SECTION_VAL eFlashSectionVal,
172  UINT uiOffset,
173  UINT uiNumBytes,
174  UINT bVerify);
175 
177  struct bcm_mini_adapter *Adapter,
178  PUINT pBuffer,
179  FLASH2X_SECTION_VAL eFlashSectionVal,
180  UINT uiOffsetWithinSectionVal,
181  UINT uiNumBytes);
182 
184 
188 
195  FLASH2X_SECTION_VAL SrcSection,
196  FLASH2X_SECTION_VAL DstSection,
197  UINT offset,
198  UINT numOfBytes);
199 
200 
202 
203 
205 
206 int wrmaltWithLock (struct bcm_mini_adapter *Adapter, UINT uiAddress, PUINT pucBuff, size_t sSize);
207 int rdmaltWithLock (struct bcm_mini_adapter *Adapter, UINT uiAddress, PUINT pucBuff, size_t sSize);
208 
209 int wrmWithLock(struct bcm_mini_adapter *Adapter, UINT uiAddress, PCHAR pucBuff, size_t size);
210 INT buffDnldVerify(struct bcm_mini_adapter *Adapter, unsigned char *mappedbuffer, unsigned int u32FirmwareLength,
211  unsigned long u32StartingAddress);
212 
213 
216 
217 
218 #endif
219 
220 
221 
222