You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
V4L/DVB: staging/lirc: add lirc_parallel driver
Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
c147f9078a
commit
805a896665
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,26 @@
|
||||
/* lirc_parallel.h */
|
||||
|
||||
#ifndef _LIRC_PARALLEL_H
|
||||
#define _LIRC_PARALLEL_H
|
||||
|
||||
#include <linux/lp.h>
|
||||
|
||||
#define LIRC_PORT_LEN 3
|
||||
|
||||
#define LIRC_LP_BASE 0
|
||||
#define LIRC_LP_STATUS 1
|
||||
#define LIRC_LP_CONTROL 2
|
||||
|
||||
#define LIRC_PORT_DATA LIRC_LP_BASE /* base */
|
||||
#define LIRC_PORT_TIMER LIRC_LP_STATUS /* status port */
|
||||
#define LIRC_PORT_TIMER_BIT LP_PBUSY /* busy signal */
|
||||
#define LIRC_PORT_SIGNAL LIRC_LP_STATUS /* status port */
|
||||
#define LIRC_PORT_SIGNAL_BIT LP_PACK /* ack signal */
|
||||
#define LIRC_PORT_IRQ LIRC_LP_CONTROL /* control port */
|
||||
|
||||
#define LIRC_SFH506_DELAY 0 /* delay t_phl in usecs */
|
||||
|
||||
#define LIRC_PARALLEL_MAX_TRANSMITTERS 8
|
||||
#define LIRC_PARALLEL_TRANSMITTER_MASK ((1<<LIRC_PARALLEL_MAX_TRANSMITTERS) - 1)
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user