Lines Matching full:board
15 /* Macros for unpacking the board revision */
21 /* Board types */
27 /* Board temperature is about 15°C above ambient when air flow is
90 struct falcon_board *board = falcon_board(efx); in ef4_init_lm87() local
91 struct i2c_client *client = i2c_new_client_device(&board->i2c_adap, info); in ef4_init_lm87()
108 board->hwmon_client = client; in ef4_init_lm87()
167 "; board is overheating" : "", in ef4_check_lm87()
403 struct falcon_board *board = falcon_board(efx); in sfe4001_fini() local
409 i2c_unregister_device(board->ioexp_client); in sfe4001_fini()
410 i2c_unregister_device(board->hwmon_client); in sfe4001_fini()
435 /* Use board power control, not PHY power control */ in sfe4001_check_hw()
446 /* This board uses an I2C expander to provider power to the PHY, which needs to
452 struct falcon_board *board = falcon_board(efx); in sfe4001_init() local
456 board->hwmon_client = in sfe4001_init()
457 i2c_new_client_device(&board->i2c_adap, &sfe4001_hwmon_info); in sfe4001_init()
459 board->hwmon_client = in sfe4001_init()
460 i2c_new_dummy_device(&board->i2c_adap, sfe4001_hwmon_info.addr); in sfe4001_init()
462 if (IS_ERR(board->hwmon_client)) in sfe4001_init()
463 return PTR_ERR(board->hwmon_client); in sfe4001_init()
465 /* Raise board/PHY high limit from 85 to 90 degrees Celsius */ in sfe4001_init()
466 rc = i2c_smbus_write_byte_data(board->hwmon_client, in sfe4001_init()
471 board->ioexp_client = i2c_new_dummy_device(&board->i2c_adap, PCA9539); in sfe4001_init()
472 if (IS_ERR(board->ioexp_client)) { in sfe4001_init()
473 rc = PTR_ERR(board->ioexp_client); in sfe4001_init()
496 i2c_unregister_device(board->ioexp_client); in sfe4001_init()
498 i2c_unregister_device(board->hwmon_client); in sfe4001_init()
557 struct falcon_board *board = falcon_board(efx); in sfe4002_check_hw() local
559 /* A0 board rev. 4002s report a temperature fault the whole time in sfe4002_check_hw()
562 (board->major == 0 && board->minor == 0) ? in sfe4002_check_hw()
658 /* Board-specific LED info. */
665 struct falcon_board *board = falcon_board(efx); in sfe4003_set_id_led() local
668 if (board->minor < 3 && board->major == 0) in sfe4003_set_id_led()
678 struct falcon_board *board = falcon_board(efx); in sfe4003_init_phy() local
681 if (board->minor < 3 && board->major == 0) in sfe4003_init_phy()
690 struct falcon_board *board = falcon_board(efx); in sfe4003_check_hw() local
692 /* A0/A1/A2 board rev. 4003s report a temperature fault the whole time in sfe4003_check_hw()
695 (board->major == 0 && board->minor <= 2) ? in sfe4003_check_hw()
743 struct falcon_board *board = falcon_board(efx); in falcon_probe_board() local
747 board->major = FALCON_BOARD_MAJOR(revision_info); in falcon_probe_board()
748 board->minor = FALCON_BOARD_MINOR(revision_info); in falcon_probe_board()
752 board->type = &board_types[i]; in falcon_probe_board()
754 if (board->type) { in falcon_probe_board()
757 netif_err(efx, probe, efx->net_dev, "unknown board type %d\n", in falcon_probe_board()