Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mtd/spi-nor/
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 …]
Dcore.c153 error = spi_mem_adjust_op_size(nor->spimem, op); in spi_nor_spimem_exec_op()
157 return spi_mem_exec_op(nor->spimem, op); in spi_nor_spimem_exec_op()
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()
371 ret = spi_mem_exec_op(nor->spimem, &op); in spi_nor_write_enable()
393 if (nor->spimem) { in spi_nor_write_disable()
398 ret = spi_mem_exec_op(nor->spimem, &op); in spi_nor_write_disable()
[all …]
Dmicron-st.c515 if (nor->spimem) { in micron_st_nor_read_fsr()
530 ret = spi_mem_exec_op(nor->spimem, &op); in micron_st_nor_read_fsr()
550 if (nor->spimem) { in micron_st_nor_clear_fsr()
555 ret = spi_mem_exec_op(nor->spimem, &op); in micron_st_nor_clear_fsr()
Dwinbond.c273 if (nor->spimem) { in winbond_nor_write_ear()
278 ret = spi_mem_exec_op(nor->spimem, &op); in winbond_nor_write_ear()
Dspansion.c85 if (nor->spimem) { in spansion_nor_clear_sr()
90 ret = spi_mem_exec_op(nor->spimem, &op); in spansion_nor_clear_sr()
/linux-6.12.1/drivers/mtd/nand/spi/
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()
168 struct device *dev = &spinand->spimem->spi->dev; in spinand_init_cfg_cache()
364 return spi_mem_exec_op(spinand->spimem, &op); in spinand_write_enable_op()
374 return spi_mem_exec_op(spinand->spimem, &op); in spinand_load_page_op()
521 return spi_mem_exec_op(spinand->spimem, &op); in spinand_program_op()
531 return spi_mem_exec_op(spinand->spimem, &op); in spinand_erase_op()
544 ret = spi_mem_poll_status(spinand->spimem, &op, STATUS_BUSY, 0, in spinand_wait()
577 ret = spi_mem_exec_op(spinand->spimem, &op); in spinand_read_id_op()
589 ret = spi_mem_exec_op(spinand->spimem, &op); in spinand_reset_op()
[all …]
Dwinbond.c76 return spi_mem_exec_op(spinand->spimem, &op); in w25m02gv_select_target()
146 if (spi_mem_exec_op(spinand->spimem, &op)) in w25n02kv_ecc_get_status()
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()
Dtoshiba.c92 if (spi_mem_exec_op(spinand->spimem, &op)) in tx58cxgxsxraix_ecc_get_status()
Dmicron.c142 return spi_mem_exec_op(spinand->spimem, &op); in micron_select_target()
Dmacronix.c73 int ret = spi_mem_exec_op(spinand->spimem, &op); in macronix_get_eccsr()
/linux-6.12.1/include/linux/mtd/
Dspi-nor.h393 struct spi_mem *spimem; member
Dspinand.h443 struct spi_mem *spimem; member
/linux-6.12.1/drivers/spi/
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()