qcacmn: Add SWLM support for WCN6450
Changes required to support SWLM feature on wcn6450. Change-Id: I306cba8dcefa8f34a9546285b33b974987aec625 CRs-Fixed: 3540269
This commit is contained in:

zatwierdzone przez
Rahul Choudhary

rodzic
6ca74c40fd
commit
fc93f83a78
@@ -708,7 +708,7 @@ void ce_engine_service_reg(struct hif_softc *scn, int CE_id);
|
||||
void ce_per_engine_service_fast(struct hif_softc *scn, int ce_id);
|
||||
|
||||
void ce_tx_ring_write_idx_update_wrapper(struct CE_handle *ce_tx_hdl,
|
||||
bool flush);
|
||||
int coalesce);
|
||||
|
||||
/*
|
||||
* ce_ring_flush_write_idx() - CE handler to flush write index
|
||||
|
@@ -423,17 +423,15 @@ void ce_flush_tx_ring_write_idx(struct CE_handle *ce_tx_hdl, bool force_flush)
|
||||
|
||||
/* Make sure this wrapper is called under ce_index_lock */
|
||||
void ce_tx_ring_write_idx_update_wrapper(struct CE_handle *ce_tx_hdl,
|
||||
bool flush)
|
||||
int coalesce)
|
||||
{
|
||||
struct CE_state *ce_state = (struct CE_state *)ce_tx_hdl;
|
||||
struct CE_ring_state *src_ring = ce_state->src_ring;
|
||||
struct hif_softc *scn = ce_state->scn;
|
||||
|
||||
if (flush)
|
||||
if (!coalesce)
|
||||
CE_SRC_RING_WRITE_IDX_SET(scn, ce_state->ctrl_addr,
|
||||
src_ring->write_index);
|
||||
else
|
||||
ce_ring_set_event(src_ring, CE_RING_FLUSH_EVENT);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user