Searched refs:label (Results 226 - 250 of 795) sorted by relevance

1234567891011>>

/linux-master/include/net/
H A Ddst_metadata.h232 __be32 label,
256 info->key.label = label;
228 __ipv6_tun_set_dst(const struct in6_addr *saddr, const struct in6_addr *daddr, __u8 tos, __u8 ttl, __be16 tp_dst, __be32 label, __be16 flags, __be64 tunnel_id, int md_size) argument
/linux-master/samples/bpf/
H A Dsockex3_kern.c230 __u32 nhoff, label; local
234 label = load_word(skb, nhoff);
238 if (label & MPLS_LS_S_MASK) {
/linux-master/drivers/gpio/
H A Dgpio-reg.c123 * @label: GPIO chip label
140 int base, int num, const char *label, u32 direction, u32 def_out,
156 r->gc.label = label;
139 gpio_reg_init(struct device *dev, void __iomem *reg, int base, int num, const char *label, u32 direction, u32 def_out, const char *const *names, struct irq_domain *irqdom, const int *irqs) argument
H A Dgpio-tb10x.c130 tb10x_gpio->gc.label =
132 if (!tb10x_gpio->gc.label)
194 tb10x_gpio->gc.ngpio, 1, tb10x_gpio->gc.label,
H A Dgpiolib.c112 srcu_dereference(desc->label, &desc->srcu) : NULL;
115 static int desc_set_label(struct gpio_desc *desc, const char *label) argument
119 if (label) {
120 new = kstrdup_const(label, GFP_KERNEL);
125 old = rcu_replace_pointer(desc->label, new, 1);
264 * gpio_device_get_label() - Get the label of this GPIO device
268 * Pointer to the string containing the GPIO device label. The string's
273 return gdev->label;
704 kfree_const(gdev->label);
750 gdev->base + gdev->ngpio - 1, gdev->label);
1193 gpio_chip_match_by_label(struct gpio_chip *gc, const void *label) argument
1207 gpio_device_find_by_label(const char *label) argument
2235 gpiod_request_commit(struct gpio_desc *desc, const char *label) argument
2306 gpiod_request(struct gpio_desc *desc, const char *label) argument
2384 char *label; local
2429 gpiochip_request_own_desc(struct gpio_chip *gc, unsigned int hwnum, const char *label, enum gpio_lookup_flags lflags, enum gpiod_flags dflags) argument
4182 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
4273 fwnode_gpiod_get_index(struct fwnode_handle *fwnode, const char *con_id, int index, enum gpiod_flags flags, const char *label) argument
4438 const char *label = con_id ?: devname; local
[all...]
H A Dgpio-ep93xx.c276 const char *label; member in struct:ep93xx_gpio_bank
288 .label = _label, \
361 gc->label = bank->label;
445 bank->label);
H A Dgpio-mt7621.c248 rg->chip.label = devm_kasprintf(dev, GFP_KERNEL, "%s-bank%d",
250 if (!rg->chip.label)
264 rg->chip.label, &rg->chip);
/linux-master/arch/sh/kernel/
H A Dhead_32.S20 #define PREFI(label, reg) \
21 mov.l label, reg; \
25 #define PREFI(label, reg)
/linux-master/arch/arm64/kvm/hyp/
H A Dhyp-entry.S125 .macro invalid_vector label, target = __guest_exit_panic
127 SYM_CODE_START_LOCAL(\label)
129 SYM_CODE_END(\label)
/linux-master/drivers/edac/
H A Dedac_mc_sysfs.c207 if (!rank->dimm->label[0])
210 return snprintf(data, sizeof(rank->dimm->label) + 1, "%s\n",
211 rank->dimm->label);
229 if (copy_count == 0 || copy_count >= sizeof(rank->dimm->label))
232 memcpy(rank->dimm->label, data, copy_count);
233 rank->dimm->label[copy_count] = '\0';
515 if (!dimm->label[0])
518 return snprintf(data, sizeof(dimm->label) + 1, "%s\n", dimm->label);
535 if (copy_count == 0 || copy_count >= sizeof(dimm->label))
[all...]
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",
/linux-master/net/ipv6/
H A Dip6_udp_tunnel.c82 __u8 prio, __u8 ttl, __be32 label,
104 ip6_flow_hdr(ip6h, prio, label);
163 fl6.flowlabel = ip6_make_flowinfo(dsfield, key->label);
77 udp_tunnel6_xmit_skb(struct dst_entry *dst, struct sock *sk, struct sk_buff *skb, struct net_device *dev, const struct in6_addr *saddr, const struct in6_addr *daddr, __u8 prio, __u8 ttl, __be32 label, __be16 src_port, __be16 dst_port, bool nocheck) argument
/linux-master/scripts/dtc/libfdt/
H A Dfdt_overlay.c340 * @label: Label of the node referenced by the phandle
357 int poffset, const char *label)
368 symbol_path = fdt_getprop(fdt, symbols_off, label,
417 const char *label; local
421 &label, &len);
470 poffset, label);
353 overlay_fixup_one_phandle(void *fdt, void *fdto, int symbols_off, const char *path, uint32_t path_len, const char *name, uint32_t name_len, int poffset, const char *label) argument
/linux-master/drivers/net/dsa/hirschmann/
H A Dhellcreek_ptp.c295 * user might want to use a different label and specify the default state. Take
302 const char *label; local
320 ret = of_property_read_string(led, "label", &label);
321 hellcreek->led_sync_good.name = ret ? "sync_good" : label;
347 ret = of_property_read_string(led, "label", &label);
348 hellcreek->led_is_gm.name = ret ? "is_gm" : label;
/linux-master/kernel/power/
H A Dmain.c149 const char *label = mem_sleep_states[i]; local
152 s += sprintf(s, "[%s] ", label);
154 s += sprintf(s, "%s ", label);
175 const char *label = mem_sleep_states[state]; local
177 if (label && len == strlen(label) && !strncmp(buf, label, len))
705 const char *label = pm_states[state]; local
707 if (label && len == strlen(label)
[all...]
/linux-master/arch/arm/plat-orion/
H A Dgpio.c446 const char *label; local
458 for_each_requested_gpio(chip, i, label) {
465 seq_printf(s, " gpio-%-3d (%-20.20s)", chip->base + i, label);
538 ochip->chip.label = kstrdup(gc_label, GFP_KERNEL);
588 ct->chip.name = ochip->chip.label;
599 ct->chip.name = ochip->chip.label;
613 ochip->chip.label);
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dselftest.c456 "%d in %s loopback test\n", tx_queue->label,
508 tx_queue->label, tx_done, state->packet_count,
519 tx_queue->label, rx_good, state->packet_count,
526 lb_tests->tx_sent[tx_queue->label] += state->packet_count;
527 lb_tests->tx_done[tx_queue->label] += tx_done;
554 tx_queue->label, tx_queue->queue, LOOPBACK_MODE(efx),
581 "of %d packets\n", tx_queue->label, LOOPBACK_MODE(efx),
/linux-master/drivers/net/ethernet/sfc/
H A Dselftest.c455 "%d in %s loopback test\n", tx_queue->label,
507 tx_queue->label, tx_done, state->packet_count,
518 tx_queue->label, rx_good, state->packet_count,
525 lb_tests->tx_sent[tx_queue->label] += state->packet_count;
526 lb_tests->tx_done[tx_queue->label] += tx_done;
553 tx_queue->label, tx_queue->queue, LOOPBACK_MODE(efx),
580 "of %d packets\n", tx_queue->label, LOOPBACK_MODE(efx),
/linux-master/drivers/s390/char/
H A Dtape_3590.c123 len = min(sizeof(out->label), strlen(in->label));
124 memcpy(out->label, in->label, len);
125 memset(out->label + len, ' ', sizeof(out->label) - len);
126 ASCEBC(out->label, sizeof(out->label));
141 memcpy(out->label, in->label, sizeo
[all...]
/linux-master/arch/powerpc/kernel/
H A Dsignal_32.c133 #define unsafe_put_sigset_t(uset, set, label) do { \
137 unsafe_copy_to_user(__us, __s, sizeof(*__us), label); \
172 #define unsafe_save_general_regs(regs, frame, label) do { \
174 goto label; \
177 #define unsafe_restore_general_regs(regs, frame, label) do { \
179 goto label; \
345 #define unsafe_save_user_regs(regs, frame, tm_frame, has_vsx, label) do { \
347 goto label; \
457 #define unsafe_save_tm_user_regs(regs, frame, tm_frame, msr, label) do { \
459 goto label; \
[all...]
/linux-master/drivers/mfd/
H A Dtps65010.c148 static void show_chgstatus(const char *label, u8 chgstatus) argument
153 pr_debug("%s: %s %s", DRIVER_NAME, label, buf);
156 static void show_regstatus(const char *label, u8 regstatus) argument
161 pr_debug("%s: %s %s", DRIVER_NAME, label, buf);
164 static void show_chgconfig(int por, const char *label, u8 chgconfig) argument
169 pr_debug("%s: %s %s", DRIVER_NAME, label, buf);
174 static inline void show_chgstatus(const char *label, u8 chgstatus) { } argument
175 static inline void show_regstatus(const char *label, u8 chgstatus) { } argument
176 static inline void show_chgconfig(int por, const char *label, u8 chgconfig) { } argument
621 tps->chip.label
[all...]
/linux-master/drivers/hwmon/
H A Dhwmon.c35 const char *label; member in struct:hwmon_device
80 return sysfs_emit(buf, "%s\n", to_hwmon_device(dev)->label);
82 static DEVICE_ATTR_RO(label);
99 if (attr == &dev_attr_label.attr && hdev->label == NULL)
135 kfree(hwdev->label);
765 const char *label; local
822 if (dev && device_property_present(dev, "label")) {
823 err = device_property_read_string(dev, "label", &label);
827 hwdev->label
[all...]
/linux-master/drivers/hwmon/pmbus/
H A Dpmbus_core.c59 char name[PMBUS_NAME_SIZE]; /* sysfs label name */
61 char label[PMBUS_NAME_SIZE]; /* label */ member in struct:pmbus_label
1186 struct pmbus_label *label = to_pmbus_label(da); local
1188 return sysfs_emit(buf, "%s\n", label->label);
1385 struct pmbus_label *label; local
1388 label = devm_kzalloc(data->dev, sizeof(*label), GFP_KERNEL);
1389 if (!label)
1442 const char *label; /* sensor label */ member in struct:pmbus_sensor_attr
[all...]
/linux-master/net/sched/
H A Dact_mpls.c135 const u32 *label = nla_data(attr); local
137 if (nla_len(attr) != sizeof(*label)) {
138 NL_SET_ERR_MSG_MOD(extack, "Invalid MPLS label length");
142 if (*label & ~MPLS_LABEL_MASK || *label == MPLS_LABEL_IMPLNULL) {
143 NL_SET_ERR_MSG_MOD(extack, "MPLS label out of range");
396 entry->mpls_push.label = tcf_mpls_label(act);
407 entry->mpls_mangle.label = tcf_mpls_label(act);
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Ddevlink_trap_tunnel_vxlan_ipv6.sh150 )"0:00:00:"$( : Flow label
210 )"0:00:00:"$( : Flow label
297 )"0:00:00:"$( : Flow label

Completed in 249 milliseconds

1234567891011>>