Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/ofw/openfirm.h
Show First 20 Lines • Show All 111 Lines • ▼ Show 20 Lines | |||||
ssize_t OF_searchprop(phandle_t node, const char *propname, void *buf, | ssize_t OF_searchprop(phandle_t node, const char *propname, void *buf, | ||||
size_t len); | size_t len); | ||||
ssize_t OF_searchencprop(phandle_t node, const char *propname, | ssize_t OF_searchencprop(phandle_t node, const char *propname, | ||||
void *buf, size_t len); | void *buf, size_t len); | ||||
ssize_t OF_getprop_alloc(phandle_t node, const char *propname, | ssize_t OF_getprop_alloc(phandle_t node, const char *propname, | ||||
int elsz, void **buf); | int elsz, void **buf); | ||||
ssize_t OF_getencprop_alloc(phandle_t node, const char *propname, | ssize_t OF_getencprop_alloc(phandle_t node, const char *propname, | ||||
int elsz, void **buf); | int elsz, void **buf); | ||||
void OF_prop_free(void *buf); | |||||
int OF_nextprop(phandle_t node, const char *propname, char *buf, | int OF_nextprop(phandle_t node, const char *propname, char *buf, | ||||
size_t len); | size_t len); | ||||
int OF_setprop(phandle_t node, const char *name, const void *buf, | int OF_setprop(phandle_t node, const char *name, const void *buf, | ||||
size_t len); | size_t len); | ||||
ssize_t OF_canon(const char *path, char *buf, size_t len); | ssize_t OF_canon(const char *path, char *buf, size_t len); | ||||
phandle_t OF_finddevice(const char *path); | phandle_t OF_finddevice(const char *path); | ||||
ssize_t OF_package_to_path(phandle_t node, char *buf, size_t len); | ssize_t OF_package_to_path(phandle_t node, char *buf, size_t len); | ||||
▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines |