Commit 4322502f authored by Johan Hovold's avatar Johan Hovold Committed by Luiz Augusto von Dentz

Bluetooth: qca: clean up defines

Clean up the QCA driver defines by dropping redundant parentheses around
values and making sure they are aligned (using tabs only).
Signed-off-by: default avatarJohan Hovold <johan+linaro@kernel.org>
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
parent 83d8e815
...@@ -5,33 +5,33 @@ ...@@ -5,33 +5,33 @@
* Copyright (c) 2015 The Linux Foundation. All rights reserved. * Copyright (c) 2015 The Linux Foundation. All rights reserved.
*/ */
#define EDL_PATCH_CMD_OPCODE (0xFC00) #define EDL_PATCH_CMD_OPCODE 0xFC00
#define EDL_NVM_ACCESS_OPCODE (0xFC0B) #define EDL_NVM_ACCESS_OPCODE 0xFC0B
#define EDL_WRITE_BD_ADDR_OPCODE (0xFC14) #define EDL_WRITE_BD_ADDR_OPCODE 0xFC14
#define EDL_PATCH_CMD_LEN (1) #define EDL_PATCH_CMD_LEN 1
#define EDL_PATCH_VER_REQ_CMD (0x19) #define EDL_PATCH_VER_REQ_CMD 0x19
#define EDL_PATCH_TLV_REQ_CMD (0x1E) #define EDL_PATCH_TLV_REQ_CMD 0x1E
#define EDL_GET_BUILD_INFO_CMD (0x20) #define EDL_GET_BUILD_INFO_CMD 0x20
#define EDL_GET_BID_REQ_CMD (0x23) #define EDL_GET_BID_REQ_CMD 0x23
#define EDL_NVM_ACCESS_SET_REQ_CMD (0x01) #define EDL_NVM_ACCESS_SET_REQ_CMD 0x01
#define EDL_PATCH_CONFIG_CMD (0x28) #define EDL_PATCH_CONFIG_CMD 0x28
#define MAX_SIZE_PER_TLV_SEGMENT (243) #define MAX_SIZE_PER_TLV_SEGMENT 243
#define QCA_PRE_SHUTDOWN_CMD (0xFC08) #define QCA_PRE_SHUTDOWN_CMD 0xFC08
#define QCA_DISABLE_LOGGING (0xFC17) #define QCA_DISABLE_LOGGING 0xFC17
#define EDL_CMD_REQ_RES_EVT (0x00) #define EDL_CMD_REQ_RES_EVT 0x00
#define EDL_PATCH_VER_RES_EVT (0x19) #define EDL_PATCH_VER_RES_EVT 0x19
#define EDL_APP_VER_RES_EVT (0x02) #define EDL_APP_VER_RES_EVT 0x02
#define EDL_TVL_DNLD_RES_EVT (0x04) #define EDL_TVL_DNLD_RES_EVT 0x04
#define EDL_CMD_EXE_STATUS_EVT (0x00) #define EDL_CMD_EXE_STATUS_EVT 0x00
#define EDL_SET_BAUDRATE_RSP_EVT (0x92) #define EDL_SET_BAUDRATE_RSP_EVT 0x92
#define EDL_NVM_ACCESS_CODE_EVT (0x0B) #define EDL_NVM_ACCESS_CODE_EVT 0x0B
#define EDL_PATCH_CONFIG_RES_EVT (0x00) #define EDL_PATCH_CONFIG_RES_EVT 0x00
#define QCA_DISABLE_LOGGING_SUB_OP (0x14) #define QCA_DISABLE_LOGGING_SUB_OP 0x14
#define EDL_TAG_ID_BD_ADDR 2 #define EDL_TAG_ID_BD_ADDR 2
#define EDL_TAG_ID_HCI (17) #define EDL_TAG_ID_HCI 17
#define EDL_TAG_ID_DEEP_SLEEP (27) #define EDL_TAG_ID_DEEP_SLEEP 27
#define QCA_WCN3990_POWERON_PULSE 0xFC #define QCA_WCN3990_POWERON_PULSE 0xFC
#define QCA_WCN3990_POWEROFF_PULSE 0xC0 #define QCA_WCN3990_POWEROFF_PULSE 0xC0
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
#define QCA_HCI_CC_OPCODE 0xFC00 #define QCA_HCI_CC_OPCODE 0xFC00
#define QCA_HCI_CC_SUCCESS 0x00 #define QCA_HCI_CC_SUCCESS 0x00
#define QCA_WCN3991_SOC_ID (0x40014320) #define QCA_WCN3991_SOC_ID 0x40014320
/* QCA chipset version can be decided by patch and SoC /* QCA chipset version can be decided by patch and SoC
* version, combination with upper 2 bytes from SoC * version, combination with upper 2 bytes from SoC
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment