Home
last modified time | relevance | path

Searched full:bar (Results 1 – 25 of 138) sorted by relevance

123456

/Zephyr-latest/lib/posix/options/
Dbarrier.c33 static inline size_t posix_barrier_to_offset(struct posix_barrier *bar) in posix_barrier_to_offset() argument
35 return bar - posix_barrier_pool; in posix_barrier_to_offset()
71 struct posix_barrier *bar; in pthread_barrier_wait() local
73 bar = get_posix_barrier(bb); in pthread_barrier_wait()
74 if (bar == NULL) { in pthread_barrier_wait()
78 err = k_mutex_lock(&bar->mutex, K_FOREVER); in pthread_barrier_wait()
81 ++bar->count; in pthread_barrier_wait()
83 if (bar->count == bar->max) { in pthread_barrier_wait()
84 bar->count = 0; in pthread_barrier_wait()
90 while (bar->count != 0) { in pthread_barrier_wait()
[all …]
/Zephyr-latest/tests/cmake/snippets/src/
Dmain.c18 /* Test config values set by the `bar` snippet */
45 * When `bar` snippet is applied, test that the bar and common in ZTEST()
46 * config values correspond to the values set by the `bar` in ZTEST()
54 * When `foo` and `bar` snippets are applied, with `bar` in ZTEST()
56 * corresponds to the value set by the `bar` snippet. in ZTEST()
63 * When `foo` and `bar` snippets are applied, with `foo` in ZTEST()
64 * specified after `bar`, test that the common config value in ZTEST()
80 * and `deleted-by-bar` nodes exist, and that none of the nodes in ZTEST()
81 * added by the `foo` and `bar` snippets exist. in ZTEST()
98 * When `bar` snippet is applied, test that `deleted-by-bar` is in ZTEST()
[all …]
/Zephyr-latest/tests/cmake/snippets/
Dtestcase.yaml22 # Test the `bar` snippet from an extra snippet root
23 buildsystem.snippets.bar:
24 extra_args: SNIPPET="bar"
27 # Test the snippet processing order (1. foo, 2. bar)
29 extra_args: SNIPPET="foo;bar"
32 # Test the snippet processing order (1. bar, 2. foo)
34 extra_args: SNIPPET="bar;foo"
DKconfig26 bool "Test Type: Bar"
28 Test the `bar` snippet from an extra snippet root.
31 bool "Test Type: Foo-Bar"
33 Test the snippet processing order (1. foo, 2. bar)
36 bool "Test Type: Bar-Foo"
38 Test the snippet processing order (1. bar, 2. foo)
Dapp.overlay5 /* This node will be deleted by the `bar` snippet. */
6 deleted-by-bar {};
/Zephyr-latest/tests/misc/llext-edk/src/
Dfoo.c12 int z_impl_foo(int bar) in z_impl_foo() argument
14 return bar * bar; in z_impl_foo()
19 static inline int z_vrfy_foo(int bar) in z_vrfy_foo() argument
22 return z_impl_foo(bar); in z_vrfy_foo()
Dmain.c35 int bar; in thread_entry() local
42 bar = 42; in thread_entry()
44 bar = 43; in thread_entry()
47 start_fn(bar); in thread_entry()
59 int (*start_fn)(int bar); in load_and_run_extension()
/Zephyr-latest/doc/build/kconfig/
Dextensions.rst19 depends on BAR
31 depends on BAR
40 default y if BAR
42 if BAR
45 endif # BAR
67 source "foo/bar/*/Kconfig"
69 If the pattern ``foo/bar/*/Kconfig`` matches the files
70 :file:`foo/bar/baz/Kconfig` and :file:`foo/bar/qaz/Kconfig`, the statement
75 source "foo/bar/baz/Kconfig"
76 source "foo/bar/qaz/Kconfig"
[all …]
/Zephyr-latest/scripts/dts/python-devicetree/tests/test-bindings/
Denums.yaml19 - foo bar
25 - bar
26 - BAR
31 - bar
47 - bar
Dbar-bus.yaml3 description: Bar bus controller
5 compatible: "bar-bus"
7 bus: "bar"
Ddevice-on-bar-bus.yaml3 description: Device on bar bus
7 on-bus: "bar"
/Zephyr-latest/tests/cmake/snippets/extra_snippet_root/snippets/bar/
Dsnippet.yml1 name: bar
3 EXTRA_CONF_FILE: bar.conf
4 EXTRA_DTC_OVERLAY_FILE: bar.overlay
Dbar.overlay2 /delete-node/ deleted-by-bar;
6 added-by-bar {};
/Zephyr-latest/tests/misc/llext-edk/extension/src/
Dmain.c12 int start(int bar) in start() argument
14 printk("foo(%d) is %d\n", bar, foo(bar)); in start()
/Zephyr-latest/tests/kernel/device/src/
Dabstract_driver.h15 typedef int (*abstract_do_this_t)(const struct device *dev, int foo, int bar);
23 __syscall int abstract_do_this(const struct device *dev, int foo, int bar);
25 static inline int z_impl_abstract_do_this(const struct device *dev, int foo, int bar) in z_impl_abstract_do_this() argument
29 return DEVICE_API_GET(abstract, dev)->do_this(dev, foo, bar); in z_impl_abstract_do_this()
Dabstract_driver.c15 static int my_driver_A_do_this(const struct device *dev, int foo, int bar) in my_driver_A_do_this() argument
17 return foo + bar; in my_driver_A_do_this()
36 static int my_driver_B_do_this(const struct device *dev, int foo, int bar) in my_driver_B_do_this() argument
38 return foo - bar; in my_driver_B_do_this()
/Zephyr-latest/doc/build/snippets/
Dwriting.rst50 For example, if your snippet is named ``foo-bar``, write your devicetree
82 For example, if :makevar:`SNIPPET_ROOT` is set to ``/foo;/bar``, the build
87 - :file:`/bar/snippets/`
113 To apply ``bar`` after ``foo``:
117 cmake -Sapp -Bbuild -DSNIPPET="foo;bar" [...]
124 west build -S foo -S bar [...] app
129 For instance, if ``foo`` sets ``CONFIG_FOO=1`` and ``bar`` sets
131 be ``CONFIG_FOO=2`` because ``bar`` is processed after ``foo``.
214 bar: # settings for board "bar" go here
216 EXTRA_DTC_OVERLAY_FILE: bar.overlay
[all …]
/Zephyr-latest/tests/subsys/settings/src/
Dsettings_test_getset_unknown.c17 strcpy(name, "foo/bar"); in ZTEST()
23 strcpy(name, "foo/bar"); in ZTEST()
29 strcpy(name, "myfoo/bar"); in ZTEST()
36 strcpy(name, "myfoo/bar"); in ZTEST()
Dsettings_empty_lookups.c16 strcpy(name, "foo/bar"); in ZTEST()
20 strcpy(name, "foo/bar"); in ZTEST()
/Zephyr-latest/include/zephyr/drivers/pcie/
Dcontroller.h72 * @param mem True if the BAR is of memory type
73 * @param mem64 True if the BAR is of 64bit memory type
75 * @param bar_bus_addr bus-centric address allocated to be written in the BAR register
91 * @param mem True if the BAR is of memory type
92 * @param mem64 True if the BAR is of 64bit memory type
108 * The bus-centric address set in this BAR register is not necessarily accessible from the CPU,
114 * @param mem True if the BAR is of memory type
115 * @param mem64 True if the BAR is of 64bit memory type
116 * @param bar_bus_addr bus-centric address written in the BAR register
236 * @param mem True if the BAR is of memory type
[all …]
/Zephyr-latest/doc/build/dts/
Dbindings-intro.rst28 bar-device {
29 compatible = "foo-company,bar-device";
39 compatible: "foo-company,bar-device"
46 The build system matches the ``bar-device`` node to its YAML binding because
57 required ``num-foos`` property is present in the ``bar-device`` node, and that
60 The build system will then generate a macro for the ``bar-device`` node's
72 compatible = "foo-company,bar-device";
109 above example binding would be named :file:`foo-company,bar-device.yaml` by
/Zephyr-latest/tests/cmake/snippets/snippets/foo/
Dfoo.overlay3 /delete-node/ added-by-bar;
5 /* This node will be deleted by the `bar` snippet if applied. */
/Zephyr-latest/dts/bindings/test/
Dvnd,device-with-props.yaml12 bar:
21 bool-bar:
/Zephyr-latest/doc/_extensions/zephyr/domain/static/css/
Dcodesample-livesearch.css5 .cs-search-bar {
13 .cs-search-bar input {
25 .cs-search-bar i {
/Zephyr-latest/drivers/pcie/host/
Dpcie.c105 * @brief Get the BAR at a specific BAR index
108 * @param bar_index 0-based BAR index
109 * @param bar Pointer to struct pcie_bar
111 * @return true if the BAR was found and is valid, false otherwise
115 struct pcie_bar *bar, in pcie_get_bar() argument
153 /* IO/memory decode should be disabled before sizing/update BAR. */ in pcie_get_bar()
201 &bar->phys_addr)) { in pcie_get_bar()
205 bar->phys_addr = PCIE_CONF_BAR_ADDR(phys_addr); in pcie_get_bar()
207 bar->size = size & ~(size-1); in pcie_get_bar()
217 * @brief Probe the nth BAR assigned to an endpoint.
[all …]

123456