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%2Fmagpie%2Fvdesc_api.h;fp=ath9k_htc%2Ftarget_firmware%2Fmagpie_fw_dev%2Ftarget%2Finc%2Fmagpie%2Fvdesc_api.h;h=0000000000000000000000000000000000000000;hp=631f134c1c50770cf202130b12e60fd3a71f6450;hb=1ba1a88647bfe113c885f985d6e383790dec2a1f;hpb=a2fe6b1f6253377c952c224d4ec9d55b196660ce diff --git a/ath9k_htc/target_firmware/magpie_fw_dev/target/inc/magpie/vdesc_api.h b/ath9k_htc/target_firmware/magpie_fw_dev/target/inc/magpie/vdesc_api.h deleted file mode 100755 index 631f134..0000000 --- a/ath9k_htc/target_firmware/magpie_fw_dev/target/inc/magpie/vdesc_api.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * @File: VBUF_api.h - * - * @Abstract: Host Interface api - * - * @Notes: - * - * Copyright (c) 2008 Atheros Communications Inc. - * All rights reserved. - * - */ - -#ifndef _VDESC_API_H -#define _VDESC_API_H - -//#define VDESC_CONTROL_BUF_HDR (1 << 6) /* the buffer was manipulated and a header added */ - -#define MAX_HW_DESC_SIZE 20 - -typedef struct _VDESC -{ - struct _VDESC *next_desc; - A_UINT8 *buf_addr; - A_UINT16 buf_size; - A_UINT16 data_offset; - A_UINT16 data_size; - A_UINT16 control; - A_UINT8 hw_desc_buf[MAX_HW_DESC_SIZE]; -} VDESC; - -//#define VDESC_HW_TO_VDESC(hwdesc) ((VDESC *)(((A_UINT32 *)hwdesc - 4))) -#define VDESC_HW_TO_VDESC(hwdesc) ((VDESC *)(((A_UINT32 *)hwdesc - 4))) - -struct vdesc_api { - void (*_init)(int nDesc); - VDESC* (*_alloc_vdesc)(); - A_UINT8* (*_get_hw_desc)(VDESC *desc); - void (*_swap_vdesc)(VDESC *dest, VDESC *src); - //void (*_free_vdesc)(void); - /* room to expand this table by another table */ - void *pReserved; -}; - -extern void vdesc_module_install(struct vdesc_api *apis); - -#endif