summaryrefslogtreecommitdiff
path: root/hif/src/mp_dev.c
diff options
context:
space:
mode:
authorKomal Seelam <kseelam@codeaurora.org>2016-02-22 20:45:49 +0530
committerHouston Hoffman <hhoffman@codeaurora.org>2016-03-15 14:29:26 -0700
commit644263d323e29ebb7fcd323a21cbb68a3773c71f (patch)
tree89886053b3c543cb05d86df98b56e13b41c63641 /hif/src/mp_dev.c
parent02cf2f8509b773bf6f81e6b03e7dee9b3ad75566 (diff)
qcacmn: Carve Out hif_softc out of ol_softc
Carve out hif_softc for internal hif usage. ol_softc acts a opaque handle to other modules. Change-Id: I7633e70ed82fe2ee88a21e2502177d6a7388ff56 CRs-Fixed: 967765
Diffstat (limited to 'hif/src/mp_dev.c')
-rw-r--r--hif/src/mp_dev.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/hif/src/mp_dev.c b/hif/src/mp_dev.c
index 6d261735c580..f1611dbda910 100644
--- a/hif/src/mp_dev.c
+++ b/hif/src/mp_dev.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013-2014 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2013-2014, 2016 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -101,13 +101,13 @@ static INLINE uint32_t get_target_reg_bits(void __iomem *mem,
return (value >> shift) & bitmask;
}
-void priv_start_cap_chaninfo(struct ol_softc *scn)
+void priv_start_cap_chaninfo(struct hif_softc *scn)
{
set_target_reg_bits(scn->mem, BB_chaninfo_ctrl,
CHANINFO_CTRL_CAPTURE_CHAN_INFO_MASK, 1);
}
-void priv_start_agc(struct ol_softc *scn)
+void priv_start_agc(struct hif_softc *scn)
{
g_priv_dump_ctx.gain_min_offsets_orig =
hif_read32_mb(scn->mem + BB_gains_min_offsets);
@@ -116,14 +116,14 @@ void priv_start_agc(struct ol_softc *scn)
0x0f);
}
-void priv_stop_agc(struct ol_softc *scn)
+void priv_stop_agc(struct hif_softc *scn)
{
set_target_reg_bits(scn->mem, BB_gains_min_offsets,
AGC_HISTORY_DUMP_MASK,
0);
}
-void priv_dump_chaninfo(struct ol_softc *scn)
+void priv_dump_chaninfo(struct hif_softc *scn)
{
uint32_t bw, val;
uint32_t len, i, tmp;
@@ -256,7 +256,7 @@ void priv_dump_chaninfo(struct ol_softc *scn)
HIF_TRACE("%s: X", __func__);
}
-void priv_dump_agc(struct ol_softc *scn)
+void priv_dump_agc(struct hif_softc *scn)
{
int i, len = 30; /* check this value for Rome and Peregrine */
uint32_t chain0, chain1, chain_mask, val;
@@ -310,7 +310,7 @@ void priv_dump_agc(struct ol_softc *scn)
return;
}
-void priv_dump_bbwatchdog(struct ol_softc *scn)
+void priv_dump_bbwatchdog(struct hif_softc *scn)
{
uint32_t val;