Home
last modified time | relevance | path

Searched refs:schema (Results 1 – 25 of 43) sorted by relevance

12

/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`.
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
30 $schema
[all …]
H A DMakefile4 DT_MK_SCHEMA ?= dt-mk-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 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 D.gitignore3 /processed-schema*.yaml
4 /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 Dgraph.txt1 This file has moved to graph.yaml in dt-schema repo
H A Dindex.rst9 writing-schema
/linux/tools/testing/selftests/net/lib/py/
H A Dynl.py37 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/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/tools/testing/selftests/resctrl/
H A Dresctrlfs.c707 char controlgroup[1024], reason[128], schema[1024] = {}; in write_schemata() local
728 schema_len = snprintf(schema, sizeof(schema), "%s:%d=%s\n", in write_schemata()
730 if (schema_len < 0 || schema_len >= sizeof(schema)) { in write_schemata()
745 if (write(fd, schema, schema_len) < 0) { in write_schemata()
756 schema[schema_len - 1] = 0; in write_schemata()
759 schema, ret ? " # " : "", in write_schemata()
/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
/linux/tools/net/ynl/pyynl/
H A Dcli.py279 args.schema = ''
294 SpecFamily(spec, args.schema)
301 if args.schema is None and spec.startswith(SYS_SCHEMA_DIR):
302 args.schema = '' # disable schema validation when installed
306 ynl = YnlFamily(spec, args.schema, args.process_unknown,
H A Dethtool.py174 schema = os.path.join(schema_dir(), 'genetlink-legacy.yaml')
176 ynl = YnlFamily(spec, schema)
/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
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/net/ipv6/
H A Dioam6.c179 sc = rcu_dereference_protected(ns->schema, in ioam6_genl_delns()
226 sc = rcu_dereference(ns->schema); in __ioam6_genl_dumpns_element()
386 rcu_assign_pointer(ns->schema, NULL); in ioam6_genl_delsc()
531 sc_ref = rcu_dereference_protected(ns->schema, in ioam6_genl_ns_set_schema()
535 rcu_assign_pointer(ns->schema, sc); in ioam6_genl_ns_set_schema()
541 rcu_assign_pointer(ns_ref->schema, NULL); in ioam6_genl_ns_set_schema()
951 * if the current IOAM namespace has an active schema attached to it in ioam6_fill_trace_data()
953 sc = rcu_dereference(ns->schema); in ioam6_fill_trace_data()
/linux/Documentation/driver-api/media/drivers/
H A Dpxa_camera.rst35 c) Capture global finite state machine schema
121 For the next schema, let's assume d0=desc-sg[0] .. dN=desc-sg[N],
149 while the DMA jumps from one Videobuffer to another. On the schema, that
/linux/include/net/
H A Dioam6.h22 struct ioam6_schema __rcu *schema; member
/linux/tools/testing/selftests/net/
H A Dioam6.sh307 ioam schema add ${ALPHA[8]} "${ALPHA[9]}" &>/dev/null
309 ioam namespace set 123 schema ${ALPHA[8]} &>/dev/null
497 ioam namespace set 123 schema ${ALPHA[8]} &>/dev/null
641 ioam schema show 2>/dev/null | grep -wq ${ALPHA[8]}
653 ioam schema show 2>/dev/null | grep -q "$sc_data"
673 ioam schema show 2>/dev/null | grep -wq 123
/linux/arch/arm64/boot/dts/renesas/
H A Dr8a779g3-sparrow-hawk-fan-pwm.dtso29 * see schema Documentation/devicetree/bindings/hwmon/pwm-fan.yaml .
/linux/drivers/gpu/drm/msm/
H A DKconfig54 bool "Validate XML register files against schema"
58 Validate XML files with register definitions against rules-fd schema.
/linux/scripts/
H A DMakefile.dtbs76 DT_TMP_SCHEMA := $(objtree)/$(DT_BINDING_DIR)/processed-schema.json
/linux/tools/net/ynl/pyynl/lib/
H A Dnlspec.py467 schema = pyyaml.safe_load(stream)
472 SpecFamily.jsonschema.validate(self.yaml, schema)
/linux/Documentation/dev-tools/
H A Dgpio-sloppy-logic-analyzer.rst45 debugging, there is no official schema::
/linux/Documentation/i2c/busses/
H A Di2c-parport.rst45 a sample electronics schema (credits go to Sylvain Munaut)::

12