X-Git-Url: https://jxself.org/git/?p=linux-libre-firmware.git;a=blobdiff_plain;f=ath9k_htc%2Ftarget_firmware%2Fmagpie_fw_dev%2Ftarget%2Finc%2Fk2%2FMagpie_api.h;h=309336702cd5adcc37a6447febd74d8604aba535;hp=1c1b17487671cc9d79c539bc8e0fe2d62ee86aa1;hb=1ba1a88647bfe113c885f985d6e383790dec2a1f;hpb=6e823d0b6ee854eaf5f0bf28a099a5e6b7c45be2 diff --git a/ath9k_htc/target_firmware/magpie_fw_dev/target/inc/k2/Magpie_api.h b/ath9k_htc/target_firmware/magpie_fw_dev/target/inc/k2/Magpie_api.h index 1c1b174..3093367 100755 --- a/ath9k_htc/target_firmware/magpie_fw_dev/target/inc/k2/Magpie_api.h +++ b/ath9k_htc/target_firmware/magpie_fw_dev/target/inc/k2/Magpie_api.h @@ -34,16 +34,18 @@ */ /* * @File: Magpie_api.h - * + * * @Abstract: Magpie FW api - * + * * @Notes: */ #ifndef _MAGPIE_API_H #define _MAGPIE_API_H +#include #include + #include "cmnos_api.h" #include "vbuf_api.h" #include "vdesc_api.h" @@ -111,8 +113,8 @@ #define dma_lib_tx_init(eng_no, if_type) A_INDIR(dma_lib.tx_init(eng_no, if_type)) #define dma_lib_rx_init(eng_no, if_type) A_INDIR(dma_lib.rx_init(eng_no, if_type)) #define dma_lib_rx_config(eng_no, desc, gran) A_INDIR(dma_lib.rx_config(eng_no, desc, gran)) -#define dma_lib_tx_start(eng_no) A_INDIR(dma_lib.tx_start(eng_no)) -#define dma_lib_rx_start(eng_no) A_INDIR(dma_lib.rx_start(eng_no)) +#define dma_lib_tx_start(eng_no) A_INDIR(dma_lib.tx_start(eng_no)) +#define dma_lib_rx_start(eng_no) A_INDIR(dma_lib.rx_start(eng_no)) #define dma_lib_intr_status(if_type) A_INDIR(dma_lib.intr_status(if_type)) #define dma_lib_hard_xmit(eng_no, buf) A_INDIR(dma_lib.hard_xmit(eng_no, buf)) #define dma_lib_flush_xmit(eng_no) A_INDIR(dma_lib.flush_xmit(eng_no)) @@ -127,11 +129,11 @@ #define HIF_init(pConfig) A_INDIR(hif._init(pConfig)) #define HIF_shutdown(h) A_INDIR(hif._shutdown(h)) #define HIF_register_callback(h, pConfig) A_INDIR(hif._register_callback(h, pConfig)) -#define HIF_start(h) A_INDIR(hif._start(h)) -#define HIF_config_pipe(h, pipe, desc_list) A_INDIR(hif._config_pipe(h, pipe, desc_list)) -#define HIF_send_buffer(h, pipe, buf) A_INDIR(hif._send_buffer(h, pipe, buf)) -#define HIF_return_recv_buf(h, pipe, buf) A_INDIR(hif._return_recv_buf(h, pipe, buf)) -#define HIF_isr_handler(h) A_INDIR(hif._isr_handler(h)) +#define HIF_start(h) A_INDIR(hif._start(h)) +#define HIF_config_pipe(h, pipe, desc_list) A_INDIR(hif._config_pipe(h, pipe, desc_list)) +#define HIF_send_buffer(h, pipe, buf) A_INDIR(hif._send_buffer(h, pipe, buf)) +#define HIF_return_recv_buf(h, pipe, buf) A_INDIR(hif._return_recv_buf(h, pipe, buf)) +#define HIF_isr_handler(h) A_INDIR(hif._isr_handler(h)) #define HIF_is_pipe_supported(h, pipe) A_INDIR(hif._is_pipe_supported(h, pipe)) #define HIF_get_max_msg_len(h, pipe) A_INDIR(hif._get_max_msg_len(h, pipe)) #define HIF_get_reserved_headroom(h) A_INDIR(hif._get_reserved_headroom(h)) @@ -161,7 +163,7 @@ #define HTC_GetReservedHeadroom(h) A_INDIR(htc._HTC_GetReservedHeadroom(h)) #define HTC_NotifyTargetInserted(h) -#define HTC_NotifyTargetDetached(h) +#define HTC_NotifyTargetDetached(h) /* WMI SVC module */ #define WMI_SERVICE_MODULE_INSTALL() WMI_service_module_install(&_A_MAGPIE_INDIRECTION_TABLE->wmi_svc_api) @@ -203,7 +205,7 @@ typedef struct _A_magpie_indirection_table { struct sflash_api sflash; struct hif_api hif; struct htc_apis htc; - WMI_SVC_APIS wmi_svc_api; + WMI_SVC_APIS wmi_svc_api; struct usbfifo_api usbfifo_api; struct buf_pool_api buf_pool; struct vbuf_api vbuf;