Mercurial > pt1
annotate driver/pt1_ioctl.h @ 124:f2ae5ddeed7e
minor improvement:
- extend yielding period
- unroll loop where copying from micro-packet
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Thu, 16 Feb 2012 13:11:38 +0900 |
parents | f336fd2dcf28 |
children | 1e7718cc2556 |
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 *) |
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 |