Lines Matching +full:coexist +full:- +full:gpio +full:- +full:pin
1 /* SPDX-License-Identifier: GPL-2.0 */
33 #define SSB_MAX_NR_CORES ((SSB_ENUM_LIMIT - SSB_ENUM_BASE) / SSB_CORE_SIZE)
51 #define SSB_GPIO_IN 0xB0 /* GPIO Input (pcirev >= 3 only) */
52 #define SSB_GPIO_OUT 0xB4 /* GPIO Output (pcirev >= 3 only) */
53 #define SSB_GPIO_OUT_ENABLE 0xB8 /* GPIO Output Enable/Disable (pcirev >= 3 only) */
55 #define SSB_GPIO_HWRAD 0x20 /* PCI config space GPIO 13 for hw radio disable */
56 #define SSB_GPIO_XTAL 0x40 /* PCI config space GPIO 14 for Xtal powerup */
57 #define SSB_GPIO_PLL 0x80 /* PCI config space GPIO 15 for PLL powerdown */
108 #define SSB_TMSHIGH_SERR 0x00000001 /* S-error */
168 * in two-byte quantities.
202 #define SSB_SPROM1_BINF_ANTBG 0x3000 /* Available B-PHY and G-PHY antennas */
204 #define SSB_SPROM1_BINF_ANTA 0xC000 /* Available A-PHY antennas */
210 #define SSB_SPROM1_GPIOA_P0 0x00FF /* Pin 0 */
211 #define SSB_SPROM1_GPIOA_P1 0xFF00 /* Pin 1 */
214 #define SSB_SPROM1_GPIOB_P2 0x00FF /* Pin 2 */
215 #define SSB_SPROM1_GPIOB_P3 0xFF00 /* Pin 3 */
218 #define SSB_SPROM1_MAXPWR_BG 0x00FF /* B-PHY and G-PHY (in dBm Q5.2) */
219 #define SSB_SPROM1_MAXPWR_A 0xFF00 /* A-PHY (in dBm Q5.2) */
225 #define SSB_SPROM1_ITSSI_BG 0x00FF /* B-PHY and G-PHY*/
226 #define SSB_SPROM1_ITSSI_A 0xFF00 /* A-PHY */
230 #define SSB_SPROM1_AGAIN_BG 0x00FF /* B-PHY and G-PHY */
232 #define SSB_SPROM1_AGAIN_A 0xFF00 /* A-PHY */
238 #define SSB_SPROM2_MAXP_A 0x003A /* A-PHY Max Power */
242 #define SSB_SPROM2_PA1LOB0 0x003C /* A-PHY PowerAmplifier Low Settings */
243 #define SSB_SPROM2_PA1LOB1 0x003E /* A-PHY PowerAmplifier Low Settings */
244 #define SSB_SPROM2_PA1LOB2 0x0040 /* A-PHY PowerAmplifier Low Settings */
245 #define SSB_SPROM2_PA1HIB0 0x0042 /* A-PHY PowerAmplifier High Settings */
246 #define SSB_SPROM2_PA1HIB1 0x0044 /* A-PHY PowerAmplifier High Settings */
247 #define SSB_SPROM2_PA1HIB2 0x0046 /* A-PHY PowerAmplifier High Settings */
254 #define SSB_SPROM3_OFDMAPO 0x002C /* A-PHY OFDM Mid Power Offset (4 bytes, BigEndian) */
255 #define SSB_SPROM3_OFDMALPO 0x0030 /* A-PHY OFDM Low Power Offset (4 bytes, BigEndian) */
256 #define SSB_SPROM3_OFDMAHPO 0x0034 /* A-PHY OFDM High Power Offset (4 bytes, BigEndian) */
257 #define SSB_SPROM3_GPIOLDC 0x0042 /* GPIO LED Powersave Duty Cycle (4 bytes, BigEndian) */
271 #define SSB_SPROM3_OFDMGPO 0x107A /* G-PHY OFDM Power Offset (4 bytes, BigEndian) */
282 #define SSB_SPROM4_GPIOA_P0 0x00FF /* Pin 0 */
283 #define SSB_SPROM4_GPIOA_P1 0xFF00 /* Pin 1 */
286 #define SSB_SPROM4_GPIOB_P2 0x00FF /* Pin 2 */
287 #define SSB_SPROM4_GPIOB_P3 0xFF00 /* Pin 3 */
296 #define SSB_SPROM4_ANTAVAIL_BG 0x00FF /* B-PHY and G-PHY bitfield */
298 #define SSB_SPROM4_ANTAVAIL_A 0xFF00 /* A-PHY bitfield */
410 #define SSB_SPROM5_GPIOA_P0 0x00FF /* Pin 0 */
411 #define SSB_SPROM5_GPIOA_P1 0xFF00 /* Pin 1 */
414 #define SSB_SPROM5_GPIOB_P2 0x00FF /* Pin 2 */
415 #define SSB_SPROM5_GPIOB_P3 0xFF00 /* Pin 3 */
420 #define SSB_SPROM8_BFLLO 0x0084 /* Board flags (bits 0-15) */
421 #define SSB_SPROM8_BFLHI 0x0086 /* Board flags (bits 16-31) */
422 #define SSB_SPROM8_BFL2LO 0x0088 /* Board flags (bits 32-47) */
423 #define SSB_SPROM8_BFL2HI 0x008A /* Board flags (bits 48-63) */
427 #define SSB_SPROM8_GPIOA_P0 0x00FF /* Pin 0 */
428 #define SSB_SPROM8_GPIOA_P1 0xFF00 /* Pin 1 */
431 #define SSB_SPROM8_GPIOB_P2 0x00FF /* Pin 2 */
432 #define SSB_SPROM8_GPIOB_P3 0xFF00 /* Pin 3 */
440 #define SSB_SPROM8_ANTAVAIL_A 0xFF00 /* A-PHY bitfield */
442 #define SSB_SPROM8_ANTAVAIL_BG 0x00FF /* B-PHY and G-PHY bitfield */
611 #define SSB_BFL_PACTRL 0x0002 /* GPIO 9 controlling the PA */
612 #define SSB_BFL_AIRLINEMODE 0x0004 /* implements GPIO 13 radio disable indication */
638 #define SSB_BFL2_APLL_WAR 0x0002 /* alternative A-band PLL settings implemented */
644 #define SSB_BFL2_BTC3WIRE 0x0080 /* used 3-wire bluetooth coexist */
646 #define SSB_BFL2_SPUR_WAR 0x0200 /* has a workaround for clock-harmonic spurs */
647 #define SSB_BFL2_GPLL_WAR 0x0400 /* altenative G-band PLL settings implemented */
665 /* Address-Match values and masks (SSB_ADMATCHxxx) */