Lines Matching refs:board

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()
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()
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()
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
562 (board->major == 0 && board->minor == 0) ? in sfe4002_check_hw()
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
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()