Searched refs:sr_num (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/flash/ |
D | nrf_qspi_nor.c | 460 static int qspi_rdsr(const struct device *dev, uint8_t sr_num) in qspi_rdsr() argument 464 if (sr_num > 2 || sr_num == 0) { in qspi_rdsr() 467 if (sr_num == 2) { in qspi_rdsr() 502 static int qspi_wrsr(const struct device *dev, uint8_t sr_val, uint8_t sr_num) in qspi_wrsr() argument 509 if (sr_num > 2 || sr_num == 0) { in qspi_wrsr() 513 if (sr_num == 1) { in qspi_wrsr() 652 uint8_t sr_num = 0; in configure_chip() local 656 sr_num = 1; in configure_chip() 659 sr_num = 2; in configure_chip() 666 rc = qspi_rdsr(dev, sr_num); in configure_chip() [all …]
|
D | flash_nxp_s32_qspi_nor.c | 501 uint8_t sr_num; in nxp_s32_qspi_set_quad_mode() local 512 sr_num = 1U; in nxp_s32_qspi_set_quad_mode() 516 sr_num = 2U; in nxp_s32_qspi_set_quad_mode() 526 sr_num = 2U; in nxp_s32_qspi_set_quad_mode() 533 ret = nxp_s32_qspi_read_status_register(dev, sr_num, &sr_val); in nxp_s32_qspi_set_quad_mode() 549 ret = nxp_s32_qspi_write_status_register(dev, sr_num, sr_val); in nxp_s32_qspi_set_quad_mode() 555 ret = nxp_s32_qspi_read_status_register(dev, sr_num, &sr_val); in nxp_s32_qspi_set_quad_mode()
|