Searched refs:spi_nor_reg (Results 1 – 1 of 1) sorted by relevance
/arm-trusted-firmware-2.8.0/drivers/mtd/nor/ |
A D | spi_nor.c | 38 static int spi_nor_reg(uint8_t reg, uint8_t *buf, size_t len, in spi_nor_reg() function 56 return spi_nor_reg(SPI_NOR_OP_READ_ID, id, 1U, SPI_MEM_DATA_IN); in spi_nor_read_id() 61 return spi_nor_reg(SPI_NOR_OP_READ_CR, cr, 1U, SPI_MEM_DATA_IN); in spi_nor_read_cr() 66 return spi_nor_reg(SPI_NOR_OP_READ_SR, sr, 1U, SPI_MEM_DATA_IN); in spi_nor_read_sr() 71 return spi_nor_reg(SPI_NOR_OP_READ_FSR, fsr, 1U, SPI_MEM_DATA_IN); in spi_nor_read_fsr() 76 return spi_nor_reg(SPI_NOR_OP_WREN, NULL, 0U, SPI_MEM_DATA_OUT); in spi_nor_write_en() 144 ret = spi_nor_reg(SPI_NOR_OP_WRSR, &sr, 1U, SPI_MEM_DATA_OUT); in spi_nor_macronix_quad_enable() 171 ret = spi_nor_reg(SPI_NOR_OP_WRSR, sr_cr, 2U, SPI_MEM_DATA_OUT); in spi_nor_write_sr_cr() 232 return spi_nor_reg(nor_dev.bank_write_cmd, &nor_dev.selected_bank, in spi_nor_clean_bar() 250 ret = spi_nor_reg(nor_dev.bank_write_cmd, &selected_bank, in spi_nor_write_bar() [all …]
|
Completed in 4 milliseconds