aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/firesat/avc_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/firesat/avc_api.h')
-rw-r--r--drivers/media/dvb/firesat/avc_api.h115
1 files changed, 56 insertions, 59 deletions
diff --git a/drivers/media/dvb/firesat/avc_api.h b/drivers/media/dvb/firesat/avc_api.h
index 04166568590..66f419a6f7c 100644
--- a/drivers/media/dvb/firesat/avc_api.h
+++ b/drivers/media/dvb/firesat/avc_api.h
@@ -1,32 +1,25 @@
1/***************************************************************************
2 avc_api.h - description
3 -------------------
4 begin : Wed May 1 2000
5 copyright : (C) 2000 by Manfred Weihs
6 copyright : (C) 2003 by Philipp Gutgsell
7 copyright : (C) 2008 by Henrik Kurelid (henrik@kurelid.se)
8 email : 0014guph@edu.fh-kaernten.ac.at
9 ***************************************************************************/
10
11/***************************************************************************
12 * *
13 * This program is free software; you can redistribute it and/or modify *
14 * it under the terms of the GNU General Public License as published by *
15 * the Free Software Foundation; either version 2 of the License, or *
16 * (at your option) any later version. *
17 * *
18 ***************************************************************************/
19
20/* 1/*
21 This is based on code written by Peter Halwachs, 2 * AV/C API
22 Thomas Groiss and Andreas Monitzer. 3 *
23*/ 4 * Copyright (C) 2000 Manfred Weihs
24 5 * Copyright (C) 2003 Philipp Gutgsell <0014guph@edu.fh-kaernten.ac.at>
25 6 * Copyright (C) 2004 Andreas Monitzer <andy@monitzer.com>
26#ifndef __AVC_API_H__ 7 * Copyright (C) 2008 Ben Backx <ben@bbackx.com>
27#define __AVC_API_H__ 8 * Copyright (C) 2008 Henrik Kurelid <henrik@kurelid.se>
28 9 *
29#include <linux/dvb/frontend.h> 10 * This is based on code written by Peter Halwachs, Thomas Groiss and
11 * Andreas Monitzer.
12 *
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License as
15 * published by the Free Software Foundation; either version 2 of
16 * the License, or (at your option) any later version.
17 */
18
19#ifndef _AVC_API_H
20#define _AVC_API_H
21
22#include <linux/types.h>
30 23
31/************************************************************* 24/*************************************************************
32 Constants from EN510221 25 Constants from EN510221
@@ -416,34 +409,38 @@ typedef struct
416 409
417#define LNBCONTROL_DONTCARE 0xff 410#define LNBCONTROL_DONTCARE 0xff
418 411
419 412struct dvb_diseqc_master_cmd;
420extern int AVCWrite(struct firesat *firesat, const AVCCmdFrm *CmdFrm, AVCRspFrm *RspFrm); 413struct dvb_frontend_parameters;
421extern int AVCRecv(struct firesat *firesat, u8 *data, size_t length); 414struct firesat;
422 415
423extern int AVCTuner_DSIT(struct firesat *firesat, 416int AVCWrite(struct firesat *firesat, const AVCCmdFrm *CmdFrm,
424 int Source_Plug, 417 AVCRspFrm *RspFrm);
425 struct dvb_frontend_parameters *params, 418int AVCRecv(struct firesat *firesat, u8 *data, size_t length);
426 __u8 *status); 419
427 420int AVCTuner_DSIT(struct firesat *firesat, int Source_Plug,
428extern int AVCTunerStatus(struct firesat *firesat, ANTENNA_INPUT_INFO *antenna_input_info); 421 struct dvb_frontend_parameters *params, __u8 *status);
429extern int AVCTuner_DSD(struct firesat *firesat, struct dvb_frontend_parameters *params, __u8 *status); 422
430extern int AVCTuner_SetPIDs(struct firesat *firesat, unsigned char pidc, u16 pid[]); 423int AVCTunerStatus(struct firesat *firesat,
431extern int AVCTuner_GetTS(struct firesat *firesat); 424 ANTENNA_INPUT_INFO *antenna_input_info);
432 425int AVCTuner_DSD(struct firesat *firesat,
433extern int AVCIdentifySubunit(struct firesat *firesat, unsigned char *systemId, int *transport); 426 struct dvb_frontend_parameters *params, __u8 *status);
434extern int AVCLNBControl(struct firesat *firesat, char voltage, char burst, char conttone, char nrdiseq, struct dvb_diseqc_master_cmd *diseqcmd); 427int AVCTuner_SetPIDs(struct firesat *firesat, unsigned char pidc, u16 pid[]);
435extern int AVCSubUnitInfo(struct firesat *firesat, char *subunitcount); 428int AVCTuner_GetTS(struct firesat *firesat);
436extern int AVCRegisterRemoteControl(struct firesat *firesat); 429
437extern int AVCTuner_Host2Ca(struct firesat *firesat); 430int AVCIdentifySubunit(struct firesat *firesat);
438extern int avc_ca_app_info(struct firesat *firesat, char *app_info, 431int AVCLNBControl(struct firesat *firesat, char voltage, char burst,
439 int *length); 432 char conttone, char nrdiseq,
440extern int avc_ca_info(struct firesat *firesat, char *app_info, int *length); 433 struct dvb_diseqc_master_cmd *diseqcmd);
441extern int avc_ca_reset(struct firesat *firesat); 434int AVCSubUnitInfo(struct firesat *firesat, char *subunitcount);
442extern int avc_ca_pmt(struct firesat *firesat, char *app_info, int length); 435void avc_remote_ctrl_work(struct work_struct *work);
443extern int avc_ca_get_time_date(struct firesat *firesat, int *interval); 436int AVCRegisterRemoteControl(struct firesat *firesat);
444extern int avc_ca_enter_menu(struct firesat *firesat); 437int AVCTuner_Host2Ca(struct firesat *firesat);
445extern int avc_ca_get_mmi(struct firesat *firesat, char *mmi_object, 438int avc_ca_app_info(struct firesat *firesat, char *app_info, int *length);
446 int *length); 439int avc_ca_info(struct firesat *firesat, char *app_info, int *length);
447 440int avc_ca_reset(struct firesat *firesat);
448#endif 441int avc_ca_pmt(struct firesat *firesat, char *app_info, int length);
449 442int avc_ca_get_time_date(struct firesat *firesat, int *interval);
443int avc_ca_enter_menu(struct firesat *firesat);
444int avc_ca_get_mmi(struct firesat *firesat, char *mmi_object, int *length);
445
446#endif /* _AVC_API_H */