Home
last modified time | relevance | path

Searched refs:devbase (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/usr.bin/config/
H A Dsem.h53 void defdev(struct devbase *, struct loclist *, struct attrlist *, int);
54 void defdevattach(struct deva *, struct devbase *, struct nvlist *,
56 struct devbase *getdevbase(const char *);
68 void setmajor(struct devbase *, int);
H A Dsem.c75 static struct devbase errdev;
79 static struct nvlist *addtoattr(struct nvlist *, struct devbase *);
82 static struct pspec *getpspec(struct attr *, struct devbase *, int, int);
83 static struct devi *newdevi(const char *, int, struct devbase *d);
89 static void selectbase(struct devbase *, struct deva *);
93 static devmajor_t dev2major(struct devbase *);
107 makedevstack(struct devbase *d) in makedevstack()
193 CFGDBG(4, "merging attr `%s' to devbase `%s'", name, dname); in mergedeps()
204 fixdev(struct devbase *dev) in fixdev()
213 CFGDBG(4, "fixing devbase ` in fixdev()
[all...]
H A Ddefs.h244 struct devbase *p_atdev; /* optional parent device base */
275 struct devbase { struct
277 TAILQ_ENTRY(devbase) d_next; argument
279 struct devbase *d_levelparent; argument
298 struct devbase *d_devbase; /* the base device */ argument
320 struct devbase *i_base;/* e.g., pointer to "sd" base */
486 TAILQ_HEAD(devbasetq, devbase);
595 int devbase_has_instances(struct devbase *, int);
H A Dmain.c124 struct hashtab *devbasetab; /* devbase lookup */
126 struct hashtab *devatab; /* devbase attachment lookup */
201 static int devbase_has_any_instance(struct devbase *, int, int, int);
207 static void do_kill_orphans(struct devbase *, struct attr *,
208 struct devbase *, int);
1435 devbase_has_instances(struct devbase *dev, int unit) in devbase_has_instances()
1461 struct devbase *dev; in cfcrosscheck()
1530 struct devbase *d; in badstar()
1878 struct devbase *d;
1904 devbase_has_any_instance(struct devbase *de
[all...]
H A Dlint.c127 do_emit_instances(struct devbase *d, struct attr *at)
184 do_emit_instances((struct devbase *)value, NULL); in emit_root_instance()
193 struct devbase *d = value; in emit_pseudo_instance()
H A Dmkioconf.c216 struct devbase *d; in emitcfdrivers()
285 struct devbase *d; in emitcfattachinit()
489 struct devbase *d; in emitpseudo()
507 struct devbase *dev; in emitname2blk()
H A Dgram.y157 struct devbase *devb;
202 %type <devb> devbase
427 DEVICE devbase interface_opt depend_list
432 ATTACH devbase AT atlist devattach_opt depend_list
451 DEFPSEUDO devbase interface_opt depend_list
456 DEFPSEUDODEV devbase interface_opt depend_list
679 devbase:
698 devbase '=' int32 { setmajor($1, $3); }
H A Dpack.c142 struct devbase *d; in packdevi()
H A Dmkheaders.c391 struct devbase *d; in emitioconfh()
H A Dfiles.c512 struct devbase *dev; in fixcount()
/netbsd-src/usr.sbin/fwctl/
H A Dfwcontrol.c725 char devbase[64]; in main() local
766 snprintf(devbase, sizeof(devbase), "%s%d.0", device_string, current_board); in main()
767 if (open_dev(&fd, devbase) < 0) { in main()
772 __func__, current_board, devbase); in main()
961 snprintf(devbase, sizeof(devbase), in main()
963 if (open_dev(&fd, devbase) < 0) { in main()
966 __func__, current_board, devbase); in main()
987 __func__, devbase); in main()
1071 snprintf(devbase, sizeof(devbase), "%s%d.0", in main()
1073 if (open_dev(&fd, devbase) < 0) in main()
[all …]