InterfaceMisc.h 863 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #ifndef __INTERFACE_MISC_H
  2. #define __INTERFACE_MISC_H
  3. INT
  4. InterfaceRDM(PS_INTERFACE_ADAPTER psIntfAdapter,
  5. UINT addr,
  6. PVOID buff,
  7. INT len);
  8. INT
  9. InterfaceWRM(PS_INTERFACE_ADAPTER psIntfAdapter,
  10. UINT addr,
  11. PVOID buff,
  12. INT len);
  13. int InterfaceFileDownload( PVOID psIntfAdapter,
  14. struct file *flp,
  15. unsigned int on_chip_loc);
  16. int InterfaceFileReadbackFromChip( PVOID psIntfAdapter,
  17. struct file *flp,
  18. unsigned int on_chip_loc);
  19. int BcmRDM(PVOID arg,
  20. UINT addr,
  21. PVOID buff,
  22. INT len);
  23. int BcmWRM(PVOID arg,
  24. UINT addr,
  25. PVOID buff,
  26. INT len);
  27. INT Bcm_clear_halt_of_endpoints(PMINI_ADAPTER Adapter);
  28. VOID Bcm_kill_all_URBs(PS_INTERFACE_ADAPTER psIntfAdapter);
  29. #define DISABLE_USB_ZERO_LEN_INT 0x0F011878
  30. #endif // __INTERFACE_MISC_H