| 12345678910111213141516171819202122 |
- #ifndef BFG_DRIVER_BITFURY_H
- #define BFG_DRIVER_BITFURY_H
- #include <stdbool.h>
- #include <stdint.h>
- #include "miner.h"
- extern bool bitfury_prepare(struct thr_info *);
- extern bool bitfury_init_chip(struct cgpu_info *);
- extern int64_t bitfury_scanHash(struct thr_info *);
- extern bool bitfury_job_prepare(struct thr_info *, struct work *, uint64_t max_nonce);
- extern void bitfury_noop_job_start(struct thr_info *);
- extern void bitfury_do_io(struct thr_info *);
- extern int64_t bitfury_job_process_results(struct thr_info *, struct work *, bool stopping);
- extern struct api_data *bitfury_api_device_status(const struct cgpu_info *);
- extern void bitfury_shutdown(struct thr_info *);
- #endif
|