Home
last modified time | relevance | path

Searched refs:bar (Results 1 – 25 of 62) sorted by relevance

123

/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/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/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()
Dmain.c380 int bar = 1; in ZTEST() local
387 ret = abstract_do_this(dev, foo, bar); in ZTEST()
388 zassert_true(ret == (foo + bar), "common API do_this fail"); in ZTEST()
397 ret = abstract_do_this(dev, foo, bar); in ZTEST()
398 zassert_true(ret == (foo - bar), "common API do_this fail"); in ZTEST()
/Zephyr-latest/tests/cmake/snippets/
Dapp.overlay5 /* This node will be deleted by the `bar` snippet. */
6 deleted-by-bar {};
DKconfig28 Test the `bar` snippet from an extra snippet root.
33 Test the snippet processing order (1. foo, 2. bar)
38 Test the snippet processing order (1. bar, 2. foo)
/Zephyr-latest/tests/cmake/snippets/extra_snippet_root/snippets/bar/
Dbar.overlay2 /delete-node/ deleted-by-bar;
6 added-by-bar {};
/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/doc/_extensions/zephyr/domain/static/css/
Dcodesample-livesearch.css5 .cs-search-bar {
13 .cs-search-bar input {
25 .cs-search-bar i {
/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 …]
Ddesign.rst36 to boards ``foo`` and ``bar`` by specifying ``/(foo|bar)/`` as a regular
/Zephyr-latest/drivers/pcie/host/
Dshell.c148 int bar; in show_bars() local
150 for (bar = PCIE_CONF_BAR0; bar <= PCIE_CONF_BAR5; ++bar) { in show_bars()
151 data = pcie_conf_read(bdf, bar); in show_bars()
157 bar - PCIE_CONF_BAR0, in show_bars()
164 ++bar; in show_bars()
166 pcie_conf_read(bdf, bar)); in show_bars()
Dcontroller.c72 unsigned int bar, reg, data; in pcie_generic_ctrl_enumerate_bars() local
76 for (bar = 0, reg = PCIE_CONF_BAR0; bar < nbars && reg <= PCIE_CONF_BAR5; reg ++, bar++) { in pcie_generic_ctrl_enumerate_bars()
138 bar, bar_size, in pcie_generic_ctrl_enumerate_bars()
150 bar, bar_size); in pcie_generic_ctrl_enumerate_bars()
Dpcie.c115 struct pcie_bar *bar, in pcie_get_bar() argument
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()
233 struct pcie_bar *bar, in pcie_probe_bar() argument
251 return pcie_get_bar(bdf, reg - PCIE_CONF_BAR0, bar, io); in pcie_probe_bar()
Dmsi.c87 struct pcie_bar bar; in map_msix_table_entries() local
95 if (!pcie_get_mbar(bdf, table_bir, &bar)) { in map_msix_table_entries()
100 bar.phys_addr + table_offset, in map_msix_table_entries()
/Zephyr-latest/doc/build/kconfig/
Dextensions.rst67 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"
97 :file:`Kconfig` file, and that :file:`foo/bar/Kconfig` has the following
106 :file:`foo/bar/qaz/Kconfig2`.
/Zephyr-latest/scripts/dts/python-devicetree/tests/
Dtest.dts24 interrupt-names = "foo", "bar";
240 reg-names = "foo", "bar";
333 bar = <1>;
339 bar = <1>;
356 string-array = "foo", "bar", "baz";
434 tokenizable-lower-enum = "bar";
436 string-array-enum = "foo", "bar";
459 bar-bus {
460 compatible = "bar-bus";
510 // For testing that neither 'include: [foo.yaml, bar.yaml]' nor
[all …]
/Zephyr-latest/tests/misc/llext-edk/include/
Dapp_api.h15 __syscall int foo(int bar);
/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
Dbindings-syntax.rst190 description: Initial baud rate for bar-device
192 # Describes an optional property like 'keys = "foo", "bar";'
195 description: Keys for bar-device
240 default: ["foo", "bar"] # Same as 'string-array-with-default = "foo", "bar"'
407 bar:
411 Above, the ``bar`` property's specifier space is set to "my-custom-space".
426 bar = <&controller1 10 20>, <&controller2 30>;
635 compatible = "bar,pwm";
643 The bindings for compatible ``"foo,pwm"`` and ``"bar,pwm"`` must give a name to
655 # bar,pwm.yaml
[all …]
/Zephyr-latest/soc/intel/intel_adsp/ace/
Dcomm_widget.h774 uint32_t be, uint32_t bar) in cw_upstream_set_attr() argument
778 FIELD_PREP(USATTR_BAR, bar); in cw_upstream_set_attr()
/Zephyr-latest/cmake/modules/
Dsoc_v1.cmake56 …- if your SoC family directory is '/foo/bar/soc/<ARCH>/my_soc_family', then add '/foo/bar' to SOC_…

123