X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=ath9k_htc%2Ftarget_firmware%2Fmagpie_fw_dev%2Ftarget%2Fadf%2Fadf_os_dma_pvt.h;h=342b2fcbbcdc85559d2de95d89966468516579dd;hb=HEAD;hp=bf4180b0f4eca02490f0ece99f5f22107831bf68;hpb=6e823d0b6ee854eaf5f0bf28a099a5e6b7c45be2;p=linux-libre-firmware.git diff --git a/ath9k_htc/target_firmware/magpie_fw_dev/target/adf/adf_os_dma_pvt.h b/ath9k_htc/target_firmware/magpie_fw_dev/target/adf/adf_os_dma_pvt.h index bf4180b..342b2fc 100755 --- a/ath9k_htc/target_firmware/magpie_fw_dev/target/adf/adf_os_dma_pvt.h +++ b/ath9k_htc/target_firmware/magpie_fw_dev/target/adf/adf_os_dma_pvt.h @@ -39,17 +39,17 @@ #include inline void* -__adf_os_dmamem_alloc(__adf_os_device_t osdev, adf_os_size_t size, +__adf_os_dmamem_alloc(__adf_os_device_t osdev, adf_os_size_t size, a_bool_t coherent, __adf_os_dma_map_t *dmap); -/* - * Free a previously mapped DMA buffer +/* + * Free a previously mapped DMA buffer * Direction doesnt matter, since this API is called at closing time. */ static inline void __adf_os_dmamem_free(adf_os_device_t osdev, __adf_os_size_t size, a_bool_t coherent, void *vaddr, __adf_os_dma_map_t dmap) -{ +{ } @@ -57,7 +57,7 @@ __adf_os_dmamem_free(adf_os_device_t osdev, __adf_os_size_t size, a_bool_t co //#define __adf_os_dmamem_map2addr(_dmap) ((_dmap)->seg[0].ds_addr) #define __adf_os_dmamem_map2addr(_dmap) ((adf_os_dma_addr_t)(_dmap)->ds_addr) -static inline void +static inline void __adf_os_dmamem_cache_sync(__adf_os_device_t osdev, __adf_os_dma_map_t dmap, adf_os_cache_sync_t sync) {