Home
last modified time | relevance | path

Searched +full:multi +full:- +full:attr (Results 1 – 25 of 422) sorted by relevance

12345678910>>...17

/kernel/linux/linux-6.6/Documentation/netlink/specs/
Dhandshake.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
15 -
17 name: handler-class
18 value-start: 0
20 -
22 name: msg-type
23 value-start: 0
25 -
28 value-start: 0
31 attribute-sets:
[all …]
Ddevlink.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 protocol: genetlink-legacy
10 -
12 name: sb-pool-type
14 -
16 -
19 attribute-sets:
20 -
22 name-prefix: devlink-attr-
24 -
[all …]
Dethtool.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 protocol: genetlink-legacy
10 -
11 name: udp-tunnel-type
12 enum-name:
14 entries: [ vxlan, geneve, vxlan-gpe ]
15 -
20 attribute-sets:
21 -
24 -
[all …]
/kernel/linux/linux-6.6/Documentation/userspace-api/netlink/
Dgenetlink-legacy.rst1 .. SPDX-License-Identifier: BSD-3-Clause
9 the ``genetlink-legacy`` protocol level.
15 --------------------
17 New Netlink families should use ``multi-attr`` to define arrays.
21 For reference the ``multi-attr`` array may look like this::
23 [ARRAY-ATTR]
27 [SOME-OTHER-ATTR]
28 [ARRAY-ATTR]
33 where ``ARRAY-ATTR`` is the array entry type.
35 array-nest
[all …]
/kernel/linux/linux-6.6/drivers/leds/
Dleds-lp55xx-common.h1 /* SPDX-License-Identifier: GPL-2.0-only */
9 * Derived from leds-lp5521.c, leds-lp5523.c
15 #include <linux/led-class-multicolor.h>
40 struct device_attribute *attr, \
43 return show_engine_mode(dev, attr, buf, nr); \
48 struct device_attribute *attr, \
51 return store_engine_mode(dev, attr, buf, len, nr); \
56 struct device_attribute *attr, \
59 return show_engine_leds(dev, attr, buf, nr); \
64 struct device_attribute *attr, \
[all …]
/kernel/linux/linux-5.10/drivers/leds/
Dleds-lp55xx-common.h1 /* SPDX-License-Identifier: GPL-2.0-only */
9 * Derived from leds-lp5521.c, leds-lp5523.c
15 #include <linux/led-class-multicolor.h>
40 struct device_attribute *attr, \
43 return show_engine_mode(dev, attr, buf, nr); \
48 struct device_attribute *attr, \
51 return store_engine_mode(dev, attr, buf, len, nr); \
56 struct device_attribute *attr, \
59 return show_engine_leds(dev, attr, buf, nr); \
64 struct device_attribute *attr, \
[all …]
/kernel/linux/linux-6.6/Documentation/networking/device_drivers/ethernet/ti/
Dam65_nuss_cpsw_switchdev.rst1 .. SPDX-License-Identifier: GPL-2.0
14 ip -d link show dev sw0p1 | grep switchid
16 SUBSYSTEM=="net", ACTION=="add", ATTR{phys_switch_id}==<switchid>, \
17 ATTR{phys_port_name}!="", NAME="sw0$attr{phys_port_name}"
20 Multi mac mode
23 - The driver is operating in multi-mac mode by default, thus
29 See Documentation/networking/devlink/am65-nuss-cpsw-switch.rst
40 This can be done regardless of the state of Port's netdev devices - UP/DOWN, but
45 When the both interfaces joined the bridge - CPSW switch driver will enable
84 bridge vlan add dev br0 vid 1 pvid untagged self <---- add cpu port to VLAN 1
[all …]
/kernel/linux/linux-5.10/drivers/soc/versatile/
Dsoc-realview.c1 // SPDX-License-Identifier: GPL-2.0-only
20 { .compatible = "arm,realview-eb-soc", },
21 { .compatible = "arm,realview-pb1176-soc", },
22 { .compatible = "arm,realview-pb11mp-soc", },
23 { .compatible = "arm,realview-pba8-soc", },
24 { .compatible = "arm,realview-pbx-soc", },
36 return "Multi-layer AXI"; in realview_arch_str()
43 manufacturer_show(struct device *dev, struct device_attribute *attr, char *buf) in manufacturer_show() argument
51 board_show(struct device *dev, struct device_attribute *attr, char *buf) in board_show() argument
53 return sprintf(buf, "HBI-%03x\n", ((realview_coreid >> 16) & 0xfff)); in board_show()
[all …]
/kernel/linux/linux-6.6/drivers/soc/versatile/
Dsoc-realview.c1 // SPDX-License-Identifier: GPL-2.0-only
21 { .compatible = "arm,realview-eb-soc", },
22 { .compatible = "arm,realview-pb1176-soc", },
23 { .compatible = "arm,realview-pb11mp-soc", },
24 { .compatible = "arm,realview-pba8-soc", },
25 { .compatible = "arm,realview-pbx-soc", },
37 return "Multi-layer AXI"; in realview_arch_str()
44 manufacturer_show(struct device *dev, struct device_attribute *attr, char *buf) in manufacturer_show() argument
52 board_show(struct device *dev, struct device_attribute *attr, char *buf) in board_show() argument
54 return sprintf(buf, "HBI-%03x\n", ((realview_coreid >> 16) & 0xfff)); in board_show()
[all …]
/kernel/linux/linux-5.10/include/linux/ceph/
Drados.h1 /* SPDX-License-Identifier: GPL-2.0 */
29 #define CEPH_SNAPDIR ((__u64)(-1)) /* reserved for hidden .snap dir */
30 #define CEPH_NOSNAP ((__u64)(-2)) /* "head", "live" revision */
31 #define CEPH_MAXSNAP ((__u64)(-3)) /* largest valid snapid */
40 * object layout - how objects are mapped into PGs
47 * pg layout -- how PGs are mapped onto (sets of) OSDs
69 * pg_num -- base number of pseudorandomly placed pgs
71 * pgp_num -- effective number when calculating pg placement. this
78 * lpg_num -- localized pg count (per device). replicas are randomly
81 * lpgp_num -- as above.
[all …]
/kernel/linux/linux-6.6/include/linux/ceph/
Drados.h1 /* SPDX-License-Identifier: GPL-2.0 */
29 #define CEPH_SNAPDIR ((__u64)(-1)) /* reserved for hidden .snap dir */
30 #define CEPH_NOSNAP ((__u64)(-2)) /* "head", "live" revision */
31 #define CEPH_MAXSNAP ((__u64)(-3)) /* largest valid snapid */
40 * object layout - how objects are mapped into PGs
47 * pg layout -- how PGs are mapped onto (sets of) OSDs
69 * pg_num -- base number of pseudorandomly placed pgs
71 * pgp_num -- effective number when calculating pg placement. this
78 * lpg_num -- localized pg count (per device). replicas are randomly
81 * lpgp_num -- as above.
[all …]
/kernel/linux/linux-5.10/tools/perf/bench/
Dsched-messaging.c1 // SPDX-License-Identifier: GPL-2.0
4 * sched-messaging.c
13 #include <subcmd/parse-options.h>
76 if (poll(&pollfd, 1, -1) != 1) in ready()
86 ready(ctx->ready_out, ctx->wakefd); in sender()
91 for (j = 0; j < ctx->num_fds; j++) { in sender()
95 ret = write(ctx->out_fds[j], data + done, in sender()
96 sizeof(data)-done); in sender()
115 close(ctx->in_fds[1]); in receiver()
118 ready(ctx->ready_out, ctx->wakefd); in receiver()
[all …]
/kernel/linux/linux-6.6/tools/perf/bench/
Dsched-messaging.c1 // SPDX-License-Identifier: GPL-2.0
4 * sched-messaging.c
13 #include <subcmd/parse-options.h>
81 if (poll(&pollfd, 1, -1) != 1) in ready()
91 ready(ctx->ready_out, ctx->wakefd); in sender()
96 for (j = 0; j < ctx->num_fds; j++) { in sender()
100 ret = write(ctx->out_fds[j], data + done, in sender()
101 sizeof(data)-done); in sender()
120 close(ctx->in_fds[1]); in receiver()
123 ready(ctx->ready_out, ctx->wakefd); in receiver()
[all …]
/kernel/linux/linux-5.10/drivers/s390/net/
Dctcm_sysfs.c1 // SPDX-License-Identifier: GPL-2.0
25 struct device_attribute *attr, char *buf) in ctcm_buffer_show() argument
30 return -ENODEV; in ctcm_buffer_show()
31 return sprintf(buf, "%d\n", priv->buffer_size); in ctcm_buffer_show()
35 struct device_attribute *attr, const char *buf, size_t count) in ctcm_buffer_write() argument
42 if (!(priv && priv->channel[CTCM_READ] && in ctcm_buffer_write()
43 priv->channel[CTCM_READ]->netdev)) { in ctcm_buffer_write()
45 return -ENODEV; in ctcm_buffer_write()
47 ndev = priv->channel[CTCM_READ]->netdev; in ctcm_buffer_write()
56 priv->buffer_size = bs1; /* just to overwrite the default */ in ctcm_buffer_write()
[all …]
/kernel/linux/linux-6.6/drivers/s390/net/
Dctcm_sysfs.c1 // SPDX-License-Identifier: GPL-2.0
25 struct device_attribute *attr, char *buf) in ctcm_buffer_show() argument
30 return -ENODEV; in ctcm_buffer_show()
31 return sysfs_emit(buf, "%d\n", priv->buffer_size); in ctcm_buffer_show()
35 struct device_attribute *attr, const char *buf, size_t count) in ctcm_buffer_write() argument
42 if (!(priv && priv->channel[CTCM_READ] && in ctcm_buffer_write()
43 priv->channel[CTCM_READ]->netdev)) { in ctcm_buffer_write()
45 return -ENODEV; in ctcm_buffer_write()
47 ndev = priv->channel[CTCM_READ]->netdev; in ctcm_buffer_write()
56 priv->buffer_size = bs1; /* just to overwrite the default */ in ctcm_buffer_write()
[all …]
/kernel/linux/linux-6.6/drivers/hwmon/
Dsht4x.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * sht4x.c - Linux hwmon driver for SHT4x Temperature and Humidity sensor
41 #define SHT4X_MIN_TEMPERATURE -45000
49 * struct sht4x_data - All the data required to operate an SHT4X chip
61 long update_interval; /* in milli-seconds */
68 * sht4x_read_values() - read and parse the raw data from the SHT4X
70 * Return: 0 if successful, -ERRNO if not
77 struct i2c_client *client = data->client; in sht4x_read_values()
82 mutex_lock(&data->lock); in sht4x_read_values()
83 next_update = data->last_updated + in sht4x_read_values()
[all …]
/kernel/linux/linux-5.10/drivers/hwmon/
Dsht3x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* Sensirion SHT3x-DIS humidity and temperature sensor driver.
16 #include <linux/hwmon-sysfs.h>
45 /* delays for non-blocking i2c commands, both in us */
55 #define SHT3X_MIN_TEMPERATURE -45000
166 return number_of_modes - 1; in get_mode_from_update_interval()
176 mutex_lock(&data->i2c_lock); in sht3x_read_from_command()
180 ret = ret < 0 ? ret : -EIO; in sht3x_read_from_command()
189 ret = ret < 0 ? ret : -EIO; in sht3x_read_from_command()
195 mutex_unlock(&data->i2c_lock); in sht3x_read_from_command()
[all …]
/kernel/linux/linux-5.10/kernel/
Dcpu.c35 #include <linux/percpu-rwsem.h>
46 * cpuhp_cpu_state - Per cpu hotplug state storage
56 * @done_up: Signal completion to the issuer of the task for cpu-up
57 * @done_down: Signal completion to the issuer of the task for cpu-down
88 STATIC_LOCKDEP_MAP_INIT("cpuhp_state-up", &cpuhp_state_up_map);
90 STATIC_LOCKDEP_MAP_INIT("cpuhp_state-down", &cpuhp_state_down_map);
110 * cpuhp_step - Hotplug state machine step
120 int (*multi)(unsigned int cpu, member
125 int (*multi)(unsigned int cpu, member
146 * @node: For multi-instance, do a single entry callback for install/remove
[all …]
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/
Dnxt200x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Support for NXT2002 and NXT2004 - VSB/QAM
6 * Copyright (C) 2006-2014 Michael Krufky <mkrufky@linuxtv.org>
8 * and nxt2004 by Jean-Francois Thibert <jeanfrancois@sagetv.com>
15 * B2C2/BBTI Technisat Air2PC - ATSC (NXT2002)
31 #define NXT2002_DEFAULT_FIRMWARE "dvb-fe-nxt2002.fw"
32 #define NXT2004_DEFAULT_FIRMWARE "dvb-fe-nxt2004.fw"
63 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { in i2c_writebytes()
66 return -EREMOTEIO; in i2c_writebytes()
76 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { in i2c_readbytes()
[all …]
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Dnxt200x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Support for NXT2002 and NXT2004 - VSB/QAM
6 * Copyright (C) 2006-2014 Michael Krufky <mkrufky@linuxtv.org>
8 * and nxt2004 by Jean-Francois Thibert <jeanfrancois@sagetv.com>
15 * B2C2/BBTI Technisat Air2PC - ATSC (NXT2002)
31 #define NXT2002_DEFAULT_FIRMWARE "dvb-fe-nxt2002.fw"
32 #define NXT2004_DEFAULT_FIRMWARE "dvb-fe-nxt2004.fw"
63 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { in i2c_writebytes()
66 return -EREMOTEIO; in i2c_writebytes()
76 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { in i2c_readbytes()
[all …]
/kernel/linux/linux-5.10/drivers/char/ipmi/
Dipmi_ssif.c1 // SPDX-License-Identifier: GPL-2.0+
12 * non-blocking I2C interface, add support for multi-part
63 /* ssif_debug is a bit-field
64 * SSIF_DEBUG_MSG - commands and their responses
65 * SSIF_DEBUG_STATES - message states
66 * SSIF_DEBUG_TIMING - Measure times between events in the driver
103 /* FIXME - add watchdog stuff. */
106 #define IS_SSIF_IDLE(ssif) ((ssif)->ssif_state == SSIF_IDLE \
107 && (ssif)->curr_msg == NULL)
251 * Used to perform timer operations when run-to-completion
[all …]
/kernel/linux/linux-6.6/drivers/char/ipmi/
Dipmi_ssif.c1 // SPDX-License-Identifier: GPL-2.0+
12 * non-blocking I2C interface, add support for multi-part
63 /* ssif_debug is a bit-field
64 * SSIF_DEBUG_MSG - commands and their responses
65 * SSIF_DEBUG_STATES - message states
66 * SSIF_DEBUG_TIMING - Measure times between events in the driver
103 /* FIXME - add watchdog stuff. */
106 #define IS_SSIF_IDLE(ssif) ((ssif)->ssif_state == SSIF_IDLE \
107 && (ssif)->curr_msg == NULL)
293 atomic_inc(&(ssif)->stats[SSIF_STAT_ ## stat])
[all …]
/kernel/linux/linux-5.10/drivers/mfd/
Dgateworks-gsc.c1 // SPDX-License-Identifier: GPL-2.0
3 * The Gateworks System Controller (GSC) is a multi-function
6 * system functions such as push-button monitoring, multiple ADC's for
40 * -EAGAIN returned when the i2c host controller is busy in gsc_write()
41 * -EIO returned when i2c device is busy in gsc_write()
43 if (ret != -EAGAIN && ret != -EIO) in gsc_write()
59 * -EAGAIN returned when the i2c host controller is busy in gsc_read()
60 * -EIO returned when i2c device is busy in gsc_read()
62 if (ret != -EAGAIN && ret != -EIO) in gsc_read()
72 * gsc_powerdown - API to use GSC to power down board for a specific time
[all …]
/kernel/linux/linux-6.6/drivers/mfd/
Dgateworks-gsc.c1 // SPDX-License-Identifier: GPL-2.0
3 * The Gateworks System Controller (GSC) is a multi-function
6 * system functions such as push-button monitoring, multiple ADC's for
40 * -EAGAIN returned when the i2c host controller is busy in gsc_write()
41 * -EIO returned when i2c device is busy in gsc_write()
43 if (ret != -EAGAIN && ret != -EIO) in gsc_write()
59 * -EAGAIN returned when the i2c host controller is busy in gsc_read()
60 * -EIO returned when i2c device is busy in gsc_read()
62 if (ret != -EAGAIN && ret != -EIO) in gsc_read()
72 * gsc_powerdown - API to use GSC to power down board for a specific time
[all …]
/kernel/linux/linux-6.6/kernel/
Dcpu.c36 #include <linux/percpu-rwsem.h>
48 * struct cpuhp_cpu_state - Per cpu hotplug state storage
58 * @node: Remote CPU node; for multi-instance, do a
60 * @last: For multi-instance rollback, remember how far we got
64 * @done_up: Signal completion to the issuer of the task for cpu-up
65 * @done_down: Signal completion to the issuer of the task for cpu-down
97 STATIC_LOCKDEP_MAP_INIT("cpuhp_state-up", &cpuhp_state_up_map);
99 STATIC_LOCKDEP_MAP_INIT("cpuhp_state-down", &cpuhp_state_down_map);
119 * struct cpuhp_step - Hotplug state machine step
130 int (*multi)(unsigned int cpu, member
[all …]

12345678910>>...17