Home
last modified time | relevance | path

Searched refs:spimem (Results 1 – 19 of 19) sorted by relevance

/openbmc/linux/drivers/mtd/spi-nor/
H A Dsysfs.c14 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 Dcore.c244 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 Dxilinx.c81 if (nor->spimem) { in xilinx_nor_read_sr()
86 ret = spi_mem_exec_op(nor->spimem, &op); in xilinx_nor_read_sr()
H A Dmicron-st.c319 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 Dwinbond.c164 if (nor->spimem) { in winbond_nor_write_ear()
169 ret = spi_mem_exec_op(nor->spimem, &op); in winbond_nor_write_ear()
H A Dspansion.c84 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 Dcore.c29 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 Dwinbond.c74 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 Dgigadevice.c201 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 Dtoshiba.c92 if (spi_mem_exec_op(spinand->spimem, &op)) in tx58cxgxsxraix_ecc_get_status()
H A Dmicron.c142 return spi_mem_exec_op(spinand->spimem, &op); in micron_select_target()
H A Dmacronix.c59 int ret = spi_mem_exec_op(spinand->spimem, &op); in mx35lf1ge4ab_get_eccsr()
/openbmc/u-boot/include/linux/mtd/
H A Dspinand.h340 struct spi_mem *spimem; member
/openbmc/linux/include/linux/mtd/
H A Dspi-nor.h393 struct spi_mem *spimem; member
H A Dspinand.h428 struct spi_mem *spimem; member
/openbmc/linux/drivers/spi/
H A Datmel-quadspi.c466 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 Dspi-nor-tiny.c57 dev_dbg(&flash->spimem->spi->dev, "error %d reading %x\n", ret, in spi_nor_read_reg()
H A Dspi-nor-core.c80 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 Dcore.c1155 spinand->spimem = mem; in spinand_probe()