Home
last modified time | relevance | path

Searched refs:func (Results 26 – 50 of 513) sorted by relevance

12345678910>>...21

/Zephyr-latest/samples/drivers/led/is31fl3733/
DREADME.rst13 - Set all LEDs to full brightness with :c:func:`led_write_channels` API
14 - Disable upper quadrant of LED array with :c:func:`led_write_channels` API
15 - Dim each LED in sequence using :c:func:`led_set_brightness` API
16 - Toggle each LED in sequency using :c:func:`led_on` and :c:func:`led_of` APIs
17 - Toggle between low or high current limit using :c:func:`is31fl3733_current_limit`
/Zephyr-latest/doc/connectivity/bluetooth/api/
Dconnection_mgmt.rst10 :c:func:`bt_conn_get_info` API. Connection objects are reference
12 :c:func:`bt_conn_ref` API whenever storing a connection pointer for a
15 :c:func:`bt_conn_unref` API is to be used when releasing a reference
19 object created by functions :c:func:`bt_conn_le_create` and
20 :c:func:`bt_conn_le_create_synced`. To protect against this, use the
27 :c:struct:`bt_conn_cb` struct using the :c:func:`bt_conn_cb_register`
33 :c:func:`bt_conn_le_create` API.
Dgatt.rst18 Services can be registered using the :c:func:`bt_gatt_service_register` API
66 Attribute value changes can be notified using :c:func:`bt_gatt_notify` API,
67 alternatively there is :c:func:`bt_gatt_notify_cb` where it is possible to
70 :c:func:`bt_gatt_indicate` API.
73 :c:func:`bt_gatt_discover` API which takes the
82 Read procedures are supported by :c:func:`bt_gatt_read` API which takes the
87 Write procedures are supported by :c:func:`bt_gatt_write` API and takes
89 operation don't require a response :c:func:`bt_gatt_write_without_response`
90 or :c:func:`bt_gatt_write_without_response_cb` APIs can be used, with the
91 later working similarly to :c:func:`bt_gatt_notify_cb`.
[all …]
/Zephyr-latest/doc/kernel/memory_management/
Ddemand_paging.rst29 using :c:func:`k_mem_page_in()` and :c:func:`k_mem_page_out()`.
30 :c:func:`k_mem_page_in()` can be used to page in data pages
33 memory, and thus minimizing latency. :c:func:`k_mem_page_out()` can be
93 * Overall statistics via :c:func:`k_mem_paging_stats_get()`
95 * Per-thread statistics via :c:func:`k_mem_paging_thread_stats_get()`
108 :c:func:`k_mem_paging_histogram_eviction_get()`
111 :c:func:`k_mem_paging_histogram_backing_store_page_in_get()`
114 :c:func:`k_mem_paging_histogram_backing_store_page_out_get()`
124 * :c:func:`k_mem_paging_eviction_init()` is called to initialize
127 * :c:func:`k_mem_paging_eviction_add()` is called each time a data page becomes
[all …]
/Zephyr-latest/subsys/logging/
Dlog_output_dict.c31 log_output_write(output->func, (uint8_t *)&output_hdr, sizeof(output_hdr), in log_dict_output_msg_process()
38 log_output_write(output->func, data, len, (void *)output->control_block->ctx); in log_dict_output_msg_process()
43 log_output_write(output->func, data, len, (void *)output->control_block->ctx); in log_dict_output_msg_process()
56 log_output_write(output->func, (uint8_t *)&msg, sizeof(msg), in log_dict_output_dropped_process()
/Zephyr-latest/tests/bluetooth/host/keys/bt_keys_get_addr/src/
Dtest_suite_full_list_invalid_values.c32 bt_conn_foreach_cb func, void *data) in bt_conn_foreach_conn_ref_null_custom_fake() argument
34 func(NULL, data); in bt_conn_foreach_conn_ref_null_custom_fake()
38 bt_conn_foreach_cb func, void *data) in bt_conn_foreach_data_ref_null_custom_fake() argument
42 func(&conn, NULL); in bt_conn_foreach_data_ref_null_custom_fake()
Dtest_suite_full_list_overwrite_oldest.c50 bt_conn_foreach_cb func, void *data) in bt_conn_foreach_key_slot_0_in_use_custom_fake() argument
57 func(&conn, data); in bt_conn_foreach_key_slot_0_in_use_custom_fake()
64 func(&conn, data); in bt_conn_foreach_key_slot_0_in_use_custom_fake()
71 func(&conn, data); in bt_conn_foreach_key_slot_0_in_use_custom_fake()
75 bt_conn_foreach_cb func, void *data) in bt_conn_foreach_all_keys_in_use_custom_fake() argument
85 func(&conn, data); in bt_conn_foreach_all_keys_in_use_custom_fake()
90 bt_conn_foreach_cb func, void *data) in bt_conn_foreach_no_keys_in_use_custom_fake() argument
100 func(&conn, data); in bt_conn_foreach_no_keys_in_use_custom_fake()
/Zephyr-latest/doc/services/storage/settings/
Dindex.rst33 These are registered using a call to :c:func:`settings_register()` for
39 :c:func:`settings_runtime_get()` from the runtime backend.
43 :c:func:`settings_load()`, or when using :c:func:`settings_runtime_set()` from the
54 when :c:func:`settings_save()` tries to save the settings or transfer to any
63 :c:func:`settings_register_with_cprio()` for dynamic handlers or using a call to
72 :c:func:`settings_src_register()` for backends that can load data, and/or
73 :c:func:`settings_dst_register()` for backends that can save data. The current
79 :c:func:`settings_load()`.
83 :c:func:`settings_save_one()`.
87 :c:func:`settings_save()` or :c:func:`settings_save_subtree()`.
[all …]
/Zephyr-latest/doc/services/llext/
Dload.rst14 needed by the :c:func:`llext_load` function. An implementation over a buffer
18 The extensions are loaded with a call to the :c:func:`llext_load` function,
25 :c:func:`llext_add_domain` function must be called.
37 ``.init_array`` sections of the ELF file with the :c:func:`llext_bringup`
39 :c:func:`llext_teardown` function. These APIs are compatible with
47 If the extension requires a dedicated thread, the :c:func:`llext_bootstrap`
49 signature that is compatible with the :c:func:`k_thread_create` API, and will
50 call :c:func:`llext_bringup`, then a user-specified function in the same
51 context, and finally :c:func:`llext_teardown` before returning.
57 :c:func:`llext_find_sym` function to get the address of the exported symbol.
[all …]
/Zephyr-latest/boards/native/nrf_bsim/common/
Dbsim_extra_cpu_if_stubs.c18 static void save_test_arg_warn(const char *func, char *argv) in save_test_arg_warn() argument
22 func, argv); in save_test_arg_warn()
/Zephyr-latest/include/zephyr/dt-bindings/pinctrl/
Drenesas-rzt2m-pinctrl.h10 #define RZT2M_PINMUX(port, pin, func) ((port << 16) | (pin << 8) | func) argument
/Zephyr-latest/drivers/pinctrl/
Dpinctrl_sifive.c21 static int pinctrl_sifive_set(uint32_t pin, uint32_t func) in pinctrl_sifive_set() argument
25 if (func > SIFIVE_PINMUX_IOF1 || pin >= MAX_PIN_NUM) { in pinctrl_sifive_set()
30 if (func == SIFIVE_PINMUX_IOF1) { in pinctrl_sifive_set()
Dpinctrl_b91.c132 uint8_t func = B91_PINMUX_GET_FUNC(*pinctrl); in pinctrl_configure_pin() local
147 func = func << offset; in pinctrl_configure_pin()
148 reg_pin_mux(pin) = (reg_pin_mux(pin) & mask) | func; in pinctrl_configure_pin()
/Zephyr-latest/subsys/net/ip/
Dtp.h129 void *tp_malloc(size_t size, const char *file, int line, const char *func);
130 void tp_free(void *ptr, const char *file, int line, const char *func);
132 const char *func);
136 const char *file, int line, const char *func);
138 const char *func);
140 const char *func);
150 const char *file, int line, const char *func);
Dtp.c46 void *tp_malloc(size_t size, const char *file, int line, const char *func) in tp_malloc() argument
53 mem->func = func; in tp_malloc()
92 mem->file, mem->line, mem->func, mem->mem, mem->size); in tp_mem_chk()
100 mem->file, mem->line, mem->func, mem->mem, in tp_mem_chk()
105 mem->file, mem->line, mem->func, mem->mem, in tp_mem_chk()
110 void tp_free(void *ptr, const char *file, int line, const char *func) in tp_free() argument
118 file, line, func, ptr); in tp_free()
126 const char *func) in tp_calloc() argument
129 void *ptr = tp_malloc(bytes, file, line, func); in tp_calloc()
147 const char *file, int line, const char *func) in tp_nbuf_alloc() argument
[all …]
/Zephyr-latest/lib/libc/common/source/thrd/
Dthrd.c15 thrd_start_t func; member
19 int thrd_create(thrd_t *thr, thrd_start_t func, void *arg) in thrd_create() argument
23 pthread_func_t pfunc = (pthread_func_t)func; in thrd_create()
/Zephyr-latest/soc/intel/intel_adsp/ace/
Dcomm_widget.c15 void cw_sb_write(uint32_t dest, uint32_t func, uint16_t address, uint32_t data) in cw_sb_write() argument
17 cw_upstream_set_attr(dest, func, CW_OPCODE_CRWR, 0, 0); in cw_sb_write()
/Zephyr-latest/drivers/dma/
Ddma_stm32_bdma.c78 static const bdma_stm32_clear_flag_func func[] = { in bdma_stm32_clear_ht() local
89 __ASSERT_NO_MSG(id < ARRAY_SIZE(func)); in bdma_stm32_clear_ht()
91 func[id](DMAx); in bdma_stm32_clear_ht()
96 static const bdma_stm32_clear_flag_func func[] = { in bdma_stm32_clear_tc() local
107 __ASSERT_NO_MSG(id < ARRAY_SIZE(func)); in bdma_stm32_clear_tc()
109 func[id](DMAx); in bdma_stm32_clear_tc()
114 static const bdma_stm32_check_flag_func func[] = { in bdma_stm32_is_ht_active() local
125 __ASSERT_NO_MSG(id < ARRAY_SIZE(func)); in bdma_stm32_is_ht_active()
127 return func[id](DMAx); in bdma_stm32_is_ht_active()
132 static const bdma_stm32_check_flag_func func[] = { in bdma_stm32_is_tc_active() local
[all …]
/Zephyr-latest/doc/kernel/data_structures/
Dring_buffers.rst55 memory, and must be initialized with :c:func:`ring_buf_init` or
56 :c:func:`ring_buf_item_init` before use. This must be provided a region
70 :c:func:`ring_buf_put`, passing a data pointer and byte count. These
73 fewer than provided) will be returned. Likewise :c:func:`ring_buf_get`
79 byte mode. :c:func:`ring_buf_put_claim` takes a byte size value from the
85 :c:func:`ring_buf_put_finish` can be used to signal the buffer that the
88 Similarly, :c:func:`ring_buf_get_claim` returns a pointer to internal ring
90 copy, and :c:func:`ring_buf_get_finish` signals the buffer with how many
96 :c:func:`ring_buf_item_put` and :c:func:`ring_buf_item_get`, and work
99 :c:func:`ring_buf_put`, :c:func:`ring_buf_item_put` will not do a partial
[all …]
Ddlist.rst15 accessible memory. It must be initialized with :c:func:`sys_dlist_init`
20 :c:func:`sys_dnode_init` before use.
23 next/prev pointers of a node with :c:func:`sys_dlist_peek_head`,
24 :c:func:`sys_dlist_peek_tail`, :c:func:`sys_dlist_peek_next` and
25 :c:func:`sys_dlist_peek_prev`. These can all return NULL where
30 :c:func:`sys_dlist_remove`, by adding a node to the head or tail of a list
31 with :c:func:`sys_dlist_prepend` and :c:func:`sys_dlist_append`, or by
32 inserting a node before an existing node with :c:func:`sys_dlist_insert`.
43 :c:func:`sys_dlist_insert_at`, which inserts a node that linearly searches
46 :c:func:`sys_dnode_is_linked`, which will affirmatively return whether or
/Zephyr-latest/drivers/gpio/
Dgpio_axp192.c82 enum axp192_gpio_func func; in gpio_axp192_configure() local
98 func = AXP192_GPIO_FUNC_OUTPUT_LOW; in gpio_axp192_configure()
100 func = AXP192_GPIO_FUNC_OUTPUT_OD; in gpio_axp192_configure()
102 ret = mfd_axp192_gpio_func_ctrl(config->mfd, dev, pin, func); in gpio_axp192_configure()
116 func = AXP192_GPIO_FUNC_INPUT; in gpio_axp192_configure()
118 ret = mfd_axp192_gpio_func_ctrl(config->mfd, dev, pin, func); in gpio_axp192_configure()
176 enum axp192_gpio_func func; in gpio_axp192_get_config() local
184 ret = mfd_axp192_gpio_func_get(config->mfd, pin, &func); in gpio_axp192_get_config()
191 switch (func) { in gpio_axp192_get_config()
/Zephyr-latest/doc/hardware/peripherals/
Dfuel_gauge.rst23 Properties are fetched by the client one at a time using :c:func:`fuel_gauge_get_prop`, or fetched
24 in a batch using :c:func:`fuel_gauge_get_props`.
26 Properties are set by the client one at a time using :c:func:`fuel_gauge_set_prop`, or set in a
27 batch using :c:func:`fuel_gauge_set_props`.
36 The fuel gauge API exposes battery cutoff with the :c:func:`fuel_gauge_battery_cutoff` function.
/Zephyr-latest/subsys/testsuite/ztest/include/zephyr/
Dztest_assert.h47 #define z_zassert(cond, default_msg, file, line, func, msg, ...) z_zassert_(cond, file, line) argument
61 #define z_zassume(cond, default_msg, file, line, func, msg, ...) z_zassume_(cond, file, line) argument
75 #define z_zexpect(cond, default_msg, file, line, func, msg, ...) z_zexpect_(cond, file, line) argument
80 const char *func, const char *msg, ...) in z_zassert() argument
87 ztest_relative_filename(file), line, func, default_msg); in z_zassert()
97 ztest_relative_filename(file), line, func); in z_zassert()
104 const char *func, const char *msg, ...) in z_zassume() argument
111 ztest_relative_filename(file), line, func, default_msg); in z_zassume()
121 ztest_relative_filename(file), line, func); in z_zassume()
128 const char *func, const char *msg, ...) in z_zexpect() argument
[all …]
/Zephyr-latest/scripts/
Dcheckstack.pl118 my ($func, $file, $lastslash);
122 $func = $1;
148 my $intro = "$addr $func [$file]:";
165 my $intro = "$addr $func [$file]:";
/Zephyr-latest/tests/kernel/mem_protect/protection/src/
Dmain.c62 int (*func)(int i) = PTR_TO_FUNC(dst); in execute_from_buffer() local
76 INFO("trying to call code written to %p\n", func); in execute_from_buffer()
77 i = func(i); in execute_from_buffer()
78 INFO("returned from code at %p\n", func); in execute_from_buffer()

12345678910>>...21