Home
last modified time | relevance | path

Searched full:r (Results 1 – 25 of 1071) sorted by relevance

12345678910>>...43

/Zephyr-Core-3.5.0/drivers/display/
Ddisplay_ili9341.c20 int r; in ili9341_regs_init() local
23 r = ili9xxx_transmit(dev, ILI9341_PWSEQCTRL, regs->pwseqctrl, ILI9341_PWSEQCTRL_LEN); in ili9341_regs_init()
24 if (r < 0) { in ili9341_regs_init()
25 return r; in ili9341_regs_init()
29 r = ili9xxx_transmit(dev, ILI9341_TIMCTRLA, regs->timctrla, ILI9341_TIMCTRLA_LEN); in ili9341_regs_init()
30 if (r < 0) { in ili9341_regs_init()
31 return r; in ili9341_regs_init()
35 r = ili9xxx_transmit(dev, ILI9341_TIMCTRLB, regs->timctrlb, ILI9341_TIMCTRLB_LEN); in ili9341_regs_init()
36 if (r < 0) { in ili9341_regs_init()
37 return r; in ili9341_regs_init()
[all …]
Ddisplay_ili9342c.c20 int r; in ili9342c_regs_init() local
24 r = ili9xxx_transmit(dev, ILI9342C_SETEXTC, regs->setextc, in ili9342c_regs_init()
26 if (r < 0) { in ili9342c_regs_init()
27 return r; in ili9342c_regs_init()
31 r = ili9xxx_transmit(dev, ILI9342C_GAMSET, regs->gamset, in ili9342c_regs_init()
33 if (r < 0) { in ili9342c_regs_init()
34 return r; in ili9342c_regs_init()
38 r = ili9xxx_transmit(dev, ILI9342C_IFMODE, regs->ifmode, in ili9342c_regs_init()
40 if (r < 0) { in ili9342c_regs_init()
41 return r; in ili9342c_regs_init()
[all …]
Ddisplay_ili9340.c18 int r; in ili9340_regs_init() local
21 r = ili9xxx_transmit(dev, ILI9340_GAMSET, regs->gamset, in ili9340_regs_init()
23 if (r < 0) { in ili9340_regs_init()
24 return r; in ili9340_regs_init()
28 r = ili9xxx_transmit(dev, ILI9340_FRMCTR1, regs->frmctr1, in ili9340_regs_init()
30 if (r < 0) { in ili9340_regs_init()
31 return r; in ili9340_regs_init()
35 r = ili9xxx_transmit(dev, ILI9340_DISCTRL, regs->disctrl, in ili9340_regs_init()
37 if (r < 0) { in ili9340_regs_init()
38 return r; in ili9340_regs_init()
[all …]
Ddisplay_ili9488.c18 int r; in ili9488_regs_init() local
21 r = ili9xxx_transmit(dev, ILI9488_FRMCTR1, regs->frmctr1, in ili9488_regs_init()
23 if (r < 0) { in ili9488_regs_init()
24 return r; in ili9488_regs_init()
28 r = ili9xxx_transmit(dev, ILI9488_DISCTRL, regs->disctrl, in ili9488_regs_init()
30 if (r < 0) { in ili9488_regs_init()
31 return r; in ili9488_regs_init()
35 r = ili9xxx_transmit(dev, ILI9488_PWCTRL1, regs->pwctrl1, in ili9488_regs_init()
37 if (r < 0) { in ili9488_regs_init()
38 return r; in ili9488_regs_init()
[all …]
Ddisplay_ili9xxx.c29 int r; in ili9xxx_transmit() local
38 r = spi_write_dt(&config->spi, &tx_bufs); in ili9xxx_transmit()
39 if (r < 0) { in ili9xxx_transmit()
40 return r; in ili9xxx_transmit()
49 r = spi_write_dt(&config->spi, &tx_bufs); in ili9xxx_transmit()
50 if (r < 0) { in ili9xxx_transmit()
51 return r; in ili9xxx_transmit()
60 int r; in ili9xxx_exit_sleep() local
62 r = ili9xxx_transmit(dev, ILI9XXX_SLPOUT, NULL, 0); in ili9xxx_exit_sleep()
63 if (r < 0) { in ili9xxx_exit_sleep()
[all …]
/Zephyr-Core-3.5.0/samples/net/cloud/mqtt_azure/src/
Ddigicert.cer1 "-----BEGIN CERTIFICATE-----\r\n"
2 "MIIDdzCCAl+gAwIBAgIEAgAAuTANBgkqhkiG9w0BAQUFADBaMQswCQYDVQQGEwJJ\r\n"
3 "RTESMBAGA1UEChMJQmFsdGltb3JlMRMwEQYDVQQLEwpDeWJlclRydXN0MSIwIAYD\r\n"
4 "VQQDExlCYWx0aW1vcmUgQ3liZXJUcnVzdCBSb290MB4XDTAwMDUxMjE4NDYwMFoX\r\n"
5 "DTI1MDUxMjIzNTkwMFowWjELMAkGA1UEBhMCSUUxEjAQBgNVBAoTCUJhbHRpbW9y\r\n"
6 "ZTETMBEGA1UECxMKQ3liZXJUcnVzdDEiMCAGA1UEAxMZQmFsdGltb3JlIEN5YmVy\r\n"
7 "VHJ1c3QgUm9vdDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKMEuyKr\r\n"
8 "mD1X6CZymrV51Cni4eiVgLGw41uOKymaZN+hXe2wCQVt2yguzmKiYv60iNoS6zjr\r\n"
9 "IZ3AQSsBUnuId9Mcj8e6uYi1agnnc+gRQKfRzMpijS3ljwumUNKoUMMo6vWrJYeK\r\n"
10 "mpYcqWe4PwzV9/lSEy/CG9VwcPCPwBLKBsua4dnKM3p31vjsufFoREJIE9LAwqSu\r\n"
[all …]
/Zephyr-Core-3.5.0/samples/modules/tflite-micro/magic_wand/src/
Doutput_handler.cpp24 "WING:\n\r* * *\n\r * * * " in HandleOutput()
25 "*\n\r * * * *\n\r * * * *\n\r * * " in HandleOutput()
26 "* *\n\r * *\n\r"); in HandleOutput()
29 "RING:\n\r *\n\r * *\n\r * *\n\r " in HandleOutput()
30 " * *\n\r * *\n\r * *\n\r " in HandleOutput()
31 " *\n\r"); in HandleOutput()
34 "SLOPE:\n\r *\n\r *\n\r *\n\r *\n\r " in HandleOutput()
35 "*\n\r *\n\r *\n\r * * * * * * * *\n\r"); in HandleOutput()
/Zephyr-Core-3.5.0/include/zephyr/arch/arm/
Dsyscall.h53 : "=r"(ret), "=r"(r1), "=r"(r2), "=r"(r3) in arch_syscall_invoke6()
55 "r" (ret), "r" (r1), "r" (r2), "r" (r3), in arch_syscall_invoke6()
56 "r" (r4), "r" (r5), "r" (r6) in arch_syscall_invoke6()
75 : "=r"(ret), "=r"(r1), "=r"(r2), "=r"(r3) in arch_syscall_invoke5()
77 "r" (ret), "r" (r1), "r" (r2), "r" (r3), in arch_syscall_invoke5()
78 "r" (r4), "r" (r6) in arch_syscall_invoke5()
95 : "=r"(ret), "=r"(r1), "=r"(r2), "=r"(r3) in arch_syscall_invoke4()
97 "r" (ret), "r" (r1), "r" (r2), "r" (r3), in arch_syscall_invoke4()
98 "r" (r6) in arch_syscall_invoke4()
114 : "=r"(ret), "=r"(r1), "=r"(r2) in arch_syscall_invoke3()
[all …]
/Zephyr-Core-3.5.0/soc/arm/arm/beetle/
Dsoc_registers.h17 /* Offset: 0x000 (r/w) remap control register */
19 /* Offset: 0x004 (r/w) pmu control register */
21 /* Offset: 0x008 (r/w) reset option register */
23 /* Offset: 0x00c (r/w) emi control register */
25 /* Offset: 0x010 (r/w) reset information register */
28 /* Offset: 0x020 (r/w)AHB peripheral access control set */
30 /* Offset: 0x024 (r/w)AHB peripheral access control clear */
33 /* Offset: 0x030 (r/w)APB peripheral access control set */
35 /* Offset: 0x034 (r/w)APB peripheral access control clear */
38 /* Offset: 0x040 (r/w) main clock control register */
[all …]
/Zephyr-Core-3.5.0/arch/x86/zefi/
Dprintf.h26 static void pc(struct _pfr *r, int c) in pc() argument
28 if (r->buf != NULL) { in pc()
29 if (r->idx <= r->len) { in pc()
30 r->buf[r->idx] = c; in pc()
35 r->idx++; in pc()
38 static void prdec(struct _pfr *r, long v) in prdec() argument
41 pc(r, '-'); in prdec()
55 pc(r, digs[i]); in prdec()
59 static void endrec(struct _pfr *r) in endrec() argument
61 if (r->buf && r->idx < r->len) { in endrec()
[all …]
/Zephyr-Core-3.5.0/samples/net/sockets/coap_client/src/
Dcoap-client.c135 int r; in send_simple_coap_request() local
142 r = coap_packet_init(&request, data, MAX_COAP_MSG_LEN, in send_simple_coap_request()
146 if (r < 0) { in send_simple_coap_request()
152 r = coap_packet_append_option(&request, COAP_OPTION_URI_PATH, in send_simple_coap_request()
154 if (r < 0) { in send_simple_coap_request()
167 r = coap_packet_append_payload_marker(&request); in send_simple_coap_request()
168 if (r < 0) { in send_simple_coap_request()
173 r = coap_packet_append_payload(&request, (uint8_t *)payload, in send_simple_coap_request()
175 if (r < 0) { in send_simple_coap_request()
182 r = -EINVAL; in send_simple_coap_request()
[all …]
/Zephyr-Core-3.5.0/tests/lib/linear_range/src/
Dmain.c31 static const struct linear_range r[] = { variable
38 static const size_t r_cnt = ARRAY_SIZE(r);
42 zassert_equal(r[0].min, -10); in ZTEST()
43 zassert_equal(r[0].step, 5U); in ZTEST()
44 zassert_equal(r[0].min_idx, 0U); in ZTEST()
45 zassert_equal(r[0].max_idx, 1U); in ZTEST()
50 zassert_equal(linear_range_values_count(&r[0]), 2U); in ZTEST()
51 zassert_equal(linear_range_values_count(&r[1]), 2U); in ZTEST()
52 zassert_equal(linear_range_values_count(&r[2]), 7U); in ZTEST()
53 zassert_equal(linear_range_values_count(&r[3]), 2U); in ZTEST()
[all …]
/Zephyr-Core-3.5.0/include/zephyr/arch/arm64/
Dsyscall.h53 : "=r"(ret) in arch_syscall_invoke6()
55 "r" (ret), "r" (r1), "r" (r2), "r" (r3), in arch_syscall_invoke6()
56 "r" (r4), "r" (r5), "r" (r8) in arch_syscall_invoke6()
75 : "=r"(ret) in arch_syscall_invoke5()
77 "r" (ret), "r" (r1), "r" (r2), "r" (r3), in arch_syscall_invoke5()
78 "r" (r4), "r" (r8) in arch_syscall_invoke5()
95 : "=r"(ret) in arch_syscall_invoke4()
97 "r" (ret), "r" (r1), "r" (r2), "r" (r3), in arch_syscall_invoke4()
98 "r" (r8) in arch_syscall_invoke4()
114 : "=r"(ret) in arch_syscall_invoke3()
[all …]
/Zephyr-Core-3.5.0/include/zephyr/arch/arc/v2/secureshield/
Darc_secure.h69 : "=r"(ret) in _arc_s_call_invoke6()
71 "r" (ret), "r" (r1), "r" (r2), "r" (r3), in _arc_s_call_invoke6()
72 "r" (r4), "r" (r5), "r" (r6)); in _arc_s_call_invoke6()
91 : "=r"(ret) in _arc_s_call_invoke5()
93 "r" (ret), "r" (r1), "r" (r2), "r" (r3), in _arc_s_call_invoke5()
94 "r" (r4), "r" (r6)); in _arc_s_call_invoke5()
112 : "=r"(ret) in _arc_s_call_invoke4()
114 "r" (ret), "r" (r1), "r" (r2), "r" (r3), in _arc_s_call_invoke4()
115 "r" (r6)); in _arc_s_call_invoke4()
132 : "=r"(ret) in _arc_s_call_invoke3()
[all …]
/Zephyr-Core-3.5.0/include/zephyr/arch/arc/
Dsyscall.h57 : "=r"(ret) in arch_syscall_invoke6()
59 "r" (ret), "r" (r1), "r" (r2), "r" (r3), in arch_syscall_invoke6()
60 "r" (r4), "r" (r5), "r" (r6)); in arch_syscall_invoke6()
81 : "=r"(ret) in arch_syscall_invoke5()
83 "r" (ret), "r" (r1), "r" (r2), "r" (r3), in arch_syscall_invoke5()
84 "r" (r4), "r" (r6)); in arch_syscall_invoke5()
103 : "=r"(ret) in arch_syscall_invoke4()
105 "r" (ret), "r" (r1), "r" (r2), "r" (r3), in arch_syscall_invoke4()
106 "r" (r6)); in arch_syscall_invoke4()
124 : "=r"(ret) in arch_syscall_invoke3()
[all …]
/Zephyr-Core-3.5.0/samples/net/sockets/coap_server/src/
Dcoap-server.c116 int r; in start_coap_server() local
128 r = bind(sock, (struct sockaddr *)&addr6, sizeof(addr6)); in start_coap_server()
129 if (r < 0) { in start_coap_server()
142 int r; in start_coap_server() local
154 r = bind(sock, (struct sockaddr *)&addr, sizeof(addr)); in start_coap_server()
155 if (r < 0) { in start_coap_server()
168 int r; in send_coap_reply() local
172 r = sendto(sock, cpkt->data, cpkt->offset, 0, addr, addr_len); in send_coap_reply()
173 if (r < 0) { in send_coap_reply()
175 r = -errno; in send_coap_reply()
[all …]
/Zephyr-Core-3.5.0/include/zephyr/arch/x86/intel64/
Dsyscall.h64 : "=r" (rax) in arch_syscall_invoke6()
65 : "r" (rax), "r" (rdi), "r" (rsi), "r" (rdx), in arch_syscall_invoke6()
66 "r" (r10), "r" (r8), "r" (r9) in arch_syscall_invoke6()
85 : "=r" (rax) in arch_syscall_invoke5()
86 : "r" (rax), "r" (rdi), "r" (rsi), "r" (rdx), in arch_syscall_invoke5()
87 "r" (r10), "r" (r8) in arch_syscall_invoke5()
104 : "=r" (rax) in arch_syscall_invoke4()
105 : "r" (rax), "r" (rdi), "r" (rsi), "r" (rdx), in arch_syscall_invoke4()
106 "r" (r10) in arch_syscall_invoke4()
122 : "=r" (rax) in arch_syscall_invoke3()
[all …]
/Zephyr-Core-3.5.0/arch/arm64/core/
Dcoredump.c43 } r; member
74 arch_blk.r.x0 = esf->x0; in arch_coredump_info_dump()
75 arch_blk.r.x1 = esf->x1; in arch_coredump_info_dump()
76 arch_blk.r.x2 = esf->x2; in arch_coredump_info_dump()
77 arch_blk.r.x3 = esf->x3; in arch_coredump_info_dump()
78 arch_blk.r.x4 = esf->x4; in arch_coredump_info_dump()
79 arch_blk.r.x5 = esf->x5; in arch_coredump_info_dump()
80 arch_blk.r.x6 = esf->x6; in arch_coredump_info_dump()
81 arch_blk.r.x7 = esf->x7; in arch_coredump_info_dump()
82 arch_blk.r.x8 = esf->x8; in arch_coredump_info_dump()
[all …]
/Zephyr-Core-3.5.0/drivers/fuel_gauge/bq27z746/
Dbq27z746.h14 #define BQ27Z746_MANUFACTURERACCESS 0x00 /* R/W */
15 #define BQ27Z746_ATRATE 0x02 /* R/W, Unit: mA, Range: -32768..32767 */
16 #define BQ27Z746_ATRATETIMETOEMPTY 0x04 /* R/O, Unit: minutes, Range: 0..65535 */
17 #define BQ27Z746_TEMPERATURE 0x06 /* R/O, Unit: 0.1 K, Range: 0..32767 */
18 #define BQ27Z746_VOLTAGE 0x08 /* R/O, Unit: mV, Range: 0..32767 */
19 #define BQ27Z746_BATTERYSTATUS 0x0A /* R/O, Unit: status bits */
20 #define BQ27Z746_CURRENT 0x0C /* R/O, Unit: mA, Range: -32768..32767 */
21 #define BQ27Z746_REMAININGCAPACITY 0x10 /* R/O, Unit: mAh, Range: 0..32767 */
22 #define BQ27Z746_FULLCHARGECAPACITY 0x12 /* R/O, Unit: mAh, Range: 0..32767 */
23 #define BQ27Z746_AVERAGECURRENT 0x14 /* R/O, Unit: mA, Range: -32768..32767 */
[all …]
/Zephyr-Core-3.5.0/include/zephyr/sys/
Dlinear_range.h91 * @param[in] r Linear range instance.
93 * @return Number of ranges representable by @p r.
95 static inline uint32_t linear_range_values_count(const struct linear_range *r) in linear_range_values_count() argument
97 return r->max_idx - r->min_idx + 1U; in linear_range_values_count()
103 * @param[in] r Array of linear range instances.
106 * @return Number of ranges representable by the @p r group.
109 const struct linear_range *r, size_t r_cnt) in linear_range_group_values_count() argument
114 values += linear_range_values_count(&r[i]); in linear_range_group_values_count()
123 * @param[in] r Linear range instance.
125 * @return Maximum value representable by @p r.
[all …]
/Zephyr-Core-3.5.0/arch/x86/core/intel64/
Dcoredump.c40 } r; member
74 arch_blk.r.rax = esf->rax; in arch_coredump_info_dump()
75 arch_blk.r.rcx = esf->rcx; in arch_coredump_info_dump()
76 arch_blk.r.rdx = esf->rdx; in arch_coredump_info_dump()
77 arch_blk.r.rsi = esf->rsi; in arch_coredump_info_dump()
78 arch_blk.r.rdi = esf->rdi; in arch_coredump_info_dump()
79 arch_blk.r.rsp = esf->rsp; in arch_coredump_info_dump()
80 arch_blk.r.rip = esf->rip; in arch_coredump_info_dump()
81 arch_blk.r.r8 = esf->r8; in arch_coredump_info_dump()
82 arch_blk.r.r9 = esf->r9; in arch_coredump_info_dump()
[all …]
/Zephyr-Core-3.5.0/tests/net/socket/tls_ext/src/
Dmain.c151 int r; in server_thread_fn() local
167 r = accept(server_fd, (struct sockaddr *)&sa, &addrlen); in server_thread_fn()
168 zassert_not_equal(r, -1, "accept() failed (%d)", r); in server_thread_fn()
169 client_fd = r; in server_thread_fn()
180 r = recv(client_fd, addrstr, sizeof(addrstr), 0); in server_thread_fn()
181 zassert_not_equal(r, -1, "recv() failed (%d)", errno); in server_thread_fn()
182 zassert_equal(r, SECRET_SIZE, "expected: %zu actual: %d", SECRET_SIZE, r); in server_thread_fn()
185 r = send(client_fd, SECRET, SECRET_SIZE, 0); in server_thread_fn()
186 zassert_not_equal(r, -1, "send() failed (%d)", errno); in server_thread_fn()
187 zassert_equal(r, SECRET_SIZE, "expected: %zu actual: %d", SECRET_SIZE, r); in server_thread_fn()
[all …]
/Zephyr-Core-3.5.0/tests/kernel/fpu_sharing/generic/src/
Dfloat_regs_xtensa.h31 __asm__ volatile("wfr f0, %0\n" :: "r"(regs->fp_non_volatile.reg[0])); in _load_all_float_registers()
32 __asm__ volatile("wfr f1, %0\n" :: "r"(regs->fp_non_volatile.reg[1])); in _load_all_float_registers()
33 __asm__ volatile("wfr f2, %0\n" :: "r"(regs->fp_non_volatile.reg[2])); in _load_all_float_registers()
34 __asm__ volatile("wfr f3, %0\n" :: "r"(regs->fp_non_volatile.reg[3])); in _load_all_float_registers()
35 __asm__ volatile("wfr f4, %0\n" :: "r"(regs->fp_non_volatile.reg[4])); in _load_all_float_registers()
36 __asm__ volatile("wfr f5, %0\n" :: "r"(regs->fp_non_volatile.reg[5])); in _load_all_float_registers()
37 __asm__ volatile("wfr f6, %0\n" :: "r"(regs->fp_non_volatile.reg[6])); in _load_all_float_registers()
38 __asm__ volatile("wfr f7, %0\n" :: "r"(regs->fp_non_volatile.reg[7])); in _load_all_float_registers()
39 __asm__ volatile("wfr f8, %0\n" :: "r"(regs->fp_non_volatile.reg[8])); in _load_all_float_registers()
40 __asm__ volatile("wfr f9, %0\n" :: "r"(regs->fp_non_volatile.reg[9])); in _load_all_float_registers()
[all …]
/Zephyr-Core-3.5.0/tests/drivers/gpio/gpio_basic_api/src/
Dgpio_emul_callback.c34 int r; in gpio_emul_callback_handler() local
41 r = gpio_emul_flags_get(port, PIN_OUT, &output_flags); in gpio_emul_callback_handler()
42 __ASSERT(r == 0, "gpio_emul_flags_get() failed: %d", r); in gpio_emul_callback_handler()
43 r = gpio_emul_flags_get(port, PIN_IN, &input_flags); in gpio_emul_callback_handler()
44 __ASSERT(r == 0, "gpio_emul_flags_get() failed: %d", r); in gpio_emul_callback_handler()
47 r = gpio_emul_output_get(port, PIN_OUT); in gpio_emul_callback_handler()
48 __ASSERT(r == 0 || r == 1, "gpio_emul_output_get() failed: %d", r); in gpio_emul_callback_handler()
49 val = r; in gpio_emul_callback_handler()
50 r = gpio_emul_input_set(port, PIN_IN, val); in gpio_emul_callback_handler()
51 __ASSERT(r == 0, "gpio_emul_input_set() failed: %d", r); in gpio_emul_callback_handler()
[all …]
/Zephyr-Core-3.5.0/include/zephyr/arch/riscv/
Dsyscall.h53 : "+r" (a0) in arch_syscall_invoke6()
54 : "r" (a1), "r" (a2), "r" (a3), "r" (a4), "r" (a5), in arch_syscall_invoke6()
55 "r" (t0) in arch_syscall_invoke6()
73 : "+r" (a0) in arch_syscall_invoke5()
74 : "r" (a1), "r" (a2), "r" (a3), "r" (a4), "r" (t0) in arch_syscall_invoke5()
90 : "+r" (a0) in arch_syscall_invoke4()
91 : "r" (a1), "r" (a2), "r" (a3), "r" (t0) in arch_syscall_invoke4()
106 : "+r" (a0) in arch_syscall_invoke3()
107 : "r" (a1), "r" (a2), "r" (t0) in arch_syscall_invoke3()
120 : "+r" (a0) in arch_syscall_invoke2()
[all …]

12345678910>>...43