ath10k: define structures for CE ctrl/misc register
authorSarada Prasanna Garnayak <c_sgarna@qti.qualcomm.com>
Tue, 6 Jun 2017 09:05:41 +0000 (14:35 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 16 Jun 2017 06:50:45 +0000 (09:50 +0300)
commit03a016f8944c5992b62cb92d2d8318f574a07407
tree52c29db0c90d4351be7608dbd67956af5464b724
parent9a993cc1ea952b0018f393f7f58fa04f531543ed
ath10k: define structures for CE ctrl/misc register

Define structures for the copy engine ctrl/misc registers,
that includes CE CMD halt, watermark source, watermark destination,
host IE ring, source, destination and dmax ring.

This adds support to avoid the conditional compilation,
code optimization and dynamic configuration of the copy engine
register map for respective hardware bus interface.

Signed-off-by: Sarada Prasanna Garnayak <c_sgarna@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/ce.c
drivers/net/wireless/ath/ath10k/ce.h
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/hw.c
drivers/net/wireless/ath/ath10k/hw.h