Lines Matching full:nor
3 #include <linux/mtd/spi-nor.h>
15 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in manufacturer_show() local
17 return sysfs_emit(buf, "%s\n", nor->manufacturer->name); in manufacturer_show()
26 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in partname_show() local
28 return sysfs_emit(buf, "%s\n", nor->info->name); in partname_show()
37 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in jedec_id_show() local
39 return sysfs_emit(buf, "%*phN\n", nor->info->id_len, nor->info->id); in jedec_id_show()
56 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in sfdp_read() local
57 struct sfdp *sfdp = nor->sfdp; in sfdp_read()
60 return memory_read_from_buffer(buf, count, &off, nor->sfdp->dwords, in sfdp_read()
75 struct spi_nor *nor = spi_mem_get_drvdata(spimem); in spi_nor_sysfs_is_bin_visible() local
77 if (attr == &bin_attr_sfdp && nor->sfdp) in spi_nor_sysfs_is_bin_visible()
84 .name = "spi-nor",