escore-slim.h 743 B

123456789101112131415161718192021222324252627
  1. /*
  2. * escore-slim.h -- Slimbus interface for Audience earSmart chips
  3. *
  4. * Copyright 2011 Audience, Inc.
  5. *
  6. * Author: Greg Clemson <gclemson@audience.com>
  7. *
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License version 2 as
  11. * published by the Free Software Foundation.
  12. */
  13. #ifndef _ESCORE_SLIM_H
  14. #define _ESCORE_SLIM_H
  15. #define ES_SLIM_BOOT_CMD 0x0001
  16. #define ES_SLIM_BOOT_ACK 0x01010101
  17. void escore_init_slim_slave(struct slim_device *sbdev);
  18. extern int escore_slimbus_init(void);
  19. extern void es515_slim_setup(struct escore_priv *escore_priv);
  20. extern struct slim_driver escore_slim_driver;
  21. extern struct snd_soc_dai_ops escore_slim_port_dai_ops;
  22. #endif