Lines Matching defs:port
48 /* Dummy port used when green LED and red LED is on the same bit */
101 unsigned int port, unsigned int pin)
103 if (port > NBR_OF_PORTS)
105 if (port > crisv32_ioports[port].pin_count)
109 iopin->port = &crisv32_ioports[port];
111 if (crisv32_pinmux_alloc(port, pin, pin, pinmux_gpio))
119 int port;
128 port = toupper(*name) - 'A';
132 if (pin < 0 || pin > crisv32_ioports[port].pin_count)
136 iopin->port = &crisv32_ioports[port];
138 if (crisv32_pinmux_alloc(port, pin, pin, pinmux_gpio))