Home
last modified time | relevance | path

Searched refs:faults (Results 1 – 25 of 36) sorted by relevance

12

/Zephyr-latest/tests/kernel/mem_protect/demand_paging/mem_map/src/
Dmain.c122 unsigned long faults; in touch_anon_pages() local
126 faults = k_mem_num_pagefaults_get(); in touch_anon_pages()
156 faults = k_mem_num_pagefaults_get() - faults; in touch_anon_pages()
159 zassert_not_equal(faults, 0UL, "no page faults handled?"); in touch_anon_pages()
160 printk("Kernel handled %lu page faults\n", faults); in touch_anon_pages()
237 unsigned long faults; in test_k_mem_page_out() local
244 faults = k_mem_num_pagefaults_get(); in test_k_mem_page_out()
252 faults = k_mem_num_pagefaults_get() - faults; in test_k_mem_page_out()
255 zassert_equal(faults, HALF_PAGES, in test_k_mem_page_out()
257 HALF_PAGES, faults); in test_k_mem_page_out()
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Dhealth.c18 static void show_faults(const struct shell *sh, uint8_t test_id, uint16_t cid, uint8_t *faults, in show_faults() argument
33 shell_print(sh, "\t0x%02x\n", faults[i]); in show_faults()
46 uint8_t faults[32]; in cmd_fault_get() local
58 fault_count = sizeof(faults); in cmd_fault_get()
60 err = bt_mesh_health_cli_fault_get(cli, ctx.addr ? &ctx : NULL, cid, &test_id, faults, in cmd_fault_get()
65 show_faults(sh, test_id, cid, faults, fault_count); in cmd_fault_get()
91 uint8_t faults[32]; in fault_clear() local
92 size_t fault_count = sizeof(faults); in fault_clear()
95 faults, &fault_count); in fault_clear()
99 show_faults(sh, test_id, cid, faults, fault_count); in fault_clear()
[all …]
Dshell.c51 static void get_faults(uint8_t *faults, uint8_t faults_size, uint8_t *dst, uint8_t *count) in get_faults() argument
56 if (faults[i]) { in get_faults()
57 *dst++ = faults[i]; in get_faults()
64 uint16_t *company_id, uint8_t *faults, uint8_t *fault_count) in fault_get_cur() argument
71 get_faults(cur_faults, sizeof(cur_faults), faults, fault_count); in fault_get_cur()
77 uint8_t *test_id, uint8_t *faults, uint8_t *fault_count) in fault_get_reg() argument
88 get_faults(reg_faults, sizeof(reg_faults), faults, fault_count); in fault_get_reg()
157 static void show_faults(uint8_t test_id, uint16_t cid, uint8_t *faults, size_t fault_count) in show_faults() argument
171 bt_shell_print("\t0x%02x", faults[i]); in show_faults()
176 uint8_t test_id, uint16_t cid, uint8_t *faults, in health_current_status() argument
[all …]
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dhealth_cli.h80 uint8_t test_id, uint16_t cid, uint8_t *faults,
99 uint8_t test_id, uint16_t cid, uint8_t *faults,
154 uint16_t cid, uint8_t *test_id, uint8_t *faults,
180 uint16_t cid, uint8_t *test_id, uint8_t *faults,
217 uint16_t cid, uint8_t test_id, uint8_t *faults,
Dhealth_srv.h57 uint16_t *company_id, uint8_t *faults,
83 uint8_t *test_id, uint8_t *faults,
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dhealth_srv.rst8 faults in the mesh node and map the mesh nodes to their physical location.
15 The Health Server model may report a list of faults that have occurred in the
16 device's lifetime. Typically, the faults are events or conditions that may
25 specification, and the full list of specification defined faults are available
27 vendor specific. The list of faults are always reported with a company ID to
28 help interpreting the vendor specific faults.
57 Health faults
Dshell.rst277 Remove registered Health Server faults for the Linux Foundation Company ID.
279 …* ``FaultID``: If present, the given fault ID will be deleted. If omitted, all registered faults w…
970 Get a list of registered faults for a Company ID.
972 * ``CID``: Company ID to get faults for.
978 Clear the list of faults for a Company ID.
980 * ``CID``: Company ID to clear the faults for.
986 Clear the list of faults for a Company ID without requesting a response.
988 * ``CID``: Company ID to clear the faults for.
994 Invoke a self-test procedure, and show a list of triggered faults.
/Zephyr-latest/subsys/bluetooth/mesh/
Dhealth_cli.c35 uint8_t *faults; member
70 if (param->faults && param->fault_count) { in health_fault_status()
77 memcpy(param->faults, buf->data, *param->fault_count); in health_fault_status()
295 uint16_t cid, uint8_t test_id, uint8_t *faults, in bt_mesh_health_cli_fault_test() argument
302 .faults = faults, in bt_mesh_health_cli_fault_test()
333 uint16_t cid, uint8_t *test_id, uint8_t *faults, in bt_mesh_health_cli_fault_clear() argument
340 .faults = faults, in bt_mesh_health_cli_fault_clear()
355 (!test_id && (!faults || !fault_count)) ? NULL : &rsp); in bt_mesh_health_cli_fault_clear()
370 uint16_t cid, uint8_t *test_id, uint8_t *faults, in bt_mesh_health_cli_fault_get() argument
377 .faults = faults, in bt_mesh_health_cli_fault_get()
[all …]
/Zephyr-latest/tests/bluetooth/mesh/basic/src/
Dmain.c19 uint16_t *company_id, uint8_t *faults, uint8_t *fault_count) in fault_get_cur() argument
27 memcpy(faults, reg_faults, sizeof(reg_faults)); in fault_get_cur()
34 uint8_t *test_id, uint8_t *faults, uint8_t *fault_count) in fault_get_reg() argument
47 memcpy(faults, reg_faults, sizeof(reg_faults)); in fault_get_reg()
/Zephyr-latest/drivers/sensor/ti/tmp1075/
Dtmp1075.h35 #define TMP1075_SET_CONSECUTIVE_FAULT_MEASUREMENTS(reg, faults) ((reg) |= ((faults) << 11)) argument
/Zephyr-latest/samples/subsys/demand_paging/
DREADME.rst42 free memory pages: from 37 to 0, 987 page faults
44 free memory pages: from 0 to 0, 987 page faults
/Zephyr-latest/drivers/flash/
DKconfig.mcux103 This prevents faults when the data to write would be located on the
112 This prevents faults when the data to write would be located on the
/Zephyr-latest/samples/bluetooth/mesh_provisioner/src/
Dmain.c31 uint8_t test_id, uint16_t cid, uint8_t *faults, in health_current_status() argument
48 printk("\t0x%02x\n", faults[i]); in health_current_status()
/Zephyr-latest/samples/arch/mpu/mpu_test/
DREADME.rst95 look different, as ARMv6 handles MPU faults as generic hard faults. Moreover, when
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_mesh.c578 static void get_faults(uint8_t *faults, uint8_t faults_size, uint8_t *dst, uint8_t *count) in get_faults() argument
583 if (faults[i]) { in get_faults()
584 *dst++ = faults[i]; in get_faults()
591 uint16_t *company_id, uint8_t *faults, uint8_t *fault_count) in fault_get_cur() argument
598 get_faults(cur_faults, sizeof(cur_faults), faults, fault_count); in fault_get_cur()
604 uint8_t *test_id, uint8_t *faults, uint8_t *fault_count) in fault_get_reg() argument
614 get_faults(reg_faults, sizeof(reg_faults), faults, fault_count); in fault_get_reg()
651 static void show_faults(uint8_t test_id, uint16_t cid, uint8_t *faults, size_t fault_count) in show_faults() argument
665 LOG_DBG("0x%02x", faults[i]); in show_faults()
670 uint8_t test_id, uint16_t cid, uint8_t *faults, in health_current_status() argument
[all …]
/Zephyr-latest/doc/hardware/arch/
Darm_cortex_m.rst232 this rule is described below). As a result, processor faults occurring in regular
234 a HardFault, *similar to processor faults occurring in thread mode*.
286 * processor faults
290 Additionally, this allows system (processor and kernel) faults to be handled by Zephyr
297 and kernel faults are handled by the corresponding exception handlers and never result
331 interrupt priority level is equal to processor fault priority level, faults occurring
333 processor faults. Developers need to be aware of this limitation.
408 * stack overflows are triggering processor faults as soon as they occur
/Zephyr-latest/tests/bluetooth/tester/src/btp/
Dbtp_mesh.h117 uint8_t faults[]; member
689 uint8_t faults[]; member
/Zephyr-latest/arch/x86/core/
DKconfig.ia3258 kernel execution. This is needed to handle double-faults or
/Zephyr-latest/tests/arch/arm/arm_interrupt/
DREADME.txt5 as CPU faults. Tests supported only on Cortex-M architecture.
/Zephyr-latest/kernel/
DKconfig.vm142 latency, but any code running in interrupt context that page faults
/Zephyr-latest/doc/releases/
Drelease-notes-1.13.rst45 * arch: arm: allow processor to ignore/recover from faults
340 * :github:`9614` - tests/net/socket/ faults on sam_e70_xplained and frdm_k64f
438 * :github:`8950` - ARM fault dumping code does too much, assumes all faults are fatal, and doesn't …
555 * :github:`8293` - ARM: MPU faults should indicate faulting memory address
573 * :github:`8199` - Tests: Crypto: rand32 faults on nrf51_pca10028 and nrf52_pca10040
/Zephyr-latest/doc/kernel/memory_management/
Ddemand_paging.rst32 minimize number of page faults as these data pages are already in physical
/Zephyr-latest/arch/arm/core/cortex_m/
DKconfig164 This option signifies the CPU may trigger system faults
/Zephyr-latest/doc/safety/
Dsafety_overview.rst51 control of systematic faults in software.*
/Zephyr-latest/boards/espressif/esp32_ethernet_kit/doc/
Dindex.rst134 faults and transients, including rejection of common mode signals

12