GNU Linux-libre 6.8.7-gnu
[releases.git] / drivers / net / wireless / st / cw1200 / fwio.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Firmware API for mac80211 ST-Ericsson CW1200 drivers
4  *
5  * Copyright (c) 2010, ST-Ericsson
6  * Author: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>
7  *
8  * Based on:
9  * ST-Ericsson UMAC CW1200 driver which is
10  * Copyright (c) 2010, ST-Ericsson
11  * Author: Ajitpal Singh <ajitpal.singh@stericsson.com>
12  */
13
14 #ifndef FWIO_H_INCLUDED
15 #define FWIO_H_INCLUDED
16
17 #define BOOTLOADER_CW1X60       "/*(DEBLOBBED)*/"
18 #define FIRMWARE_CW1X60         "/*(DEBLOBBED)*/"
19 #define FIRMWARE_CUT22          "/*(DEBLOBBED)*/"
20 #define FIRMWARE_CUT20          "/*(DEBLOBBED)*/"
21 #define FIRMWARE_CUT11          "/*(DEBLOBBED)*/"
22 #define FIRMWARE_CUT10          "/*(DEBLOBBED)*/"
23 #define SDD_FILE_CW1X60         "/*(DEBLOBBED)*/"
24 #define SDD_FILE_22             "/*(DEBLOBBED)*/"
25 #define SDD_FILE_20             "/*(DEBLOBBED)*/"
26 #define SDD_FILE_11             "/*(DEBLOBBED)*/"
27 #define SDD_FILE_10             "/*(DEBLOBBED)*/"
28
29 int cw1200_load_firmware(struct cw1200_common *priv);
30
31 /* SDD definitions */
32 #define SDD_PTA_CFG_ELT_ID 0xEB
33 #define SDD_REFERENCE_FREQUENCY_ELT_ID 0xc5
34 u32 cw1200_dpll_from_clk(u16 clk);
35
36 #endif