Searched refs:ofdev (Results 1 - 8 of 8) sorted by relevance
/openbsd-current/sys/arch/macppc/stand/ |
H A D | ofdev.c | 1 /* $OpenBSD: ofdev.c,v 1.29 2022/12/28 07:40:23 jca Exp $ */ 2 /* $NetBSD: ofdev.c,v 1.1 1997/04/16 20:29:20 thorpej Exp $ */ 49 #include <macppc/stand/ofdev.h> 295 struct of_dev *ofdev; local 322 if ((ofdev = alloc(sizeof *ofdev)) == NULL) 324 bzero(ofdev, sizeof *ofdev); 327 free(ofdev, sizeof *ofdev); [all...] |
H A D | netif_of.c | 60 #include <macppc/stand/ofdev.h>
|
H A D | main.c | 60 #include <macppc/stand/ofdev.h>
|
/openbsd-current/sys/arch/sparc64/stand/ofwboot/ |
H A D | diskprobe.c | 26 #include "ofdev.h" 39 struct of_dev ofdev; local 89 bzero(&ofdev, sizeof(ofdev)); 90 ofdev.handle = ihandle; 91 ofdev.type = OFDEV_DISK; 92 ofdev.bsize = DEV_BSIZE; 93 if (load_disklabel(&ofdev, &dip->disklabel) != 0)
|
H A D | softraid_sparc64.c | 33 #include "ofdev.h" 132 struct of_dev ofdev; local 148 bzero(&ofdev, sizeof(ofdev)); 149 ofdev.handle = ihandle; 150 ofdev.type = OFDEV_DISK; 151 ofdev.bsize = DEV_BSIZE; 159 ofdev.partoff = DL_SECTOBLK(&dip->disklabel, 161 error = strategy(&ofdev, F_READ, SR_META_OFFSET, 336 struct of_dev ofdev; local 406 struct of_dev ofdev; local [all...] |
H A D | ofdev.c | 1 /* $OpenBSD: ofdev.c,v 1.40 2024/04/14 03:26:25 jsg Exp $ */ 2 /* $NetBSD: ofdev.c,v 1.1 2000/08/20 14:58:41 mrg Exp $ */ 61 #include "ofdev.h" 224 static struct of_dev ofdev = { variable in typeref:struct:of_dev 471 load_disklabel(struct of_dev *ofdev, struct disklabel *label) argument 479 if (strategy(ofdev, F_READ, 488 errmsg = search_label(ofdev, LABELSECTOR, buf, label, 0); 514 if (ofdev.handle != -1) 606 bzero(&ofdev, sizeof ofdev); [all...] |
H A D | Makefile | 25 net.c netif_of.c ofdev.c vers.c
|
/openbsd-current/sys/arch/macppc/stand/ofwboot/ |
H A D | Makefile | 9 SRCS= Locore.c main.c ofdev.c net.c netif_of.c netudp.c
|
Completed in 140 milliseconds