/Zephyr-latest/drivers/flash/ |
D | jesd216.c | 27 const struct jesd216_bfp *bfp, in jesd216_bfp_read_support() argument 36 && (sys_le32_to_cpu(bfp->dw10[5]) & BIT(9))) { in jesd216_bfp_read_support() 42 && (sys_le32_to_cpu(bfp->dw10[9]) & BIT(9))) { in jesd216_bfp_read_support() 50 if (sys_le32_to_cpu(bfp->dw1) & BIT(16)) { in jesd216_bfp_read_support() 51 uint32_t dw4 = sys_le32_to_cpu(bfp->dw4); in jesd216_bfp_read_support() 57 if (sys_le32_to_cpu(bfp->dw1) & BIT(22)) { in jesd216_bfp_read_support() 58 uint32_t dw3 = sys_le32_to_cpu(bfp->dw3); in jesd216_bfp_read_support() 65 uint32_t dw17 = sys_le32_to_cpu(bfp->dw10[7]); in jesd216_bfp_read_support() 73 if (sys_le32_to_cpu(bfp->dw1) & BIT(20)) { in jesd216_bfp_read_support() 74 uint32_t dw4 = sys_le32_to_cpu(bfp->dw4); in jesd216_bfp_read_support() [all …]
|
D | jesd216.h | 285 const struct jesd216_bfp *bfp, 317 int jesd216_bfp_erase(const struct jesd216_bfp *bfp, 339 const struct jesd216_bfp *bfp, 353 const struct jesd216_bfp *bfp) in jesd216_bfp_page_size() argument 360 uint32_t dw11 = sys_le32_to_cpu(bfp->dw10[1]); in jesd216_bfp_page_size() 401 const struct jesd216_bfp *bfp, 433 const struct jesd216_bfp *bfp, 493 const struct jesd216_bfp *bfp, 531 const struct jesd216_bfp *bfp,
|
D | flash_andes_qspi.c | 58 const struct jesd216_bfp *bfp; member 507 const struct jesd216_bfp *bfp) in spi_nor_process_bfp() argument 511 const size_t flash_size = jesd216_bfp_density(bfp) / 8U; in spi_nor_process_bfp() 520 if (jesd216_bfp_erase(bfp, ti, etp) == 0) { in spi_nor_process_bfp() 527 dev_data->page_size = jesd216_bfp_page_size(php, bfp); in spi_nor_process_bfp() 584 struct jesd216_bfp bfp; in spi_nor_process_sfdp() member 586 const struct jesd216_bfp *bfp = &u_param.bfp; in spi_nor_process_sfdp() local 595 ret = spi_nor_process_bfp(dev, php, bfp); in spi_nor_process_sfdp() 612 ret = spi_nor_process_bfp(dev, &bfp_hdr, config->bfp); in spi_nor_process_sfdp() 925 .bfp = (const struct jesd216_bfp *)bfp_data_##n, \
|
D | spi_nor.c | 107 const struct jesd216_bfp *bfp; member 1170 const struct jesd216_bfp *bfp) in spi_nor_process_bfp() argument 1174 const size_t flash_size = jesd216_bfp_density(bfp) / 8U; in spi_nor_process_bfp() 1186 if (jesd216_bfp_erase(bfp, ti, etp) == 0) { in spi_nor_process_bfp() 1192 data->page_size = jesd216_bfp_page_size(php, bfp); in spi_nor_process_bfp() 1205 if (jesd216_bfp_addrbytes(bfp) != JESD216_SFDP_BFP_DW1_ADDRBYTES_VAL_3B) { in spi_nor_process_bfp() 1214 if (jesd216_bfp_decode_dw16(php, bfp, &dw16) == 0) { in spi_nor_process_bfp() 1272 struct jesd216_bfp bfp; in spi_nor_process_sfdp() member 1274 const struct jesd216_bfp *bfp = &u_param.bfp; in spi_nor_process_sfdp() local 1279 rc = spi_nor_process_bfp(dev, php, bfp); in spi_nor_process_sfdp() [all …]
|
D | flash_stm32_qspi.c | 1156 const struct jesd216_bfp *bfp) in spi_nor_process_bfp() argument 1162 const size_t flash_size = (jesd216_bfp_density(bfp) / 8U) << STM32_QSPI_DOUBLE_FLASH; in spi_nor_process_bfp() 1176 if (jesd216_bfp_erase(bfp, ti, etp) == 0) { in spi_nor_process_bfp() 1183 data->page_size = jesd216_bfp_page_size(php, bfp); in spi_nor_process_bfp() 1188 addr_mode = jesd216_bfp_addrbytes(bfp); in spi_nor_process_bfp() 1192 if (jesd216_bfp_decode_dw16(php, bfp, &dw16) == 0) { in spi_nor_process_bfp() 1232 rc = jesd216_bfp_read_support(php, bfp, supported_modes[i], &res); in spi_nor_process_bfp() 1256 rc = jesd216_bfp_decode_dw15(php, bfp, &dw15); in spi_nor_process_bfp() 1505 struct jesd216_bfp bfp; in flash_stm32_qspi_init() member 1507 const struct jesd216_bfp *bfp = &u2.bfp; in flash_stm32_qspi_init() local [all …]
|
D | flash_mcux_flexspi_nor.c | 747 struct jesd216_bfp *bfp, in flash_flexspi_nor_config_flash() argument 759 ret = jesd216_bfp_decode_dw14(&header->phdr[0], bfp, &dw14); in flash_flexspi_nor_config_flash() 778 addr_width = jesd216_bfp_addrbytes(bfp) == in flash_flexspi_nor_config_flash() 782 ret = jesd216_bfp_decode_dw16(&header->phdr[0], bfp, &dw16); in flash_flexspi_nor_config_flash() 804 if (jesd216_bfp_read_support(&header->phdr[0], bfp, in flash_flexspi_nor_config_flash() 829 ret = jesd216_bfp_decode_dw15(&header->phdr[0], bfp, &dw15); in flash_flexspi_nor_config_flash() 846 } else if (jesd216_bfp_read_support(&header->phdr[0], bfp, in flash_flexspi_nor_config_flash() 1144 struct jesd216_bfp *bfp = (struct jesd216_bfp *)param_buf; in flash_flexspi_nor_probe() local 1223 ret = flash_flexspi_nor_config_flash(data, header, bfp, in flash_flexspi_nor_probe()
|
D | Kconfig.andes | 30 sfdp-bfp property in devicetree. The size and jedec-id properties are
|
D | flash_stm32_xspi.c | 1809 const struct jesd216_bfp *bfp) in spi_nor_process_bfp() argument 1820 const size_t flash_size = jesd216_bfp_density(bfp) / 8U; in spi_nor_process_bfp() 1835 if (jesd216_bfp_erase(bfp, idx, etp) == 0) { in spi_nor_process_bfp() 1842 spi_nor_process_bfp_addrbytes(dev, jesd216_bfp_addrbytes(bfp)); in spi_nor_process_bfp() 1878 if (jesd216_bfp_read_support(php, bfp, supported_read_modes[idx], in spi_nor_process_bfp() 1905 if (jesd216_bfp_decode_dw15(php, bfp, &dw15) < 0) { in spi_nor_process_bfp() 1924 data->page_size = jesd216_bfp_page_size(php, bfp); in spi_nor_process_bfp() 2274 struct jesd216_bfp bfp; in flash_stm32_xspi_init() member 2276 const struct jesd216_bfp *bfp = &u2.bfp; in flash_stm32_xspi_init() local 2282 ret = spi_nor_process_bfp(dev, php, bfp); in flash_stm32_xspi_init()
|
D | flash_stm32_ospi.c | 1972 const struct jesd216_bfp *bfp) in spi_nor_process_bfp() argument 1983 const size_t flash_size = jesd216_bfp_density(bfp) / 8U; in spi_nor_process_bfp() 1998 if (jesd216_bfp_erase(bfp, idx, etp) == 0) { in spi_nor_process_bfp() 2005 spi_nor_process_bfp_addrbytes(dev, jesd216_bfp_addrbytes(bfp)); in spi_nor_process_bfp() 2041 if (jesd216_bfp_read_support(php, bfp, supported_read_modes[idx], in spi_nor_process_bfp() 2068 if (jesd216_bfp_decode_dw15(php, bfp, &dw15) < 0) { in spi_nor_process_bfp() 2087 data->page_size = jesd216_bfp_page_size(php, bfp); in spi_nor_process_bfp() 2455 struct jesd216_bfp bfp; in flash_stm32_ospi_init() member 2457 const struct jesd216_bfp *bfp = &u2.bfp; in flash_stm32_ospi_init() local 2463 ret = spi_nor_process_bfp(dev, php, bfp); in flash_stm32_ospi_init()
|
/Zephyr-latest/samples/drivers/jesd216/src/ |
D | main.c | 35 const struct jesd216_bfp *bfp); 52 const struct jesd216_bfp *bfp) in summarize_dw1() argument 54 uint32_t dw1 = sys_le32_to_cpu(bfp->dw1); in summarize_dw1() 84 int rc = jesd216_bfp_read_support(php, bfp, in summarize_dw1() 99 const struct jesd216_bfp *bfp) in summarize_dw2() argument 101 printf("Flash density: %u bytes\n", (uint32_t)(jesd216_bfp_density(bfp) / 8)); in summarize_dw2() 105 const struct jesd216_bfp *bfp) in summarize_dw89() argument 112 if (jesd216_bfp_erase(bfp, idx, &etype) == 0) { in summarize_dw89() 113 typ_max_mul = jesd216_bfp_erase_type_times(php, bfp, in summarize_dw89() 128 const struct jesd216_bfp *bfp) in summarize_dw11() argument [all …]
|
/Zephyr-latest/boards/nordic/nrf9161dk/ |
D | nrf9161dk_nrf9161_common_0_7_0.dtsi | 17 sfdp-bfp = [
|
/Zephyr-latest/tests/drivers/flash/common/boards/ |
D | nrf52840dk_mx25r_high_perf.overlay | 17 sfdp-bfp = [
|
D | nrf52840dk_spi_nor.overlay | 48 sfdp-bfp = [
|
D | nrf52840dk_mx25l51245g.overlay | 51 sfdp-bfp = [
|
D | nrf52840dk_spi_nor_wp_hold.overlay | 50 sfdp-bfp = [
|
/Zephyr-latest/boards/nordic/nrf9160dk/ |
D | nrf9160dk_nrf9160_common_0_14_0.dtsi | 48 sfdp-bfp = [
|
/Zephyr-latest/samples/subsys/fs/littlefs/boards/ |
D | nrf52840dk_nrf52840_spi.overlay | 32 sfdp-bfp = [
|
/Zephyr-latest/boards/nordic/nrf54l15dk/ |
D | nrf54l_05_10_15_cpuapp_common.dtsi | 107 sfdp-bfp = [
|
/Zephyr-latest/boards/seeed/xiao_ble/ |
D | xiao_ble_common.dtsi | 125 sfdp-bfp = [
|
/Zephyr-latest/boards/silabs/dev_kits/sltb010a/ |
D | thunderboard.dtsi | 88 sfdp-bfp = [
|
/Zephyr-latest/boards/silabs/dev_kits/xg27_dk2602a/ |
D | thunderboard.dtsi | 88 sfdp-bfp = [
|
/Zephyr-latest/samples/drivers/jesd216/ |
D | README.rst | 55 sfdp-bfp = [
|
/Zephyr-latest/boards/makerdiary/nrf52840_mdk/ |
D | nrf52840_mdk.dts | 154 sfdp-bfp = [
|
/Zephyr-latest/boards/nordic/nrf5340dk/ |
D | nrf5340_cpuapp_common.dtsi | 126 sfdp-bfp = [
|
/Zephyr-latest/boards/nordic/nrf9131ek/ |
D | nrf9131ek_nrf9131_common.dtsi | 163 sfdp-bfp = [
|