diff options
Diffstat (limited to 'drivers/staging/ath6kl/include/bmi.h')
-rw-r--r-- | drivers/staging/ath6kl/include/bmi.h | 168 |
1 files changed, 84 insertions, 84 deletions
diff --git a/drivers/staging/ath6kl/include/bmi.h b/drivers/staging/ath6kl/include/bmi.h index 27aa98df9c0b..eb1e75607247 100644 --- a/drivers/staging/ath6kl/include/bmi.h +++ b/drivers/staging/ath6kl/include/bmi.h @@ -43,90 +43,90 @@ BMIInit(void); void BMICleanup(void); -A_STATUS -BMIDone(HIF_DEVICE *device); - -A_STATUS -BMIGetTargetInfo(HIF_DEVICE *device, struct bmi_target_info *targ_info); - -A_STATUS -BMIReadMemory(HIF_DEVICE *device, - A_UINT32 address, - A_UCHAR *buffer, - A_UINT32 length); - -A_STATUS -BMIWriteMemory(HIF_DEVICE *device, - A_UINT32 address, - A_UCHAR *buffer, - A_UINT32 length); - -A_STATUS -BMIExecute(HIF_DEVICE *device, - A_UINT32 address, - A_UINT32 *param); - -A_STATUS -BMISetAppStart(HIF_DEVICE *device, - A_UINT32 address); - -A_STATUS -BMIReadSOCRegister(HIF_DEVICE *device, - A_UINT32 address, - A_UINT32 *param); - -A_STATUS -BMIWriteSOCRegister(HIF_DEVICE *device, - A_UINT32 address, - A_UINT32 param); - -A_STATUS -BMIrompatchInstall(HIF_DEVICE *device, - A_UINT32 ROM_addr, - A_UINT32 RAM_addr, - A_UINT32 nbytes, - A_UINT32 do_activate, - A_UINT32 *patch_id); - -A_STATUS -BMIrompatchUninstall(HIF_DEVICE *device, - A_UINT32 rompatch_id); - -A_STATUS -BMIrompatchActivate(HIF_DEVICE *device, - A_UINT32 rompatch_count, - A_UINT32 *rompatch_list); - -A_STATUS -BMIrompatchDeactivate(HIF_DEVICE *device, - A_UINT32 rompatch_count, - A_UINT32 *rompatch_list); - -A_STATUS -BMILZStreamStart(HIF_DEVICE *device, - A_UINT32 address); - -A_STATUS -BMILZData(HIF_DEVICE *device, - A_UCHAR *buffer, - A_UINT32 length); - -A_STATUS -BMIFastDownload(HIF_DEVICE *device, - A_UINT32 address, - A_UCHAR *buffer, - A_UINT32 length); - -A_STATUS -BMIRawWrite(HIF_DEVICE *device, - A_UCHAR *buffer, - A_UINT32 length); - -A_STATUS -BMIRawRead(HIF_DEVICE *device, - A_UCHAR *buffer, - A_UINT32 length, - A_BOOL want_timeout); +int +BMIDone(struct hif_device *device); + +int +BMIGetTargetInfo(struct hif_device *device, struct bmi_target_info *targ_info); + +int +BMIReadMemory(struct hif_device *device, + u32 address, + u8 *buffer, + u32 length); + +int +BMIWriteMemory(struct hif_device *device, + u32 address, + u8 *buffer, + u32 length); + +int +BMIExecute(struct hif_device *device, + u32 address, + u32 *param); + +int +BMISetAppStart(struct hif_device *device, + u32 address); + +int +BMIReadSOCRegister(struct hif_device *device, + u32 address, + u32 *param); + +int +BMIWriteSOCRegister(struct hif_device *device, + u32 address, + u32 param); + +int +BMIrompatchInstall(struct hif_device *device, + u32 ROM_addr, + u32 RAM_addr, + u32 nbytes, + u32 do_activate, + u32 *patch_id); + +int +BMIrompatchUninstall(struct hif_device *device, + u32 rompatch_id); + +int +BMIrompatchActivate(struct hif_device *device, + u32 rompatch_count, + u32 *rompatch_list); + +int +BMIrompatchDeactivate(struct hif_device *device, + u32 rompatch_count, + u32 *rompatch_list); + +int +BMILZStreamStart(struct hif_device *device, + u32 address); + +int +BMILZData(struct hif_device *device, + u8 *buffer, + u32 length); + +int +BMIFastDownload(struct hif_device *device, + u32 address, + u8 *buffer, + u32 length); + +int +BMIRawWrite(struct hif_device *device, + u8 *buffer, + u32 length); + +int +BMIRawRead(struct hif_device *device, + u8 *buffer, + u32 length, + bool want_timeout); #ifdef __cplusplus } |