FreeBSD kernel amd64 OFW device code
|
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/systm.h>
#include <machine/stdarg.h>
#include <dev/ofw/ofwvar.h>
#include <dev/ofw/openfirm.h>
#include "ofw_if.h"
Go to the source code of this file.
Functions | |
__FBSDID ("$FreeBSD$") | |
static int | ofw_std_init (ofw_t ofw, void *openfirm) |
static int | ofw_std_test (ofw_t ofw, const char *name) |
static int | ofw_std_interpret (ofw_t ofw, const char *cmd, int nreturns, cell_t *returns) |
static phandle_t | ofw_std_peer (ofw_t ofw, phandle_t node) |
static phandle_t | ofw_std_child (ofw_t ofw, phandle_t node) |
static phandle_t | ofw_std_parent (ofw_t ofw, phandle_t node) |
static phandle_t | ofw_std_instance_to_package (ofw_t ofw, ihandle_t instance) |
static ssize_t | ofw_std_getproplen (ofw_t ofw, phandle_t package, const char *propname) |
static ssize_t | ofw_std_getprop (ofw_t ofw, phandle_t package, const char *propname, void *buf, size_t buflen) |
static int | ofw_std_nextprop (ofw_t ofw, phandle_t package, const char *previous, char *buf, size_t) |
static int | ofw_std_setprop (ofw_t ofw, phandle_t package, const char *propname, const void *buf, size_t len) |
static ssize_t | ofw_std_canon (ofw_t ofw, const char *device, char *buf, size_t len) |
static phandle_t | ofw_std_finddevice (ofw_t ofw, const char *device) |
static ssize_t | ofw_std_instance_to_path (ofw_t ofw, ihandle_t instance, char *buf, size_t len) |
static ssize_t | ofw_std_package_to_path (ofw_t ofw, phandle_t package, char *buf, size_t len) |
static int | ofw_std_call_method (ofw_t ofw, ihandle_t instance, const char *method, int nargs, int nreturns, cell_t *args_and_returns) |
static ihandle_t | ofw_std_open (ofw_t ofw, const char *device) |
static void | ofw_std_close (ofw_t ofw, ihandle_t instance) |
static ssize_t | ofw_std_read (ofw_t ofw, ihandle_t instance, void *addr, size_t len) |
static ssize_t | ofw_std_write (ofw_t ofw, ihandle_t instance, const void *addr, size_t len) |
static int | ofw_std_seek (ofw_t ofw, ihandle_t instance, uint64_t pos) |
static caddr_t | ofw_std_claim (ofw_t ofw, void *virt, size_t size, u_int align) |
static void | ofw_std_release (ofw_t ofw, void *virt, size_t size) |
static void | ofw_std_enter (ofw_t ofw) |
static void | ofw_std_exit (ofw_t ofw) |
OFW_DEF (ofw_std) | |
Variables | |
static ofw_method_t | ofw_std_methods [] |
static ofw_def_t | ofw_std |
static int(* | openfirmware )(void *) |
__FBSDID | ( | "$FreeBSD$" | ) |
OFW_DEF | ( | ofw_std | ) |
|
static |
Definition at line 516 of file ofw_standard.c.
References openfirmware.
|
static |
Definition at line 416 of file ofw_standard.c.
References openfirmware, and size.
Definition at line 240 of file ofw_standard.c.
References child, and openfirmware.
|
static |
Definition at line 683 of file ofw_standard.c.
References openfirmware, and size.
Definition at line 581 of file ofw_standard.c.
References openfirmware.
|
static |
Definition at line 734 of file ofw_standard.c.
References openfirmware.
|
static |
Definition at line 752 of file ofw_standard.c.
References openfirmware.
Definition at line 442 of file ofw_standard.c.
References openfirmware.
|
static |
Definition at line 330 of file ofw_standard.c.
References openfirmware, and size.
Definition at line 306 of file ofw_standard.c.
References openfirmware.
|
static |
Definition at line 154 of file ofw_standard.c.
References openfirmware.
Definition at line 284 of file ofw_standard.c.
References openfirmware.
|
static |
Definition at line 464 of file ofw_standard.c.
References openfirmware, and size.
|
static |
Definition at line 188 of file ofw_standard.c.
References openfirmware.
|
static |
Definition at line 359 of file ofw_standard.c.
References openfirmware.
Definition at line 559 of file ofw_standard.c.
References openfirmware.
|
static |
Definition at line 490 of file ofw_standard.c.
References openfirmware, and size.
Definition at line 262 of file ofw_standard.c.
References openfirmware, and parent.
Definition at line 218 of file ofw_standard.c.
References openfirmware.
Definition at line 600 of file ofw_standard.c.
References openfirmware.
|
static |
Definition at line 709 of file ofw_standard.c.
References openfirmware, and size.
Definition at line 653 of file ofw_standard.c.
References openfirmware.
|
static |
Definition at line 387 of file ofw_standard.c.
References openfirmware, and size.
|
static |
Definition at line 167 of file ofw_standard.c.
References openfirmware.
|
static |
Definition at line 627 of file ofw_standard.c.
References openfirmware.
|
static |
Definition at line 142 of file ofw_standard.c.
|
static |
Definition at line 112 of file ofw_standard.c.
|
static |
Definition at line 149 of file ofw_standard.c.
Referenced by ofw_std_call_method(), ofw_std_canon(), ofw_std_child(), ofw_std_claim(), ofw_std_close(), ofw_std_enter(), ofw_std_exit(), ofw_std_finddevice(), ofw_std_getprop(), ofw_std_getproplen(), ofw_std_init(), ofw_std_instance_to_package(), ofw_std_instance_to_path(), ofw_std_interpret(), ofw_std_nextprop(), ofw_std_open(), ofw_std_package_to_path(), ofw_std_parent(), ofw_std_peer(), ofw_std_read(), ofw_std_release(), ofw_std_seek(), ofw_std_setprop(), ofw_std_test(), and ofw_std_write().