Lines Matching defs:board
313 * "board#".
322 * board# prop
325 if (strcmp(prop->name.opp.oprom_array, "board#") == 0)
335 * Retrieve the value of the board number property from this Prom
345 * board# prop
348 if (strcmp(prop->name.opp.oprom_array, "board#") == 0)
358 * Find the requested board struct in the system device tree.
361 find_board(Sys_tree *root, int board)
365 while ((bnode != NULL) && (board != bnode->board_num))
372 * Add a board to the system list in order. Initialize all pointer
376 insert_board(Sys_tree *root, int board)
387 bnode->board_num = board;
391 else if (temp->board_num > board) {
395 while ((temp->next != NULL) && (board > temp->next->board_num))
636 * This function adds a board node to the board structure where that
642 int board;
646 /* add this node to the Board list of the appropriate board */
647 if ((board = get_board_num(pnode)) == -1) {
648 /* board is 0 if not on Sunfire */
649 board = 0;
652 /* find the node with the same board number */
653 if ((bnode = find_board(root, board)) == NULL) {
654 bnode = insert_board(root, board);
658 /* now attach this prom node to the board list */
673 * Find the device on the current board with the requested device ID
678 find_device(Board_node *board, int id, char *name)
684 pnode = dev_find_node(board->nodes, name);