Searched refs:crisv32_ioports (Results 1 – 3 of 3) sorted by relevance
18 struct crisv32_ioport crisv32_ioports[] = { variable39 #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()
22 struct crisv32_ioport crisv32_ioports[] = { variable55 #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()
30 extern struct crisv32_ioport crisv32_ioports[];