Home
last modified time | relevance | path

Searched refs:yaml (Results 1 – 25 of 115) sorted by relevance

12345

/linux/tools/net/ynl/pyynl/lib/
H A Dnlspec.py13 import yaml as pyyaml
41 def __init__(self, family, yaml): argument
42 self.yaml = yaml
45 if 'name' in self.yaml:
46 self.name = self.yaml['name']
53 return self.yaml[key]
56 return key in self.yaml
59 return self.yaml.get(key, default)
82 def __init__(self, enum_set, yaml, prev, value_start): argument
83 if isinstance(yaml, str):
[all …]
/linux/tools/net/ynl/pyynl/
H A Dcli.py66 if 'enum' in attr.yaml:
67 enum_name = attr.yaml['enum']
78 if attr.type == 'nest' and 'nested-attributes' in attr.yaml:
79 nested_set_name = attr.yaml['nested-attributes']
82 if attr.yaml.get('doc'):
84 doc_text = textwrap.fill(attr.yaml['doc'], width=term_width(),
123 print(op.yaml['doc'])
126 if 'do' in op.yaml and 'dump' in op.yaml and 'reply' in op.yaml['do'] and \
127 op.yaml['do']['reply'] == op.yaml['dump'].get('reply'):
131 if mode in op.yaml:
[all …]
H A Dynl_gen_c.py24 import yaml as pyyaml
1060 def __init__(self, enum_set, yaml, prev, value_start): argument
1061 super().__init__(enum_set, yaml, prev, value_start)
1080 def __init__(self, family, yaml): argument
1081 self.render_name = c_lower(family.ident_name + '-' + yaml['name'])
1083 if 'enum-name' in yaml:
1084 if yaml['enum-name']:
1085 self.enum_name = 'enum ' + c_lower(yaml['enum-name'])
1097 self.value_pfx = yaml.get('name-prefix', f"{family.ident_name}-{yaml['name']}-")
1098 self.header = yaml.get('header', None)
[all …]
/linux/tools/net/ynl/generated/
H A DMakefile25 SPECS_PATHS=$(wildcard $(SPECS_DIR)/*.yaml)
27 GENS=$(filter-out ${GENS_UNSUP},$(patsubst $(SPECS_DIR)/%.yaml,%,${SPECS_PATHS}))
32 SPECS_PATHS=$(wildcard $(SPECS_DIR)/*.yaml)
33 SPECS=$(patsubst $(SPECS_DIR)/%.yaml,%,${SPECS_PATHS})
42 %-user.h: $(SPECS_DIR)/%.yaml $(TOOL)
46 %-user.c: $(SPECS_DIR)/%.yaml $(TOOL)
54 %.rst: $(SPECS_DIR)/%.yaml $(TOOL_RST)
80 @$(INSTALL) -m 0644 ../../../../Documentation/netlink/*.yaml $(DESTDIR)$(datarootdir)/ynl/
82 @$(INSTALL) -m 0644 $(SPECS_DIR)/*.yaml $(DESTDIR)$(datarootdir)/ynl/specs/
/linux/Documentation/devicetree/bindings/net/
H A Dfsl-tsec-phy.txt3 Refer to Documentation/devicetree/bindings/net/fsl,gianfar-mdio.yaml
7 Refer to Documentation/devicetree/bindings/net/fsl,gianfar-mdio.yaml
11 Refer to Documentation/devicetree/bindings/net/fsl,gianfar.yaml
15 Refer to Documentation/devicetree/bindings/ptp/fsl,ptp.yaml
H A Dethernet.txt1 This file has moved to ethernet-controller.yaml.
H A Dphy.txt1 This file has moved to ethernet-phy.yaml.
/linux/
H A DMAINTAINERS447 F: Documentation/devicetree/bindings/iio/dac/adi,ad5446.yaml
467 F: Documentation/devicetree/bindings/iio/adc/adi,ad7380.yaml
496 F: Documentation/devicetree/bindings/iio/adc/adi,ad7944.yaml
504 F: Documentation/devicetree/bindings/input/adafruit,seesaw-gamepad.yaml
543 F: Documentation/devicetree/bindings/hwmon/pmbus/adi,adp1050.yaml
569 F: Documentation/devicetree/bindings/*/adi,adp5585*.yaml
581 F: Documentation/devicetree/bindings/input/adi,adp5588.yaml
620 F: Documentation/devicetree/bindings/iio/accel/adi,adxl313.yaml
628 F: Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml
635 F: Documentation/devicetree/bindings/iio/accel/adi,adxl355.yaml
[all...]
/linux/Documentation/devicetree/bindings/nvmem/
H A Dnvmem.txt1 This file has been moved to nvmem.yaml and nvmem-consumer.yaml.
/linux/Documentation/devicetree/bindings/media/
H A Dvideo-interfaces.txt1 This file has moved to video-interfaces.yaml and video-interface-devices.yaml.
H A Drc.txt1 This file has been moved to rc.yaml.
/linux/Documentation/devicetree/bindings/mfd/
H A Dmotorola-cpcap.txt19 - Documentation/devicetree/bindings/power/supply/cpcap-battery.yaml
20 - Documentation/devicetree/bindings/power/supply/cpcap-charger.yaml
22 - Documentation/devicetree/bindings/phy/motorola,cpcap-usb-phy.yaml
26 - Documentation/devicetree/bindings/iio/adc/motorola,cpcap-adc.yaml
/linux/Documentation/devicetree/bindings/usb/
H A Ddwc3-st.txt16 See: Documentation/devicetree/bindings/reset/st,stih407-powerdown.yaml
34 Documentation/devicetree/bindings/usb/snps,dwc3.yaml
40 [1] Documentation/devicetree/bindings/usb/usb-drd.yaml
/linux/Documentation/devicetree/bindings/mtd/
H A Dfsmc-nand.txt33 - nand-ecc-mode : see nand-controller.yaml
34 - nand-ecc-strength : see nand-controller.yaml
35 - nand-ecc-step-size : see nand-controller.yaml
H A Dhisi504-nand.txt10 - nand-bus-width: See nand-controller.yaml.
25 the address space. See mtd.yaml for more detail.
/linux/Documentation/devicetree/bindings/cpufreq/
H A Dnvidia,tegra20-cpufreq.txt7 - operating-points-v2: See ../bindings/opp/opp-v2.yaml for details.
8 - #cooling-cells: Should be 2. See ../thermal/thermal-cooling-devices.yaml for details.
H A Dcpufreq-st.txt16 - operating-points : [See: ../power/opp-v1.yaml]
38 - operating-points-v2 : [See ../power/opp-v2.yaml]
/linux/Documentation/userspace-api/netlink/
H A Dgenetlink-legacy.rst113 .. code-block:: yaml
150 .. code-block:: yaml
216 .. code-block:: yaml
240 .. code-block:: yaml
258 .. code-block:: yaml
275 .. code-block:: yaml
/linux/Documentation/devicetree/bindings/arm/ux500/
H A Dboards.txt23 see binding for arm/arm,scu.yaml
29 see binding for timer/arm,twd-timer.yaml
/linux/Documentation/devicetree/bindings/i2c/
H A Di2c-mux-ltc4306.txt11 - Standard I2C mux properties. See i2c-mux.yaml in this directory.
12 - I2C child bus nodes. See i2c-mux.yaml in this directory.
/linux/Documentation/devicetree/bindings/
H A DMakefile25 $(obj)/%.example.dts: $(src)/%.yaml check_dtschema_version FORCE
35 CHK_DT_EXAMPLES := $(patsubst $(srctree)/%.yaml,%.example.dtb, \
/linux/Documentation/devicetree/bindings/leds/
H A Dcommon.txt1 This file has moved to ./common.yaml.
/linux/Documentation/devicetree/bindings/display/panel/
H A Ddisplay-timing.txt1 See display-timings.yaml in this directory.
/linux/Documentation/devicetree/bindings/regulator/
H A Dregulator.txt1 This file has moved to regulator.yaml.
/linux/Documentation/devicetree/bindings/spi/
H A Dspi-bus.txt1 This file has moved to spi-controller.yaml.

12345