Lines Matching defs:board
506 * Return true if the @p board matches @p desc.
508 * @param board The bhnd board info.
509 * @param desc A match descriptor to compare against @p board.
515 bhnd_board_matches(const struct bhnd_board_info *board,
519 !bhnd_hwrev_matches(board->board_srom_rev, &desc->board_srom_rev))
523 board->board_vendor != desc->board_vendor)
526 if (desc->m.match.board_type && board->board_type != desc->board_type)
530 !bhnd_hwrev_matches(board->board_rev, &desc->board_rev))
573 struct bhnd_board_info board;
605 /* Fetch and match board info.
608 * matches should not include board requirements */
610 if ((error = bhnd_read_board_info(dev, &board))) {
611 device_printf(dev, "failed to read required board info "
616 if (!bhnd_board_matches(&board, &m_board))