Mercurial > pt1
annotate driver/pt1_ioctl.h @ 145:75423932bfaa
follow BS premium's transponder migration
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Mon, 07 May 2018 23:50:52 +0900 |
parents | 1e7718cc2556 |
children |
rev | line source |
---|---|
0 | 1 #ifndef __PT1_IOCTL_H__ |
2 #define __PT1_IOCTL_H__ | |
3 /***************************************************************************/ | |
142
1e7718cc2556
use utf-8 instead of euc-jp
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
80
diff
changeset
|
4 /* チャンネル周波数情報構造体定義 */ |
0 | 5 /***************************************************************************/ |
6 typedef struct _frequency{ | |
142
1e7718cc2556
use utf-8 instead of euc-jp
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
80
diff
changeset
|
7 int frequencyno ; // 周波数テーブル番号 |
1e7718cc2556
use utf-8 instead of euc-jp
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
80
diff
changeset
|
8 int slot ; // スロット番号/加算する周波数 |
0 | 9 }FREQUENCY; |
10 | |
11 /***************************************************************************/ | |
142
1e7718cc2556
use utf-8 instead of euc-jp
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
80
diff
changeset
|
12 /* IOCTL定義 */ |
0 | 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 *) |
80
f336fd2dcf28
make LNB voltage can be specified from user application
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
9
diff
changeset
|
18 #define LNB_ENABLE _IOW(0x8D, 0x05, int) |
9
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 |