Home
last modified time | relevance | path

Searched refs:crisv32_ioports (Results 1 – 3 of 3) sorted by relevance

/arch/cris/arch-v32/mach-a3/
Dio.c18 struct crisv32_ioport crisv32_ioports[] = { variable
39 #define NBR_OF_PORTS sizeof(crisv32_ioports)/sizeof(struct crisv32_ioport)
68 for (i = 0; i < ARRAY_SIZE(crisv32_ioports); i++) in crisv32_io_init()
69 spin_lock_init(&crisv32_ioports[i].lock); in crisv32_io_init()
105 if (port > crisv32_ioports[port].pin_count) in crisv32_io_get()
109 iopin->port = &crisv32_ioports[port]; in crisv32_io_get()
132 if (pin < 0 || pin > crisv32_ioports[port].pin_count) in crisv32_io_get_name()
136 iopin->port = &crisv32_ioports[port]; in crisv32_io_get_name()
/arch/cris/arch-v32/mach-fs/
Dio.c22 struct crisv32_ioport crisv32_ioports[] = { variable
55 #define NBR_OF_PORTS sizeof(crisv32_ioports)/sizeof(struct crisv32_ioport)
86 for (i = 0; i < ARRAY_SIZE(crisv32_ioports); i++) in crisv32_io_init()
87 spin_lock_init(&crisv32_ioports[i].lock); in crisv32_io_init()
138 if (port > crisv32_ioports[port].pin_count) in crisv32_io_get()
142 iopin->port = &crisv32_ioports[port]; in crisv32_io_get()
169 if (pin < 0 || pin > crisv32_ioports[port].pin_count) in crisv32_io_get_name()
173 iopin->port = &crisv32_ioports[port]; in crisv32_io_get_name()
/arch/cris/include/arch-v32/arch/
Dio.h30 extern struct crisv32_ioport crisv32_ioports[];