Searched refs:master_attrs (Results 1 – 2 of 2) sorted by relevance
369 struct master_attribute *master_attrs; in intel_th_master_attributes() local377 master_attrs = devm_kcalloc(gth->dev, nattrs, in intel_th_master_attributes()380 if (!master_attrs) in intel_th_master_attributes()391 master_attrs[i].attr.attr.name = name; in intel_th_master_attributes()392 master_attrs[i].attr.attr.mode = S_IRUGO | S_IWUSR; in intel_th_master_attributes()393 master_attrs[i].attr.show = master_attr_show; in intel_th_master_attributes()394 master_attrs[i].attr.store = master_attr_store; in intel_th_master_attributes()396 sysfs_attr_init(&master_attrs[i].attr.attr); in intel_th_master_attributes()397 attrs[i] = &master_attrs[i].attr.attr; in intel_th_master_attributes()399 master_attrs[i].gth = gth; in intel_th_master_attributes()[all …]
1297 static struct attribute *master_attrs[] = { variable