Searched refs:program_mode (Results 1 – 2 of 2) sorted by relevance
45 bool program_mode; member90 bool program_mode; in mpf_ops_state() local93 program_mode = priv->program_mode; in mpf_ops_state()96 if (!program_mode && !status) in mpf_ops_state()252 const u8 program_mode[] = { MPF_SPI_FRAME_INIT, MPF_SPI_PRG_MODE }; in mpf_ops_write_init() local272 ret = mpf_spi_write(priv, program_mode, sizeof(program_mode)); in mpf_ops_write_init()278 priv->program_mode = true; in mpf_ops_write_init()352 priv->program_mode = false; in mpf_ops_write_complete()
648 u8 ins, program_mode; in spi_write_flash() local660 program_mode = srb->cmnd[9]; in spi_write_flash()668 if (program_mode == BYTE_PROGRAM) { in spi_write_flash()711 } else if (program_mode == AAI_PROGRAM) { in spi_write_flash()765 } else if (program_mode == PAGE_PROGRAM) { in spi_write_flash()