s6e63d6.h 448 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (C) 2009
  3. * Guennadi Liakhovetski, DENX Software Engineering, <lg@denx.de>
  4. *
  5. * SPDX-License-Identifier: GPL-2.0+
  6. */
  7. #ifndef _S6E63D6_H_
  8. #define _S6E63D6_H_
  9. struct s6e63d6 {
  10. unsigned int bus;
  11. unsigned int cs;
  12. unsigned int id;
  13. struct spi_slave *slave;
  14. };
  15. extern int s6e63d6_init(struct s6e63d6 *data);
  16. extern int s6e63d6_index(struct s6e63d6 *data, u8 idx);
  17. extern int s6e63d6_param(struct s6e63d6 *data, u16 param);
  18. #endif