Home
last modified time | relevance | path

Searched refs:dw11 (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.5.0/samples/drivers/jesd216/src/
Dmain.c126 struct jesd216_bfp_dw11 dw11; in summarize_dw11() local
128 if (jesd216_bfp_decode_dw11(php, bfp, &dw11) != 0) { in summarize_dw11()
133 dw11.chip_erase_ms, dw11.typ_max_factor * dw11.chip_erase_ms); in summarize_dw11()
136 dw11.byte_prog_first_us, dw11.byte_prog_addl_us, in summarize_dw11()
137 dw11.typ_max_factor * dw11.byte_prog_first_us, in summarize_dw11()
138 dw11.typ_max_factor * dw11.byte_prog_addl_us); in summarize_dw11()
141 dw11.page_prog_us, in summarize_dw11()
142 dw11.typ_max_factor * dw11.page_prog_us); in summarize_dw11()
144 printf("Page size: %u By\n", dw11.page_size); in summarize_dw11()
/Zephyr-Core-3.5.0/drivers/flash/
Djesd216.c203 uint32_t dw11 = sys_le32_to_cpu(bfp->dw10[1]); in jesd216_bfp_decode_dw11() local
204 uint32_t value = 1 + ((dw11 >> 24) & 0x1F); in jesd216_bfp_decode_dw11()
206 switch ((dw11 >> 29) & 0x03) { in jesd216_bfp_decode_dw11()
222 value = 1 + ((dw11 >> 19) & 0x0F); in jesd216_bfp_decode_dw11()
223 if (dw11 & BIT(23)) { in jesd216_bfp_decode_dw11()
228 value = 1 + ((dw11 >> 14) & 0x0F); in jesd216_bfp_decode_dw11()
229 if (dw11 & BIT(18)) { in jesd216_bfp_decode_dw11()
234 value = 1 + ((dw11 >> 8) & 0x01F); in jesd216_bfp_decode_dw11()
235 if (dw11 & BIT(13)) { in jesd216_bfp_decode_dw11()
242 res->page_size = BIT((dw11 >> 4) & 0x0F); in jesd216_bfp_decode_dw11()
[all …]
Djesd216.h358 uint32_t dw11 = sys_le32_to_cpu(bfp->dw10[1]); in jesd216_bfp_page_size() local
359 uint8_t exp = (dw11 >> 4) & 0x0F; in jesd216_bfp_page_size()