/linux-master/drivers/net/dsa/hirschmann/ |
H A D | hellcreek_ptp.c | 300 * 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 D | bareudp.c | 410 info->key.label, sport, bareudp->port,
|
/linux-master/drivers/md/bcache/ |
H A D | super.c | 186 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 D | sysfs.c | 139 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 D | ad74115.c | 1573 .label = AD74115_NAME, 1604 .label = AD74115_NAME,
|
/linux-master/drivers/hwmon/pmbus/ |
H A D | adm1266.c | 301 data->gc.label = name;
|
/linux-master/drivers/hwmon/ |
H A D | ltc2992.c | 323 st->gc.label = name;
|
H A D | it87.c | 2242 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 D | ina3221.c | 100 * @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 D | da9052-hwmon.c | 321 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 D | acpi_power_meter.c | 98 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 D | gpiolib.c | 104 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 D | gpiolib.h | 41 * @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 D | gpiolib-sysfs.c | 406 * /label ... matching gpio_chip.label 424 return sysfs_emit(buf, "%s\n", gdev->label); 426 static DEVICE_ATTR_RO(label);
|
H A D | gpiolib-of.c | 987 gc->label = kasprintf(GFP_KERNEL, "%pOF", np); 988 if (!gc->label) 1012 kfree(gc->label); 1029 kfree(gc->label);
|
H A D | gpiolib-acpi.c | 307 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 D | gpiolib-legacy.c | 22 * @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 D | gpio-sch.c | 164 .label = "sch_gpio", 347 sch->chip.label = dev_name(dev);
|
H A D | gpio-regmap.c | 262 chip->label = config->label ?: dev_name(config->parent);
|
H A D | gpio-pca953x.c | 705 gc->label = dev_name(&chip->client->dev);
|
H A D | gpio-npcm-sgpio.c | 550 gpio->chip.label = dev_name(&pdev->dev);
|
H A D | gpio-graniterapids.c | 318 priv->gc.label = dev_name(dev);
|
H A D | gpio-brcmstb.c | 687 gc->label = devm_kasprintf(dev, GFP_KERNEL, "%pOF", np); 688 if (!gc->label) {
|
H A D | gpio-cros-ec.c | 192 gc->label = dev_name(dev);
|
/linux-master/drivers/edac/ |
H A D | skx_common.c | 389 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",
|