Changeset View
Changeset View
Standalone View
Standalone View
sys/arm/xscale/pxa/pxa_obio.c
Context not available. | |||||
static struct resource_list * pxa_get_resource_list(device_t, device_t); | static struct resource_list * pxa_get_resource_list(device_t, device_t); | ||||
static struct resource * pxa_alloc_resource(device_t, device_t, int, | static struct resource * pxa_alloc_resource(device_t, device_t, int, | ||||
int *, u_long, u_long, u_long, u_int); | int *, rman_res_t, rman_res_t, rman_res_t, u_int); | ||||
static int pxa_release_resource(device_t, device_t, int, | static int pxa_release_resource(device_t, device_t, int, | ||||
int, struct resource *); | int, struct resource *); | ||||
static int pxa_activate_resource(device_t, device_t, | static int pxa_activate_resource(device_t, device_t, | ||||
Context not available. | |||||
int, int, struct resource *); | int, int, struct resource *); | ||||
static struct resource * pxa_alloc_gpio_irq(device_t, device_t, int, | static struct resource * pxa_alloc_gpio_irq(device_t, device_t, int, | ||||
int *, u_long, u_long, u_long, u_int); | int *, rman_res_t, rman_res_t, rman_res_t, u_int); | ||||
struct obio_device { | struct obio_device { | ||||
const char *od_name; | const char *od_name; | ||||
Context not available. | |||||
static struct resource * | static struct resource * | ||||
pxa_alloc_resource(device_t dev, device_t child, int type, int *rid, | pxa_alloc_resource(device_t dev, device_t child, int type, int *rid, | ||||
u_long start, u_long end, u_long count, u_int flags) | rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) | ||||
{ | { | ||||
struct obio_softc *sc; | struct obio_softc *sc; | ||||
struct obio_device *od; | struct obio_device *od; | ||||
Context not available. | |||||
static struct resource * | static struct resource * | ||||
pxa_alloc_gpio_irq(device_t dev, device_t child, int type, int *rid, | pxa_alloc_gpio_irq(device_t dev, device_t child, int type, int *rid, | ||||
u_long start, u_long end, u_long count, u_int flags) | rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) | ||||
{ | { | ||||
struct obio_softc *sc; | struct obio_softc *sc; | ||||
struct obio_device *od; | struct obio_device *od; | ||||
Context not available. | |||||
} | } | ||||
if (bootverbose) | if (bootverbose) | ||||
device_printf(dev, "lazy allocation of irq %ld for %s\n", | device_printf(dev, "lazy allocation of irq %jd for %s\n", | ||||
start, device_get_nameunit(child)); | start, device_get_nameunit(child)); | ||||
return (rv); | return (rv); | ||||
Context not available. |