Home
last modified time | relevance | path

Searched refs:mid (Results 1 – 25 of 26) sorted by relevance

12

/Zephyr-latest/subsys/debug/symtab/
Dsymtab.c31 uint32_t mid = left + (right - left) / 2; in symtab_find_symbol_name() local
33 if ((symbol_offset >= symtab->entries[mid].offset) && in symtab_find_symbol_name()
34 (symbol_offset < symtab->entries[mid + 1].offset)) { in symtab_find_symbol_name()
35 ret_offset = symbol_offset - symtab->entries[mid].offset; in symtab_find_symbol_name()
36 ret_name = symtab->entries[mid].name; in symtab_find_symbol_name()
38 } else if (symbol_offset < symtab->entries[mid].offset) { in symtab_find_symbol_name()
39 right = mid - 1; in symtab_find_symbol_name()
41 left = mid + 1; in symtab_find_symbol_name()
/Zephyr-latest/drivers/net/
Dnsos_sockets.c46 struct nsos_mid_pollfd mid; member
208 sock->poll.mid.fd = nsos_adapt_socket(family_mid, type_mid, proto_mid); in nsos_socket_create()
209 if (sock->poll.mid.fd < 0) { in nsos_socket_create()
210 errno = errno_from_nsos_mid(-sock->poll.mid.fd); in nsos_socket_create()
237 ret = nsi_host_read(sock->poll.mid.fd, buf, sz); in nsos_read()
250 ret = nsi_host_write(sock->poll.mid.fd, buf, sz); in nsos_write()
264 ret = nsi_host_close(sock->poll.mid.fd); in nsos_close()
271 poll->mid.revents = ZSOCK_POLLHUP; in nsos_close()
272 poll->mid.cb(&poll->mid); in nsos_close()
281 static void pollcb(struct nsos_mid_pollfd *mid) in pollcb() argument
[all …]
/Zephyr-latest/tests/benchmarks/latency_measure/src/
Dfifo.c39 timing_t mid; in fifo_put_get_thread_entry() local
51 mid = timing_timestamp_get(); in fifo_put_get_thread_entry()
57 put_sum += timing_cycles_get(&start, &mid); in fifo_put_get_thread_entry()
58 get_sum += timing_cycles_get(&mid, &finish); in fifo_put_get_thread_entry()
76 mid = timing_timestamp_get(); in fifo_put_get_thread_entry()
82 put_sum += timing_cycles_get(&start, &mid); in fifo_put_get_thread_entry()
83 get_sum += timing_cycles_get(&mid, &finish); in fifo_put_get_thread_entry()
171 timing_t mid; in alt_thread_entry() local
193 mid = timestamp.sample; in alt_thread_entry()
195 sum[0] += timing_cycles_get(&start, &mid); in alt_thread_entry()
[all …]
Dlifo.c39 timing_t mid; in lifo_put_get_thread_entry() local
51 mid = timing_timestamp_get(); in lifo_put_get_thread_entry()
57 put_sum += timing_cycles_get(&start, &mid); in lifo_put_get_thread_entry()
58 get_sum += timing_cycles_get(&mid, &finish); in lifo_put_get_thread_entry()
76 mid = timing_timestamp_get(); in lifo_put_get_thread_entry()
82 put_sum += timing_cycles_get(&start, &mid); in lifo_put_get_thread_entry()
83 get_sum += timing_cycles_get(&mid, &finish); in lifo_put_get_thread_entry()
171 timing_t mid; in alt_thread_entry() local
193 mid = timestamp.sample; in alt_thread_entry()
195 sum[0] += timing_cycles_get(&start, &mid); in alt_thread_entry()
[all …]
Dstack.c33 timing_t mid; in stack_push_pop_thread_entry() local
44 mid = timing_timestamp_get(); in stack_push_pop_thread_entry()
50 put_sum += timing_cycles_get(&start, &mid); in stack_push_pop_thread_entry()
51 get_sum += timing_cycles_get(&mid, &finish); in stack_push_pop_thread_entry()
117 timing_t mid; in alt_thread_entry() local
135 mid = timestamp.sample; in alt_thread_entry()
137 sum[0] += timing_cycles_get(&start, &mid); in alt_thread_entry()
138 sum[1] += timing_cycles_get(&mid, &finish); in alt_thread_entry()
Dsema_test_signal_release.c25 timing_t mid; in alt_thread_entry() local
37 mid = timing_timestamp_get(); in alt_thread_entry()
42 timestamp.sample = mid; in alt_thread_entry()
54 timing_t mid; in start_thread_entry() local
88 mid = timestamp.sample; in start_thread_entry()
90 take_sum += timing_cycles_get(&start, &mid); in start_thread_entry()
91 give_sum += timing_cycles_get(&mid, &finish); in start_thread_entry()
Devents.c123 timing_t mid; in alt_thread_entry() local
137 mid = timestamp.sample; in alt_thread_entry()
139 sum[0] += timing_cycles_get(&start, &mid); in alt_thread_entry()
140 sum[1] += timing_cycles_get(&mid, &finish); in alt_thread_entry()
153 mid = timestamp.sample; in alt_thread_entry()
155 sum[2] += timing_cycles_get(&start, &mid); in alt_thread_entry()
156 sum[3] += timing_cycles_get(&mid, &finish); in alt_thread_entry()
/Zephyr-latest/drivers/sensor/ntc_thermistor/
Dntc_thermistor_calc.c50 int mid = (low + high) / 2; in ntc_lookup_comp() local
52 if (ohm > type->comp[mid].ohm) { in ntc_lookup_comp()
53 high = mid; in ntc_lookup_comp()
55 low = mid; in ntc_lookup_comp()
/Zephyr-latest/boards/shields/nrf7002ek/
Dnrf7002ek_common_5g.dtsi9 wifi-max-tx-pwr-5g-mid-mcs0 = <13>;
10 wifi-max-tx-pwr-5g-mid-mcs7 = <13>;
/Zephyr-latest/boards/nordic/nrf7002dk/
Dnrf70_common_5g.dtsi9 wifi-max-tx-pwr-5g-mid-mcs0 = <11>;
10 wifi-max-tx-pwr-5g-mid-mcs7 = <11>;
/Zephyr-latest/boards/shields/nrf7002eb/
Dnrf7002eb.overlay38 wifi-max-tx-pwr-5g-mid-mcs0 = <13>;
39 wifi-max-tx-pwr-5g-mid-mcs7 = <13>;
/Zephyr-latest/subsys/bluetooth/services/ots/
Dots_dir_list.c198 const size_t mid = dir_list->anchor_offset + (last - dir_list->anchor_offset) / 2; in bt_ots_dir_list_search() local
200 if (offset < mid) { in bt_ots_dir_list_search()
213 const size_t mid = dir_list->anchor_offset / 2; in bt_ots_dir_list_search() local
215 if (offset < mid) { in bt_ots_dir_list_search()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_message_handling.h58 int lwm2m_send_empty_ack(struct lwm2m_ctx *client_ctx, uint16_t mid);
Dlwm2m_message_handling.c321 msg->mid = coap_header_get_id(msg->in.in_cpkt); in build_msg_block_for_send()
324 msg->mid = coap_next_id(); in build_msg_block_for_send()
657 tokenlen, token, msg->code, msg->mid); in lwm2m_init_message()
778 int lwm2m_send_empty_ack(struct lwm2m_ctx *client_ctx, uint16_t mid) in lwm2m_send_empty_ack() argument
791 msg->mid = mid; in lwm2m_send_empty_ack()
824 if (lwm2m_send_empty_ack(client_ctx, request->mid) < 0) { in lwm2m_acknowledge()
2643 msg->mid = coap_next_id(); in lwm2m_response_promote_to_con()
2652 msg->cpkt.data[2] = msg->mid >> 8; in lwm2m_response_promote_to_con()
2653 msg->cpkt.data[3] = (uint8_t)msg->mid; in lwm2m_response_promote_to_con()
2891 msg->mid = coap_header_get_id(&response); in lwm2m_udp_receive()
[all …]
Dlwm2m_pull_context.c114 msg->mid = coap_next_id(); in transfer_request()
Dlwm2m_rd_client.c744 msg->mid = coap_next_id(); in sm_send_bootstrap_registration()
878 msg->mid = coap_next_id(); in sm_send_registration()
1233 msg->mid = coap_next_id(); in sm_do_deregister()
Dlwm2m_object.h516 uint16_t mid; member
/Zephyr-latest/subsys/net/lib/coap/
Dcoap_client.c34 uint16_t mid);
751 uint16_t mid) in get_request_with_mid() argument
755 if (client->requests[i].last_id == (int)mid) { in get_request_with_mid()
/Zephyr-latest/doc/kernel/services/other/
Datomic.rst50 in mid-increment if a thread calling the function is interrupted if
/Zephyr-latest/boards/pine64/pinetime_devkit0/
Dpinetime_devkit0.dts35 led1 = &blled1; /* backlight mid */
/Zephyr-latest/doc/kernel/services/timing/
Dtimers.rst68 A running timer can be stopped in mid-countdown, if desired.
75 A running timer can be restarted in mid-countdown, if desired.
/Zephyr-latest/boards/ite/it82xx2_evb/doc/
Dindex.rst246 .. _ITE's website: https://www.ite.com.tw/zh-tw/product/view?mid=169
/Zephyr-latest/boards/toradex/verdin_imx8mp/doc/
Dindex.rst34 Regarding the Cortex-A53 cluster, it employs the ARMv8-A architecture as a mid-range and
/Zephyr-latest/doc/kernel/services/threads/
Dindex.rst522 return; /* thread terminates from mid-entry point function */
/Zephyr-latest/doc/kernel/services/
Dinterrupts.rst43 in mid-execution if a higher priority interrupt is signaled. The lower

12