Lines Matching defs:board_config

497 	struct sc_gptwocfg_config *board_config, *last, *new;
564 board_config = kmem_zalloc(sizeof (sc_gptwocfg_config_t), KM_SLEEP);
566 board_config->port_cookie = port_cookie;
567 board_config->board = board;
568 board_config->portid = agent_id;
569 board_config->link = NULL;
570 last = board_config;
573 board_config->next = sc_gptwo_config_list;
574 sc_gptwo_config_list = board_config;
595 return (board_config);
616 return (board_config);
665 dump_config(board_config);
670 board_config = sc_unprobe_board(board);
674 (void *)board_config));
676 return (board_config);
682 sc_gptwocfg_config_t *board_config, *axq_config, *prior_config;
693 board_config = sc_gptwo_config_list;
694 while (board_config != NULL) {
695 if (board_config->board == board) {
698 board_config = board_config->next;
702 if (board_config == NULL) {
710 board_config = sc_configure(board, 0);
712 if (board_config == NULL) {
722 axq_config = board_config;
728 while (board_config->link != NULL) {
729 prior_config = board_config;
730 board_config = board_config->link;
734 (void *)ddi_root_node(), board_config->portid));
737 board_config->portid);
747 prior_config->link = board_config->link;
748 kmem_free(board_config, sizeof (sc_gptwocfg_config_t));
749 board_config = prior_config;
751 board_config->port_cookie = port_cookie;
774 board_config = sc_gptwo_config_list;
775 while (board_config->next != axq_config) {
776 board_config = board_config->next;
778 board_config->next = axq_config->next;
1184 dump_config(sc_gptwocfg_config_t *board_config)
1188 SC_DEBUG(1, (CE_CONT, "dump_config 0x%p", (void *)board_config));
1189 while (board_config != NULL) {
1191 (void *)board_config));
1193 (void *)board_config->port_cookie));
1195 port = board_config->port_cookie;
1203 board_config->portid));
1205 board_config->board));
1207 (void *)board_config->link));
1209 (void *)board_config->next));
1210 board_config = board_config->link;