#include <linux/export.h>
#include "hw.h"
#include "hw-ops.h"
#include "ar9003_phy.h"
#include "ar9003_mci.h"
#include "ar9003_aic.h"
static void ar9003_mci_reset_req_wakeup(struct ath_hw *ah)
{ … }
static int ar9003_mci_wait_for_interrupt(struct ath_hw *ah, u32 address,
u32 bit_position, int time_out)
{ … }
static void ar9003_mci_remote_reset(struct ath_hw *ah, bool wait_done)
{ … }
static void ar9003_mci_send_lna_transfer(struct ath_hw *ah, bool wait_done)
{ … }
static void ar9003_mci_send_req_wake(struct ath_hw *ah, bool wait_done)
{ … }
static void ar9003_mci_send_sys_waking(struct ath_hw *ah, bool wait_done)
{ … }
static void ar9003_mci_send_lna_take(struct ath_hw *ah, bool wait_done)
{ … }
static void ar9003_mci_send_sys_sleeping(struct ath_hw *ah, bool wait_done)
{ … }
static void ar9003_mci_send_coex_version_query(struct ath_hw *ah,
bool wait_done)
{ … }
static void ar9003_mci_send_coex_version_response(struct ath_hw *ah,
bool wait_done)
{ … }
static void ar9003_mci_send_coex_wlan_channels(struct ath_hw *ah,
bool wait_done)
{ … }
static void ar9003_mci_send_coex_bt_status_query(struct ath_hw *ah,
bool wait_done, u8 query_type)
{ … }
static void ar9003_mci_send_coex_halt_bt_gpm(struct ath_hw *ah, bool halt,
bool wait_done)
{ … }
static void ar9003_mci_prep_interface(struct ath_hw *ah)
{ … }
void ar9003_mci_set_full_sleep(struct ath_hw *ah)
{ … }
static void ar9003_mci_disable_interrupt(struct ath_hw *ah)
{ … }
static void ar9003_mci_enable_interrupt(struct ath_hw *ah)
{ … }
static bool ar9003_mci_check_int(struct ath_hw *ah, u32 ints)
{ … }
void ar9003_mci_get_interrupt(struct ath_hw *ah, u32 *raw_intr,
u32 *rx_msg_intr)
{ … }
EXPORT_SYMBOL(…);
void ar9003_mci_get_isr(struct ath_hw *ah, enum ath9k_int *masked)
{ … }
static void ar9003_mci_2g5g_changed(struct ath_hw *ah, bool is_2g)
{ … }
static bool ar9003_mci_is_gpm_valid(struct ath_hw *ah, u32 msg_index)
{ … }
static void ar9003_mci_observation_set_up(struct ath_hw *ah)
{ … }
static bool ar9003_mci_send_coex_bt_flags(struct ath_hw *ah, bool wait_done,
u8 opcode, u32 bt_flags)
{ … }
static void ar9003_mci_sync_bt_state(struct ath_hw *ah)
{ … }
void ar9003_mci_check_bt(struct ath_hw *ah)
{ … }
static void ar9003_mci_process_gpm_extra(struct ath_hw *ah, u8 gpm_type,
u8 gpm_opcode, u32 *p_gpm)
{ … }
static u32 ar9003_mci_wait_for_gpm(struct ath_hw *ah, u8 gpm_type,
u8 gpm_opcode, int time_out)
{ … }
bool ar9003_mci_start_reset(struct ath_hw *ah, struct ath9k_channel *chan)
{ … }
int ar9003_mci_end_reset(struct ath_hw *ah, struct ath9k_channel *chan,
struct ath9k_hw_cal_data *caldata)
{ … }
static void ar9003_mci_mute_bt(struct ath_hw *ah)
{ … }
static void ar9003_mci_osla_setup(struct ath_hw *ah, bool enable)
{ … }
static void ar9003_mci_stat_setup(struct ath_hw *ah)
{ … }
static void ar9003_mci_set_btcoex_ctrl_9565_1ANT(struct ath_hw *ah)
{ … }
static void ar9003_mci_set_btcoex_ctrl_9565_2ANT(struct ath_hw *ah)
{ … }
static void ar9003_mci_set_btcoex_ctrl_9462(struct ath_hw *ah)
{ … }
int ar9003_mci_reset(struct ath_hw *ah, bool en_int, bool is_2g,
bool is_full_sleep)
{ … }
void ar9003_mci_stop_bt(struct ath_hw *ah, bool save_fullsleep)
{ … }
static void ar9003_mci_send_2g5g_status(struct ath_hw *ah, bool wait_done)
{ … }
static void ar9003_mci_queue_unsent_gpm(struct ath_hw *ah, u8 header,
u32 *payload, bool queue)
{ … }
void ar9003_mci_2g5g_switch(struct ath_hw *ah, bool force)
{ … }
bool ar9003_mci_send_message(struct ath_hw *ah, u8 header, u32 flag,
u32 *payload, u8 len, bool wait_done,
bool check_bt)
{ … }
EXPORT_SYMBOL(…);
void ar9003_mci_init_cal_req(struct ath_hw *ah, bool *is_reusable)
{ … }
void ar9003_mci_init_cal_done(struct ath_hw *ah)
{ … }
int ar9003_mci_setup(struct ath_hw *ah, u32 gpm_addr, void *gpm_buf,
u16 len, u32 sched_addr)
{ … }
EXPORT_SYMBOL(…);
void ar9003_mci_cleanup(struct ath_hw *ah)
{ … }
EXPORT_SYMBOL(…);
u32 ar9003_mci_state(struct ath_hw *ah, u32 state_type)
{ … }
EXPORT_SYMBOL(…);
void ar9003_mci_bt_gain_ctrl(struct ath_hw *ah)
{ … }
void ar9003_mci_set_power_awake(struct ath_hw *ah)
{ … }
void ar9003_mci_check_gpm_offset(struct ath_hw *ah)
{ … }
u32 ar9003_mci_get_next_gpm_offset(struct ath_hw *ah, u32 *more)
{ … }
EXPORT_SYMBOL(…);
void ar9003_mci_set_bt_version(struct ath_hw *ah, u8 major, u8 minor)
{ … }
EXPORT_SYMBOL(…);
void ar9003_mci_send_wlan_channels(struct ath_hw *ah)
{ … }
EXPORT_SYMBOL(…);
u16 ar9003_mci_get_max_txpower(struct ath_hw *ah, u8 ctlmode)
{ … }