Home
last modified time | relevance | path

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

/linux-6.1.9/arch/mips/txx9/generic/
Dsetup.c772 struct bin_attribute bindata_attr; member
834 sysfs_bin_attr_init(&dev->bindata_attr); in txx9_sramc_init()
835 dev->bindata_attr.attr.name = "bindata"; in txx9_sramc_init()
836 dev->bindata_attr.attr.mode = S_IRUSR | S_IWUSR; in txx9_sramc_init()
837 dev->bindata_attr.read = txx9_sram_read; in txx9_sramc_init()
838 dev->bindata_attr.write = txx9_sram_write; in txx9_sramc_init()
839 dev->bindata_attr.size = size; in txx9_sramc_init()
840 dev->bindata_attr.private = dev; in txx9_sramc_init()
844 err = sysfs_create_bin_file(&dev->dev.kobj, &dev->bindata_attr); in txx9_sramc_init()