Lines Matching refs:port_name
243 const char *port_name,
246 if (port_name == NULL || port_name[0] == '\0')
248 if (isdigit (port_name[0]))
250 return strtoul (port_name, NULL, 0);
266 if (strncmp (port_name, ports->name, len) == 0)
268 if (port_name[len] == '\0')
270 else if (isdigit (port_name[len]))
273 + strtoul (&port_name[len], NULL, 0));
277 port_name);
282 else if (strcmp (port_name, ports->name) == 0)
289 hw_abort (me, "Unrecognized port %s", port_name);