Lines Matching defs:port_name
242 const char *port_name,
245 if (port_name == NULL || port_name[0] == '\0')
247 if (isdigit(port_name[0]))
249 return strtoul (port_name, NULL, 0);
265 if (strncmp (port_name, ports->name, len) == 0)
267 if (port_name[len] == '\0')
269 else if(isdigit (port_name[len]))
272 + strtoul (&port_name[len], NULL, 0));
276 port_name);
281 else if (strcmp (port_name, ports->name) == 0)
288 hw_abort (me, "Unreconized port %s", port_name);