Home
last modified time | relevance | path

Searched defs:rc (Results 1 – 25 of 352) sorted by relevance

12345678910>>...15

/Zephyr-Core-3.4.0/tests/drivers/gpio/gpio_basic_api/src/
Dtest_gpio_port.c18 int rc = gpio_port_get_raw(dev, &v); in raw_in() local
29 int rc = gpio_port_get(dev, &v); in logic_in() local
39 int rc; in raw_out() local
53 int rc; in logic_out() local
69 int rc; in setup() local
137 int rc; in bits_physical() local
242 int rc; in pin_physical() local
286 int rc; in check_raw_output_levels() local
338 int rc; in check_logic_output_levels() local
391 int rc; in check_input_levels() local
[all …]
/Zephyr-Core-3.4.0/subsys/fs/
Dfs.c136 int rc = -EINVAL; in fs_open() local
179 int rc = -EINVAL; in fs_close() local
202 int rc = -EINVAL; in fs_read() local
222 int rc = -EINVAL; in fs_write() local
242 int rc = -ENOTSUP; in fs_seek() local
262 int rc = -ENOTSUP; in fs_tell() local
282 int rc = -EINVAL; in fs_truncate() local
302 int rc = -EINVAL; in fs_sync() local
324 int rc = -EINVAL; in fs_opendir() local
374 int rc = -EINVAL; in fs_readdir() local
[all …]
/Zephyr-Core-3.4.0/subsys/disk/
Ddisk_access.c59 int rc = -EINVAL; in disk_access_init() local
72 int rc = -EINVAL; in disk_access_status() local
86 int rc = -EINVAL; in disk_access_read() local
100 int rc = -EINVAL; in disk_access_write() local
113 int rc = -EINVAL; in disk_access_ioctl() local
125 int rc = 0; in disk_access_register() local
150 int rc = 0; in disk_access_unregister() local
/Zephyr-Core-3.4.0/lib/posix/
Dfs.c90 int rc, fd; in open() local
133 int rc; in fs_close_vmeth() local
143 int rc = 0; in fs_ioctl_vmeth() local
181 ssize_t rc; in fs_write_vmeth() local
200 ssize_t rc; in fs_read_vmeth() local
226 int rc; in opendir() local
254 int rc; in closedir() local
281 int rc; in readdir() local
316 int rc; in rename() local
334 int rc; in unlink() local
[all …]
/Zephyr-Core-3.4.0/subsys/fs/fcb/
Dfcb.c35 int rc; in fcb_flash_read() local
57 int rc; in fcb_flash_write() local
79 int rc; in fcb_erase_sector() local
98 int rc; in fcb_init() local
239 int rc; in fcb_get_len() local
262 int rc; in fcb_sector_hdr_init() local
286 int rc; in fcb_sector_hdr_read() local
317 int rc; in fcb_offset_last_n() local
356 int rc; in fcb_clear() local
Dfcb_getnext.c16 int rc; in fcb_getnext_in_sector() local
46 int rc; in fcb_getnext_nolock() local
111 int rc; in fcb_getnext() local
/Zephyr-Core-3.4.0/tests/kernel/workq/work/src/
Dmain.c215 int rc; in ZTEST() local
275 int rc; in ZTEST() local
287 int rc; in ZTEST() local
324 int rc; in ZTEST() local
355 int rc; in ZTEST() local
393 int rc; in ZTEST() local
432 int rc; in ZTEST() local
470 int rc; in ZTEST() local
501 int rc; in ZTEST() local
535 int rc; in ZTEST() local
[all …]
/Zephyr-Core-3.4.0/tests/subsys/storage/stream/stream_flash/src/
Dmain.c69 int rc; in erase_flash() local
82 int rc; in init_target() local
103 int rc; in ZTEST() local
129 int rc; in ZTEST() local
149 int rc; in ZTEST() local
179 int rc; in ZTEST() local
213 int rc; in ZTEST() local
237 int rc; in ZTEST() local
263 int rc; in ZTEST() local
291 int rc; in ZTEST() local
[all …]
/Zephyr-Core-3.4.0/tests/drivers/disk/disk_access/src/
Dmain.c50 int rc; in test_setup() local
80 int rc; in read_sector() local
94 int rc, sector; in test_sector_read() local
124 int rc, i; in write_sector_checked() local
152 int rc, sector; in test_sector_write() local
179 int rc, i; in ZTEST() local
207 int rc, i; in ZTEST() local
/Zephyr-Core-3.4.0/tests/lib/onoff/src/
Dmain.c93 int rc = sys_notify_fetch_result(&cp->notify, &result); in cli_result() local
231 int rc; in setup_test() local
257 int rc; in setup_error() local
275 int rc; in ZTEST() local
343 int rc; in ZTEST() local
381 int rc; in ZTEST() local
427 int rc; in ZTEST() local
479 int rc; in ZTEST() local
515 int rc; in ZTEST() local
546 int rc; in ZTEST() local
[all …]
/Zephyr-Core-3.4.0/subsys/dfu/boot/
Dmcuboot.c64 int rc; in boot_read_v1_header() local
110 int rc; in boot_read_bank_header() local
165 int rc; in boot_request_upgrade() local
177 int rc; in boot_request_upgrade_multi() local
190 int rc; in boot_is_img_confirmed() local
216 int rc; in boot_write_img_confirmed() local
228 int rc; in boot_write_img_confirmed_multi() local
241 int rc; in boot_erase_img_bank() local
262 int rc; in boot_get_area_trailer_status_offset() local
/Zephyr-Core-3.4.0/subsys/mgmt/mcumgr/grp/zephyr_basic/src/
Dbasic_mgmt.c24 int rc = flash_area_open(ERASE_TARGET_ID, &fa); in storage_erase() local
51 int rc; in storage_erase_handler() local
88 int rc; in zephyr_basic_group_translate_error_code() local
/Zephyr-Core-3.4.0/subsys/storage/stream/
Dstream_flash.c49 int rc; in settings_direct_loader() local
79 int rc; in stream_flash_erase_page() local
109 int rc = 0; in flash_sync() local
182 int rc = 0; in stream_flash_buffered_write() local
257 int rc = settings_subsys_init(); in stream_flash_init() local
315 int rc = settings_load_subtree_direct(settings_key, in stream_flash_progress_load() local
334 int rc = settings_save_one(settings_key, in stream_flash_progress_save() local
353 int rc = settings_delete(settings_key); in stream_flash_progress_clear() local
/Zephyr-Core-3.4.0/subsys/fs/nvs/
Dnvs.c45 int rc; in nvs_lookup_cache_rebuild() local
110 int rc = 0; in nvs_flash_al_wrt() local
152 int rc; in nvs_flash_rd() local
166 int rc; in nvs_flash_ate_wrt() local
184 int rc; in nvs_flash_data_wrt() local
211 int rc; in nvs_flash_block_cmp() local
242 int rc; in nvs_flash_cmp_const() local
267 int rc; in nvs_flash_block_move() local
295 int rc; in nvs_flash_erase_sector() local
409 int rc; in nvs_flash_wrt_entry() local
[all …]
/Zephyr-Core-3.4.0/drivers/fuel_gauge/max17048/
Dmax17048.c53 int rc = i2c_write_read_dt(&cfg->i2c, &registerId, sizeof(registerId), max17048_buffer, in max17048_read_register() local
77 int rc = max17048_adc(i2c_dev, response); in max17048_voltage() local
103 int rc = max17048_read_register(i2c_dev, REGISTER_SOC, &data); in max17048_percent() local
125 int rc = max17048_read_register(i2c_dev, REGISTER_CRATE, response); in max17048_crate() local
151 int rc = max17048_read_register(dev, REGISTER_VERSION, &version); in max17048_init() local
181 int rc = 0; in max17048_get_prop() local
213 int rc = max17048_percent(dev, &data->charge); in max17048_get_props() local
/Zephyr-Core-3.4.0/tests/drivers/retained_mem/api/src/
Dmain.c35 int32_t rc; in ZTEST() local
50 int32_t rc; in ZTEST() local
58 int32_t rc; in ZTEST() local
/Zephyr-Core-3.4.0/subsys/mgmt/mcumgr/grp/img_mgmt/src/
Dzephyr_img_mgmt.c89 int rc; in img_mgmt_flash_check_empty_inner() local
133 int rc; in img_mgmt_flash_check_empty() local
291 int rc; in img_mgmt_erase_slot() local
323 int rc; in img_mgmt_write_pending() local
340 int rc; in img_mgmt_write_confirmed() local
354 int rc; in img_mgmt_read() local
390 int rc = IMG_MGMT_RET_RC_OK; in img_mgmt_write_image_data() local
449 int rc; in img_mgmt_erase_image_data() local
562 int rc; in img_mgmt_upload_inspect() local
691 int rc; in img_mgmt_erased_val() local
/Zephyr-Core-3.4.0/samples/subsys/settings/src/
Dmain.c69 int rc; in alpha_handle_set() local
120 int rc; in beta_handle_set() local
202 int i, rc; in example_save_and_load_basic() local
275 int rc; in direct_loader() local
313 int rc; in example_direct_load_subtree() local
344 int rc; in direct_loader_immediate_value() local
374 int rc; in load_immediate_value() local
395 int rc; in example_without_handler() local
423 int rc; in example_initialization() local
471 int rc; in example_delete() local
[all …]
/Zephyr-Core-3.4.0/tests/drivers/eeprom/api/src/
Dmain.c28 int rc; in ZTEST_USER() local
44 int rc; in ZTEST_USER() local
84 int rc; in ZTEST_USER() local
105 int rc; in ZTEST_USER() local
124 int rc; in ZTEST_USER() local
144 int rc; in ZTEST_USER() local
/Zephyr-Core-3.4.0/tests/net/lib/mqtt_pubsub/src/
Dtest_mqtt_pubsub.c104 int rc; in publish_handler() local
276 int rc, i = 0; in try_to_connect() local
307 int rc; in test_connect() local
319 int rc; in test_subscribe() local
346 int rc; in test_publish() local
383 int rc; in test_unsubscribe() local
409 int rc; in test_disconnect() local
/Zephyr-Core-3.4.0/tests/unit/cbprintf/
Dmain.c239 #define TEST_PRF2(rc, _fmt, ...) do { \ argument
269 #define TEST_PRF(rc, _fmt, ...) \ argument
273 #define TEST_PRF_LONG_DOUBLE(rc, _fmt, ...) \ argument
277 #define TEST_PRF_LONG_DOUBLE(rc, _fmt, ...) \ argument
319 int rc; in prf_check() local
367 int rc; in ZTEST() local
376 int rc; in ZTEST() local
414 int rc; in ZTEST() local
440 int rc; in ZTEST() local
459 int rc; in ZTEST() local
[all …]
/Zephyr-Core-3.4.0/samples/sensor/mpu6050/src/
Dmain.c38 int rc = sensor_sample_fetch(dev); in process_mpu6050() local
77 int rc = process_mpu6050(dev); in handle_mpu6050_drdy() local
110 int rc = process_mpu6050(mpu6050); in main() local
/Zephyr-Core-3.4.0/samples/sensor/ccs811/src/
Dmain.c41 int rc = 0; in do_fetch() local
84 int rc = do_fetch(dev); in trigger_handler() local
100 int rc = do_fetch(dev); in do_main() local
118 int rc; in main() local
/Zephyr-Core-3.4.0/tests/drivers/flash_simulator/src/
Dmain.c64 int rc; in test_check_pattern32() local
88 int rc; in ZTEST() local
111 int rc; in test_write_read() local
145 int rc; in test_erase() local
180 int rc; in ZTEST() local
236 int rc; in ZTEST() local
264 int rc; in ZTEST() local
/Zephyr-Core-3.4.0/samples/net/mqtt_publisher/src/
Dmain.c260 #define RC_STR(rc) ((rc) == 0 ? "OK" : "ERROR") argument
262 #define PRINT_RESULT(func, rc) \ argument
366 int rc, i = 0; in try_to_connect() local
401 int rc; in process_mqtt_and_sleep() local
430 #define SUCCESS_OR_EXIT(rc) { if (rc != 0) { return 1; } } argument
431 #define SUCCESS_OR_BREAK(rc) { if (rc != 0) { break; } } argument
435 int i, rc, r = 0; in publisher() local
520 int rc; in main() local

12345678910>>...15