Home
last modified time | relevance | path

Searched defs:Dev (Results 1 – 10 of 10) sorted by relevance

/plan9/sys/src/cmd/vnc/
H A Dcompat.h6 typedef struct Dev Dev; typedef
60 struct Dev struct
62 int dc;
63 char* name;
65 void (*reset)(void);
66 void (*init)(void);
67 Chan* (*attach)(char*);
68 Walkqid* (*walk)(Chan*, Chan*, char**, int);
69 int (*stat)(Chan*, uchar*, int);
70 Chan* (*open)(Chan*, int);
[all …]
/plan9/sys/src/cmd/telco/
H A Dtelco.c24 typedef struct Dev Dev; typedef
48 struct Dev struct
53 int ctl; /* control fd */
54 int data; /* data fd */
55 char *path; /* to device */
56 Type *t;
80 Devmask= (Ndev-1)<<8, argument
/plan9/sys/src/cmd/cdfs/
H A Ddat.h146 typedef struct Dev Dev; typedef
196 struct Dev struct
198 Otrack* (*openrd)(Drive *d, int trackno);
199 Otrack* (*create)(Drive *d, int bs);
200 long (*read)(Otrack *t, void *v, long n, vlong off);
201 long (*write)(Otrack *t, void *v, long n);
202 void (*close)(Otrack *t);
203 int (*gettoc)(Drive*);
204 int (*fixate)(Drive *d);
205 char* (*ctl)(Drive *d, int argc, char **argv);
[all …]
/plan9/sys/src/cmd/unix/drawterm/kern/
H A Ddat.h14 typedef struct Dev Dev; typedef
210 struct Dev struct
231 int (*config)(int, char*, DevConf*); // returns nil on error argument
/plan9/sys/src/cmd/usb/lib/
H A Dusb.h9 typedef struct Dev Dev; typedef
165 struct Dev struct
168 char* dir; /* path for the endpoint dir */
169 int id; /* usb id for device or ep. number */
170 int dfd; /* descriptor for the data file */
171 int cfd; /* descriptor for the control file */
172 int maxpkt; /* cached from usb description */
173 Ref nerrs; /* number of errors in requests */
174 Usbdev* usb; /* USB description */
175 void* aux; /* for the device driver */
[all …]
H A Ddevs.c110 void *ma, int (*df)(Dev*, int, char**)) in startdevs()
/plan9/sys/src/9/port/
H A Dportdat.h7 typedef struct Dev Dev; typedef
239 struct Dev struct
260 int (*config)(int, char*, DevConf*); /* returns nil on error */ argument
263 int attached; /* debugging */
/plan9/sys/src/cmd/usb/audio/
H A Daudiosub.c52 audio_interface(Dev *, Desc *dd) in audio_interface() argument
H A Daudio.c33 audio_endpoint(Dev *, Desc *dd) in audio_endpoint() argument
/plan9/sys/src/cmd/gs/src/
H A Dgdevupd.c1532 #define UPD_EXIT_GET(Err,Dev,List) \ argument
1539 #define UPD_EXIT_GET(Err,Dev,List) if(0 > Err) return_error(Err); argument