Lines Matching +full:0 +full:x12345678

18 #define WFX_DNLD_FIFO             0x09004000
19 #define DNLD_BLOCK_SIZE 0x0400
20 #define DNLD_FIFO_SIZE 0x8000 /* (32 * DNLD_BLOCK_SIZE) */
22 #define WFX_DCA_IMAGE_SIZE 0x0900C000
23 #define WFX_DCA_PUT 0x0900C004
24 #define WFX_DCA_GET 0x0900C008
25 #define WFX_DCA_HOST_STATUS 0x0900C00C
26 #define HOST_READY 0x87654321
27 #define HOST_INFO_READ 0xA753BD99
28 #define HOST_UPLOAD_PENDING 0xABCDDCBA
29 #define HOST_UPLOAD_COMPLETE 0xD4C64A99
30 #define HOST_OK_TO_JUMP 0x174FC882
31 #define WFX_DCA_NCP_STATUS 0x0900C010
32 #define NCP_NOT_READY 0x12345678
33 #define NCP_READY 0x87654321
34 #define NCP_INFO_READY 0xBD53EF99
35 #define NCP_DOWNLOAD_PENDING 0xABCDDCBA
36 #define NCP_DOWNLOAD_COMPLETE 0xCAFEFECA
37 #define NCP_AUTH_OK 0xD4C64A99
38 #define NCP_AUTH_FAIL 0x174FC882
39 #define NCP_PUB_KEY_RDY 0x7AB41D19
40 #define WFX_DCA_FW_SIGNATURE 0x0900C014
41 #define FW_SIGNATURE_SIZE 0x40
42 #define WFX_DCA_FW_HASH 0x0900C054
43 #define FW_HASH_SIZE 0x08
44 #define WFX_DCA_FW_VERSION 0x0900C05C
45 #define FW_VERSION_SIZE 0x04
46 #define WFX_DCA_RESERVED 0x0900C060
47 #define DCA_RESERVED_SIZE 0x20
48 #define WFX_STATUS_INFO 0x0900C080
49 #define WFX_BOOTLOADER_LABEL 0x0900C084
50 #define BOOTLOADER_LABEL_SIZE 0x3C
51 #define WFX_PTE_INFO 0x0900C0C0
52 #define PTE_INFO_KEYSET_IDX 0x0D
53 #define PTE_INFO_SIZE 0x10
54 #define WFX_ERR_INFO 0x0900C0D0
55 #define ERR_INVALID_SEC_TYPE 0x05
56 #define ERR_SIG_VERIF_FAILED 0x0F
57 #define ERR_AES_CTRL_KEY 0x10
58 #define ERR_ECC_PUB_KEY 0x11
59 #define ERR_MAC_KEY 0x18
122 if (memcmp(data, "KEYSET", 6) != 0) { in get_firmware()
124 *file_offset = 0; in get_firmware()
125 keyset_file = 0x90; in get_firmware()
129 if (keyset_file < 0) { in get_firmware()
137 dev_err(wdev->dev, "firmware keyset is incompatible with chip (file: 0x%02X, chip: 0x%02X)\n", in get_firmware()
144 return 0; in get_firmware()
156 if (ret < 0) in wait_ncp_status()
168 return 0; in wait_ncp_status()
174 u32 offs, bytes_done = 0; in upload_firmware()
181 offs = 0; in upload_firmware()
191 if (ret < 0) in upload_firmware()
199 if (ret < 0) in upload_firmware()
202 /* The device seems to not support writing 0 in this register during first loop */ in upload_firmware()
205 if (ret < 0) in upload_firmware()
208 return 0; in upload_firmware()
216 if (reg == 0x12345678) in print_boot_status()
245 buf[BOOTLOADER_LABEL_SIZE] = 0; in load_firmware_secure()
259 wfx_sram_reg_write(wdev, WFX_DNLD_FIFO, 0xFFFFFFFF); /* Fifo init */ in load_firmware_secure()
281 if (ret < 0) in load_firmware_secure()
283 if (ret < 0) in load_firmware_secure()
302 { 0x07, 0x208775 }, in init_gpr()
303 { 0x08, 0x2EC020 }, in init_gpr()
304 { 0x09, 0x3C3C3C }, in init_gpr()
305 { 0x0B, 0x322C44 }, in init_gpr()
306 { 0x0C, 0xA06497 }, in init_gpr()
309 for (i = 0; i < ARRAY_SIZE(gpr_init); i++) { in init_gpr()
311 if (ret < 0) in init_gpr()
315 return 0; in init_gpr()
330 if (ret < 0) { in wfx_init_device()
336 if (ret < 0) { in wfx_init_device()
340 if (reg == 0 || reg == ~0) { in wfx_init_device()
347 if (hw_revision == 0) { in wfx_init_device()
358 if (ret < 0) in wfx_init_device()
362 if (ret < 0) in wfx_init_device()
377 ret = wfx_config_reg_write_bits(wdev, CFG_CPU_RESET, 0); in wfx_init_device()
378 if (ret < 0) in wfx_init_device()
381 if (ret < 0) in wfx_init_device()