driver-bitfury.h 743 B

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