Linux Kernel
3.7.1
|
#include "as10x_types.h"
Go to the source code of this file.
Data Structures | |
union | as10x_turn_on |
union | as10x_turn_off |
union | as10x_set_tune |
union | as10x_get_tune_status |
union | as10x_get_tps |
union | as10x_common |
union | as10x_add_pid_filter |
union | as10x_del_pid_filter |
union | as10x_start_streaming |
union | as10x_stop_streaming |
union | as10x_get_demod_stats |
union | as10x_get_impulse_resp |
union | as10x_fw_context |
union | as10x_set_register |
union | as10x_get_register |
union | as10x_cfg_change_mode |
struct | as10x_cmd_header_t |
union | as10x_dump_memory |
union | as10x_dumplog_memory |
union | as10x_raw_data |
struct | as10x_cmd_t |
struct | as10x_token_cmd_t |
Macros | |
#define | AS10X_CMD_ERROR -1 |
#define | SERVICE_PROG_ID 0x0002 |
#define | SERVICE_PROG_VERSION 0x0001 |
#define | HIER_NONE 0x00 |
#define | HIER_LOW_PRIORITY 0x01 |
#define | HEADER_SIZE (sizeof(struct as10x_cmd_header_t)) |
#define | GET_CONTEXT_DATA 1 |
#define | SET_CONTEXT_DATA 2 |
#define | CFG_MODE_ODSP_RESUME 0 |
#define | CFG_MODE_ODSP_SUSPEND 1 |
#define | DUMP_BLOCK_SIZE_MAX 0x20 |
#define | DUMP_BLOCK_SIZE 16 |
Variables | |
union as10x_turn_on | __packed |
#define AS10X_CMD_ERROR -1 |
Definition at line 31 of file as10x_cmd.h.
#define CFG_MODE_ODSP_RESUME 0 |
Definition at line 46 of file as10x_cmd.h.
#define CFG_MODE_ODSP_SUSPEND 1 |
Definition at line 47 of file as10x_cmd.h.
#define DUMP_BLOCK_SIZE 16 |
Definition at line 384 of file as10x_cmd.h.
#define DUMP_BLOCK_SIZE_MAX 0x20 |
Definition at line 50 of file as10x_cmd.h.
#define GET_CONTEXT_DATA 1 |
Definition at line 42 of file as10x_cmd.h.
#define HEADER_SIZE (sizeof(struct as10x_cmd_header_t)) |
Definition at line 39 of file as10x_cmd.h.
#define HIER_LOW_PRIORITY 0x01 |
Definition at line 37 of file as10x_cmd.h.
#define HIER_NONE 0x00 |
Definition at line 36 of file as10x_cmd.h.
#define SERVICE_PROG_ID 0x0002 |
Definition at line 33 of file as10x_cmd.h.
#define SERVICE_PROG_VERSION 0x0001 |
Definition at line 34 of file as10x_cmd.h.
#define SET_CONTEXT_DATA 2 |
Definition at line 43 of file as10x_cmd.h.
enum control_proc |
Definition at line 55 of file as10x_cmd.h.
int as10x_cmd_add_PID_filter | ( | struct as10x_bus_adapter_t * | adap, |
struct as10x_ts_filter * | filter | ||
) |
as10x_cmd_add_PID_filter - send add filter command to AS10x : pointer to AS10x bus adapter : TSFilter filter for DVB-T
Return 0 on success or negative value in case of error.
Definition at line 31 of file as10x_cmd_stream.c.
void as10x_cmd_build | ( | struct as10x_cmd_t * | pcmd, |
uint16_t | xid, | ||
uint16_t | cmd_len | ||
) |
as10x_cmd_build - build AS10x command header : pointer to AS10x command buffer : sequence id of the command : length of the command
Definition at line 410 of file as10x_cmd.c.
int as10x_cmd_del_PID_filter | ( | struct as10x_bus_adapter_t * | adap, |
uint16_t | pid_value | ||
) |
as10x_cmd_del_PID_filter - Send delete filter command to AS10x : pointer to AS10x bus adapte : PID to delete
Return 0 on success or negative value in case of error.
Definition at line 91 of file as10x_cmd_stream.c.
int as10x_cmd_eLNA_change_mode | ( | struct as10x_bus_adapter_t * | adap, |
uint8_t | mode | ||
) |
as10x_cmd_eLNA_change_mode - send eLNA change mode command to AS10x : pointer to AS10x bus adapter : mode selected:
Return 0 on success or negative value in case of error.
Definition at line 154 of file as10x_cmd_cfg.c.
int as10x_cmd_get_context | ( | struct as10x_bus_adapter_t * | adap, |
uint16_t | tag, | ||
uint32_t * | pvalue | ||
) |
as10x_cmd_get_context - Send get context command to AS10x : pointer to AS10x bus adapter : context tag : pointer where to store context value read
Return 0 on success or negative value in case of error.
Definition at line 37 of file as10x_cmd_cfg.c.
int as10x_cmd_get_demod_stats | ( | struct as10x_bus_adapter_t * | adap, |
struct as10x_demod_stats * | pdemod_stats | ||
) |
as10x_cmd_get_demod_stats - send get demod stats command to AS10x : pointer to AS10x bus adapter : pointer to demod stats parameters structure
Return 0 on success or negative value in case of error.
Definition at line 295 of file as10x_cmd.c.
int as10x_cmd_get_impulse_resp | ( | struct as10x_bus_adapter_t * | adap, |
uint8_t * | is_ready | ||
) |
as10x_cmd_get_impulse_resp - send get impulse response command to AS10x : pointer to AS10x bus adapter : pointer to value indicating when impulse response data is ready
Return 0 on success or negative value in case of error.
Definition at line 358 of file as10x_cmd.c.
int as10x_cmd_get_tps | ( | struct as10x_bus_adapter_t * | adap, |
struct as10x_tps * | ptps | ||
) |
as10x_cmd_get_tps - send get TPS command to AS10x : pointer to AS10x handle : pointer to TPS parameters structure
Return 0 on success or negative value in case of error.
Definition at line 234 of file as10x_cmd.c.
int as10x_cmd_get_tune_status | ( | struct as10x_bus_adapter_t * | adap, |
struct as10x_tune_status * | pstatus | ||
) |
as10x_cmd_get_tune_status - send get tune status command to AS10x : pointer to AS10x bus adapter : pointer to updated status structure of the current tune
Return 0 on success or negative value in case of error.
Definition at line 178 of file as10x_cmd.c.
int as10x_cmd_set_context | ( | struct as10x_bus_adapter_t * | adap, |
uint16_t | tag, | ||
uint32_t | value | ||
) |
as10x_cmd_set_context - send set context command to AS10x : pointer to AS10x bus adapter : context tag : value to set in context
Return 0 on success or negative value in case of error.
Definition at line 96 of file as10x_cmd_cfg.c.
int as10x_cmd_set_tune | ( | struct as10x_bus_adapter_t * | adap, |
struct as10x_tune_args * | ptune | ||
) |
as10x_cmd_set_tune - send set tune command to AS10x : pointer to AS10x bus adapter : tune parameters
Return 0 on success or negative value in case of error.
Definition at line 120 of file as10x_cmd.c.
int as10x_cmd_start_streaming | ( | struct as10x_bus_adapter_t * | adap | ) |
as10x_cmd_start_streaming - Send start streaming command to AS10x : pointer to AS10x bus adapter
Return 0 on success or negative value in case of error.
Definition at line 139 of file as10x_cmd_stream.c.
int as10x_cmd_stop_streaming | ( | struct as10x_bus_adapter_t * | adap | ) |
as10x_cmd_stop_streaming - Send stop streaming command to AS10x : pointer to AS10x bus adapter
Return 0 on success or negative value in case of error.
Definition at line 185 of file as10x_cmd_stream.c.
int as10x_cmd_turn_off | ( | struct as10x_bus_adapter_t * | adap | ) |
as10x_cmd_turn_off - send turn off command to AS10x : pointer to AS10x bus adapter
Return 0 on success or negative value in case of error.
Definition at line 76 of file as10x_cmd.c.
int as10x_cmd_turn_on | ( | struct as10x_bus_adapter_t * | adap | ) |
as10x_cmd_turn_on - send turn on command to AS10x : pointer to AS10x bus adapter
Return 0 when no error, < 0 in case of error.
Definition at line 32 of file as10x_cmd.c.
int as10x_context_rsp_parse | ( | struct as10x_cmd_t * | prsp, |
uint16_t | proc_id | ||
) |
as10x_context_rsp_parse - Parse context command response : pointer to AS10x command response buffer : id of the command
Since the contex command reponse does not follow the common response, a specific parse function is required. Return 0 on success or negative value in case of error.
Definition at line 204 of file as10x_cmd_cfg.c.
int as10x_rsp_parse | ( | struct as10x_cmd_t * | prsp, |
uint16_t | proc_id | ||
) |
as10x_rsp_parse - Parse command response : pointer to AS10x command buffer : id of the command
Return 0 on success or negative value in case of error.
Definition at line 426 of file as10x_cmd.c.