Home
last modified time | relevance | path

Searched +full:type +full:- +full:value (Results 1 – 25 of 1196) sorted by relevance

12345678910>>...48

/Linux-v6.6/Documentation/netlink/specs/
Ddevlink.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
5 protocol: genetlink-legacy
10 -
11 type: enum
12 name: sb-pool-type
14 -
16 -
19 attribute-sets:
20 -
22 name-prefix: devlink-attr-
[all …]
/Linux-v6.6/include/linux/
Dminmax.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 * - avoid multiple evaluations of the arguments (so side-effects like
12 * "x++" happen only once) when non-constant.
13 * - perform strict type-checking (to generate warnings instead of
16 * - retain result as a constant expressions when called with only
64 * min - return minimum of two values of the same or compatible types
65 * @x: first value
66 * @y: second value
71 * max - return maximum of two values of the same or compatible types
72 * @x: first value
[all …]
/Linux-v6.6/Documentation/netlink/
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
10 type: integer
12 len-or-define:
13 type: [ string, integer ]
14 pattern: ^[0-9A-Za-z_]+( - 1)?$
20 type: object
21 required: [ name, doc, attribute-sets, operations ]
[all …]
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
10 type: integer
12 len-or-define:
13 type: [ string, integer ]
14 pattern: ^[0-9A-Za-z_]+( - 1)?$
20 type: object
21 required: [ name, doc, attribute-sets, operations ]
[all …]
Dgenetlink.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
10 type: integer
12 len-or-define:
13 type: [ string, integer ]
14 pattern: ^[0-9A-Za-z_]+( - 1)?$
20 type: object
21 required: [ name, doc, attribute-sets, operations ]
[all …]
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
10 type: integer
12 len-or-define:
13 type: [ string, integer ]
14 pattern: ^[0-9A-Za-z_]+( - 1)?$
20 type: object
21 required: [ name, doc, attribute-sets, operations ]
[all …]
/Linux-v6.6/Documentation/devicetree/bindings/remoteproc/
Dqcom,q6v5.txt6 - compatible:
8 Value type: <string>
10 "qcom,ipq8074-wcss-pil"
11 "qcom,qcs404-wcss-pil"
13 - reg:
15 Value type: <prop-encoded-array>
19 - reg-names:
21 Value type: <stringlist>
24 - interrupts-extended:
26 Value type: <prop-encoded-array>
[all …]
/Linux-v6.6/arch/mips/include/asm/
Dunaligned-emul.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
8 #define _LoadHW(addr, value, res, type) \ argument
11 "1:\t"type##_lb("%0", "0(%2)")"\n" \
12 "2:\t"type##_lbu("$1", "1(%2)")"\n\t"\
26 : "=&r" (value), "=r" (res) \
27 : "r" (addr), "i" (-EFAULT)); \
31 #define _LoadW(addr, value, res, type) \ argument
34 "1:\t"type##_lwl("%0", "(%2)")"\n" \
35 "2:\t"type##_lwr("%0", "3(%2)")"\n\t"\
47 : "=&r" (value), "=r" (res) \
[all …]
/Linux-v6.6/sound/core/
Dcontrol_compat.c1 // SPDX-License-Identifier: GPL-2.0-or-later
31 return -EFAULT; in snd_ctl_elem_list_compat()
33 if (get_user(ptr, &data32->pids)) in snd_ctl_elem_list_compat()
34 return -EFAULT; in snd_ctl_elem_list_compat()
41 return -EFAULT; in snd_ctl_elem_list_compat()
52 s32 type; member
75 } value; member
87 return -ENOMEM; in snd_ctl_elem_info_compat()
89 err = -EFAULT; in snd_ctl_elem_info_compat()
91 if (copy_from_user(&data->id, &data32->id, sizeof(data->id))) in snd_ctl_elem_info_compat()
[all …]
/Linux-v6.6/fs/orangefs/
Dacl.c1 // SPDX-License-Identifier: GPL-2.0
5 * See COPYING in top-level directory.
9 #include "orangefs-kernel.h"
10 #include "orangefs-bufmap.h"
13 struct posix_acl *orangefs_get_acl(struct inode *inode, int type, bool rcu) in orangefs_get_acl() argument
17 char *key = NULL, *value = NULL; in orangefs_get_acl() local
20 return ERR_PTR(-ECHILD); in orangefs_get_acl()
22 switch (type) { in orangefs_get_acl()
30 gossip_err("orangefs_get_acl: bogus value of type %d\n", type); in orangefs_get_acl()
31 return ERR_PTR(-EINVAL); in orangefs_get_acl()
[all …]
/Linux-v6.6/Documentation/userspace-api/media/v4l/
Dvidioc-g-ext-ctrls.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_G_EXT_CTRLS - VIDIOC_S_EXT_CTRLS - VIDIOC_TRY_EXT_CTRLS - Get or set the value of several co…
37 Pointer to struct :c:type:`v4l2_ext_controls`.
44 :ref:`ctrl-class`) and all controls in the control array must belong
49 :c:type:`v4l2_ext_controls`, and initialize the
50 struct :c:type:`v4l2_ext_control` array pointed to
53 To get the current value of a set of controls applications initialize
55 :c:type:`v4l2_ext_control` and call the
61 relevant for pointer-type controls like strings), then the driver will
62 set ``size`` to a valid value and return an ``ENOSPC`` error code. You
[all …]
Dvidioc-queryctrl.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_QUERYCTRL - VIDIOC_QUERY_EXT_CTRL - VIDIOC_QUERYMENU - Enumerate controls and menu control i…
35 Pointer to struct :c:type:`v4l2_queryctrl`, :c:type:`v4l2_query_ext_ctrl`
36 or :c:type:`v4l2_querymenu` (depending on the ioctl).
42 of a struct :ref:`v4l2_queryctrl <v4l2-queryctrl>` and call the
60 driver returns the next supported non-compound control, or ``EINVAL`` if
63 type ≥ ``V4L2_CTRL_COMPOUND_TYPES`` and/or array control, in other words
64 controls that contain more than one value). Specify both
72 :ref:`v4l2_queryctrl <v4l2-queryctrl>` since that structure is full.
80 fields of struct :ref:`v4l2_querymenu <v4l2-querymenu>` and call the
[all …]
/Linux-v6.6/tools/lib/subcmd/
Dparse-options.h1 /* SPDX-License-Identifier: GPL-2.0 */
55 * `type`::
56 * holds the type of the option, you must have an OPTION_END last in your
65 * `value`::
89 * default value to fill (*->value) with for PARSE_OPT_OPTARG.
91 * the value when met.
98 enum parse_opt_type type; member
101 void *value; member
114 #define check_vtype(v, type) ( BUILD_BUG_ON_ZERO(!__builtin_types_compatible_p(typeof(v), type)) + … argument
116 #define OPT_END() { .type = OPTION_END }
[all …]
/Linux-v6.6/kernel/power/
Dqos.c1 // SPDX-License-Identifier: GPL-2.0-only
15 * or through a built-in notification mechanism.
50 * pm_qos_read_value - Return the current effective constraint value.
55 return READ_ONCE(c->target_value); in pm_qos_read_value()
60 if (plist_head_empty(&c->list)) in pm_qos_get_value()
61 return c->no_constraint_value; in pm_qos_get_value()
63 switch (c->type) { in pm_qos_get_value()
65 return plist_first(&c->list)->prio; in pm_qos_get_value()
68 return plist_last(&c->list)->prio; in pm_qos_get_value()
71 WARN(1, "Unknown PM QoS type in %s\n", __func__); in pm_qos_get_value()
[all …]
/Linux-v6.6/drivers/base/power/
Dqos.c1 // SPDX-License-Identifier: GPL-2.0
8 * per-device PM QoS dependencies. It provides infrastructure for registration
11 * Dependents on a QoS value : register requests
12 * Watchers of QoS value : get notified when target QoS value changes
16 * Watchers can register a per-device notification callback using the
18 * per-device constraint data struct.
20 * Note about the per-device constraint data struct allocation:
21 * . The per-device constraints data struct ptr is stored into the device
23 * . To minimize the data usage by the per-device constraints, the data struct
46 * __dev_pm_qos_flags - Check PM QoS flags for a given device.
[all …]
/Linux-v6.6/Documentation/devicetree/bindings/powerpc/fsl/
Dsrio-rmu.txt5 node is composed of three types of sub-nodes ("fsl-srio-msg-unit",
6 "fsl-srio-dbell-unit" and "fsl-srio-port-write-unit").
10 - compatible
12 Value type: <string>
13 Definition: Must include "fsl,srio-rmu-vX.Y", "fsl,srio-rmu".
16 revision register's Major(X) and Minor (Y) value.
18 - reg
20 Value type: <prop-encoded-array>
25 - fsl,liodn
26 Usage: optional-but-recommended (for devices with PAMU)
[all …]
/Linux-v6.6/Documentation/devicetree/bindings/input/
Dqcom,pm8xxx-keypad.txt5 - compatible:
7 Value type: <string>
9 "qcom,pm8058-keypad"
10 "qcom,pm8921-keypad"
12 - reg:
14 Value type: <prop-encoded-array>
17 - interrupts:
19 Value type: <prop-encoded-array>
25 - linux,keymap:
27 Value type: <prop-encoded-array>
[all …]
/Linux-v6.6/Documentation/devicetree/bindings/pinctrl/
Dqcom,apq8084-pinctrl.txt6 - compatible:
8 Value type: <string>
9 Definition: must be "qcom,apq8084-pinctrl"
11 - reg:
13 Value type: <prop-encoded-array>
16 - interrupts:
18 Value type: <prop-encoded-array>
21 - interrupt-controller:
23 Value type: <none>
26 - #interrupt-cells:
[all …]
Dmediatek,mt8188-pinctrl.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/mediatek,mt8188-pinctrl.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Hui Liu <hui.liu@mediatek.com>
17 const: mediatek,mt8188-pinctrl
19 gpio-controller: true
21 '#gpio-cells':
25 are defined in <dt-bindings/gpio/gpio.h>.
28 gpio-ranges:
[all …]
/Linux-v6.6/drivers/accel/habanalabs/common/
Dhwmon.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright 2016-2019 HabanaLabs, Ltd.
17 static u32 fixup_flags_legacy_fw(struct hl_device *hdev, enum hwmon_sensor_types type, in fixup_flags_legacy_fw() argument
22 switch (type) { in fixup_flags_legacy_fw()
49 dev_err(hdev->dev, "unsupported h/w sensor type %d\n", type); in fixup_flags_legacy_fw()
59 return (attr - 1); in fixup_attr_legacy_fw()
64 static u32 fixup_flags_legacy_fw(struct hl_device *hdev, enum hwmon_sensor_types type, in fixup_flags_legacy_fw() argument
77 static u32 adjust_hwmon_flags(struct hl_device *hdev, enum hwmon_sensor_types type, u32 cpucp_flags) in adjust_hwmon_flags() argument
82 use_cpucp_enum = (hdev->asic_prop.fw_app_cpu_boot_dev_sts0 & in adjust_hwmon_flags()
87 * kernel since 5.6 (enum values were incremented by 1 by adding a new enable value). in adjust_hwmon_flags()
[all …]
/Linux-v6.6/Documentation/devicetree/bindings/phy/
Dqcom,usb-8x16-phy.txt3 - compatible:
5 Value type: <string>
6 Definition: Should contain "qcom,usb-8x16-phy".
8 - reg:
10 Value type: <prop-encoded-array>
13 - clocks:
15 Value type: <prop-encoded-array>
16 Definition: See clock-bindings.txt section "consumers". List of
20 - clock-names:
22 Value type: <string>
[all …]
/Linux-v6.6/drivers/rapidio/
Drio-access.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 * alignment and call the low-level functions pointed to by rio_mport->ops.
24 * RIO_LOP_READ - Generate rio_local_read_config_* functions
26 * @type: C type of value argument
32 #define RIO_LOP_READ(size,type,len) \ argument
34 (struct rio_mport *mport, u32 offset, type *value) \
39 res = mport->ops->lcread(mport, mport->id, offset, len, &data); \
40 *value = (type)data; \
45 * RIO_LOP_WRITE - Generate rio_local_write_config_* functions
47 * @type: C type of value argument
[all …]
/Linux-v6.6/drivers/scsi/aic7xxx/aicasm/
Daicasm_gram.y20 * 3. Neither the names of the above-listed copyright holders nor the names
100 static void make_expression(expression_t *immed, int value);
112 u_int value; member
121 %token <value> T_CONST
139 %token <value> T_ADDRESS
155 %token <value> T_MODE
169 %token <value> T_NUMBER
177 %token <value> T_SHR T_SHL T_ROR T_ROL
179 %token <value> T_MVI T_MOV T_CLR T_BMOV
181 %token <value> T_JMP T_JC T_JNC T_JE T_JNE T_JNZ T_JZ T_CALL
[all …]
/Linux-v6.6/drivers/hwmon/
Dasus_wmi_sensors.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (C) 2018-2019 Ed Brindley <kernel@maidavale.org>
9 * - CPU Core Voltage,
10 * - CPU SOC Voltage,
11 * - DRAM Voltage,
12 * - VDDP Voltage,
13 * - 1.8V PLL Voltage,
14 * - +12V Voltage,
15 * - +5V Voltage,
16 * - 3VSB Voltage,
[all …]
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dlsm.c1 // SPDX-License-Identifier: GPL-2.0
15 __uint(type, BPF_MAP_TYPE_ARRAY);
18 __type(value, __u64);
22 __uint(type, BPF_MAP_TYPE_HASH);
25 __type(value, __u64);
29 __uint(type, BPF_MAP_TYPE_LRU_HASH);
32 __type(value, __u64);
36 __uint(type, BPF_MAP_TYPE_PERCPU_ARRAY);
39 __type(value, __u64);
43 __uint(type, BPF_MAP_TYPE_PERCPU_HASH);
[all …]

12345678910>>...48