| .. | .. |
|---|
| 7 | 7 | |
|---|
| 8 | 8 | struct b43_wldev; |
|---|
| 9 | 9 | |
|---|
| 10 | | -/* Complex number using 2 32-bit signed integers */ |
|---|
| 11 | | -struct b43_c32 { s32 i, q; }; |
|---|
| 12 | | - |
|---|
| 13 | | -#define CORDIC_CONVERT(value) (((value) >= 0) ? \ |
|---|
| 14 | | - ((((value) >> 15) + 1) >> 1) : \ |
|---|
| 15 | | - -((((-(value)) >> 15) + 1) >> 1)) |
|---|
| 16 | | - |
|---|
| 17 | 10 | /* PHY register routing bits */ |
|---|
| 18 | 11 | #define B43_PHYROUTE 0x0C00 /* PHY register routing bits mask */ |
|---|
| 19 | 12 | #define B43_PHYROUTE_BASE 0x0000 /* Base registers */ |
|---|
| .. | .. |
|---|
| 449 | 442 | bool b43_is_40mhz(struct b43_wldev *dev); |
|---|
| 450 | 443 | |
|---|
| 451 | 444 | void b43_phy_force_clock(struct b43_wldev *dev, bool force); |
|---|
| 452 | | - |
|---|
| 453 | | -struct b43_c32 b43_cordic(int theta); |
|---|
| 454 | 445 | |
|---|
| 455 | 446 | #endif /* LINUX_B43_PHY_COMMON_H_ */ |
|---|