Home
last modified time | relevance | path

Searched refs:macro (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/Zephyr-latest/include/zephyr/arch/arc/asm-compat/
Dasm-macro-32-bit-mwdt.h8 .macro MOVR, d, s
13 .macro LDR, d, s, off
21 .macro STR, d, s, off
30 .macro PUSHR, r
34 .macro POPR, r
38 .macro LRR, d, aux
42 .macro SRR, d, aux
47 .macro ADDR, d, s, v
51 .macro ADD2R, d, s, v
55 .macro ADD3R, d, s, v
[all …]
Dasm-macro-64-bit-mwdt.h8 .macro MOVR, d, s
13 .macro LDR, d, s, off
21 .macro STR, d, s, off
30 .macro PUSHR, r
34 .macro POPR, r
38 .macro LRR, d, aux
42 .macro SRR, d, aux
47 .macro ADDR, d, s, v
51 .macro ADD2R, d, s, v
55 .macro ADD3R, d, s, v
[all …]
Dasm-macro-32-bit-gnu.h11 .macro MOVR\cc d, s
17 .macro LDR\aa d, s, off=0
23 .macro STR\aa d, s, off=0
33 .macro PUSHR r
37 .macro POPR r
41 .macro LRR d, aux
45 .macro SRR d, aux
50 .macro ADDR\cc d, s, v
56 .macro ADD2R\cc d, s, v
61 .macro ADD3R d, s, v
[all …]
Dasm-macro-64-bit-gnu.h11 .macro MOVR\cc d, s
17 .macro LDR\aa d, s, off=0
23 .macro STR\aa d, s, off=0
33 .macro STR d, s, off=0
45 .macro PUSHR r
49 .macro POPR r
53 .macro LRR d, aux
57 .macro SRR d, aux
62 .macro ADDR\cc d, s, v
68 .macro ADD2R\cc d, s, v
[all …]
/Zephyr-latest/doc/build/dts/
Dmacros.bnf8 ; dt-macro: the top level nonterminal for a devicetree macro
10 ; A dt-macro starts with uppercase "DT_", and is one of:
12 ; - a <node-macro>, generated for a particular node
13 ; - some <other-macro>, a catch-all for other types of macros
14 dt-macro = node-macro / other-macro
17 ; node-macro: a macro related to a node
19 ; A macro about a property value
20 node-macro = property-macro
21 ; A macro about the pinctrl properties in a node.
22 node-macro =/ pinctrl-macro
[all …]
Dapi-usage.rst18 abstracted behind a macro API, the Linux kernel would instead read the
32 identifier* for it. This is a just a C macro that refers to the node.
37 Use :c:macro:`DT_PATH()` along with the node's full path in the devicetree,
42 Use :c:macro:`DT_NODELABEL()` to get a node identifier from a :ref:`node
48 Use :c:macro:`DT_ALIAS()` to get a node identifier for a property of the
53 You may also use :c:macro:`DT_HAS_ALIAS()` to verify whether an alias
59 :c:macro:`DT_INST()`, but be careful doing so. See below.
62 Use :c:macro:`DT_CHOSEN()` to get a node identifier for ``/chosen`` node
66 Use :c:macro:`DT_PARENT()` and :c:macro:`DT_CHILD()` to get a node identifier
87 :c:macro:`DT_INST()` documentation for details.
[all …]
Dintro-scope-purpose.rst39 The API itself is based on C macros. The macro names all start with ``DT_``. In
40 general, if you see a macro that starts with ``DT_`` in a Zephyr source file,
41 it's probably a ``devicetree.h`` macro. The generated C header contains macros
43 messages. You always can tell a generated- from a non-generated macro:
44 generated macros have some lowercased letters, while the ``devicetree.h`` macro
/Zephyr-latest/include/zephyr/toolchain/
Dmwdt.h24 .macro section_var_mwdt, section, symbol
29 .macro section_func_mwdt, section, symbol
37 .macro section_subsec_func_mwdt, section, subsection, symbol
43 .macro section_var_mwdt, section, symbol
48 .macro section_func_mwdt, section, symbol
56 .macro section_subsec_func_mwdt, section, subsection, symbol
69 .macro glbl_text_mwdt, symbol
74 .macro glbl_data_mwdt, symbol
79 .macro weak_data_mwdt, symbol
84 .macro weak_text_mwdt, symbol
[all …]
/Zephyr-latest/arch/riscv/core/
Dasm_macros.inc12 .macro lr, rd, mem
16 .macro sr, rs, mem
23 .macro lr, rd, mem
27 .macro sr, rs, mem
35 .macro flr, rd, mem
39 .macro fsr, rs, mem
45 .macro flr, rd, mem
49 .macro fsr, rs, mem
60 .macro shiftmul_add rd, rs, mult
/Zephyr-latest/subsys/shell/modules/kernel_service/thread/
DKconfig9 Internal helper macro to determine if the main `thread` command
20 Internal helper macro to compile the `list` subcommand
30 Internal helper macro to compile the `stacks` subcommand
38 Internal helper macro to compile the `mask` subcommand
46 Internal helper macro to compile the `pin` subcommand
54 Internal helper macro to compile the `unwind` subcommand
/Zephyr-latest/scripts/dts/
Dgen_defines.py330 for macro, val in idx_vals:
331 out_dt_define(macro, val)
368 for macro, val in idx_vals:
369 out_dt_define(macro, val)
370 for macro, val in name_vals:
371 out_dt_define(macro, val)
436 for macro, val in idx_vals:
437 out_dt_define(macro, val)
438 for macro, val in name_vals:
439 out_dt_define(macro, val)
[all …]
/Zephyr-latest/soc/intel/intel_adsp/cavs/
Dasm_ldo_management.h21 .macro m_cavs_set_ldo_state state, ax
33 .macro m_cavs_set_hpldo_state state, ax, ay
44 .macro m_cavs_set_lpldo_state state, ax, ay
55 .macro m_cavs_set_ldo_on_state ax, ay, az
67 .macro m_cavs_set_ldo_off_state ax, ay, az
87 .macro m_cavs_set_ldo_bypass_state ax, ay, az
Dasm_memory_management.h28 .macro m_cavs_hpsram_power_down_entire ax, ay, az
50 .macro m_cavs_hpsram_power_change segment_index, mask, ax, ay, az
61 .macro m_cavs_lpsram_power_down_entire ax, ay, az, loop_cnt_addr
/Zephyr-latest/subsys/bindesc/
Dgen_bindesc_build_time_h.cmake5 # Wrapper macro around string(TIMESTAMP ...), that returns the time
7 macro(get_time out_var format)
15 macro(gen_build_time_int_definition def_name format)
21 macro(gen_build_time_str_definition def_name format)
/Zephyr-latest/arch/arc/include/
Dswap_macros.h24 .macro _save_callee_saved_regs
98 .macro _load_callee_saved_regs
172 .macro _discard_callee_saved_regs
180 .macro _create_irq_stack_frame
227 .macro _pop_irq_stack_frame
282 .macro _load_stack_check_regs
313 .macro _check_and_inc_int_nest_counter, reg1, reg2
339 .macro _dec_int_nest_counter, reg1, reg2
364 .macro _check_nest_int_by_irq_act, reg1, reg2
380 .macro _get_cpu_id, reg
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/api/
Dgatt.rst12 attributes the service contains. The helper macro :c:macro:`BT_GATT_SERVICE()`
18 :c:macro:`BT_GATT_PRIMARY_SERVICE`
21 :c:macro:`BT_GATT_SECONDARY_SERVICE`
24 :c:macro:`BT_GATT_INCLUDE_SERVICE`
27 :c:macro:`BT_GATT_CHARACTERISTIC`
30 :c:macro:`BT_GATT_DESCRIPTOR`
33 :c:macro:`BT_GATT_ATTRIBUTE`
36 :c:macro:`BT_GATT_CCC`
39 :c:macro:`BT_GATT_CEP`
42 :c:macro:`BT_GATT_CUD`
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dlcd_srv.rst30 :c:macro:`BT_MESH_MODELS_METADATA_ENTRY` macro. The :c:macro:`BT_MESH_MODELS_METADATA_END` macro
32 helper macro :c:macro:`BT_MESH_MODELS_METADATA_NONE` can be used instead.
/Zephyr-latest/arch/arm/core/cortex_a_r/
Dmacro_priv.inc15 .macro get_cpu_id rreg0
28 .macro get_cpu_logic_id reg0, reg1, reg2, reg3
42 .macro get_cpu rreg0
50 .macro z_arm_cortex_ar_enter_exc
/Zephyr-latest/include/zephyr/arch/arm64/
Dmacro.inc12 .macro switch_el, xreg, el3_label, el2_label, el1_label
23 * macro to support mov of immediate constant to 64 bit register
27 .macro mov_imm, xreg, imm
/Zephyr-latest/arch/arm64/core/
Dmacro_priv.inc18 .macro get_cpu_id xreg0
31 .macro get_cpu_logic_id xreg0, xreg1, xreg2, xreg3
50 .macro get_cpu xreg0
/Zephyr-latest/doc/services/shell/
Dindex.rst228 * :c:macro:`SHELL_CMD_REGISTER` - Create root command. All root commands must
230 * :c:macro:`SHELL_COND_CMD_REGISTER` - Conditionally (if compile time flag is
232 * :c:macro:`SHELL_CMD_ARG_REGISTER` - Create root command with arguments.
234 * :c:macro:`SHELL_COND_CMD_ARG_REGISTER` - Conditionally (if compile time flag
237 * :c:macro:`SHELL_CMD` - Initialize a command.
238 * :c:macro:`SHELL_COND_CMD` - Initialize a command if compile time flag is set.
239 * :c:macro:`SHELL_EXPR_CMD` - Initialize a command if compile time expression is
241 * :c:macro:`SHELL_CMD_ARG` - Initialize a command with arguments.
242 * :c:macro:`SHELL_COND_CMD_ARG` - Initialize a command with arguments if compile
244 * :c:macro:`SHELL_EXPR_CMD_ARG` - Initialize a command with arguments if compile
[all …]
/Zephyr-latest/doc/kernel/iterable_sections/
Dindex.rst8 that can be iterated on using :c:macro:`STRUCT_SECTION_FOREACH`.
37 :c:macro:`ITERABLE_SECTION_RAM` or :c:macro:`ITERABLE_SECTION_ROM`. Custom
53 The data can then be accessed using :c:macro:`STRUCT_SECTION_FOREACH`.
/Zephyr-latest/doc/kernel/usermode/
Dsyscalls.rst29 * A **C prototype** prefixed with :c:macro:`__syscall` for the API. It
59 The :c:macro:`__syscall` attribute is very special. To the C compiler, it
74 * :c:macro:`__syscall` must be the first thing in the prototype.
118 the definition of macros :c:macro:`__ZEPHYR_SUPERVISOR__` or
119 :c:macro:`__ZEPHYR_USER__`, typically these will be added to the compiler
129 * If :c:macro:`__ZEPHYR_SUPERVISOR__` is defined, then it is assumed that
135 * If :c:macro:`__ZEPHYR_USER__` is defined, then it is assumed that all the
141 Declaring an API with :c:macro:`__syscall` causes some code to be generated in
282 * :c:macro:`K_SYSCALL_OBJ()` Checks a memory address to assert that it is
286 * :c:macro:`K_SYSCALL_OBJ_INIT()` is the same as
[all …]
/Zephyr-latest/arch/xtensa/include/
Dxtensa_asm2_s.h74 .macro SPILL_ALL_WINDOWS
108 .macro FPU_REG_SAVE
131 .macro FPU_REG_RESTORE
166 .macro ODD_REG_SAVE
216 .macro CALC_PTEVADDR_BASE ADDR_REG
241 .macro PRELOAD_PTEVADDR ADDR_REG, PTEVADDR_BASE_REG
355 .macro CROSS_STACK_CALL
405 .macro EXCINT_HANDLER NEST_OFF, INTSTACK_OFF
607 .macro DEF_EXCINT LVL, ENTRY_SYM, C_HANDLER_SYM
/Zephyr-latest/soc/intel/intel_adsp/ace/
Dasm_memory_management.h16 .macro m_ace_lpsram_power_down_entire ax, ay, az, au
42 .macro m_ace_hpsram_power_down_entire ax, ay, az, au

12345678910>>...12