| /linux/Documentation/devicetree/bindings/ |
| H A D | writing-schema.rst | 3 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 D | Makefile | 4 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 D | submitting-patches.rst | 26 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 | .gitignore | 3 /processed-schema*.yaml 4 /processed-schema*.json
|
| H A D | writing-bindings.rst | 80 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 D | graph.txt | 1 This file has moved to graph.yaml in dt-schema repo
|
| H A D | index.rst | 9 writing-schema
|
| /linux/tools/testing/selftests/net/lib/py/ |
| H A D | ynl.py | 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/fs/resctrl/ |
| H A D | ctrlmondata.c | 387 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 D | resctrlfs.c | 707 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 D | clock-bindings.txt | 1 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 D | cli.py | 279 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 D | ethtool.py | 174 schema = os.path.join(schema_dir(), 'genetlink-legacy.yaml') 176 ynl = YnlFamily(spec, schema)
|
| /linux/Documentation/userspace-api/netlink/ |
| H A D | specs.rst | 24 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 D | netlink-raw.rst | 14 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 D | ioam6.c | 179 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 D | pxa_camera.rst | 35 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 D | ioam6.h | 22 struct ioam6_schema __rcu *schema; member
|
| /linux/tools/testing/selftests/net/ |
| H A D | ioam6.sh | 307 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 D | r8a779g3-sparrow-hawk-fan-pwm.dtso | 29 * see schema Documentation/devicetree/bindings/hwmon/pwm-fan.yaml .
|
| /linux/drivers/gpu/drm/msm/ |
| H A D | Kconfig | 54 bool "Validate XML register files against schema" 58 Validate XML files with register definitions against rules-fd schema.
|
| /linux/scripts/ |
| H A D | Makefile.dtbs | 76 DT_TMP_SCHEMA := $(objtree)/$(DT_BINDING_DIR)/processed-schema.json
|
| /linux/tools/net/ynl/pyynl/lib/ |
| H A D | nlspec.py | 467 schema = pyyaml.safe_load(stream) 472 SpecFamily.jsonschema.validate(self.yaml, schema)
|
| /linux/Documentation/dev-tools/ |
| H A D | gpio-sloppy-logic-analyzer.rst | 45 debugging, there is no official schema::
|
| /linux/Documentation/i2c/busses/ |
| H A D | i2c-parport.rst | 45 a sample electronics schema (credits go to Sylvain Munaut)::
|