18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Abilis Systems Single DVB-T Receiver 48c2ecf20Sopenharmony_ci * Copyright (C) 2014 Mauro Carvalho Chehab <mchehab+samsung@kernel.org> 58c2ecf20Sopenharmony_ci */ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#include "as102_fe_types.h" 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_cistruct as102_fe_ops { 108c2ecf20Sopenharmony_ci int (*set_tune)(void *priv, struct as10x_tune_args *tune_args); 118c2ecf20Sopenharmony_ci int (*get_tps)(void *priv, struct as10x_tps *tps); 128c2ecf20Sopenharmony_ci int (*get_status)(void *priv, struct as10x_tune_status *tstate); 138c2ecf20Sopenharmony_ci int (*get_stats)(void *priv, struct as10x_demod_stats *demod_stats); 148c2ecf20Sopenharmony_ci int (*stream_ctrl)(void *priv, int acquire, uint32_t elna_cfg); 158c2ecf20Sopenharmony_ci}; 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_cistruct dvb_frontend *as102_attach(const char *name, 188c2ecf20Sopenharmony_ci const struct as102_fe_ops *ops, 198c2ecf20Sopenharmony_ci void *priv, 208c2ecf20Sopenharmony_ci uint8_t elna_cfg); 21