driver-bitfury.h 637 B

123456789101112131415161718192021
  1. #ifndef BFG_DRIVER_BITFURY_H
  2. #define BFG_DRIVER_BITFURY_H
  3. #include <stdbool.h>
  4. #include <stdint.h>
  5. #include "miner.h"
  6. extern bool bitfury_prepare(struct thr_info *);
  7. extern bool bitfury_init_oldbuf(struct cgpu_info *);
  8. extern int64_t bitfury_scanHash(struct thr_info *);
  9. extern bool bitfury_job_prepare(struct thr_info *, struct work *, uint64_t max_nonce);
  10. extern void bitfury_do_io(struct thr_info *);
  11. extern int64_t bitfury_job_process_results(struct thr_info *, struct work *, bool stopping);
  12. extern struct api_data *bitfury_api_device_status(const struct cgpu_info *);
  13. extern void bitfury_shutdown(struct thr_info *);
  14. #endif