Lines Matching refs:board
38 static struct board_info board; variable
738 return board.name; in board_get_name()
786 memcpy(&board, bcm963xx_boards[i], sizeof(board)); in board_prom_init()
791 if (!board.name[0]) { in board_prom_init()
805 if (board.has_pci) { in board_prom_init()
812 if (board.has_pccard) { in board_prom_init()
817 if (board.has_enet0 && !board.enet0.use_internal_phy) { in board_prom_init()
823 if (board.has_enet1 && !board.enet1.use_internal_phy) { in board_prom_init()
838 if (!board.name[0]) in board_setup()
840 pr_info("board name: %s\n", board.name); in board_setup()
843 if (bcm63xx_get_cpu_id() != board.expected_cpu_id) in board_setup()
860 if (board.has_uart0) in board_register_devices()
863 if (board.has_uart1) in board_register_devices()
866 if (board.has_pccard) in board_register_devices()
869 if (board.has_enet0 && in board_register_devices()
870 !bcm63xx_nvram_get_mac_address(board.enet0.mac_addr)) in board_register_devices()
871 bcm63xx_enet_register(0, &board.enet0); in board_register_devices()
873 if (board.has_enet1 && in board_register_devices()
874 !bcm63xx_nvram_get_mac_address(board.enet1.mac_addr)) in board_register_devices()
875 bcm63xx_enet_register(1, &board.enet1); in board_register_devices()
877 if (board.has_enetsw && in board_register_devices()
878 !bcm63xx_nvram_get_mac_address(board.enetsw.mac_addr)) in board_register_devices()
879 bcm63xx_enetsw_register(&board.enetsw); in board_register_devices()
881 if (board.has_usbd) in board_register_devices()
882 bcm63xx_usbd_register(&board.usbd); in board_register_devices()
903 bcm63xx_led_data.num_leds = ARRAY_SIZE(board.leds); in board_register_devices()
904 bcm63xx_led_data.leds = board.leds; in board_register_devices()
908 if (board.ephy_reset_gpio && board.ephy_reset_gpio_flags) in board_register_devices()
909 gpio_request_one(board.ephy_reset_gpio, in board_register_devices()
910 board.ephy_reset_gpio_flags, "ephy-reset"); in board_register_devices()