spi-topcliff-pch: add recovery processing in case wait-event timeout
[zen-stable.git] / drivers / staging / winbond / mds_f.h
blobce8be079e957cd0cc5e6d3e975a7a0f9c1a8cf86
1 #ifndef __WINBOND_MDS_F_H
2 #define __WINBOND_MDS_F_H
4 #include "wbhal.h"
5 #include "core.h"
7 unsigned char Mds_initial(struct wbsoft_priv *adapter);
8 void Mds_Tx(struct wbsoft_priv *adapter);
9 void Mds_SendComplete(struct wbsoft_priv *adapter, struct T02_descriptor *pt02);
10 void Mds_MpduProcess(struct wbsoft_priv *adapter, struct wb35_descriptor *prxdes);
11 extern void DataDmp(u8 *pdata, u32 len, u32 offset);
13 /* For data frame sending */
14 u16 MDS_GetPacketSize(struct wbsoft_priv *adapter);
15 void MDS_GetNextPacket(struct wbsoft_priv *adapter, struct wb35_descriptor *pdes);
16 void MDS_GetNextPacketComplete(struct wbsoft_priv *adapter, struct wb35_descriptor *pdes);
17 void MDS_SendResult(struct wbsoft_priv *adapter, u8 packetid, unsigned char sendok);
19 #endif