/openbmc/linux/drivers/mtd/spi-nor/ |
H A D | sysfs.c | 14 struct spi_mem *spimem = spi_get_drvdata(spi); in manufacturer_show() local 15 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in manufacturer_show() 25 struct spi_mem *spimem = spi_get_drvdata(spi); in partname_show() local 26 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in partname_show() 36 struct spi_mem *spimem = spi_get_drvdata(spi); in jedec_id_show() local 37 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in jedec_id_show() 57 struct spi_mem *spimem = spi_get_drvdata(spi); in sfdp_read() local 58 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in sfdp_read() 76 struct spi_mem *spimem = spi_get_drvdata(spi); in spi_nor_sysfs_is_visible() local 77 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in spi_nor_sysfs_is_visible() [all …]
|
H A D | core.c | 244 if (nor->spimem) in spi_nor_read_data() 304 if (nor->spimem) in spi_nor_write_data() 322 if (!nor->spimem) in spi_nor_read_any_reg() 346 if (!nor->spimem) in spi_nor_write_any_volatile_reg() 366 if (nor->spimem) { in spi_nor_write_enable() 393 if (nor->spimem) { in spi_nor_write_disable() 428 if (nor->spimem) { in spi_nor_read_id() 453 if (nor->spimem) { in spi_nor_read_sr() 493 if (nor->spimem) { in spi_nor_read_cr() 524 if (nor->spimem) { in spi_nor_set_4byte_addr_mode_en4b_ex4b() [all …]
|
H A D | xilinx.c | 81 if (nor->spimem) { in xilinx_nor_read_sr() 86 ret = spi_mem_exec_op(nor->spimem, &op); in xilinx_nor_read_sr()
|
H A D | micron-st.c | 319 if (nor->spimem) { in micron_st_nor_read_fsr() 334 ret = spi_mem_exec_op(nor->spimem, &op); in micron_st_nor_read_fsr() 354 if (nor->spimem) { in micron_st_nor_clear_fsr() 359 ret = spi_mem_exec_op(nor->spimem, &op); in micron_st_nor_clear_fsr()
|
H A D | winbond.c | 164 if (nor->spimem) { in winbond_nor_write_ear() 169 ret = spi_mem_exec_op(nor->spimem, &op); in winbond_nor_write_ear()
|
H A D | spansion.c | 84 if (nor->spimem) { in spansion_nor_clear_sr() 89 ret = spi_mem_exec_op(nor->spimem, &op); in spansion_nor_clear_sr()
|
/openbmc/linux/drivers/mtd/nand/spi/ |
H A D | core.c | 29 ret = spi_mem_exec_op(spinand->spimem, &op); in spinand_read_reg_op() 43 return spi_mem_exec_op(spinand->spimem, &op); in spinand_write_reg_op() 542 ret = spi_mem_exec_op(spinand->spimem, &op); in spinand_read_id_op() 554 ret = spi_mem_exec_op(spinand->spimem, &op); in spinand_reset_op() 870 spinand->spimem, &info); in spinand_create_dirmap() 878 spinand->spimem, &info); in spinand_create_dirmap() 894 spinand->spimem, &info); in spinand_create_dirmap() 903 spinand->spimem, &info); in spinand_create_dirmap() 1145 dev_info(&spinand->spimem->spi->dev, in spinand_detect() 1147 dev_info(&spinand->spimem->spi->dev, in spinand_detect() [all …]
|
H A D | winbond.c | 74 return spi_mem_exec_op(spinand->spimem, &op); in w25m02gv_select_target() 126 if (spi_mem_exec_op(spinand->spimem, &op)) in w25n02kv_ecc_get_status()
|
H A D | gigadevice.c | 201 ret = spi_mem_exec_op(spinand->spimem, &op); in gd5fxgq4uexxg_ecc_get_status() 244 ret = spi_mem_exec_op(spinand->spimem, &op); in gd5fxgq5xexxg_ecc_get_status()
|
H A D | toshiba.c | 92 if (spi_mem_exec_op(spinand->spimem, &op)) in tx58cxgxsxraix_ecc_get_status()
|
H A D | micron.c | 142 return spi_mem_exec_op(spinand->spimem, &op); in micron_select_target()
|
H A D | macronix.c | 59 int ret = spi_mem_exec_op(spinand->spimem, &op); in mx35lf1ge4ab_get_eccsr()
|
/openbmc/u-boot/include/linux/mtd/ |
H A D | spinand.h | 340 struct spi_mem *spimem; member
|
/openbmc/linux/include/linux/mtd/ |
H A D | spi-nor.h | 393 struct spi_mem *spimem; member
|
H A D | spinand.h | 428 struct spi_mem *spimem; member
|
/openbmc/linux/drivers/spi/ |
H A D | atmel-quadspi.c | 466 static const char *atmel_qspi_get_name(struct spi_mem *spimem) in atmel_qspi_get_name() argument 468 return dev_name(spimem->spi->dev.parent); in atmel_qspi_get_name()
|
/openbmc/u-boot/drivers/mtd/spi/ |
H A D | spi-nor-tiny.c | 57 dev_dbg(&flash->spimem->spi->dev, "error %d reading %x\n", ret, in spi_nor_read_reg()
|
H A D | spi-nor-core.c | 80 dev_dbg(&flash->spimem->spi->dev, "error %d reading %x\n", ret, in spi_nor_read_reg()
|
/openbmc/u-boot/drivers/mtd/nand/spi/ |
H A D | core.c | 1155 spinand->spimem = mem; in spinand_probe()
|