Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/bus.h
| Show First 20 Lines • Show All 918 Lines • ▼ Show 20 Lines | |||||
| } | } | ||||
| struct device_location_cache; | struct device_location_cache; | ||||
| typedef struct device_location_cache device_location_cache_t; | typedef struct device_location_cache device_location_cache_t; | ||||
| device_location_cache_t *dev_wired_cache_init(void); | device_location_cache_t *dev_wired_cache_init(void); | ||||
| void dev_wired_cache_fini(device_location_cache_t *dcp); | void dev_wired_cache_fini(device_location_cache_t *dcp); | ||||
| bool dev_wired_cache_match(device_location_cache_t *dcp, device_t dev, const char *at); | bool dev_wired_cache_match(device_location_cache_t *dcp, device_t dev, const char *at); | ||||
| typedef void (*device_prop_dtr_t)(device_t dev, const char *name, void *val, | |||||
| void *dtr_ctx); | |||||
| int device_set_prop(device_t dev, const char *name, void *val, | |||||
| device_prop_dtr_t dtr, void *dtr_ctx); | |||||
| int device_get_prop(device_t dev, const char *name, void **valp); | |||||
| int device_clear_prop(device_t dev, const char *name); | |||||
| void device_clear_prop_alldev(const char *name); | |||||
| /** | /** | ||||
| * Shorthand macros, taking resource argument | * Shorthand macros, taking resource argument | ||||
| * Generated with sys/tools/bus_macro.sh | * Generated with sys/tools/bus_macro.sh | ||||
| */ | */ | ||||
| #define bus_barrier(r, o, l, f) \ | #define bus_barrier(r, o, l, f) \ | ||||
| bus_space_barrier((r)->r_bustag, (r)->r_bushandle, (o), (l), (f)) | bus_space_barrier((r)->r_bustag, (r)->r_bushandle, (o), (l), (f)) | ||||
| ▲ Show 20 Lines • Show All 147 Lines • Show Last 20 Lines | |||||