Lines Matching +full:0 +full:x70

17 #define CAD_QSPI_ADDR_FASTREAD			0
20 #define CAT_QSPI_ADDR_SINGLE_IO 0
27 #define CAD_QSPI_COMMAND_TIMEOUT 0x10000000
29 #define CAD_QSPI_CFG 0x0
30 #define CAD_QSPI_CFG_BAUDDIV_MSK 0xff87ffff
31 #define CAD_QSPI_CFG_BAUDDIV(x) FIELD_PREP(0x780000, x)
32 #define CAD_QSPI_CFG_CS_MSK ~0x3c00
34 #define CAD_QSPI_CFG_ENABLE (BIT(0))
35 #define CAD_QSPI_CFG_ENDMA_CLR_MSK 0xffff7fff
37 #define CAD_QSPI_CFG_SELCLKPHASE_CLR_MSK 0xfffffffb
38 #define CAD_QSPI_CFG_SELCLKPOL_CLR_MSK 0xfffffffd
40 #define CAD_QSPI_DELAY 0xc
41 #define CAD_QSPI_DELAY_CSSOT(x) (FIELD_GET(0xff, (x)) << 0)
42 #define CAD_QSPI_DELAY_CSEOT(x) (FIELD_GET(0xff, (x)) << 8)
43 #define CAD_QSPI_DELAY_CSDADS(x) (FIELD_GET(0xff, (x)) << 16)
44 #define CAD_QSPI_DELAY_CSDA(x) (FIELD_GET(0xff, (x)) << 24)
46 #define CAD_QSPI_DEVSZ 0x14
47 #define CAD_QSPI_DEVSZ_ADDR_BYTES(x) ((x) << 0)
51 #define CAD_QSPI_DEVWR 0x8
52 #define CAD_QSPI_DEVRD 0x4
53 #define CAD_QSPI_DEV_OPCODE(x) (FIELD_GET(0xff, (x)) << 0)
54 #define CAD_QSPI_DEV_INST_TYPE(x) (FIELD_GET(0x03, (x)) << 8)
55 #define CAD_QSPI_DEV_ADDR_TYPE(x) (FIELD_GET(0x03, (x)) << 12)
56 #define CAD_QSPI_DEV_DATA_TYPE(x) (FIELD_GET(0x03, (x)) << 16)
57 #define CAD_QSPI_DEV_MODE_BIT(x) (FIELD_GET(0x01, (x)) << 20)
58 #define CAD_QSPI_DEV_DUMMY_CLK_CYCLE(x) (FIELD_GET(0x0f, (x)) << 24)
60 #define CAD_QSPI_FLASHCMD 0x90
61 #define CAD_QSPI_FLASHCMD_ADDR 0x94
62 #define CAD_QSPI_FLASHCMD_EXECUTE 0x1
63 #define CAD_QSPI_FLASHCMD_EXECUTE_STAT 0x2
65 #define CAD_QSPI_FLASHCMD_NUM_DUMMYBYTES(x) (FIELD_PREP(0x000f80, (x)))
66 #define CAD_QSPI_FLASHCMD_OPCODE(x) (FIELD_GET(0xff, (x)) << 24)
68 #define CAD_QSPI_FLASHCMD_NUMRDDATABYTES(x) (FIELD_GET(0xf, (x)) << 20)
71 #define CAD_QSPI_FLASHCMD_NUMADDRBYTES(x) (FIELD_GET(0x3, (x)) << 16)
73 #define CAD_QSPI_FLASHCMD_NUMWRDATABYTES(x) (FIELD_GET(0x7, (x)) << 12)
74 #define CAD_QSPI_FLASHCMD_NUMDUMMYBYTES(x) (FIELD_GET(0x1f, (x)) << 7)
75 #define CAD_QSPI_FLASHCMD_RDDATA0 0xa0
76 #define CAD_QSPI_FLASHCMD_RDDATA1 0xa4
77 #define CAD_QSPI_FLASHCMD_WRDATA0 0xa8
78 #define CAD_QSPI_FLASHCMD_WRDATA1 0xac
80 #define CAD_QSPI_RDDATACAP 0x10
81 #define CAD_QSPI_RDDATACAP_BYP(x) (FIELD_GET(1, (x)) << 0)
82 #define CAD_QSPI_RDDATACAP_DELAY(x) (FIELD_GET(0xf, (x)) << 1)
84 #define CAD_QSPI_REMAPADDR 0x24
85 #define CAD_QSPI_REMAPADDR_VALUE_SET(x) (FIELD_GET(0xffffffff, (x)) << 0)
87 #define CAD_QSPI_SRAMPART 0x18
88 #define CAD_QSPI_SRAMFILL 0x2c
89 #define CAD_QSPI_SRAMPART_ADDR(x) (FIELD_GET(0x3ff, ((x) >> 0)))
91 #define CAD_QSPI_SRAMFILL_INDWRPART(x) (FIELD_GET(0x00ffff, ((x) >> 16)))
92 #define CAD_QSPI_SRAMFILL_INDRDPART(x) (FIELD_GET(0x00ffff, ((x) >> 0)))
101 #define CAD_QSPI_STIG_OPCODE_CLFSR 0x50
102 #define CAD_QSPI_STIG_OPCODE_RDID 0x9f
103 #define CAD_QSPI_STIG_OPCODE_WRDIS 0x4
104 #define CAD_QSPI_STIG_OPCODE_WREN 0x6
105 #define CAD_QSPI_STIG_OPCODE_SUBSEC_ERASE 0x20
106 #define CAD_QSPI_STIG_OPCODE_SEC_ERASE 0xd8
107 #define CAD_QSPI_STIG_OPCODE_WREN_EXT_REG 0xc5
108 #define CAD_QSPI_STIG_OPCODE_DIE_ERASE 0xc4
109 #define CAD_QSPI_STIG_OPCODE_BULK_ERASE 0xc7
110 #define CAD_QSPI_STIG_OPCODE_RDSR 0x5
111 #define CAD_QSPI_STIG_OPCODE_RDFLGSR 0x70
112 #define CAD_QSPI_STIG_OPCODE_RESET_EN 0x66
113 #define CAD_QSPI_STIG_OPCODE_RESET_MEM 0x99
114 #define CAD_QSPI_STIG_RDID_CAPACITYID(x) (FIELD_GET(0xff, ((x) >> 16)))
118 #define CAD_QSPI_INST_SINGLE 0
122 #define CAD_QSPI_INDRDSTADDR 0x68
123 #define CAD_QSPI_INDRDCNT 0x6c
124 #define CAD_QSPI_INDRD 0x60
127 #define CAD_QSPI_INDRD_IND_OPS_DONE 0x20
129 #define CAD_QSPI_INDWR 0x70
131 #define CAD_QSPI_INDWRSTADDR 0x78
132 #define CAD_QSPI_INDWRCNT 0x7c
133 #define CAD_QSPI_INDWR 0x70
134 #define CAD_QSPI_INDWR_START 0x1
135 #define CAD_QSPI_INDWR_INDDONE 0x20
137 #define CAD_QSPI_INT_STATUS_ALL 0x0000ffff
139 #define CAD_QSPI_N25Q_DIE_SIZE 0x02000000
140 #define CAD_QSPI_BANK_SIZE 0x01000000
141 #define CAD_QSPI_PAGE_SIZE 0x00000100
143 #define CAD_QSPI_IRQMSK 0x44
150 #define QSPI_FAST_READ 0xb
152 #define QSPI_WRITE 0x2
159 #define QSPI_CONFIG_CSSOT 0x14
160 #define QSPI_CONFIG_CSEOT 0x14
161 #define QSPI_CONFIG_CSDADS 0xff
162 #define QSPI_CONFIG_CSDA 0xc8