Lines Matching +full:quad +full:- +full:enable +full:- +full:requirements

4  * SPDX-License-Identifier: Apache-2.0
23 * https://www.jedec.org/standards-documents/docs/jesd216b
35 uint8_t len_dw; /* Length of table in 32-bit DWORDs */
43 return sizeof(uint32_t) * hp->len_dw; in jesd216_param_len()
49 return ((uint16_t)hp->id_msb << 8) | hp->id_lsb; in jesd216_param_id()
57 return ((hp->ptp[2] << 16) in jesd216_param_addr()
58 | (hp->ptp[1] << 8) in jesd216_param_addr()
59 | (hp->ptp[0] << 0)); in jesd216_param_addr()
80 /* All JESD216 data is read from the device in little-endian byte
81 * order. For JEDEC parameter tables defined through JESD216D-01 the
82 * parameters are defined by 32-bit words that may need to be
83 * byte-swapped to extract their information.
85 * A 16-bit ID from the parameter header is used to identify the
90 /* JESD216D-01 section 6.4: Basic Flash Parameter */
92 /* JESD216D-01 section 6.5: Sector Map Parameter */
94 /* JESD216D-01 section 6.6: 4-Byte Address Instruction Parameter */
96 /* JESD216D-01 section 6.7: xSPI (Profile 1.0) Parameter */
98 /* JESD216D-01 section 6.8: xSPI (Profile 2.0) Parameter */
119 return sys_le32_to_cpu(hp->magic); in jesd216_sfdp_magic()
127 * All values are expected to be stored as little-endian and must be
129 * the standard. Rather than pre-define layouts to access to all
133 * Must be aligned to a DWORD (32-bit) address according to JESD216F.
148 /* Provide a few word-specific flags and bitfield ranges for values
177 * * DW3-DW7 (instr) use jesd216_bfp_read_support().
178 * * DW8-DW9 (erase types) use jesd216_bfp_erase().
184 * * DW12-13 (suspend/resume) no API except
187 * * DW15-16 no API except jesd216_bfp_read_support().
190 * * DW17-20 (quad/oct support) no API except jesd216_bfp_read_support().
196 uint32_t dw1 = sys_le32_to_cpu(hp->dw1); in jesd216_bfp_addrbytes()
206 uint32_t dw = sys_le32_to_cpu(hp->dw2); in jesd216_bfp_density()
264 * indication of support for 1-1-1 Fast Read (0Bh).
282 * @retval -ENOTSUP if instruction is not supported.
315 * @retval -EINVAL if the erase type index is undefined.
334 * @retval -ENOTSUP if the erase type index is undefined.
356 if (php->len_dw < 11) { in jesd216_bfp_page_size()
360 uint32_t dw11 = sys_le32_to_cpu(bfp->dw10[1]); in jesd216_bfp_page_size()
397 * @retval -ENOTSUP if this information is not available from this BFP table.
406 /* Instruction used to enter deep power-down */
409 /* Instruction used to exit deep power-down */
429 * @retval -ENOTSUP if this information is not available from this BFP table.
436 /* DW15 Quad Enable Requirements specifies status register QE bits.
442 /* No QE status required for 1-1-4 or 1-4-4 mode */
445 /* Bit 6 of SR byte must be set to enable 1-1-4 or 1-4-4 mode.
469 /* 0-4-4 mode entry method */
471 /* 0-4-4 mode exit method */
473 /* True if 0-4-4 mode is supported */
475 /* 4-4-4 mode enable sequences */
477 /* 4-4-4 mode disable sequences */
489 * @retval -ENOTSUP if this information is not available from this BFP table.
498 /* Bits specifying supported modes of entering 4-byte
503 /* Bits specifying supported modes of exiting 4-byte
509 * restore the device to its power-on state.
514 * bits are non-volatile.
527 * @retval -ENOTSUP if this information is not available from this BFP table.
534 /* JESD216D-01 section 6.6: 4-Byte Address Instruction Parameter */