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 void bitfury_init_dclk(struct cgpu_info *, uint8_t def, uint8_t max);
  9. extern int64_t bitfury_scanHash(struct thr_info *);
  10. extern bool bitfury_job_prepare(struct thr_info *, struct work *, uint64_t max_nonce);
  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 void bitfury_shutdown(struct thr_info *);
  14. #endif