bdc_cmd.h 740 B

123456789101112131415161718192021222324
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * bdc_cmd.h - header for the BDC debug functions
  4. *
  5. * Copyright (C) 2014 Broadcom Corporation
  6. *
  7. * Author: Ashwini Pahuja
  8. */
  9. #ifndef __LINUX_BDC_CMD_H__
  10. #define __LINUX_BDC_CMD_H__
  11. /* Command operations */
  12. int bdc_address_device(struct bdc *, u32);
  13. int bdc_config_ep(struct bdc *, struct bdc_ep *);
  14. int bdc_dconfig_ep(struct bdc *, struct bdc_ep *);
  15. int bdc_stop_ep(struct bdc *, int);
  16. int bdc_ep_set_stall(struct bdc *, int);
  17. int bdc_ep_clear_stall(struct bdc *, int);
  18. int bdc_ep_set_halt(struct bdc_ep *, u32 , int);
  19. int bdc_ep_bla(struct bdc *, struct bdc_ep *, dma_addr_t);
  20. int bdc_function_wake(struct bdc*, u8);
  21. int bdc_function_wake_fh(struct bdc*, u8);
  22. #endif /* __LINUX_BDC_CMD_H__ */