Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/ofw/ofw_bus_subr.h
Show First 20 Lines • Show All 101 Lines • ▼ Show 20 Lines | |||||
int ofw_bus_status_okay(device_t dev); | int ofw_bus_status_okay(device_t dev); | ||||
/* Helper to get node's interrupt parent */ | /* Helper to get node's interrupt parent */ | ||||
phandle_t ofw_bus_find_iparent(phandle_t); | phandle_t ofw_bus_find_iparent(phandle_t); | ||||
/* Helper routine for checking compat prop */ | /* Helper routine for checking compat prop */ | ||||
int ofw_bus_is_compatible(device_t, const char *); | int ofw_bus_is_compatible(device_t, const char *); | ||||
int ofw_bus_is_compatible_strict(device_t, const char *); | int ofw_bus_is_compatible_strict(device_t, const char *); | ||||
int ofw_bus_node_is_compatible(phandle_t, const char *); | |||||
/* | /* | ||||
* Helper routine to search a list of compat properties. The table is | * Helper routine to search a list of compat properties. The table is | ||||
* terminated by an entry with a NULL compat-string pointer; a pointer to that | * terminated by an entry with a NULL compat-string pointer; a pointer to that | ||||
* table entry is returned if none of the compat strings match for the device, | * table entry is returned if none of the compat strings match for the device, | ||||
* giving you control over the not-found value. Will not return NULL unless the | * giving you control over the not-found value. Will not return NULL unless the | ||||
* provided table pointer is NULL. | * provided table pointer is NULL. | ||||
*/ | */ | ||||
Show All 27 Lines |