Home
last modified time | relevance | path

Searched +full:attribute +full:- +full:set (Results 1 – 25 of 1062) sorted by relevance

12345678910>>...43

/linux/Documentation/netlink/specs/
H A Dnfsd.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
5 uapi-header: linux/nfsd_netlink.h
9 attribute-sets:
10 -
11 name: rpc-status
13 -
16 byte-order: big-endian
17 -
20 -
[all …]
H A Dpsp.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
9 -
12 entries: [hdr0-aes-gcm-128, hdr0-aes-gcm-256,
13 hdr0-aes-gmac-128, hdr0-aes-gmac-256]
15 attribute-sets:
16 -
19 -
25 -
29 -
[all …]
/linux/Documentation/admin-guide/pm/
H A Dintel_uncore_frequency_scaling.rst1 .. SPDX-License-Identifier: GPL-2.0
8 :Copyright: |copy| 2022-2023 Intel Corporation
13 ------------
18 algorithms monitor workload usage of uncore and set a desirable frequency.
21 want to have control over it. The objective is similar to allowing users to set
30 ---------------
44 Out of reset, this attribute represent the maximum possible frequency.
45 This is a read-only attribute. If users adjust max_freq_khz,
46 they can always go back to maximum using the value from this attribute.
49 Out of reset, this attribute represent the minimum possible frequency.
[all …]
H A Dintel_pstate.rst1 .. SPDX-License-Identifier: GPL-2.0
22 Documentation/admin-guide/pm/cpufreq.rst if you have not done that yet.]
24 For the processors supported by ``intel_pstate``, the P-state concept is broader
27 information about that). For this reason, the representation of P-states used
32 ``intel_pstate`` maps its internal representation of P-states to frequencies too
38 Since the hardware P-state selection interface used by ``intel_pstate`` is
43 time the corresponding CPU is taken offline and need to be re-initialized when
47 only way to pass early-configuration-time parameters to it is via the kernel
69 -----------
72 hardware-managed P-states (HWP) support. If it works in this mode, the
[all …]
/linux/Documentation/admin-guide/gpio/
H A Dgpio-sim.rst1 .. SPDX-License-Identifier: GPL-2.0-or-later
6 The configfs GPIO Simulator (gpio-sim) provides a way to create simulated GPIO
12 ------------------------
14 The gpio-sim module registers a configfs subsystem called ``'gpio-sim'``. For
21 **Group:** ``/config/gpio-sim``
23 This is the top directory of the gpio-sim configfs tree.
25 **Group:** ``/config/gpio-sim/gpio-device``
27 **Attribute:** ``/config/gpio-sim/gpio-device/dev_name``
29 **Attribute:** ``/config/gpio-sim/gpio-device/live``
32 attribute is read-only and allows the user-space to read the platform device
[all …]
H A Dgpio-aggregator.rst1 .. SPDX-License-Identifier: GPL-2.0-only
11 -----------------------------
15 system permissions, on an all-or-nothing basis: either a GPIO controller is
18 The GPIO Aggregator provides access control for a set of one or more GPIOs, by
26 write-only attribute files in sysfs.
28 /sys/bus/platform/drivers/gpio-aggregator/
35 .. code-block:: none
48 is a comma-separated list of GPIO offsets and/or
52 line 19 of "e6052000.gpio" and GPIO lines 20-21 of
55 .. code-block:: sh
[all …]
/linux/net/ethtool/
H A Dnetlink.h1 /* SPDX-License-Identifier: GPL-2.0-only */
31 * ethnl_strz_size() - calculate attribute length for fixed size string
34 * Return: total length of an attribute with null terminated string from @s
42 * ethnl_put_strz() - put string attribute with fixed size string
44 * @attrtype: attribute type
47 * Puts an attribute with null terminated string from @s into the message.
59 return -EMSGSIZE; in ethnl_put_strz()
67 * ethnl_update_u32() - update u32 value from NLA_U32 attribute
69 * @attr: netlink attribute with new value or null
72 * Copy the u32 value from NLA_U32 netlink attribute @attr into variable
[all …]
/linux/Documentation/filesystems/ext4/
H A Dattributes.rst1 .. SPDX-License-Identifier: GPL-2.0
4 -------------------
11 all attribute names begin with “user”; this restriction seems to have
17 sb.inode_size = 256, then there are 256 - (128 + 28) = 100 bytes
18 available for in-inode extended attribute storage. The second place
21 block to contain a pointer to a second extended attribute block (or even
23 attribute's value to be stored in a separate data block, though as of
32 .. list-table::
34 :header-rows: 1
36 * - Offset
[all …]
/linux/Documentation/virt/kvm/devices/
H A Dvm.rst1 .. SPDX-License-Identifier: GPL-2.0
9 struct kvm_device_attr as other devices, but targets VM-wide settings
20 1.1. ATTRIBUTE: KVM_S390_VM_MEM_ENABLE_CMMA
21 -------------------------------------------
24 :Returns: -EBUSY if a vcpu is already defined, otherwise 0
28 1.2. ATTRIBUTE: KVM_S390_VM_MEM_CLR_CMMA
29 ----------------------------------------
32 :Returns: -EINVAL if CMMA was not enabled;
38 1.3. ATTRIBUTE KVM_S390_VM_MEM_LIMIT_SIZE
39 -----------------------------------------
[all …]
/linux/drivers/platform/x86/lenovo/
H A Dwmi-other.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * "Gaming Series" of Lenovo laptop devices. Each attribute exposed by the
10 * allows the driver to probe details about the attribute such as if it is
14 * These attributes typically don't fit anywhere else in the sysfs and are set
21 * - fw_attributes
22 * - binding to Capability Data 01
25 * - HWMON
26 * - binding to Capability Data 00 and Fan
47 #include "wmi-capdata.h"
48 #include "wmi-events.h"
[all …]
/linux/include/uapi/linux/
H A Dnetlink.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
17 #define NETLINK_ISCSI 8 /* Open-iSCSI */
45 * struct nlmsghdr - fixed format metadata header of Netlink messages
99 #define NLMSG_ALIGN(len) ( ((len)+NLMSG_ALIGNTO-1) & ~(NLMSG_ALIGNTO-1) )
104 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \
106 NLMSG_ALIGN((nlh)->nlmsg_len)))
108 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \
109 (nlh)->nlmsg_len <= (len))
110 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len)))
123 * followed by the message contents unless NETLINK_CAP_ACK was set
[all …]
/linux/Documentation/userspace-api/netlink/
H A Dgenetlink-legacy.rst1 .. SPDX-License-Identifier: BSD-3-Clause
9 the ``genetlink-legacy`` protocol level.
15 -------
28 Attribute type nests
29 --------------------
31 New Netlink families should use ``multi-attr`` to define arrays.
33 define array types reusing attribute type to carry information.
35 For reference the ``multi-attr`` array may look like this::
37 [ARRAY-ATTR]
41 [SOME-OTHER-ATTR]
[all …]
/linux/include/linux/
H A Ddevice.h1 // SPDX-License-Identifier: GPL-2.0
3 * device.h - generic, centralized driver model
5 * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org>
6 * Copyright (c) 2004-2009 Greg Kroah-Hartman <gregkh@suse.de>
7 * Copyright (c) 2008-2009 Novell Inc.
9 * See Documentation/driver-api/driver-model/ for more information.
51 * struct subsys_interface - interfaces to device functions
83 * This identifies the device type and carries type-specific
100 * struct device_attribute - Interface for exporting device attributes.
101 * @attr: sysfs attribute definition.
[all …]
H A Dhid-sensor-hub.h1 /* SPDX-License-Identifier: GPL-2.0-only */
10 #include <linux/hid-sensor-ids.h>
15 * struct hid_sensor_hub_attribute_info - Attribute info
17 * @attrib_id: Attribute id for this attribute.
20 * @units: Measurement unit for this attribute.
23 * @logical_minimum: Logical minimum value for this attribute.
24 * @logical_maximum: Logical maximum value for this attribute.
39 * struct sensor_hub_pending - Synchronous read pending information
43 * @attr_usage_id: Usage Id of a field, e.g. X-axis for a gyro.
57 * struct hid_sensor_hub_device - Stores the hub instance data
[all …]
/linux/Documentation/netlink/
H A Dnetlink-raw.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml#
5 $schema: https://json-schema.org/draft-07/schema
11 pattern: ^[0-9a-z-]+$
12 name-cap:
14 pattern: ^[0-9a-zA-Z-]+$
18 len-or-define:
20 pattern: ^[0-9A-Za-z_-]+( - 1)?$
22 len-or-limit:
[all …]
H A Dgenetlink-c.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-c.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_-]+( - 1)?$
16 len-or-limit:
17 # literal int, const name, or limit based on fixed-width type
18 # e.g. u8-min, u16-max, etc.
20 pattern: ^[0-9A-Za-z_-]+$
[all …]
H A Dgenetlink-legacy.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml#
5 $schema: https://json-schema.org/draft-07/schema
11 pattern: ^[0-9a-z-]+$
15 len-or-define:
17 pattern: ^[0-9A-Za-z_-]+( - 1)?$
19 len-or-limit:
20 # literal int, const name, or limit based on fixed-width type
21 # e.g. u8-min, u16-max, etc.
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-acpi5 This attribute indicates the full path of ACPI namespace
17 This attribute indicates the PNP IDs of the device object.
25 This attribute indicates the hardware ID (_HID) of the
34 This attribute contains the output of the device object's
41 This attribute contains the output of the device object's
50 This attribute contains the output of the device object's
57 Writing 1 to this attribute will trigger hot removal of
72 Bit [0] Set if the device is present.
73 Bit [1] Set if the device is enabled and decoding its
75 Bit [2] Set if the device should be shown in the UI.
[all …]
H A Dsysfs-devices-edac3 Contact: linux-edac@vger.kernel.org
4 Description: This write-only control file will zero all the statistical
14 Contact: linux-edac@vger.kernel.org
15 Description: This attribute file displays how many seconds have elapsed
21 Contact: linux-edac@vger.kernel.org
22 Description: This attribute file displays the type of memory controller
27 Contact: linux-edac@vger.kernel.org
28 Description: This attribute file displays, in count of megabytes, of memory
33 Contact: linux-edac@vger.kernel.org
34 Description: This attribute file displays the total count of uncorrectable
[all …]
/linux/security/
H A Dlsm_syscalls.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2022 Casey Schaufler <casey@schaufler-ca.com>
23 * lsm_name_to_attr - map an LSM attribute name to its ID
24 * @name: name of the attribute
26 * Returns the LSM attribute value associated with @name, or 0 if
47 * sys_lsm_set_self_attr - Set current task's security module attribute
48 * @attr: which attribute to set
54 * returns 0. If the attribute specified cannot be set a negative
62 rc = mutex_lock_interruptible(&current->signal->cred_guard_mutex); in SYSCALL_DEFINE4()
66 mutex_unlock(&current->signal->cred_guard_mutex); in SYSCALL_DEFINE4()
[all …]
/linux/Documentation/dev-tools/kunit/
H A Drunning_tips.rst1 .. SPDX-License-Identifier: GPL-2.0
11 --------------------------
15 .. code-block:: bash
18 ( cd "$(git rev-parse --show-toplevel)" && ./tools/testing/kunit/kunit.py run "$@" )
26 -------------------------
33 .. code-block:: bash
35 $ echo -e 'CONFIG_KUNIT=y\nCONFIG_KUNIT_ALL_TESTS=y' > .kunit/.kunitconfig
40 .. code-block:: bash
42 $ echo -e 'CONFIG_KUNIT=y\nCONFIG_KUNIT_ALL_TESTS=y' > .kunit/.kunitconfig
49 However, if we wanted to define a set of tests in a less ad hoc way, the next
[all …]
/linux/fs/ntfs/
H A Dattrlist.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Attribute list attribute handling code.
4 * Part of this file is based on code from the NTFS-3G.
6 * Copyright (c) 2004-2005 Anton Altaparmakov
7 * Copyright (c) 2004-2005 Yura Pakhuchiy
17 * ntfs_attrlist_need - check whether inode need attribute list
21 * attribute list is not needed.
23 * Return 1 if inode need attribute list, 0 if not, or -errno on error.
31 return -EINVAL; in ntfs_attrlist_need()
33 ntfs_debug("Entering for inode 0x%llx.\n", (long long) ni->mft_no); in ntfs_attrlist_need()
[all …]
/linux/samples/kobject/
H A Dkset-example.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2004-2007 Greg Kroah-Hartman <greg@kroah.com>
37 /* a custom attribute that works just for a struct foo_obj. */
39 struct attribute attr;
54 struct attribute *attr, in foo_attr_show()
57 const struct foo_attribute *attribute; in foo_attr_show() local
60 attribute = to_foo_attr(attr); in foo_attr_show()
63 if (!attribute->show) in foo_attr_show()
64 return -EIO; in foo_attr_show()
66 return attribute->show(foo, attribute, buf); in foo_attr_show()
[all …]
/linux/drivers/platform/mellanox/
H A Dmlxreg-io.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <linux/hwmon-sysfs.h>
18 /* Attribute parameters. */
23 * struct mlxreg_io_priv_data - driver's private data:
29 * @mlxreg_io_dev_attr: sysfs sensor device attribute array;
30 * @group: sysfs attribute group;
31 * @groups: list of sysfs attribute group for hwmon registration;
39 struct attribute *mlxreg_io_attr[MLXREG_IO_ATT_NUM + 1];
53 ret = regmap_read(regmap, data->reg, regval); in mlxreg_io_get_reg()
60 * mask indicates which bits are not related and field bit is set zero. in mlxreg_io_get_reg()
[all …]
/linux/drivers/net/wireless/marvell/libertas/
H A Dmesh.c1 // SPDX-License-Identifier: GPL-2.0
30 cmd->hdr.command = cpu_to_le16(CMD_MESH_ACCESS); in lbs_mesh_access()
31 cmd->hdr.size = cpu_to_le16(sizeof(*cmd)); in lbs_mesh_access()
32 cmd->hdr.result = 0; in lbs_mesh_access()
34 cmd->action = cpu_to_le16(cmd_action); in lbs_mesh_access()
50 * id in bits 14-13-12. in __lbs_mesh_config_send()
52 if (priv->mesh_tlv == TLV_TYPE_MESH_ID) in __lbs_mesh_config_send()
56 cmd->hdr.command = cpu_to_le16(command); in __lbs_mesh_config_send()
57 cmd->hdr.size = cpu_to_le16(sizeof(struct cmd_ds_mesh_config)); in __lbs_mesh_config_send()
58 cmd->hdr.result = 0; in __lbs_mesh_config_send()
[all …]

12345678910>>...43