Searched refs:label (Results 76 - 100 of 798) sorted by last modified time

1234567891011>>

/linux-master/drivers/net/dsa/hirschmann/
H A Dhellcreek_ptp.c300 * user might want to use a different label and specify the default state. Take
307 const char *label; local
325 ret = of_property_read_string(led, "label", &label);
326 hellcreek->led_sync_good.name = ret ? "sync_good" : label;
352 ret = of_property_read_string(led, "label", &label);
353 hellcreek->led_is_gm.name = ret ? "is_gm" : label;
/linux-master/drivers/net/
H A Dbareudp.c410 info->key.label, sport, bareudp->port,
/linux-master/drivers/md/bcache/
H A Dsuper.c186 memcpy(sb->label, s->label, SB_LABEL_SIZE);
303 memcpy(out->label, sb->label, SB_LABEL_SIZE);
452 u - c->uuids, u->uuid, u->label,
485 memcpy(u1[i].label, u0[i].label, 32);
1053 char *buf = kmemdup_nul(dc->sb.label, SB_LABEL_SIZE, GFP_KERNEL);
1268 memcpy(u->label, dc->sb.label, SB_LABEL_SIZ
[all...]
H A Dsysfs.c139 rw_attribute(label); variable
267 memcpy(buf, dc->sb.label, SB_LABEL_SIZE);
408 memcpy(dc->sb.label, buf, size);
410 dc->sb.label[size] = '\0';
411 if (size && dc->sb.label[size - 1] == '\n')
412 dc->sb.label[size - 1] = '\0';
415 memcpy(dc->disk.c->uuids[dc->disk.id].label,
559 memcpy(buf, u->label, SB_LABEL_SIZE);
591 memcpy(u->label, buf, SB_LABEL_SIZE);
/linux-master/drivers/iio/addac/
H A Dad74115.c1573 .label = AD74115_NAME,
1604 .label = AD74115_NAME,
/linux-master/drivers/hwmon/pmbus/
H A Dadm1266.c301 data->gc.label = name;
/linux-master/drivers/hwmon/
H A Dltc2992.c323 st->gc.label = name;
H A Dit87.c2242 const char *label; local
2245 label = labels[0];
2247 label = labels_it8721[nr];
2249 label = labels[nr];
2251 return sprintf(buf, "%s\n", label);
H A Dina3221.c100 * @label: label of channel input source
106 const char *label; member in struct:ina3221_input
599 *str = ina->inputs[index].label;
631 /* Hide label node if label is not provided */
632 return (input && input->label) ? 0444 : 0;
794 /* Save the connected input label if available */
795 of_property_read_string(child, "label", &input->label);
[all...]
H A Dda9052-hwmon.c321 static SENSOR_DEVICE_ATTR_RO(in0_label, label, DA9052_ADC_VDDOUT);
323 static SENSOR_DEVICE_ATTR_RO(in3_label, label, DA9052_ADC_VBAT);
325 static SENSOR_DEVICE_ATTR_RO(in4_label, label, DA9052_ADC_IN4);
327 static SENSOR_DEVICE_ATTR_RO(in5_label, label, DA9052_ADC_IN5);
329 static SENSOR_DEVICE_ATTR_RO(in6_label, label, DA9052_ADC_IN6);
331 static SENSOR_DEVICE_ATTR_RO(in9_label, label, DA9052_ADC_VBBAT);
334 static SENSOR_DEVICE_ATTR_RO(in70_label, label, DA9052_ADC_TSI_XP);
336 static SENSOR_DEVICE_ATTR_RO(in71_label, label, DA9052_ADC_TSI_XN);
338 static SENSOR_DEVICE_ATTR_RO(in72_label, label, DA9052_ADC_TSI_YP);
340 static SENSOR_DEVICE_ATTR_RO(in73_label, label, DA9052_ADC_TSI_Y
[all...]
H A Dacpi_power_meter.c98 char *label; member in struct:sensor_template
467 .label = _label, \
474 .label = _label, \
637 while (attrs->label) {
638 sensors->dev_attr.attr.name = attrs->label;
/linux-master/drivers/gpio/
H A Dgpiolib.c104 struct gpio_desc_label *label; local
115 label = srcu_dereference_check(desc->label, &desc->gdev->desc_srcu,
118 return label->str;
126 static int desc_set_label(struct gpio_desc *desc, const char *label) argument
130 if (label) {
131 new = kzalloc(struct_size(new, str, strlen(label) + 1),
136 strcpy(new->str, label);
139 old = rcu_replace_pointer(desc->label, new, 1);
275 * gpio_device_get_label() - Get the label o
1209 gpio_chip_match_by_label(struct gpio_chip *gc, const void *label) argument
1223 gpio_device_find_by_label(const char *label) argument
2251 gpiod_request_commit(struct gpio_desc *desc, const char *label) argument
2322 gpiod_request(struct gpio_desc *desc, const char *label) argument
2400 char *label; local
2445 gpiochip_request_own_desc(struct gpio_chip *gc, unsigned int hwnum, const char *label, enum gpio_lookup_flags lflags, enum gpiod_flags dflags) argument
4198 gpiod_find_and_request(struct device *consumer, struct fwnode_handle *fwnode, const char *con_id, unsigned int idx, enum gpiod_flags flags, const char *label, bool platform_lookup_allowed) argument
4289 fwnode_gpiod_get_index(struct fwnode_handle *fwnode, const char *con_id, int index, enum gpiod_flags flags, const char *label) argument
4454 const char *label = con_id ?: devname; local
[all...]
H A Dgpiolib.h41 * @label: a descriptive name for the GPIO device, such as the part number
69 const char *label; member in struct:gpio_device
152 * @label: Name of the consumer
185 /* Connection label */
186 struct gpio_desc_label __rcu *label; member in struct:gpio_desc
217 int gpiod_request(struct gpio_desc *desc, const char *label);
220 static inline int gpiod_request_user(struct gpio_desc *desc, const char *label) argument
224 ret = gpiod_request(desc, label);
236 const char *label,
284 dev_err(&gc->gpiodev->dev, "(%s): " fmt, gc->label, ##__VA_ARGS_
[all...]
H A Dgpiolib-sysfs.c406 * /label ... matching gpio_chip.label
424 return sysfs_emit(buf, "%s\n", gdev->label);
426 static DEVICE_ATTR_RO(label);
H A Dgpiolib-of.c987 gc->label = kasprintf(GFP_KERNEL, "%pOF", np);
988 if (!gc->label)
1012 kfree(gc->label);
1029 kfree(gc->label);
H A Dgpiolib-acpi.c307 const char *label)
315 desc = gpiochip_request_own_desc(chip, pin, label, polarity, flags);
1055 char label[32]; local
1068 snprintf(label, sizeof(label), "%pfwP GpioInt(%d)", fwnode, index);
1069 ret = gpiod_set_consumer_name(desc, con_id ?: label);
1073 ret = gpiod_configure_flags(desc, label, lflags, dflags);
304 acpi_request_own_gpiod(struct gpio_chip *chip, struct acpi_resource_gpio *agpio, unsigned int index, const char *label) argument
H A Dgpiolib-legacy.c22 * @label: a literal description string of this GPIO
26 int gpio_request_one(unsigned gpio, unsigned long flags, const char *label) argument
36 err = gpiod_request(desc, label);
63 int gpio_request(unsigned gpio, const char *label) argument
72 return gpiod_request(desc, label);
H A Dgpio-sch.c164 .label = "sch_gpio",
347 sch->chip.label = dev_name(dev);
H A Dgpio-regmap.c262 chip->label = config->label ?: dev_name(config->parent);
H A Dgpio-pca953x.c705 gc->label = dev_name(&chip->client->dev);
H A Dgpio-npcm-sgpio.c550 gpio->chip.label = dev_name(&pdev->dev);
H A Dgpio-graniterapids.c318 priv->gc.label = dev_name(dev);
H A Dgpio-brcmstb.c687 gc->label = devm_kasprintf(dev, GFP_KERNEL, "%pOF", np);
688 if (!gc->label) {
H A Dgpio-cros-ec.c192 gc->label = dev_name(dev);
/linux-master/drivers/edac/
H A Dskx_common.c389 snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_HBMC#%u_Chan#%u",
392 snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u",
440 snprintf(dimm->label, sizeof(dimm->label), "CPU_SrcID#%u_MC#%u_Chan#%u_DIMM#%u",

Completed in 441 milliseconds

1234567891011>>