Home
last modified time | relevance | path

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

/openbmc/linux/drivers/fpga/
H A Dmicrochip-spi.c45 bool program_mode; member
90 bool program_mode; in mpf_ops_state() local
93 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() local
272 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()
/openbmc/linux/drivers/staging/rts5208/
H A Dspi.c648 u8 ins, program_mode; in spi_write_flash() local
660 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()