~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/staging/ath6kl/include/ar3kconfig.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
#define AR3K_CONFIG_FLAG_SET_AR6K_SCALE_STEP        (1 << 3)
39
39
 
40
40
 
41
 
typedef struct {
42
 
    A_UINT32                 Flags;           /* config flags */
 
41
struct ar3k_config_info {
 
42
    u32 Flags;           /* config flags */
43
43
    void                     *pHCIDev;        /* HCI bridge device     */
44
 
    HCI_TRANSPORT_PROPERTIES *pHCIProps;      /* HCI bridge props      */
45
 
    HIF_DEVICE               *pHIFDevice;     /* HIF layer device      */
 
44
    struct hci_transport_properties *pHCIProps;      /* HCI bridge props      */
 
45
    struct hif_device               *pHIFDevice;     /* HIF layer device      */
46
46
    
47
 
    A_UINT32                 AR3KBaudRate;    /* AR3K operational baud rate */
48
 
    A_UINT16                 AR6KScale;       /* AR6K UART scale value */    
49
 
    A_UINT16                 AR6KStep;        /* AR6K UART step value  */
 
47
    u32 AR3KBaudRate;    /* AR3K operational baud rate */
 
48
    u16 AR6KScale;       /* AR6K UART scale value */
 
49
    u16 AR6KStep;        /* AR6K UART step value  */
50
50
    struct hci_dev           *pBtStackHCIDev; /* BT Stack HCI dev */
51
 
    A_UINT32                 PwrMgmtEnabled;  /* TLPM enabled? */  
52
 
    A_UINT16                 IdleTimeout;     /* TLPM idle timeout */
53
 
    A_UINT16                 WakeupTimeout;   /* TLPM wakeup timeout */
54
 
    A_UINT8                  bdaddr[6];       /* Bluetooth device address */
55
 
} AR3K_CONFIG_INFO;
 
51
    u32 PwrMgmtEnabled;  /* TLPM enabled? */
 
52
    u16 IdleTimeout;     /* TLPM idle timeout */
 
53
    u16 WakeupTimeout;   /* TLPM wakeup timeout */
 
54
    u8 bdaddr[6];       /* Bluetooth device address */
 
55
};
56
56
                                                                                        
57
 
A_STATUS AR3KConfigure(AR3K_CONFIG_INFO *pConfigInfo);
 
57
int AR3KConfigure(struct ar3k_config_info *pConfigInfo);
58
58
 
59
 
A_STATUS AR3KConfigureExit(void *config);
 
59
int AR3KConfigureExit(void *config);
60
60
 
61
61
#ifdef __cplusplus
62
62
}