es705-uart.h 809 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * es705-uart.h -- Audience eS705 UART interface
  3. *
  4. * Copyright 2013 Audience, Inc.
  5. *
  6. * Author: Matt Lupfer <mlupfer@cardinalpeak.com>
  7. *
  8. * Code Updates:
  9. * Genisim Tsilker <gtsilker@audience.com>
  10. * - Add optional UART VS FW download
  11. *
  12. * This program is free software; you can redistribute it and/or modify
  13. * it under the terms of the GNU General Public License version 2 as
  14. * published by the Free Software Foundation.
  15. */
  16. #ifndef _ES705_UART_H
  17. #define _ES705_UART_H
  18. struct es705_priv;
  19. struct es705_uart_device {
  20. struct tty_struct *tty;
  21. struct file *file;
  22. };
  23. int es705_uart_bus_init(struct es705_priv *es705);
  24. int es705_uart_fw_download(struct es705_priv *es705, int fw_type);
  25. int es705_uart_es705_wakeup(struct es705_priv *es705);
  26. #endif