Home
last modified time | relevance | path

Searched full:schema (Results 1 – 25 of 4047) sorted by relevance

12345678910>>...162

/linux/Documentation/devicetree/bindings/
H A Dwriting-schema.rst3 Writing Devicetree Bindings in json-schema
6 Devicetree bindings are written using json-schema vocabulary. Schema files are
11 Also see :ref:`example-schema`.
13 Schema Contents
16 Each schema doc is a structured json-schema which is defined by a set of
18 top-level json-schema properties used are:
21 A json-schema unique identifier string. The string must be a valid
22 URI typically containing the binding's filename and path. For DT schema, it must
24 references to other files specified in schema "$ref" properties. A $ref value
27 components of the current schema file's '$id' value. A URL is used even for
[all …]
H A Dexample-schema.yaml5 # All the top-level keys are standard json-schema keywords except for
10 $id: http://devicetree.org/schemas/example-schema.yaml#
11 # $schema is the meta-schema this schema should be validated with.
12 $schema: http://devicetree.org/meta-schemas/core.yaml#
29 # 'select' is a schema applied to a DT node to determine if this binding
30 # schema should be applied to the node. It is optional and by default the
33 # In this case, a 'false' schema will never match.
36 # A dictionary of DT properties for this binding schema
38 # More complicated schema can use oneOf (XOR), anyOf (OR), or allOf (AND)
42 # The boolean schema must be a list of schemas.
[all …]
H A Dsubmitting-patches.rst26 schema format. Repeating "binding" again should also be avoided, so for
31 Conversion of other formats to DT schema::
33 "dt-bindings: iio: adc: adi,ad7476: Convert to DT schema"
35 2) DT binding files are written in DT schema format using json-schema
41 See Documentation/devicetree/bindings/writing-schema.rst for more details
42 about schema and tools setup.
H A DMakefile4 DT_MK_SCHEMA ?= dt-mk-schema
29 -name 'processed-schema*' \)
49 quiet_cmd_mk_schema = SCHEMA $@
62 $(obj)/processed-schema.json: $(DT_DOCS) check_dtschema_version FORCE
72 always-y += processed-schema.json
81 dt_compatible_check: $(obj)/processed-schema.json
H A Dwriting-bindings.rst80 https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/property-units.yaml
102 - Properties without schema types (e.g. without standard suffix or not defined
103 by schema) need the type, even if this is an enum.
105 - If schema includes other schema (e.g. /schemas/i2c/i2c-controller.yaml) use
H A Dincomplete-devices.yaml5 $schema: http://devicetree.org/meta-schemas/core.yaml#
19 Following list of devices is an incomplete schema with a goal to pass DT schema
253 unlikely to get converted to DT schema.
259 unlikely to get converted to DT schema.
H A D.gitignore3 /processed-schema*.yaml
4 /processed-schema*.json
/linux/tools/testing/selftests/net/lib/py/
H A Dynl.py32 # Set schema='' to avoid jsonschema validation, it's slow
37 schema='', recv_size=recv_size)
43 schema='', recv_size=recv_size)
48 schema='', recv_size=recv_size)
53 schema='', recv_size=recv_size)
58 schema='', recv_size=recv_size)
63 schema='', recv_size=recv_size)
68 schema='', recv_size=recv_size)
/linux/tools/net/ynl/pyynl/
H A Dcli.py53 Return the effective schema directory, preferring in-tree before
54 system schema directory.
61 raise YnlException(f"Schema directory {schema_dir_} does not exist")
67 schema directory.
223 help="Validate the spec against schema and exit")
254 schema_group.add_argument('--schema', dest='schema', type=str,
255 help="JSON schema to validate the spec")
256 schema_group.add_argument('--no-schema', action='store_true')
279 args.schema = ''
294 SpecFamily(spec, args.schema)
[all …]
/linux/Documentation/userspace-api/netlink/
H A Dspecs.rst24 This document describes details of the schema.
34 There are four schema levels for Netlink specs, from the simplest used
42 customization of define and enum type and value names; this schema should
45 - ``genetlink-legacy`` - Generic Netlink catch all schema supporting quirks of
47 - ``netlink-raw`` - catch all schema supporting pre-Generic Netlink protocols
53 Schema structure
56 YAML schema has the following conceptual sections:
64 Most properties in the schema accept (or in fact require) a ``doc``
68 schema. See the documentation of :doc:`genetlink-c <c-code-gen>`
92 The schema level, default is ``genetlink``, which is the only value
H A Dnetlink-raw.rst14 The netlink-raw schema extends the :doc:`genetlink-legacy <genetlink-legacy>`
15 schema with properties that are needed to specify the protocol numbers and
166 make use of nested struct definitions. The ``netlink-raw`` schema makes it
/linux/tools/perf/scripts/python/
H A Dgecko.py199 # And a schema for interpreting each index.
200 # Schema:
209 "schema": {
222 "schema": {
232 "schema": {
248 "schema": {
314 …# Schema: https://github.com/firefox-devtools/profiler/blob/53970305b51b9b472e26d7457fee1d66cd4e27…
/linux/Documentation/devicetree/bindings/clock/
H A Dclock-bindings.txt1 This file has moved to the clock binding schema:
2 https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/clock/clock.yaml
H A Dallwinner,sun4i-a10-mod0-clk.yaml5 $schema: http://devicetree.org/meta-schemas/core.yaml#
25 # PRCM's schema. Make sure we only validate standalone nodes.
/linux/Documentation/devicetree/bindings/soc/renesas/
H A Drenesas-soc.yaml5 $schema: http://devicetree.org/meta-schemas/core.yaml#
66 # schema hits all compatibles that have at lest one Renesas compatible
68 # that don't match the schema select pattern. For example,
/linux/Documentation/netlink/
H A Dgenetlink.yaml5 $schema: https://json-schema.org/draft-07/schema
26 # Schema for specs
39 description: Schema compatibility level. Default is "genetlink".
H A Dgenetlink-c.yaml5 $schema: https://json-schema.org/draft-07/schema
23 # Schema for specs
36 description: Schema compatibility level. Default is "genetlink".
/linux/fs/resctrl/
H A Dctrlmondata.c387 static void show_doms(struct seq_file *s, struct resctrl_schema *schema, in show_doms() argument
390 struct rdt_resource *r = schema->res; in show_doms()
408 schema->conf_type); in show_doms()
410 seq_printf(s, schema->fmt_str, dom->hdr.id, ctrl_val); in show_doms()
419 struct resctrl_schema *schema; in rdtgroup_schemata_show() local
427 list_for_each_entry(schema, &resctrl_schema_all, list) { in rdtgroup_schemata_show()
428 seq_printf(s, "%s:uninitialized\n", schema->name); in rdtgroup_schemata_show()
443 list_for_each_entry(schema, &resctrl_schema_all, list) { in rdtgroup_schemata_show()
444 if (closid < schema->num_closid) in rdtgroup_schemata_show()
445 show_doms(s, schema, schema->name, closid); in rdtgroup_schemata_show()
/linux/Documentation/devicetree/bindings/net/
H A Dlantiq,pef2256.yaml5 $schema: http://devicetree.org/meta-schemas/core.yaml#
93 lantiq,channel-phase = 2, the interleave schema with unused time-slots
98 interleave schema is
102 lantiq,channel-phase = 1, the interleave schema is
H A Dairoha,an7583-mdio.yaml5 $schema: http://devicetree.org/meta-schemas/core.yaml#
17 The other 2 (that this schema describe) live under the SCU
/linux/include/linux/
H A Dresctrl.h78 * @s: Resctrl schema for the resource to which this
278 * enum resctrl_schema_fmt - The format user-space provides for a schema.
279 * @RESCTRL_SCHEMA_BITMAP: The schema is a bitmap in hex.
280 * @RESCTRL_SCHEMA_RANGE: The schema is a decimal number.
318 * @schema_fmt: Which format string and parser is used for this schema.
350 * @conf_type: Whether this schema is specific to code/data.
352 * the hardware that is configured by this schema.
353 * @num_closid: The number of closid that can be used with this schema. When
/linux/Documentation/devicetree/bindings/reset/
H A Dallwinner,sun6i-a31-clock-reset.yaml5 $schema: http://devicetree.org/meta-schemas/core.yaml#
25 # PRCM's schema. Make sure we only validate standalone nodes.
/linux/Documentation/devicetree/bindings/pci/
H A Dpci-ep-bus.yaml5 $schema: http://devicetree.org/meta-schemas/core.yaml#
15 This common schema is intended to be referenced from device tree bindings and
/linux/Documentation/devicetree/bindings/memory-controllers/
H A Dmc-peripheral-props.yaml5 $schema: http://devicetree.org/meta-schemas/core.yaml#
16 should go in their own separate schema that should be referenced
/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Dintel,ce4100-ioapic.yaml5 $schema: http://devicetree.org/meta-schemas/core.yaml#
26 This schema defines bindings for I/O APIC interrupt controller.

12345678910>>...162