driver-bitfury.h 690 B

12345678910111213141516171819202122
  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_chip(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_noop_job_start(struct thr_info *);
  11. extern void bitfury_do_io(struct thr_info *);
  12. extern int64_t bitfury_job_process_results(struct thr_info *, struct work *, bool stopping);
  13. extern struct api_data *bitfury_api_device_status(const struct cgpu_info *);
  14. extern void bitfury_shutdown(struct thr_info *);
  15. #endif