/Zephyr-Core-3.6.0/subsys/net/conn_mgr/ |
D | conn_mgr_connectivity.c | 19 struct conn_mgr_conn_binding *binding; in conn_mgr_if_connect() local 25 binding = conn_mgr_if_get_binding(iface); in conn_mgr_if_connect() 26 if (!binding) { in conn_mgr_if_connect() 30 api = binding->impl->api; in conn_mgr_if_connect() 35 conn_mgr_binding_lock(binding); in conn_mgr_if_connect() 44 status = api->connect(binding); in conn_mgr_if_connect() 47 conn_mgr_binding_unlock(binding); in conn_mgr_if_connect() 56 struct conn_mgr_conn_binding *binding; in conn_mgr_if_disconnect() local 62 binding = conn_mgr_if_get_binding(iface); in conn_mgr_if_disconnect() 63 if (!binding) { in conn_mgr_if_disconnect() [all …]
|
/Zephyr-Core-3.6.0/include/zephyr/net/ |
D | conn_mgr_connectivity_impl.h | 51 int (*connect)(struct conn_mgr_conn_binding *const binding); 62 int (*disconnect)(struct conn_mgr_conn_binding *const binding); 74 void (*init)(struct conn_mgr_conn_binding *const binding); 94 int (*set_opt)(struct conn_mgr_conn_binding *const binding, 112 int (*get_opt)(struct conn_mgr_conn_binding *const binding, 245 STRUCT_SECTION_FOREACH(conn_mgr_conn_binding, binding) { in conn_mgr_if_get_binding() 246 if (iface == binding->iface) { in conn_mgr_if_get_binding() 247 if (binding->impl->api) { in conn_mgr_if_get_binding() 248 return binding; in conn_mgr_if_get_binding() 268 static inline void conn_mgr_binding_lock(struct conn_mgr_conn_binding *binding) in conn_mgr_binding_lock() argument [all …]
|
/Zephyr-Core-3.6.0/tests/net/conn_mgr_conn/src/ |
D | test_conn_impl.c | 91 static int test_connect(struct conn_mgr_conn_binding *const binding, bool a) in test_connect() argument 93 struct test_conn_data *data = binding->ctx; in test_connect() 104 simulate_fatal_error(binding->iface, data->fatal_error); in test_connect() 109 simulate_timeout(binding->iface); in test_connect() 118 net_if_dormant_off(binding->iface); in test_connect() 122 static int test_disconnect(struct conn_mgr_conn_binding *const binding, bool a) in test_disconnect() argument 124 struct test_conn_data *data = binding->ctx; in test_disconnect() 135 net_if_dormant_on(binding->iface); in test_disconnect() 150 int test_set_opt_a(struct conn_mgr_conn_binding *const binding, int optname, in test_set_opt_a() argument 153 struct test_conn_data *data = binding->ctx; in test_set_opt_a() [all …]
|
/Zephyr-Core-3.6.0/doc/_scripts/ |
D | gen_devicetree_rest.py | 103 for binding in bindings: 104 vnd = compatible_vnd(binding.compatible) 106 generic_bindings.append(binding) 108 unsorted[vnd].append(binding) 110 unknown_vendor_bindings.append(binding) 116 def binding_key(binding): argument 117 return binding.compatible 219 bindings = [binding for binding in bindings if 220 compatible_vnd(binding.compatible) != 'vnd'] 267 for binding in bindings: [all …]
|
/Zephyr-Core-3.6.0/tests/net/conn_mgr_monitor/src/ |
D | test_ifaces.c | 113 static void test_conn_api_init(struct conn_mgr_conn_binding *const binding) in test_conn_api_init() argument 116 net_if_dormant_on(binding->iface); in test_conn_api_init() 119 static int test_conn_api_connect(struct conn_mgr_conn_binding *const binding) in test_conn_api_connect() argument 122 net_if_dormant_off(binding->iface); in test_conn_api_connect() 126 static int test_conn_api_disconnect(struct conn_mgr_conn_binding *const binding) in test_conn_api_disconnect() argument 129 net_if_dormant_on(binding->iface); in test_conn_api_disconnect()
|
/Zephyr-Core-3.6.0/doc/hardware/emulator/ |
D | index.rst | 38 * DT binding: :dtcompatible:`zephyr,adc-emul` 43 * DT binding: :dtcompatible:`zephyr,dma-emul` 48 * DT binding: :dtcompatible:`zephyr,emu-eeprom` 55 * DT binding: :dtcompatible:`zephyr,sim-eeprom` 68 * DT binding: :dtcompatible:`zephyr,sim-flash` 75 * DT binding: :dtcompatible:`zephyr,gpio-emul` 80 * DT binding: :dtcompatible:`zephyr,i2c-emul-controller` 85 * DT binding: :dtcompatible:`zephyr,rtc-emul` 90 * DT binding: :dtcompatible:`zephyr,spi-emul-controller` 95 * DT binding: :dtcompatible:`zephyr,uart-emul`
|
/Zephyr-Core-3.6.0/doc/build/dts/ |
D | bindings-intro.rst | 1 .. _dt-binding-compat: 14 each node in the devicetree to a binding file. When this succeeds, the build 15 system uses the information in the binding file both when validating the node's 33 Here is a minimal binding file which matches the node: 37 # A YAML binding matching the node 46 The build system matches the ``bar-device`` node to its YAML binding because 47 the node's ``compatible`` property matches the binding's ``compatible:`` line. 56 For example, the build system would use the above binding to check that the 67 binding: 90 The ``baz-device`` node would get matched to a binding with a ``compatible: [all …]
|
D | bindings-syntax.rst | 22 # A high level description of the device the binding applies to: 34 # Used to match nodes to this binding: 39 # binding's nodes need to satisfy go here. 41 child-binding: 42 # You can constrain the children of the nodes matching this binding 74 This key is used to match nodes to this binding as described in 75 :ref:`dt-binding-compat`. It should look like this in a binding file: 82 This devicetree node would match the above binding: 90 Assuming no binding has ``compatible: "manufacturer,device-v2"``, it would also 100 binding is used. The :ref:`on-bus: <dt-bindings-on-bus>` key can be used to [all …]
|
D | bindings-upstream.rst | 22 is an existing binding for your device in an authoritative location, you should 23 try to replicate its properties when writing a Zephyr binding, and you must 28 - There is an existing binding in the mainline Linux kernel. See 32 - Your hardware vendor provides an official binding outside of the Linux 49 - For example, a binding for compatible ``vnd,foo`` must be named ``vnd,foo.yaml``. 50 - If the binding is bus-specific, you can append the bus to the file name; 51 for example, if the binding YAML has ``on-bus: bar``, you may name the file 58 submitting the binding. 95 this rule is if you are replicating a well-established binding from somewhere 107 If your binding describes hardware with a well known vendor from the list in [all …]
|
D | howtos.rst | 175 .. _dts-find-binding: 177 Find a devicetree binding 185 binding, open the generated header file, which starts with a list of nodes in a 204 node has a matching binding: 217 See :ref:`missing-dt-binding` for troubleshooting. 364 * Find your device's DT binding for details. */ 379 * Find your device's DT binding for details. */ 386 - set its properties according to its binding 403 Writing a devicetree-aware driver begins by defining a :ref:`devicetree binding 405 from similar drivers as a starting point. A skeletal binding to get started [all …]
|
D | bindings.rst | 10 A devicetree binding declares requirements on the contents of nodes, and
|
/Zephyr-Core-3.6.0/scripts/release/ |
D | list_devicetree_bindings_changes.py | 153 for compat, binding in compat2binding.items(): 154 ret[get_vnd(binding.compatible)][compat] = binding 165 for binding, changes in binding2changes.items(): 166 ret[get_vnd(binding.compatible)][binding] = changes 183 for compat, binding in compat2binding_end.items(): 193 ret[binding] = binding_changes 385 for binding in bindings: 386 compat = Compat(binding.compatible, binding.on_bus) 388 ret[compat] = binding 421 lambda binding: f':dtcompatible:`{binding.compatible}`' [all …]
|
/Zephyr-Core-3.6.0/scripts/dts/python-devicetree/tests/ |
D | test.dts | 330 binding-include { 331 compatible = "binding-include-test"; 346 // For testing Node.props (derived from 'properties:' in the binding) 416 // For testing Node.props with 'default:' values in binding 421 // Should override the 'default:' in the binding 469 // Node with 'child-binding:' in binding (along with a recursive 470 // 'child-binding:') 473 child-binding-dep { 476 child-binding { 477 compatible = "top-binding"; [all …]
|
D | test_edtlib.py | 311 binding = edtlib.Binding("test-bindings-include/include-invalid-keys.yaml", fname2path) 321 binding = edtlib.Binding("test-bindings-include/include-invalid-type.yaml", fname2path) 329 binding = edtlib.Binding("test-bindings-include/include-no-name.yaml", fname2path) 336 binding = edtlib.Binding("test-bindings-include/allowlist.yaml", fname2path) 337 assert set(binding.prop2specs.keys()) == {'x'} # 'x' is allowed 339 binding = edtlib.Binding("test-bindings-include/empty-allowlist.yaml", fname2path) 340 assert set(binding.prop2specs.keys()) == set() # nothing is allowed 342 binding = edtlib.Binding("test-bindings-include/blocklist.yaml", fname2path) 343 assert set(binding.prop2specs.keys()) == {'y', 'z'} # 'x' is blocked 345 binding = edtlib.Binding("test-bindings-include/empty-blocklist.yaml", fname2path) [all …]
|
D | test-multidir.dts | 8 * Used by test_edtlib.py. Dedicated file for testing having multiple binding
|
/Zephyr-Core-3.6.0/samples/basic/custom_dts_binding/ |
D | README.rst | 1 .. zephyr:code-sample:: gpio-custom-dts-binding 2 :name: GPIO with custom Devicetree binding 5 Use custom Devicetree binding to control a GPIO. 21 This sample demonstrates how to use a GPIO pin for other purposes with a custom devicetree binding. 24 custom devicetree binding for the power output controlled via a GPIO pin is specified in the file
|
/Zephyr-Core-3.6.0/scripts/dts/python-devicetree/src/devicetree/ |
D | edtlib.py | 529 def __init__(self, name: str, binding: Binding): 530 self.binding: Binding = binding 532 self._raw: Dict[str, Any] = self.binding.raw["properties"][name] 540 return self.binding.path 1227 binding = "binding " + self.binding_path 1229 binding = "no binding" 1257 binding = None 1261 binding = self.edt._compat2binding[compat, bus] 1264 if not binding: 1266 binding = self.edt._compat2binding[compat, None] [all …]
|
/Zephyr-Core-3.6.0/doc/connectivity/networking/conn_mgr/ |
D | implementation.rst | 35 This binding structure will contain a reference to the bound iface, the connectivity implementation… 59 …hyr ifaces, each binding instantiates a context container (of :ref:`configurable type <conn_mgr_im… 60 Each binding is then instantiated with a reference to that container, which implementations can the… 74 int my_connect_impl(struct conn_mgr_conn_binding *const binding) { 77 int my_disconnect_impl(struct conn_mgr_conn_binding *const binding) { 80 void my_init_impl(struct conn_mgr_conn_binding *const binding) { 235 * Set the iface to dormant, carrier-down, or both during :c:member:`binding init <conn_mgr_conn_api… 260 Zephyr ifaces may be accessed from other threads without respecting the binding mutex. 315 Connection Manager provides a context pointer to each binding. 326 *Access ifaces only through binding structs* [all …]
|
/Zephyr-Core-3.6.0/scripts/ |
D | requirements-base.txt | 9 # used by dts generation to parse binding YAMLs, also used by
|
/Zephyr-Core-3.6.0/tests/drivers/gpio/gpio_basic_api/ |
D | README.txt | 6 identified through a test-specific devicetree binding in the `dts/`
|
/Zephyr-Core-3.6.0/subsys/net/lib/lwm2m/ |
D | lwm2m_registry.h | 187 void lwm2m_engine_get_binding(char *binding);
|
/Zephyr-Core-3.6.0/boards/arm/frdm_k64f/dts/ |
D | nxp,enet-experimental.overlay | 4 * Experimental ENET binding overlay
|
/Zephyr-Core-3.6.0/boards/posix/native_sim/ |
D | native_sim.dts | 140 * DTS binding 149 * DTS binding
|
/Zephyr-Core-3.6.0/drivers/eeprom/ |
D | Kconfig | 52 is given by the 'size' property. See the binding for further details. 62 is given by the 'size' property. See the binding for further details.
|
/Zephyr-Core-3.6.0/boards/arm/mimxrt1050_evk/dts/ |
D | nxp,enet-experimental.overlay | 4 * Experimental ENET binding overlay
|