V4L/DVB (13099): ir-functions: Export ir_rc5_decode() for use by the cx23885 module
Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
f59ad611ac
commit
1d23a00243
2 changed files with 3 additions and 1 deletions
|
@ -275,7 +275,7 @@ EXPORT_SYMBOL_GPL(ir_decode_biphase);
|
||||||
* saa7134 */
|
* saa7134 */
|
||||||
|
|
||||||
/* decode raw bit pattern to RC5 code */
|
/* decode raw bit pattern to RC5 code */
|
||||||
static u32 ir_rc5_decode(unsigned int code)
|
u32 ir_rc5_decode(unsigned int code)
|
||||||
{
|
{
|
||||||
unsigned int org_code = code;
|
unsigned int org_code = code;
|
||||||
unsigned int pair;
|
unsigned int pair;
|
||||||
|
@ -304,6 +304,7 @@ static u32 ir_rc5_decode(unsigned int code)
|
||||||
RC5_TOGGLE(rc5), RC5_ADDR(rc5), RC5_INSTR(rc5));
|
RC5_TOGGLE(rc5), RC5_ADDR(rc5), RC5_INSTR(rc5));
|
||||||
return rc5;
|
return rc5;
|
||||||
}
|
}
|
||||||
|
EXPORT_SYMBOL_GPL(ir_rc5_decode);
|
||||||
|
|
||||||
void ir_rc5_timer_end(unsigned long data)
|
void ir_rc5_timer_end(unsigned long data)
|
||||||
{
|
{
|
||||||
|
|
|
@ -111,6 +111,7 @@ u32 ir_extract_bits(u32 data, u32 mask);
|
||||||
int ir_dump_samples(u32 *samples, int count);
|
int ir_dump_samples(u32 *samples, int count);
|
||||||
int ir_decode_biphase(u32 *samples, int count, int low, int high);
|
int ir_decode_biphase(u32 *samples, int count, int low, int high);
|
||||||
int ir_decode_pulsedistance(u32 *samples, int count, int low, int high);
|
int ir_decode_pulsedistance(u32 *samples, int count, int low, int high);
|
||||||
|
u32 ir_rc5_decode(unsigned int code);
|
||||||
|
|
||||||
void ir_rc5_timer_end(unsigned long data);
|
void ir_rc5_timer_end(unsigned long data);
|
||||||
void ir_rc5_timer_keyup(unsigned long data);
|
void ir_rc5_timer_keyup(unsigned long data);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue