Searched refs:sr_val (Results 1 – 2 of 2) sorted by relevance
502 uint8_t sr_val; in nxp_s32_qspi_set_quad_mode() local533 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()
502 static int qspi_wrsr(const struct device *dev, uint8_t sr_val, uint8_t sr_num) in qspi_wrsr() argument514 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()