fix a kmap leak in virtio_console
[linux/fpc-iii.git] / drivers / staging / bcm / InterfaceMisc.h
blobbce6869a747809ae0724f31f538764cf4551d4bc
1 #ifndef __INTERFACE_MISC_H
2 #define __INTERFACE_MISC_H
4 INT
5 InterfaceRDM(struct bcm_interface_adapter *psIntfAdapter,
6 UINT addr,
7 PVOID buff,
8 INT len);
10 INT
11 InterfaceWRM(struct bcm_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(struct bcm_mini_adapter *Adapter);
38 VOID Bcm_kill_all_URBs(struct bcm_interface_adapter *psIntfAdapter);
40 #define DISABLE_USB_ZERO_LEN_INT 0x0F011878
42 #endif // __INTERFACE_MISC_H