bdc_cmd.h 961 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * bdc_cmd.h - header for the BDC debug functions
  3. *
  4. * Copyright (C) 2014 Broadcom Corporation
  5. *
  6. * Author: Ashwini Pahuja
  7. *
  8. * This program is free software; you can redistribute it and/or modify it
  9. * under the terms of the GNU General Public License as published by the
  10. * Free Software Foundation; either version 2 of the License, or (at your
  11. * option) any later version.
  12. *
  13. */
  14. #ifndef __LINUX_BDC_CMD_H__
  15. #define __LINUX_BDC_CMD_H__
  16. /* Command operations */
  17. int bdc_address_device(struct bdc *, u32);
  18. int bdc_config_ep(struct bdc *, struct bdc_ep *);
  19. int bdc_dconfig_ep(struct bdc *, struct bdc_ep *);
  20. int bdc_stop_ep(struct bdc *, int);
  21. int bdc_ep_set_stall(struct bdc *, int);
  22. int bdc_ep_clear_stall(struct bdc *, int);
  23. int bdc_ep_set_halt(struct bdc_ep *, u32 , int);
  24. int bdc_ep_bla(struct bdc *, struct bdc_ep *, dma_addr_t);
  25. int bdc_function_wake(struct bdc*, u8);
  26. int bdc_function_wake_fh(struct bdc*, u8);
  27. #endif /* __LINUX_BDC_CMD_H__ */