Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
btmrvl_sdio.h File Reference

Go to the source code of this file.

Data Structures

struct  btmrvl_sdio_card_reg
 
struct  btmrvl_sdio_card
 
struct  btmrvl_sdio_device
 

Macros

#define SDIO_HEADER_LEN   4
 
#define SDIO_BLOCK_SIZE   64
 
#define FIRMWARE_TRANSFER_NBLOCK   2
 
#define FW_EXTRA_LEN   36
 
#define MRVDRV_SIZE_OF_CMD_BUFFER   (2 * 1024)
 
#define MRVDRV_BT_RX_PACKET_BUFFER_SIZE   (HCI_MAX_FRAME_SIZE + FW_EXTRA_LEN)
 
#define ALLOC_BUF_SIZE
 
#define MAX_POLL_TRIES   100
 
#define MAX_WRITE_IOMEM_RETRY   2
 
#define HOST_POWER_UP   BIT(1)
 
#define HOST_CMD53_FIN   BIT(2)
 
#define HIM_DISABLE   0xff
 
#define HIM_ENABLE   (BIT(0) | BIT(1))
 
#define UP_LD_HOST_INT_STATUS   BIT(0)
 
#define DN_LD_HOST_INT_STATUS   BIT(1)
 
#define DN_LD_CARD_RDY   BIT(0)
 
#define CARD_IO_READY   BIT(3)
 
#define FIRMWARE_READY   0xfedc
 
#define BTSDIO_DMA_ALIGN   8
 
#define ALIGN_SZ(p, a)   (((p) + ((a) - 1)) & ~((a) - 1))
 
#define ALIGN_ADDR(p, a)
 

Macro Definition Documentation

#define ALIGN_ADDR (   p,
  a 
)
Value:
((((unsigned long)(p)) + (((unsigned long)(a)) - 1)) & \
~(((unsigned long)(a)) - 1))

Definition at line 110 of file btmrvl_sdio.h.

#define ALIGN_SZ (   p,
  a 
)    (((p) + ((a) - 1)) & ~((a) - 1))

Definition at line 106 of file btmrvl_sdio.h.

#define ALLOC_BUF_SIZE
#define BTSDIO_DMA_ALIGN   8

Definition at line 103 of file btmrvl_sdio.h.

#define CARD_IO_READY   BIT(3)

Definition at line 61 of file btmrvl_sdio.h.

#define DN_LD_CARD_RDY   BIT(0)

Definition at line 60 of file btmrvl_sdio.h.

#define DN_LD_HOST_INT_STATUS   BIT(1)

Definition at line 58 of file btmrvl_sdio.h.

#define FIRMWARE_READY   0xfedc

Definition at line 63 of file btmrvl_sdio.h.

#define FIRMWARE_TRANSFER_NBLOCK   2

Definition at line 29 of file btmrvl_sdio.h.

#define FW_EXTRA_LEN   36

Definition at line 32 of file btmrvl_sdio.h.

#define HIM_DISABLE   0xff

Definition at line 54 of file btmrvl_sdio.h.

#define HIM_ENABLE   (BIT(0) | BIT(1))

Definition at line 55 of file btmrvl_sdio.h.

#define HOST_CMD53_FIN   BIT(2)

Definition at line 52 of file btmrvl_sdio.h.

#define HOST_POWER_UP   BIT(1)

Definition at line 51 of file btmrvl_sdio.h.

#define MAX_POLL_TRIES   100

Definition at line 45 of file btmrvl_sdio.h.

#define MAX_WRITE_IOMEM_RETRY   2

Definition at line 48 of file btmrvl_sdio.h.

#define MRVDRV_BT_RX_PACKET_BUFFER_SIZE   (HCI_MAX_FRAME_SIZE + FW_EXTRA_LEN)

Definition at line 36 of file btmrvl_sdio.h.

#define MRVDRV_SIZE_OF_CMD_BUFFER   (2 * 1024)

Definition at line 34 of file btmrvl_sdio.h.

#define SDIO_BLOCK_SIZE   64

Definition at line 26 of file btmrvl_sdio.h.

#define SDIO_HEADER_LEN   4

Marvell BT-over-SDIO driver: SDIO interface related definitions

Copyright (C) 2009, Marvell International Ltd.

This software file (the "File") is distributed by Marvell International Ltd. under the terms of the GNU General Public License Version 2, June 1991 (the "License"). You may use, redistribute and/or modify this File in accordance with the terms and conditions of the License, a copy of which is available by writing to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.

THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE ARE EXPRESSLY DISCLAIMED. The License provides additional details about this warranty disclaimer.

Definition at line 22 of file btmrvl_sdio.h.

#define UP_LD_HOST_INT_STATUS   BIT(0)

Definition at line 57 of file btmrvl_sdio.h.