/linux-6.8/Documentation/netlink/specs/ |
D | tc.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 4 protocol: netlink-raw 12 - 14 type: struct 16 - 18 type: u8 19 - 21 type: pad 23 - 25 type: s32 [all …]
|
D | dpll.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 8 - 9 type: enum 16 - 19 value: 1 20 - 23 render-max: true 24 - 25 type: enum 26 name: lock-status [all …]
|
D | devlink.yaml | 1 # 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 - 18 - 19 type: enum 20 name: port-type [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 13 type: flags 15 - 17 - 19 - 21 - [all …]
|
/linux-6.8/Documentation/netlink/ |
D | netlink-raw.yaml | 1 # 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 …]
|
D | genetlink-legacy.yaml | 1 # 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)?$ 16 len-or-limit: 17 # literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc. [all …]
|
D | genetlink.yaml | 1 # 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)?$ 16 len-or-limit: 17 # literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc. [all …]
|
D | genetlink-c.yaml | 1 # 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)?$ 16 len-or-limit: 17 # literal int or limit based on fixed-width type e.g. u8-min, u16-max, etc. [all …]
|
/linux-6.8/Documentation/devicetree/bindings/remoteproc/ |
D | qcom,q6v5.txt | 6 - 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-6.8/arch/mips/include/asm/ |
D | unaligned-emul.h | 1 /* 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-6.8/sound/core/ |
D | control_compat.c | 1 // 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-6.8/include/linux/ |
D | minmax.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 * - Avoid multiple evaluations of the arguments (so side-effects like 14 * "x++" happen only once) when non-constant. 15 * - Retain result as a constant expressions when called with only 18 * - Perform signed v unsigned type-checking (to generate compile 20 * - Unsigned char/short are always promoted to signed int and can be 22 * - Unsigned arguments can be compared against non-negative signed constants. 23 * - Comparison of a signed argument against an unsigned constant fails 34 /* True for a non-negative signed int constant */ 36 (__builtin_choose_expr(__is_constexpr(x) && __is_signed(x), x, -1) >= 0) [all …]
|
/linux-6.8/fs/orangefs/ |
D | acl.c | 1 // 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-6.8/Documentation/userspace-api/media/v4l/ |
D | vidioc-g-ext-ctrls.rst | 1 .. 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 …]
|
D | vidioc-queryctrl.rst | 1 .. 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-6.8/tools/net/ynl/lib/ |
D | ynl.py | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 84 return f"Netlink error: {os.strerror(-self.nl_msg.error)}\n{self.nl_msg}" 102 self.type = self._type & ~Netlink.NLA_TYPE_MASK 112 return format.big if byte_order == "big-endian" \ 136 raise Exception(f"Auto-scalar len payload be 4 or 8 bytes, got {len(self.raw)}") 142 return self.raw.decode('ascii')[:-1] 147 def as_c_array(self, type): argument 148 format = self.get_format(type) 152 value = dict() 155 # TODO: handle non-scalar members [all …]
|
D | nlspec.py | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 37 self.ident_name = self.name.replace('-', '_') 66 value numerical value of this enum (use accessors in most situations!) 69 raw_value raw value, i.e. the id in the enum, unlike user value which is a mask for flags 70 user_value user value, same as raw value for enums, for flags it's the mask 80 if 'value' in yaml: 81 self.value = yaml['value'] 83 self.value = prev.value + 1 85 self.value = value_start 91 return self.value [all …]
|
/linux-6.8/tools/lib/subcmd/ |
D | parse-options.h | 1 /* 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-6.8/kernel/power/ |
D | qos.c | 1 // 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-6.8/drivers/base/power/ |
D | qos.c | 1 // 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-6.8/Documentation/devicetree/bindings/powerpc/fsl/ |
D | srio-rmu.txt | 5 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-6.8/Documentation/devicetree/bindings/pinctrl/ |
D | qcom,apq8084-pinctrl.txt | 6 - 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 …]
|
D | mediatek,mt8188-pinctrl.yaml | 1 # 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-6.8/Documentation/devicetree/bindings/phy/ |
D | qcom,usb-8x16-phy.txt | 3 - 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-6.8/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm_gram.y | 20 * 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 …]
|