Lines Matching refs:label
59 char name[PMBUS_NAME_SIZE]; /* sysfs label name */
61 char label[PMBUS_NAME_SIZE]; /* label */
1186 struct pmbus_label *label = to_pmbus_label(da);
1188 return sysfs_emit(buf, "%s\n", label->label);
1385 struct pmbus_label *label;
1388 label = devm_kzalloc(data->dev, sizeof(*label), GFP_KERNEL);
1389 if (!label)
1392 a = &label->attribute;
1394 snprintf(label->name, sizeof(label->name), "%s%d_label", name, seq);
1397 strncpy(label->label, lstring,
1398 sizeof(label->label) - 1);
1400 snprintf(label->label, sizeof(label->label), "%s.%d",
1404 snprintf(label->label, sizeof(label->label), "%s%d",
1407 snprintf(label->label, sizeof(label->label), "%s%d.%d",
1411 pmbus_dev_attr_init(a, label->name, 0444, pmbus_show_label, NULL);
1442 const char *label; /* sensor label */
1509 if (attr->label) {
1510 ret = pmbus_add_label(data, name, index, attr->label,
1733 .label = "vin",
1743 .label = "vmon",
1752 .label = "vcap",
1757 .label = "vout",
1843 .label = "iin",
1853 .label = "iout",
1934 .label = "pin",
1944 .label = "pout",