Home
last modified time | relevance | path

Searched refs:erase_opcode (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/mtd/spi-nor/
H A Dotp.c139 u8 erase_opcode = nor->erase_opcode; in spi_nor_otp_erase_secr() local
146 nor->erase_opcode = SPINOR_OP_ESECR; in spi_nor_otp_erase_secr()
148 nor->erase_opcode = erase_opcode; in spi_nor_otp_erase_secr()
H A Dxilinx.c126 nor->erase_opcode = XILINX_OP_SE; in xilinx_nor_setup()
H A Ddebugfs.c101 seq_printf(s, " erase\t\t0x%02x\n", nor->erase_opcode); in spi_nor_params_show()
H A Dcore.c1160 nor->erase_opcode = spi_nor_convert_3to4_erase(nor->erase_opcode); in spi_nor_set_4byte_opcodes()
1477 SPI_NOR_SECTOR_ERASE_OP(nor->erase_opcode, in spi_nor_erase_sector()
1496 return spi_nor_controller_ops_write_reg(nor, nor->erase_opcode, in spi_nor_erase_sector()
1757 nor->erase_opcode = cmd->opcode; in spi_nor_erase_multi_sectors()
2606 nor->erase_opcode = erase->opcode; in spi_nor_select_erase()
H A Dspansion.c959 nor->erase_opcode = SPINOR_OP_SE; in spansion_nor_late_init()
/openbmc/u-boot/drivers/mtd/spi/
H A Dspi-nor-core.c380 nor->erase_opcode = SPINOR_OP_SE; in spi_nor_set_4byte_opcodes()
390 nor->erase_opcode = spi_nor_convert_3to4_erase(nor->erase_opcode); in spi_nor_set_4byte_opcodes()
624 ret = nor->write_reg(nor, nor->erase_opcode, buf, nor->addr_width); in spi_nor_erase_sector()
701 SPI_MEM_OP(SPI_MEM_OP_CMD(nor->erase_opcode, 0), in spansion_erase_non_uniform()
717 op.cmd.opcode = nor->erase_opcode; in spansion_erase_non_uniform()
722 op.cmd.opcode = nor->erase_opcode; in spansion_erase_non_uniform()
727 op.cmd.opcode = nor->erase_opcode; in spansion_erase_non_uniform()
2244 nor->erase_opcode = opcode; in spi_nor_parse_bfpt()
2250 nor->erase_opcode = opcode; in spi_nor_parse_bfpt()
2512 nor->erase_opcode = SPINOR_OP_SE_4B; in spi_nor_init_params()
[all …]
/openbmc/linux/include/linux/mtd/
H A Dspi-nor.h400 u8 erase_opcode; member
/openbmc/u-boot/include/linux/mtd/
H A Dspi-nor.h314 u8 erase_opcode; member
/openbmc/linux/drivers/mtd/spi-nor/controllers/
H A Dnxp-spifi.c231 SPIFI_CMD_OPCODE(nor->erase_opcode) | in nxp_spifi_erase()
/openbmc/u-boot/drivers/spi/
H A Daspeed_spi.c1497 nor->name, nor->read_opcode, nor->erase_opcode, nor->program_opcode); in aspeed_spi_mem_wlock()
1501 aspeed_spi_fill_AQCD(priv, nor->erase_opcode, nor->addr_width); in aspeed_spi_mem_wlock()
1669 spi_flash->erase_opcode, in aspeed_spi_flash_init()