Merge branch 'wireless-next' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi...
[deliverable/linux.git] / drivers / net / wireless / b43 / tables_phy_lcn.h
CommitLineData
1d738e64
RM
1#ifndef B43_TABLES_PHY_LCN_H_
2#define B43_TABLES_PHY_LCN_H_
3
ba2d00e8
RM
4/* The LCN-PHY tables. */
5#define B43_LCNTAB_TYPEMASK 0xF0000000
6#define B43_LCNTAB_8BIT 0x10000000
7#define B43_LCNTAB_16BIT 0x20000000
8#define B43_LCNTAB_32BIT 0x30000000
9#define B43_LCNTAB8(table, offset) (((table) << 10) | (offset) | B43_LCNTAB_8BIT)
10#define B43_LCNTAB16(table, offset) (((table) << 10) | (offset) | B43_LCNTAB_16BIT)
11#define B43_LCNTAB32(table, offset) (((table) << 10) | (offset) | B43_LCNTAB_32BIT)
12
28e3181a
RM
13#define B43_LCNTAB_TX_GAIN_SIZE 128
14
ba2d00e8
RM
15u32 b43_lcntab_read(struct b43_wldev *dev, u32 offset);
16void b43_lcntab_read_bulk(struct b43_wldev *dev, u32 offset,
17 unsigned int nr_elements, void *_data);
18void b43_lcntab_write(struct b43_wldev *dev, u32 offset, u32 value);
19void b43_lcntab_write_bulk(struct b43_wldev *dev, u32 offset,
20 unsigned int nr_elements, const void *_data);
21
1d738e64
RM
22void b43_phy_lcn_tables_init(struct b43_wldev *dev);
23
24#endif /* B43_TABLES_PHY_LCN_H_ */
This page took 0.103973 seconds and 5 git commands to generate.