Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/dpaa/fman.h
| Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Lines | |||||
| /** | /** | ||||
| * @group QMan bus interface. | * @group QMan bus interface. | ||||
| * @{ | * @{ | ||||
| */ | */ | ||||
| struct resource * fman_alloc_resource(device_t bus, device_t child, int type, | struct resource * fman_alloc_resource(device_t bus, device_t child, int type, | ||||
| int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags); | int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags); | ||||
| int fman_activate_resource(device_t bus, device_t child, | int fman_activate_resource(device_t bus, device_t child, | ||||
| struct resource *res); | struct resource *res); | ||||
| int fman_release_resource(device_t bus, device_t child, int type, int rid, | int fman_release_resource(device_t bus, device_t child, struct resource *res); | ||||
| struct resource *res); | |||||
| int fman_attach(device_t dev); | int fman_attach(device_t dev); | ||||
| int fman_detach(device_t dev); | int fman_detach(device_t dev); | ||||
| int fman_suspend(device_t dev); | int fman_suspend(device_t dev); | ||||
| int fman_resume_dev(device_t dev); | int fman_resume_dev(device_t dev); | ||||
| int fman_shutdown(device_t dev); | int fman_shutdown(device_t dev); | ||||
| int fman_read_ivar(device_t dev, device_t child, int index, | int fman_read_ivar(device_t dev, device_t child, int index, | ||||
| uintptr_t *result); | uintptr_t *result); | ||||
| int fman_qman_channel_id(device_t, int); | int fman_qman_channel_id(device_t, int); | ||||
| /** @} */ | /** @} */ | ||||
| uint32_t fman_get_clock(struct fman_softc *sc); | uint32_t fman_get_clock(struct fman_softc *sc); | ||||
| int fman_get_handle(device_t dev, t_Handle *fmh); | int fman_get_handle(device_t dev, t_Handle *fmh); | ||||
| int fman_get_muram_handle(device_t dev, t_Handle *muramh); | int fman_get_muram_handle(device_t dev, t_Handle *muramh); | ||||
| int fman_get_bushandle(device_t dev, vm_offset_t *fm_base); | int fman_get_bushandle(device_t dev, vm_offset_t *fm_base); | ||||
| #endif /* FMAN_H_ */ | #endif /* FMAN_H_ */ | ||||