/linux-6.14.4/Documentation/netlink/specs/ |
D | nfsd.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 uapi-header: linux/nfsd_netlink.h 9 attribute-sets: 10 - 11 name: rpc-status 13 - 16 byte-order: big-endian 17 - 20 - 23 - [all …]
|
D | handshake.yaml | 1 # 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 …]
|
D | devlink.yaml | 1 # 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 - 18 - 20 name: port-type 22 - 24 - [all …]
|
D | dpll.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 8 - 16 - 20 - 23 render-max: true 24 - 26 name: lock-status 31 - 37 - 41 - [all …]
|
D | ethtool.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 5 protocol: genetlink-legacy 8 uapi-header: linux/ethtool_netlink_generated.h 11 - 12 name: udp-tunnel-type 13 enum-name: 15 entries: [ vxlan, geneve, vxlan-gpe ] 16 enum-cnt-name: __ethtool-udp-tunnel-type-cnt 17 render-max: true 18 - [all …]
|
D | nftables.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 4 protocol: netlink-raw 11 - 15 - 16 name: nfgen-family 18 - 21 - 22 name: res-id 23 byte-order: big-endian 25 - [all …]
|
D | rt_link.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 name: rt-link 4 protocol: netlink-raw 11 - 12 name: ifinfo-flags 15 - 17 - 19 - 21 - 23 - [all …]
|
/linux-6.14.4/Documentation/userspace-api/netlink/ |
D | genetlink-legacy.rst | 1 .. SPDX-License-Identifier: BSD-3-Clause 9 the ``genetlink-legacy`` protocol level. 15 ------- 29 -------------------- 31 New Netlink families should use ``multi-attr`` to define arrays. 35 For reference the ``multi-attr`` array may look like this:: 37 [ARRAY-ATTR] 41 [SOME-OTHER-ATTR] 42 [ARRAY-ATTR] 47 where ``ARRAY-ATTR`` is the array entry type. [all …]
|
/linux-6.14.4/tools/lib/bpf/ |
D | features.c | 1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 30 union bpf_attr attr; in probe_kern_prog_name() local 33 memset(&attr, 0, attr_sz); in probe_kern_prog_name() 34 attr.prog_type = BPF_PROG_TYPE_SOCKET_FILTER; in probe_kern_prog_name() 35 attr.license = ptr_to_u64("GPL"); in probe_kern_prog_name() 36 attr.insns = ptr_to_u64(insns); in probe_kern_prog_name() 37 attr.insn_cnt = (__u32)ARRAY_SIZE(insns); in probe_kern_prog_name() 38 attr.prog_token_fd = token_fd; in probe_kern_prog_name() 40 attr.prog_flags |= BPF_F_TOKEN_FD; in probe_kern_prog_name() 41 libbpf_strlcpy(attr.prog_name, "libbpf_nametest", sizeof(attr.prog_name)); in probe_kern_prog_name() [all …]
|
/linux-6.14.4/drivers/leds/ |
D | leds-lp55xx-common.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 * Derived from leds-lp5521.c, leds-lp5523.c 15 #include <linux/led-class-multicolor.h> 42 struct device_attribute *attr, \ 45 return lp55xx_show_engine_mode(dev, attr, buf, nr); \ 48 struct device_attribute *attr, \ 51 return lp55xx_store_engine_mode(dev, attr, buf, len, nr); \ 58 struct device_attribute *attr, \ 61 return lp55xx_show_engine_leds(dev, attr, buf, nr); \ 64 struct device_attribute *attr, \ [all …]
|
/linux-6.14.4/Documentation/networking/device_drivers/ethernet/ti/ |
D | am65_nuss_cpsw_switchdev.rst | 1 .. 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 …]
|
/linux-6.14.4/drivers/soc/versatile/ |
D | soc-realview.c | 1 // 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 …]
|
/linux-6.14.4/drivers/hwmon/ |
D | sht4x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * sht4x.c - Linux hwmon driver for SHT4x Temperature and Humidity sensor 14 #include <linux/hwmon-sysfs.h> 48 #define SHT4X_MIN_TEMPERATURE -45000 56 * struct sht4x_data - All the data required to operate an SHT4X chip 74 u32 heater_power; /* in milli-watts */ 75 u32 heater_time; /* in milli-seconds */ 77 long update_interval; /* in milli-seconds */ 84 * sht4x_read_values() - read and parse the raw data from the SHT4X 86 * Return: 0 if successful, -ERRNO if not [all …]
|
D | sht3x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Sensirion SHT3x-DIS humidity and temperature sensor driver. 17 #include <linux/hwmon-sysfs.h> 49 /* delays for single-shot mode i2c commands, both in us */ 60 #define SHT3X_MIN_TEMPERATURE -45000 204 return number_of_modes - 1; in get_mode_from_update_interval() 214 mutex_lock(&data->i2c_lock); in sht3x_read_from_command() 218 ret = ret < 0 ? ret : -EIO; in sht3x_read_from_command() 227 ret = ret < 0 ? ret : -EIO; in sht3x_read_from_command() 233 mutex_unlock(&data->i2c_lock); in sht3x_read_from_command() [all …]
|
/linux-6.14.4/include/linux/ceph/ |
D | rados.h | 1 /* 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 …]
|
/linux-6.14.4/tools/perf/bench/ |
D | sched-messaging.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * sched-messaging.c 13 #include <subcmd/parse-options.h> 89 if (poll(&pollfd, 1, -1) != 1) in ready() 99 ready(ctx->ready_out, ctx->wakefd); in sender() 104 for (j = 0; j < ctx->num_fds; j++) { in sender() 108 ret = write(ctx->out_fds[j], data + done, in sender() 109 sizeof(data) - done); in sender() 128 close(ctx->in_fds[1]); in receiver() 131 ready(ctx->ready_out, ctx->wakefd); in receiver() [all …]
|
/linux-6.14.4/drivers/s390/net/ |
D | ctcm_sysfs.c | 1 // 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 …]
|
/linux-6.14.4/drivers/media/dvb-frontends/ |
D | nxt200x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Support for NXT2002 and NXT2004 - VSB/QAM 6 * Copyright (C) 2006-2014 Michael Krufky <[email protected]> 8 * and nxt2004 by Jean-Francois Thibert <[email protected]> 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 …]
|
/linux-6.14.4/drivers/char/ipmi/ |
D | ipmi_ssif.c | 1 // 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 …]
|
/linux-6.14.4/drivers/mfd/ |
D | gateworks-gsc.c | 1 // 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 …]
|
/linux-6.14.4/kernel/ |
D | cpu.c | 36 #include <linux/percpu-rwsem.h> 48 * struct cpuhp_cpu_state - Per cpu hotplug state storage 57 * @node: Remote CPU node; for multi-instance, do a 59 * @last: For multi-instance rollback, remember how far we got 63 * @done_up: Signal completion to the issuer of the task for cpu-up 64 * @done_down: Signal completion to the issuer of the task for cpu-down 96 STATIC_LOCKDEP_MAP_INIT("cpuhp_state-up", &cpuhp_state_up_map); 98 STATIC_LOCKDEP_MAP_INIT("cpuhp_state-down", &cpuhp_state_down_map); 118 * struct cpuhp_step - Hotplug state machine step 129 int (*multi)(unsigned int cpu, member [all …]
|
/linux-6.14.4/drivers/block/xen-blkback/ |
D | xenbus.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 #define pr_fmt(fmt) "xen-blkback: " fmt 18 /* On the XenBus the max length of 'ring-ref%u'. */ 40 return be->dev; in xen_blkbk_xenbus() 58 struct xenbus_device *dev = blkif->be->dev; in blkback_name() 60 devpath = xenbus_read(XBT_NIL, dev->nodename, "dev", NULL); in blkback_name() 70 snprintf(buf, TASK_COMM_LEN, "%d.%s", blkif->domid, devname); in blkback_name() 84 if (!blkif->rings || !blkif->rings[0].irq || !blkif->vbd.bdev_file) in xen_update_blkif_status() 88 if (blkif->be->dev->state == XenbusStateConnected) in xen_update_blkif_status() 92 connect(blkif->be); in xen_update_blkif_status() [all …]
|
/linux-6.14.4/sound/pci/hda/ |
D | hda_generic.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Generic BIOS auto-parser helper functions for HD-audio 16 /* table entry for multi-io paths */ 18 hda_nid_t pin; /* multi-io widget pin NID */ 20 unsigned int ctl_in; /* cached input-pin control value */ 25 * For output, stored in the order of DAC -> ... -> pin, 26 * for input, pin -> ... -> ADC. 30 * multi[] indicates whether it's a selector widget with multi-connectors 48 unsigned char multi[MAX_NID_PATH_DEPTH]; member 56 /* mic/line-in auto switching entry */ [all …]
|
/linux-6.14.4/net/ncsi/ |
D | ncsi-netlink.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright Samuel Mendoza-Jonas, IBM Corporation 2018. 18 #include "ncsi-pkt.h" 19 #include "ncsi-netlink.h" 66 nla_put_u32(skb, NCSI_CHANNEL_ATTR_ID, nc->id); in ncsi_write_channel_info() 67 m = &nc->modes[NCSI_MODE_LINK]; in ncsi_write_channel_info() 68 nla_put_u32(skb, NCSI_CHANNEL_ATTR_LINK_STATE, m->data[2]); in ncsi_write_channel_info() 69 if (nc->state == NCSI_CHANNEL_ACTIVE) in ncsi_write_channel_info() 71 if (nc == nc->package->preferred_channel) in ncsi_write_channel_info() 74 nla_put_u32(skb, NCSI_CHANNEL_ATTR_VERSION_MAJOR, nc->version.major); in ncsi_write_channel_info() [all …]
|
/linux-6.14.4/drivers/hwtracing/coresight/ |
D | coresight-tpdm.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/coresight-pmu.h> 19 #include "coresight-priv.h" 20 #include "coresight-tpdm.h" 26 struct device_attribute *attr, in tpdm_simple_dataset_show() argument 29 struct tpdm_drvdata *drvdata = dev_get_drvdata(dev->parent); in tpdm_simple_dataset_show() 31 container_of(attr, struct tpdm_dataset_attribute, attr); in tpdm_simple_dataset_show() 33 switch (tpdm_attr->mem) { in tpdm_simple_dataset_show() 35 if (tpdm_attr->idx >= TPDM_DSB_MAX_EDCR) in tpdm_simple_dataset_show() 36 return -EINVAL; in tpdm_simple_dataset_show() [all …]
|