/linux-master/drivers/gpio/ |
H A D | gpio-regmap.c | 262 chip->label = config->label ?: dev_name(config->parent);
|
H A D | gpiolib-acpi.c | 324 const char *label) 332 desc = gpiochip_request_own_desc(chip, pin, label, polarity, flags); 1076 char label[32]; local 1089 snprintf(label, sizeof(label), "%pfwP GpioInt(%d)", fwnode, index); 1090 ret = gpiod_set_consumer_name(desc, con_id ?: label); 1094 ret = gpiod_configure_flags(desc, label, lflags, dflags); 321 acpi_request_own_gpiod(struct gpio_chip *chip, struct acpi_resource_gpio *agpio, unsigned int index, const char *label) argument
|
H A D | gpio-aggregator.c | 499 const char *label = dev_name(dev); local 530 chip->label = label;
|
H A D | gpio-viperboard.c | 397 vb_gpio->gpioa.label = "viperboard gpio a"; 413 vb_gpio->gpiob.label = "viperboard gpio b";
|
/linux-master/drivers/hwmon/ |
H A D | ibmaem.c | 106 char *label; member in struct:aem_ro_sensor_template 114 char *label; member in struct:aem_rw_sensor_template 921 while (ro->label) { 923 sensors->dev_attr.attr.name = ro->label; 938 while (rw->label) { 940 sensors->dev_attr.attr.name = rw->label;
|
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/iio/adc/ |
H A D | qcom-spmi-vadc.c | 501 struct iio_chan_spec const *chan, char *label) 506 return sysfs_emit(label, "%s\n", name); 667 const char *name = fwnode_get_name(fwnode), *label; local 682 ret = fwnode_property_read_string(fwnode, "label", &label); 684 label = vadc_chans[chan].datasheet_name; 685 prop->channel_name = label; 500 vadc_read_label(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, char *label) argument
|
H A D | pac1934.c | 974 struct iio_chan_spec const *chan, char *label) 983 return sysfs_emit(label, "%s_VBUS_%d\n", 990 return sysfs_emit(label, "%s_VBUS_AVG_%d\n", 997 return sysfs_emit(label, "%s_IBUS_%d\n", 1004 return sysfs_emit(label, "%s_IBUS_AVG_%d\n", 1011 return sysfs_emit(label, "%s_POWER_%d\n", 1018 return sysfs_emit(label, "%s_ENERGY_%d\n", 1199 if (fwnode_property_present(node, "label")) { 1200 ret = fwnode_property_read_string(node, "label", 973 pac1934_read_label(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, char *label) argument
|
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | tc_flower.sh | 380 local label=$1 386 $((label >> 12)) \ 387 $((label >> 4 & 0xff)) \ 388 $((((label & 0xf) << 4) + (tc << 1) + bos)) \ 491 # Need to add a second label to properly mark the Bottom of Stack 556 flower $tcflags mpls lse depth 1 label 0 action continue 566 flower $tcflags mpls lse depth 2 label 1048575 action continue 589 # Wrong label at depth 1 598 # in the first label, so anything that'd follow wouldn't be considered) 606 # Wrong label a [all...] |
/linux-master/drivers/media/v4l2-core/ |
H A D | v4l2-fwnode.c | 655 kfree(connector->label); 656 connector->label = NULL; 683 const char *label; local 709 err = fwnode_property_read_string(connector_node, "label", &label); 710 connector->label = err ? NULL : kstrdup_const(label, GFP_KERNEL);
|
/linux-master/drivers/usb/host/ |
H A D | oxu210hp-hcd.c | 519 dbg_status_buf(char *buf, unsigned len, const char *label, u32 status) argument 522 label, label[0] ? " " : "", status, 537 dbg_intr_buf(char *buf, unsigned len, const char *label, u32 enable) argument 540 label, label[0] ? " " : "", enable, 554 const char *label, u32 command) 558 label, label[0] ? " " : "", command, 572 static int dbg_port_buf(char *buf, unsigned len, const char *label, argument 553 dbg_command_buf(char *buf, unsigned len, const char *label, u32 command) argument 614 dbg_status_buf(char *buf, unsigned len, const char *label, u32 status) argument 618 dbg_command_buf(char *buf, unsigned len, const char *label, u32 command) argument 622 dbg_intr_buf(char *buf, unsigned len, const char *label, u32 enable) argument 626 dbg_port_buf(char *buf, unsigned len, const char *label, int port, u32 status) argument [all...] |
/linux-master/drivers/iio/accel/ |
H A D | bmc150-accel-core.c | 391 char *name, *alt_name, *label; local 395 label = "accel-base"; 398 label = "accel-display"; 405 indio_dev->label = label; 419 indio_dev->label = "accel-base"; 421 indio_dev->label = "accel-display";
|
/linux-master/drivers/media/dvb-frontends/ |
H A D | stv0367.c | 180 static void extract_mask_pos(u32 label, u8 *mask, u8 *pos) argument 184 (*mask) = label & 0xff; 194 static void stv0367_writebits(struct stv0367_state *state, u32 label, u8 val) argument 198 reg = stv0367_readreg(state, (label >> 16) & 0xffff); 199 extract_mask_pos(label, &mask, &pos); 204 stv0367_writereg(state, (label >> 16) & 0xffff, reg); 208 static void stv0367_setbits(u8 *reg, u32 label, u8 val) argument 212 extract_mask_pos(label, &mask, &pos); 219 static u8 stv0367_readbits(struct stv0367_state *state, u32 label) argument 224 extract_mask_pos(label, [all...] |
H A D | stv0900_core.c | 166 static void extract_mask_pos(u32 label, u8 *mask, u8 *pos) argument 170 (*mask) = label & 0xff; 180 void stv0900_write_bits(struct stv0900_internal *intp, u32 label, u8 val) argument 184 reg = stv0900_read_reg(intp, (label >> 16) & 0xffff); 185 extract_mask_pos(label, &mask, &pos); 190 stv0900_write_reg(intp, (label >> 16) & 0xffff, reg); 194 u8 stv0900_get_bits(struct stv0900_internal *intp, u32 label) argument 199 extract_mask_pos(label, &mask, &pos); 201 val = stv0900_read_reg(intp, label >> 16);
|
/linux-master/drivers/pinctrl/sunplus/ |
H A D | sppctl.c | 507 char *label __free(kfree) = gpiochip_dup_line_label(chip, i); 508 if (IS_ERR(label)) 512 chip->names[i], label ?: ""); 539 gchip->label = SPPCTL_MODULE_NAME; 557 pctl->pctl_grange.name = gchip->label;
|
/linux-master/fs/nfs/ |
H A D | nfs4xdr.c | 1082 const struct nfs4_label *label, 1156 if (label && (attrmask[2] & FATTR4_WORD2_SECURITY_LABEL)) { 1157 len += 4 + 4 + 4 + (XDR_QUADLEN(label->len) << 2); 1186 if (label && (bmval[2] & FATTR4_WORD2_SECURITY_LABEL)) { 1187 *p++ = cpu_to_be32(label->lfs); 1188 *p++ = cpu_to_be32(label->pi); 1189 *p++ = cpu_to_be32(label->len); 1190 p = xdr_encode_opaque_fixed(p, label->label, label 1081 encode_attrs(struct xdr_stream *xdr, const struct iattr *iap, const struct nfs4_label *label, const umode_t *umask, const struct nfs_server *server, const uint32_t attrmask[]) argument 4219 decode_attr_security_label(struct xdr_stream *xdr, uint32_t *bitmap, struct nfs4_label *label) argument [all...] |
/linux-master/drivers/iio/common/cros_ec_sensors/ |
H A D | cros_ec_sensors_core.c | 297 indio_dev->label = "accel-base"; 299 indio_dev->label = "accel-display"; 301 indio_dev->label = "accel-camera";
|
/linux-master/arch/powerpc/kernel/ |
H A D | head_40x.S | 182 #define CRITICAL_EXCEPTION(n, label, hdlr) \ 183 START_EXCEPTION(n, label); \ 184 CRITICAL_EXCEPTION_PROLOG n label; \
|
/linux-master/fs/ |
H A D | readdir.c | 76 * label for errors. 78 #define unsafe_copy_dirent_name(_dst, _src, _len, label) do { \ 82 unsafe_put_user(0, dst+len, label); \ 83 unsafe_copy_to_user(dst, src, len, label); \
|
/linux-master/scripts/ |
H A D | kallsyms.c | 307 static void output_label(const char *label) argument 309 printf(".globl %s\n", label); 311 printf("%s:\n", label);
|
/linux-master/drivers/net/wireless/st/cw1200/ |
H A D | debug.c | 88 const char *label, 92 seq_printf(seq, "%s0-> ", label); 117 seq_printf(seq, "FW label: '%s'\n", 86 cw1200_debug_print_map(struct seq_file *seq, struct cw1200_common *priv, const char *label, u32 map) argument
|
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | siena_sriov.c | 579 unsigned label; local 596 label = req->u.init_rxq.label & EFX_FIELD_MASK(FRF_AZ_RX_DESCQ_LABEL); 600 FRF_AZ_RX_DESCQ_LABEL, label, 620 unsigned label, eth_filt_en; local 642 label = req->u.init_txq.label & EFX_FIELD_MASK(FRF_AZ_TX_DESCQ_LABEL); 649 FRF_AZ_TX_DESCQ_LABEL, label,
|
/linux-master/drivers/ssb/ |
H A D | driver_gpio.c | 221 chip->label = "ssb_chipco_gpio"; 418 chip->label = "ssb_extif_gpio";
|
/linux-master/drivers/iio/multiplexer/ |
H A D | iio-mux.c | 242 u32 state, const char *label, int idx) 254 chan->datasheet_name = label; 241 mux_configure_channel(struct device *dev, struct mux *mux, u32 state, const char *label, int idx) argument
|
/linux-master/arch/arm/mach-sa1100/ |
H A D | neponset.c | 206 struct device *dev, const char *label, void __iomem *reg, 211 gc = gpio_reg_init(dev, reg, -1, num, label, in ? 0xffffffff : 0, 205 neponset_init_gpio(struct gpio_chip **gcp, struct device *dev, const char *label, void __iomem *reg, unsigned num, bool in, const char *const * names) argument
|