Home
last modified time | relevance | path

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

12345678910>>...143

/linux-6.8/Documentation/devicetree/bindings/
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 …]
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 …]
DMakefile4 DT_MK_SCHEMA ?= dt-mk-schema
29 -name 'processed-schema*' \)
46 quiet_cmd_mk_schema = SCHEMA $@
70 $(obj)/processed-schema.json: $(DT_DOCS) $(src)/.yamllint check_dtschema_version FORCE
73 always-y += processed-schema.json
82 dt_compatible_check: $(obj)/processed-schema.json
Dwriting-bindings.rst56 https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/property-units.yaml
72 - Properties without schema types (e.g. without standard suffix or not defined
73 by schema) need the type, even if this is an enum.
75 - If schema includes other schema (e.g. /schemas/i2c/i2c-controller.yaml) use
Dsubmitting-patches.rst22 2) DT binding files are written in DT schema format using json-schema
28 See Documentation/devicetree/bindings/writing-schema.rst for more details
29 about schema and tools setup.
D.gitignore3 /processed-schema*.yaml
4 /processed-schema*.json
/linux-6.8/tools/net/ynl/
Dcli.py15 parser.add_argument('--schema', dest='schema', type=str)
16 parser.add_argument('--no-schema', action='store_true')
34 args.schema = ''
40 ynl = YnlFamily(args.spec, args.schema, args.process_unknown)
/linux-6.8/Documentation/userspace-api/netlink/
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
/linux-6.8/arch/x86/kernel/cpu/resctrl/
Dctrlmondata.c461 static void show_doms(struct seq_file *s, struct resctrl_schema *schema, int closid) in show_doms() argument
463 struct rdt_resource *r = schema->res; in show_doms()
468 seq_printf(s, "%*s:", max_name_width, schema->name); in show_doms()
477 schema->conf_type); in show_doms()
489 struct resctrl_schema *schema; in rdtgroup_schemata_show() local
497 list_for_each_entry(schema, &resctrl_schema_all, list) { in rdtgroup_schemata_show()
498 seq_printf(s, "%s:uninitialized\n", schema->name); in rdtgroup_schemata_show()
513 list_for_each_entry(schema, &resctrl_schema_all, list) { in rdtgroup_schemata_show()
514 if (closid < schema->num_closid) in rdtgroup_schemata_show()
515 show_doms(s, schema, closid); in rdtgroup_schemata_show()
/linux-6.8/tools/testing/selftests/resctrl/
Dresctrlfs.c442 char controlgroup[1024], reason[128], schema[1024] = {}; in write_schemata() local
471 schema_len = snprintf(schema, sizeof(schema), "%s%d%c%s\n", in write_schemata()
475 schema_len = snprintf(schema, sizeof(schema), "%s%d%c%s\n", in write_schemata()
477 if (schema_len < 0 || schema_len >= sizeof(schema)) { in write_schemata()
492 if (write(fd, schema, schema_len) < 0) { in write_schemata()
503 schema[schema_len - 1] = 0; in write_schemata()
505 ksft_print_msg("Write schema \"%s\" to resctrl FS%s%s\n", in write_schemata()
506 schema, ret ? " # " : "", in write_schemata()
/linux-6.8/Documentation/devicetree/bindings/clock/
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
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-6.8/tools/perf/scripts/python/
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-6.8/Documentation/netlink/
Dgenetlink.yaml5 $schema: https://json-schema.org/draft-07/schema
22 # Schema for specs
35 description: Schema compatibility level. Default is "genetlink".
Dgenetlink-c.yaml5 $schema: https://json-schema.org/draft-07/schema
22 # Schema for specs
35 description: Schema compatibility level. Default is "genetlink".
Dgenetlink-legacy.yaml5 $schema: https://json-schema.org/draft-07/schema
22 # Schema for specs
35 description: Schema compatibility level. Default is "genetlink".
Dnetlink-raw.yaml5 $schema: https://json-schema.org/draft-07/schema
17 # Schema for specs
30 description: Schema compatibility level.
/linux-6.8/Documentation/devicetree/bindings/net/
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
Dqcom,bam-dmux.yaml5 $schema: http://devicetree.org/meta-schemas/core.yaml#
18 Note that this schema does not directly describe a hardware block but rather
/linux-6.8/Documentation/devicetree/bindings/memory-controllers/
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-6.8/Documentation/devicetree/bindings/reset/
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-6.8/Documentation/devicetree/bindings/interrupt-controller/
Dintel,ce4100-ioapic.yaml5 $schema: http://devicetree.org/meta-schemas/core.yaml#
26 This schema defines bindings for I/O APIC interrupt controller.
Dintel,ce4100-lapic.yaml5 $schema: http://devicetree.org/meta-schemas/core.yaml#
26 This schema defines bindings for local APIC interrupt controller.
/linux-6.8/Documentation/devicetree/bindings/memory-controllers/ddr/
Djedec,lpddr-props.yaml5 $schema: http://devicetree.org/meta-schemas/core.yaml#
12 reused for each type. Nodes using this schema should generally be nested under
/linux-6.8/Documentation/devicetree/bindings/iio/adc/
Dingenic,adc.yaml6 $schema: http://devicetree.org/meta-schemas/core.yaml#
18 https://github.com/devicetree-org/dt-schema/blob/master/schemas/iio/iio-consumer.yaml,

12345678910>>...143