Mercurial > pt1.oyama
annotate driver/pt1_ioctl.h @ 34:3f2487de156e
should not loop if tuner device is specified.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Thu, 05 Mar 2009 01:05:32 +0900 |
parents | 07b2fc07ff48 |
children | f336fd2dcf28 |
rev | line source |
---|---|
0 | 1 #ifndef __PT1_IOCTL_H__ |
2 #define __PT1_IOCTL_H__ | |
3 /***************************************************************************/ | |
4 /* チャンネル周波数情報構造体定義 */ | |
5 /***************************************************************************/ | |
6 typedef struct _frequency{ | |
7 int frequencyno ; // 周波数テーブル番号 | |
8 int slot ; // スロット番号/加算する周波数 | |
9 }FREQUENCY; | |
10 | |
11 /***************************************************************************/ | |
12 /* IOCTL定義 */ | |
13 /***************************************************************************/ | |
14 #define SET_CHANNEL _IOW(0x8D, 0x01, FREQUENCY) | |
15 #define START_REC _IO(0x8D, 0x02) | |
16 #define STOP_REC _IO(0x8D, 0x03) | |
9
07b2fc07ff48
updated to current driver to support signal strength.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
0
diff
changeset
|
17 #define GET_SIGNAL_STRENGTH _IOR(0x8D, 0x04, int *) |
07b2fc07ff48
updated to current driver to support signal strength.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
0
diff
changeset
|
18 #define LNB_ENABLE _IO(0x8D, 0x05) |
07b2fc07ff48
updated to current driver to support signal strength.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
0
diff
changeset
|
19 #define LNB_DISABLE _IO(0x8D, 0x06) |
0 | 20 #endif |