Home
last modified time | relevance | path

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

/plan9-contrib/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-contrib/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-contrib/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-contrib/sys/src/cmd/usb/lib/
H A Dusb.h9 typedef struct Dev Dev; typedef
169 struct Dev struct
172 char* dir; /* path for the endpoint dir */
173 int id; /* usb id for device or ep. number */
174 int dfd; /* descriptor for the data file */
175 int cfd; /* descriptor for the control file */
176 int isusb3; /* this is a usb3 device */
177 int depth; /* hub depth for usb3 hubs */
178 int maxpkt; /* cached from usb description */
179 Ref nerrs; /* number of errors in requests */
[all …]
H A Ddevs.c110 void *ma, int (*df)(Dev*, int, char**)) in startdevs()
/plan9-contrib/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-contrib/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-contrib/sys/src/9k/port/
H A Dportdat.h7 typedef struct Dev Dev; typedef
198 struct Dev struct
219 int (*config)(int, char*, DevConf*); /* returns 0 on error */ argument
/plan9-contrib/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-contrib/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