Mercurial > pt1
comparison driver/pt1_ioctl.h @ 142:1e7718cc2556
use utf-8 instead of euc-jp
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Wed, 30 Apr 2014 11:26:24 +0900 |
parents | f336fd2dcf28 |
children |
comparison
equal
deleted
inserted
replaced
141:c8688d7d6382 | 142:1e7718cc2556 |
---|---|
1 #ifndef __PT1_IOCTL_H__ | 1 #ifndef __PT1_IOCTL_H__ |
2 #define __PT1_IOCTL_H__ | 2 #define __PT1_IOCTL_H__ |
3 /***************************************************************************/ | 3 /***************************************************************************/ |
4 /* チャンネル周波数情報構造体定義 */ | 4 /* c潟羈∽井掩篏絎臂 */ |
5 /***************************************************************************/ | 5 /***************************************************************************/ |
6 typedef struct _frequency{ | 6 typedef struct _frequency{ |
7 int frequencyno ; // 周波数テーブル番号 | 7 int frequencyno ; // 羈∽違若 |
8 int slot ; // スロット番号/加算する周波数 | 8 int slot ; // 鴻埦膊羈∽ |
9 }FREQUENCY; | 9 }FREQUENCY; |
10 | 10 |
11 /***************************************************************************/ | 11 /***************************************************************************/ |
12 /* IOCTL定義 */ | 12 /* IOCTL絎臂 */ |
13 /***************************************************************************/ | 13 /***************************************************************************/ |
14 #define SET_CHANNEL _IOW(0x8D, 0x01, FREQUENCY) | 14 #define SET_CHANNEL _IOW(0x8D, 0x01, FREQUENCY) |
15 #define START_REC _IO(0x8D, 0x02) | 15 #define START_REC _IO(0x8D, 0x02) |
16 #define STOP_REC _IO(0x8D, 0x03) | 16 #define STOP_REC _IO(0x8D, 0x03) |
17 #define GET_SIGNAL_STRENGTH _IOR(0x8D, 0x04, int *) | 17 #define GET_SIGNAL_STRENGTH _IOR(0x8D, 0x04, int *) |