Lines Matching refs:token
486 static int token_value(char *token) in token_value() argument
488 token = strchr(token, 'x') + 1; in token_value()
489 return strtol(token, NULL, 16); in token_value()
494 char *token; in next_bdf() local
499 token = *str; in next_bdf()
500 *seg = token_value(token); in next_bdf()
501 token = strchr(token, ',') + 1; in next_bdf()
502 *bus = token_value(token); in next_bdf()
503 token = strchr(token, ',') + 1; in next_bdf()
504 *dev = token_value(token); in next_bdf()
505 token = strchr(token, ',') + 1; in next_bdf()
506 *func = token_value(token); in next_bdf()
507 token = strchr(token, ','); in next_bdf()
508 *str = token ? token + 1 : NULL; in next_bdf()