as102_fe.h 675 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * Abilis Systems Single DVB-T Receiver
  4. * Copyright (C) 2014 Mauro Carvalho Chehab <[email protected]>
  5. */
  6. #include "as102_fe_types.h"
  7. struct as102_fe_ops {
  8. int (*set_tune)(void *priv, struct as10x_tune_args *tune_args);
  9. int (*get_tps)(void *priv, struct as10x_tps *tps);
  10. int (*get_status)(void *priv, struct as10x_tune_status *tstate);
  11. int (*get_stats)(void *priv, struct as10x_demod_stats *demod_stats);
  12. int (*stream_ctrl)(void *priv, int acquire, uint32_t elna_cfg);
  13. };
  14. struct dvb_frontend *as102_attach(const char *name,
  15. const struct as102_fe_ops *ops,
  16. void *priv,
  17. uint8_t elna_cfg);