Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/mtd/
Dsm_ftl.c58 struct sm_sysfs_attribute *vendor_attribute; in sm_create_sysfs_attributes() local
67 vendor_attribute = in sm_create_sysfs_attributes()
69 if (!vendor_attribute) in sm_create_sysfs_attributes()
72 sysfs_attr_init(&vendor_attribute->dev_attr.attr); in sm_create_sysfs_attributes()
74 vendor_attribute->data = vendor; in sm_create_sysfs_attributes()
75 vendor_attribute->len = strlen(vendor); in sm_create_sysfs_attributes()
76 vendor_attribute->dev_attr.attr.name = "vendor"; in sm_create_sysfs_attributes()
77 vendor_attribute->dev_attr.attr.mode = S_IRUGO; in sm_create_sysfs_attributes()
78 vendor_attribute->dev_attr.show = sm_attr_show; in sm_create_sysfs_attributes()
86 attributes[0] = &vendor_attribute->dev_attr.attr; in sm_create_sysfs_attributes()
[all …]
/linux-6.1.9/drivers/misc/cxl/
Dsysfs.c560 static struct kobj_attribute vendor_attribute = variable
568 &vendor_attribute.attr,