Home
last modified time | relevance | path

Searched refs:sr_val (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/flash/
Dflash_nxp_s32_qspi_nor.c502 uint8_t sr_val; in nxp_s32_qspi_set_quad_mode() local
533 ret = nxp_s32_qspi_read_status_register(dev, sr_num, &sr_val); in nxp_s32_qspi_set_quad_mode()
538 qe_state = ((sr_val & qe_mask) != 0U); in nxp_s32_qspi_set_quad_mode()
542 sr_val ^= qe_mask; 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()
560 qe_state = ((sr_val & qe_mask) != 0U); in nxp_s32_qspi_set_quad_mode()
Dnrf_qspi_nor.c502 static int qspi_wrsr(const struct device *dev, uint8_t sr_val, uint8_t sr_num) in qspi_wrsr() argument
514 sr_array[0] = sr_val; in qspi_wrsr()
531 sr_array[1] = sr_val; in qspi_wrsr()
541 sr_array[0] = sr_val; in qspi_wrsr()