示例#1
0
void get_stc_divisor(UINT16 * stc_divisor, UINT8 stc_num)
{
    #if 0
    UINT32 desc[] = 
    { //desc of pointer para
      1, DESC_OUTPUT_STRU(0, 4),
      1, DESC_P_PARA(0, 0, 0), 
      //desc of pointer ret
      0,                          
      0,
    };
    jump_to_func(NULL, ali_rpc_call, stc_divisor, (HLD_SND_MODULE<<24)|(2<<16)|FUNC_GET_STC_DIVISOR, desc);
    #endif

    RPC_PARAM_CREATE(p1, PARAM_OUT, PARAM_UINT16, 4, stc_divisor);
    RPC_PARAM_CREATE(p2, PARAM_IN, PARAM_UCHAR, sizeof(Uchar), &stc_num);
    
    RpcCallCompletion(RPC_get_stc_divisor, &p1, &p2, NULL);
}
示例#2
0
RET_CODE get_stc(UINT32 * stc_msb32, UINT8 stc_num)
{
    #if 0
	register RET_CODE ret asm("$2");

    UINT32 desc[] = 
    { //desc of pointer para
      1, DESC_OUTPUT_STRU(0, 4),
      1, DESC_P_PARA(0, 0, 0), 
      //desc of pointer ret
      0,                          
      0,
    };
    jump_to_func(NULL, ali_rpc_call, stc_msb32, (HLD_SND_MODULE<<24)|(2<<16)|FUNC_GET_STC, desc);
    return ret;
    #endif

    Int32 ret;
    RPC_PARAM_CREATE(p1, PARAM_OUT, PARAM_UINT32, 4, stc_msb32);
    RPC_PARAM_CREATE(p2, PARAM_IN, PARAM_UCHAR, sizeof(UINT8), &stc_num);

    ret = RpcCallCompletion(RPC_get_stc, &p1, &p2, NULL);
    return ret;
}
示例#3
0
#endif

#ifdef _LIB_PE_MUSIC_ENGINE_REMOTE
static UINT32 desc_me_init[] = 
{ //desc of pointer para
  1, DESC_STATIC_STRU(0, sizeof(struct pe_music_cfg)), 
  1, DESC_P_PARA(0, 0, 0),
  //desc of pointer ret
  0,                          
  0,
};

static UINT32 desc_me_set_eq[] = 
{ //desc of pointer para
  1, DESC_OUTPUT_STRU(0, sizeof(float)),  
  1, DESC_P_PARA(0, 2, 0),
  //desc of pointer ret
  0,                          
  0,
};

static UINT32 desc_me_get_song_info[] = 
{ //desc of pointer para
  1, DESC_OUTPUT_STRU(0, sizeof(MusicInfo)), 
  1, DESC_P_PARA(0, 1, 0),
  //desc of pointer ret
  0,                          
  0,
};
示例#4
0
/*****************************************************************************
*	HLD_VBI															  		  *
*****************************************************************************/
enum HLD_VBI_FUNC{
    FUNC_VBI_OPEN = 0,
    FUNC_VBI_CLOSE,
    FUNC_VBI_IO_CONTROL,
    FUNC_VBI_SET_OUTPUT,
    FUNC_VBI_START,
    FUNC_VBI_STOP,
    FUNC_VBI_DEFAULT_GO_SET,
};

UINT32 desc_vbi_p_uint32[] = 
{ //desc of pointer para
  1, DESC_OUTPUT_STRU(0, 4),  
  1, DESC_P_PARA(0, 1, 0),
  //desc of pointer ret
  0,                          
  0,
};

UINT32 desc_vbi_io_ctrl_p_uint32[] = 
{ //desc of pointer para
  1, DESC_OUTPUT_STRU(0, 4),  
  1, DESC_P_PARA(0, 2, 0),
  //desc of pointer ret
  0,                          
  0,
};
示例#5
0
  0,                          
  0,
};

static UINT32 snd_spec_step_table[] = 
{ //desc of pointer para
  1, DESC_STATIC_STRU(0, sizeof(spec_step_table)),
  1, DESC_P_PARA(0, 2, 0), 
  //desc of pointer ret
  0,                          
  0,
};

static UINT32 req_rem_desc[] = 
{ //desc of pointer para
  1, DESC_OUTPUT_STRU(0, 4),
  1, DESC_P_PARA(0, 1, 0), 
  //desc of pointer ret
  0,                          
  0,
};

UINT32 desc_snd_p_uint32[] = 
{ //desc of pointer para
  1, DESC_OUTPUT_STRU(0, 4),  
  1, DESC_P_PARA(0, 2, 0),
  //desc of pointer ret
  0,                          
  0,
};
示例#6
0
{ //desc of pointer para
	1, DESC_STATIC_STRU(0, sizeof(struct vdec_avc_config_par)),
	1, DESC_P_PARA(0, 0, 0), 
	//desc of pointer ret
	0,                          
	0,
};

void vdec_avc_attach(struct vdec_avc_config_par *pconfig_par)
{
    jump_to_func(NULL, ali_rpc_call, pconfig_par, (LLD_DECV_AVC_MODULE<<24)|(1<<16)|FUNC_VDEC_AVC_ATTACH, desc_vdec_avc_attach);
}

static UINT32 desc_vdec_p_uint32[] = 
{ //desc of pointer para
	1, DESC_OUTPUT_STRU(0, 4),  
	1, DESC_P_PARA(0, 2, 0),
	//desc of pointer ret
	0,                          
	0,
};

static UINT32 desc_vdec_get_status[] = 
{ //desc of pointer para
	1, DESC_OUTPUT_STRU(0, sizeof(struct VDec_StatusInfo)),
	1, DESC_P_PARA(0, 2, 0), 
	//desc of pointer ret
	0,                          
	0,
};
示例#7
0
#include <linux/console.h>
#include <linux/kmod.h>
#include <linux/err.h>
#include <linux/device.h>
#include <linux/efi.h>
#include <linux/fb.h>
#include <linux/kthread.h>
#include <linux/sched.h>
#include <linux/delay.h>
#include <linux/ali_rpc.h>
#include <rpc_hld/ali_rpc_hld_avsync.h>
#include "../ali_rpc.h"

static UINT32 desc_avsync_p_uint32[] = 
{ //desc of pointer para
	1, DESC_OUTPUT_STRU(0, 4),  
	1, DESC_P_PARA(0, 1, 0),
	//desc of pointer ret
	0,                          
	0,
};

static UINT32 desc_avsync_io_p_uint32[] = 
{ //desc of pointer para
	1, DESC_OUTPUT_STRU(0, 4),  
	1, DESC_P_PARA(0, 2, 0),
	//desc of pointer ret
	0,                          
	0,
};
示例#8
0
  0,                          
  0,
};

static UINT32 desc_ve_set_output[] = 
{ //desc of pointer para
  1, DESC_STATIC_STRU(0, sizeof(struct VDecPIPInfo)), 
  1, DESC_P_PARA(0, 1, 0),
  //desc of pointer ret
  0,                          
  0,
};

static UINT32 desc_ve_p_int32[] = 
{ //desc of pointer para
  1, DESC_OUTPUT_STRU(0, 4),  
  1, DESC_P_PARA(0, 0, 0),
  //desc of pointer ret
  0,                          
  0,
};

static UINT32 desc_ve_get_stream_info[] = 
{ //desc of pointer para
  1, DESC_OUTPUT_STRU(0, sizeof(fileinfo_video)),  
  1, DESC_P_PARA(0, 0, 0),
  //desc of pointer ret
  0,                          
  0,
};