Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * Abilis Systems Single DVB-T Receiver
0004  * Copyright (C) 2014 Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
0005  */
0006 
0007 #include "as102_fe_types.h"
0008 
0009 struct as102_fe_ops {
0010     int (*set_tune)(void *priv, struct as10x_tune_args *tune_args);
0011     int (*get_tps)(void *priv, struct as10x_tps *tps);
0012     int (*get_status)(void *priv, struct as10x_tune_status *tstate);
0013     int (*get_stats)(void *priv, struct as10x_demod_stats *demod_stats);
0014     int (*stream_ctrl)(void *priv, int acquire, uint32_t elna_cfg);
0015 };
0016 
0017 struct dvb_frontend *as102_attach(const char *name,
0018                   const struct as102_fe_ops *ops,
0019                   void *priv,
0020                   uint8_t elna_cfg);