Searched refs:jedec_id (Results 1 – 7 of 7) sorted by relevance
/Zephyr-Core-3.4.0/drivers/flash/ |
D | spi_nor.c | 81 uint8_t jedec_id[SPI_NOR_MAX_ID_LEN]; member 611 static int mxicy_configure(const struct device *dev, const uint8_t *jedec_id) in mxicy_configure() argument 625 if (jedec_id[0] != JEDEC_MACRONIX_ID || jedec_id[1] != JEDEC_MX25R_TYPE_ID) { in mxicy_configure() 626 LOG_WRN("L/H switch not supported for device id: %02x %02x %02x", jedec_id[0], in mxicy_configure() 627 jedec_id[1], jedec_id[2]); in mxicy_configure() 1138 uint8_t jedec_id[SPI_NOR_MAX_ID_LEN]; in spi_nor_configure() local 1161 rc = spi_nor_read_jedec_id(dev, jedec_id); in spi_nor_configure() 1173 if (memcmp(jedec_id, cfg->jedec_id, sizeof(jedec_id)) != 0) { in spi_nor_configure() 1175 jedec_id[0], jedec_id[1], jedec_id[2], in spi_nor_configure() 1176 cfg->jedec_id[0], cfg->jedec_id[1], cfg->jedec_id[2]); in spi_nor_configure() [all …]
|
D | spi_flash_at45.c | 85 uint8_t jedec_id[3]; member 111 uint8_t const *expected_id = cfg->jedec_id; in check_jedec_id() 112 uint8_t read_id[sizeof(cfg->jedec_id)]; in check_jedec_id() 714 .jedec_id = DT_INST_PROP(idx, jedec_id), \
|
D | flash_stm32_ospi.c | 166 uint8_t jedec_id[JESD216_READ_ID_LEN]; member 352 #if DT_NODE_HAS_PROP(DT_INST(0, st_stm32_ospi_nor), jedec_id) in stm32_ospi_read_jedec_id() 354 if (DT_INST_PROP_LEN(0, jedec_id) != JESD216_READ_ID_LEN) { in stm32_ospi_read_jedec_id() 355 LOG_ERR("Read ID length is wrong (%d)", DT_INST_PROP_LEN(0, jedec_id)); in stm32_ospi_read_jedec_id() 379 hal_ret = HAL_OSPI_Receive(&dev_data->hospi, dev_data->jedec_id, in stm32_ospi_read_jedec_id() 387 dev_data->jedec_id[0], dev_data->jedec_id[1], dev_data->jedec_id[2]); in stm32_ospi_read_jedec_id() 403 memcpy(id, dev_data->jedec_id, JESD216_READ_ID_LEN); in ospi_read_jedec_id() 2317 #if DT_NODE_HAS_PROP(DT_INST(0, st_stm32_ospi_nor), jedec_id) 2318 .jedec_id = DT_INST_PROP(0, jedec_id),
|
D | nrf_qspi_nor.c | 1489 .id = DT_INST_PROP(0, jedec_id),
|
/Zephyr-Core-3.4.0/samples/boards/mec172xevb_assy6906/qmspi_ldma/src/ |
D | main.c | 83 static uint32_t jedec_id; variable 457 jedec_id = 0; in main() 458 err = spi_flash_read_fd_sync(spi_dev, &spi_cfg, NULL, (uint8_t *)&jedec_id, 3u, in main() 465 printf("JEDEC ID = 0x%08x\n", jedec_id); in main() 466 if (jedec_id == W25Q128_JEDEC_ID) { in main() 468 } else if (jedec_id == W25Q128JV_JEDEC_ID) { in main() 470 } else if (jedec_id == SST26VF016B_JEDEC_ID) { in main()
|
/Zephyr-Core-3.4.0/tests/boards/mec15xxevb_assy6853/qspi/src/ |
D | main.c | 68 uint32_t jedec_id; in ZTEST_USER() local 80 jedec_id = 0U; in ZTEST_USER() 81 rxb.buf = &jedec_id; in ZTEST_USER() 93 zassert_true(jedec_id == W25Q128_JEDEC_ID, "JEDEC ID doesn't match"); in ZTEST_USER()
|
/Zephyr-Core-3.4.0/samples/drivers/espi/src/ |
D | main.c | 225 uint32_t jedec_id; in spi_saf_init() local 240 jedec_id = 0U; in spi_saf_init() 253 rxb.buf = &jedec_id; in spi_saf_init() 267 if (jedec_id != W25Q128_JEDEC_ID) { in spi_saf_init()
|