spi-topcliff-pch: add recovery processing in case wait-event timeout
[zen-stable.git] / drivers / staging / bcm / InterfaceMisc.h
blob6c9e39bf9889bb6ba042b58498b6cb614255e5e0
1 #ifndef __INTERFACE_MISC_H
2 #define __INTERFACE_MISC_H
4 INT
5 InterfaceRDM(PS_INTERFACE_ADAPTER psIntfAdapter,
6 UINT addr,
7 PVOID buff,
8 INT len);
10 INT
11 InterfaceWRM(PS_INTERFACE_ADAPTER psIntfAdapter,
12 UINT addr,
13 PVOID buff,
14 INT len);
17 int InterfaceFileDownload( PVOID psIntfAdapter,
18 struct file *flp,
19 unsigned int on_chip_loc);
21 int InterfaceFileReadbackFromChip( PVOID psIntfAdapter,
22 struct file *flp,
23 unsigned int on_chip_loc);
26 int BcmRDM(PVOID arg,
27 UINT addr,
28 PVOID buff,
29 INT len);
31 int BcmWRM(PVOID arg,
32 UINT addr,
33 PVOID buff,
34 INT len);
36 INT Bcm_clear_halt_of_endpoints(PMINI_ADAPTER Adapter);
38 VOID Bcm_kill_all_URBs(PS_INTERFACE_ADAPTER psIntfAdapter);
40 #define DISABLE_USB_ZERO_LEN_INT 0x0F011878
42 #endif // __INTERFACE_MISC_H