diff options
author | Michael Buesch <mb@bu3sch.de> | 2009-02-04 13:55:22 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-11 11:44:23 -0500 |
commit | ce1a9ee33a5864f3d199baa1d3e154a1f9a6f3dd (patch) | |
tree | 2fc0e301b7d81a401b7114608134413897c4296a /drivers/net/wireless/b43/tables_lpphy.h | |
parent | 7a9470806053f765ecf7f3932acb4c95c204ad4b (diff) |
b43: Add parts of LP-PHY TX power control
This adds the initial parts of the LP-PHY TX power control.
This also adds helper functions for bulk access of LP tables.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/tables_lpphy.h')
-rw-r--r-- | drivers/net/wireless/b43/tables_lpphy.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/tables_lpphy.h b/drivers/net/wireless/b43/tables_lpphy.h index 03ea2ff5d13a..0b8d02895a5d 100644 --- a/drivers/net/wireless/b43/tables_lpphy.h +++ b/drivers/net/wireless/b43/tables_lpphy.h | |||
@@ -17,6 +17,14 @@ | |||
17 | u32 b43_lptab_read(struct b43_wldev *dev, u32 offset); | 17 | u32 b43_lptab_read(struct b43_wldev *dev, u32 offset); |
18 | void b43_lptab_write(struct b43_wldev *dev, u32 offset, u32 value); | 18 | void b43_lptab_write(struct b43_wldev *dev, u32 offset, u32 value); |
19 | 19 | ||
20 | /* Bulk table access. Note that these functions return the bulk data in | ||
21 | * host endianness! The returned data is _not_ a bytearray, but an array | ||
22 | * consisting of nr_elements of the data type. */ | ||
23 | void b43_lptab_read_bulk(struct b43_wldev *dev, u32 offset, | ||
24 | unsigned int nr_elements, void *data); | ||
25 | void b43_lptab_write_bulk(struct b43_wldev *dev, u32 offset, | ||
26 | unsigned int nr_elements, const void *data); | ||
27 | |||
20 | void b2062_upload_init_table(struct b43_wldev *dev); | 28 | void b2062_upload_init_table(struct b43_wldev *dev); |
21 | 29 | ||
22 | 30 | ||