ath9k_htc: Add multiple register read API
This would decrease latency in reading bulk registers. Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
fcdc403c31
commit
09a525d338
@@ -70,6 +70,9 @@
|
||||
#define REG_READ(_ah, _reg) \
|
||||
ath9k_hw_common(_ah)->ops->read((_ah), (_reg))
|
||||
|
||||
#define REG_READ_MULTI(_ah, _addr, _val, _cnt) \
|
||||
ath9k_hw_common(_ah)->ops->multi_read((_ah), (_addr), (_val), (_cnt))
|
||||
|
||||
#define ENABLE_REGWRITE_BUFFER(_ah) \
|
||||
do { \
|
||||
if (ath9k_hw_common(_ah)->ops->enable_write_buffer) \
|
||||
|
Reference in New Issue
Block a user