Home
last modified time | relevance | path

Searched refs:remain (Results 1 – 25 of 54) sorted by relevance

123

/Zephyr-latest/tests/arch/arm64/arm64_gicv3_its/src/
Dmain.c64 unsigned int remain = 0; in ZTEST() local
69 for (event_id = remain; event_id < ITS_TEST_NUM_ITES; event_id += ITS_TEST_NEXT) { in ZTEST()
77 remain = event_id - ITS_TEST_NUM_ITES; in ZTEST()
148 unsigned int remain = 0; in ZTEST() local
155 for (event_id = remain; event_id < ITS_TEST_NUM_ITES; event_id += ITS_TEST_NEXT) { in ZTEST()
171 remain = event_id - ITS_TEST_NUM_ITES; in ZTEST()
/Zephyr-latest/drivers/i2c/
Di2c_ene_kb1200.c39 uint32_t remain = data->msg_len - data->index; in i2c_kb1200_isr() local
41 remain > FSMBM_BUFFER_SIZE ? FSMBM_BUFFER_SIZE : remain; in i2c_kb1200_isr()
70 uint32_t remain = data->msg_len - data->index; in i2c_kb1200_isr() local
71 uint32_t receive_bytes = (remain > FSMBM_BUFFER_SIZE) ? FSMBM_BUFFER_SIZE : remain; in i2c_kb1200_isr()
79 remain = data->msg_len - data->index; in i2c_kb1200_isr()
81 (remain > FSMBM_BUFFER_SIZE) ? FSMBM_BUFFER_SIZE : remain; in i2c_kb1200_isr()
/Zephyr-latest/drivers/counter/
Dcounter_ll_stm32_rtc.c349 uint32_t remain; in rtc_stm32_set_alarm()
384 remain = ticks + now + 1; in rtc_stm32_set_alarm()
386 remain = ticks; in rtc_stm32_set_alarm()
392 remain--; in rtc_stm32_set_alarm()
414 rtc_alarm.AlarmTime.Hours = remain / 3600; in rtc_stm32_set_alarm()
415 remain -= rtc_alarm.AlarmTime.Hours * 3600; in rtc_stm32_set_alarm()
416 rtc_alarm.AlarmTime.Minutes = remain / 60; in rtc_stm32_set_alarm()
417 remain -= rtc_alarm.AlarmTime.Minutes * 60; in rtc_stm32_set_alarm()
418 rtc_alarm.AlarmTime.Seconds = remain; in rtc_stm32_set_alarm()
/Zephyr-latest/drivers/spi/
Dspi_max32.c204 uint32_t remain, flags, tx_len, rx_len; in spi_max32_transceive_sync() local
212 remain = tx_len - req->txCnt; in spi_max32_transceive_sync()
213 if (remain > 0) { in spi_max32_transceive_sync()
216 MIN(remain, sizeof(data->dummy))); in spi_max32_transceive_sync()
219 MXC_SPI_WriteTXFIFO(spi, &req->txData[req->txCnt], remain); in spi_max32_transceive_sync()
797 uint32_t flags, remain; in spi_max32_isr() local
803 remain = (req->txLen << dfs_shift) - req->txCnt; in spi_max32_isr()
805 if (remain) { in spi_max32_isr()
808 MIN(remain, sizeof(data->dummy))); in spi_max32_isr()
811 MXC_SPI_WriteTXFIFO(spi, &req->txData[req->txCnt], remain); in spi_max32_isr()
[all …]
/Zephyr-latest/drivers/ethernet/
Deth_w5500.c111 size_t remain = 0; in w5500_readbuf() local
120 remain = (offset + len) % mem_size; in w5500_readbuf()
125 if (ret || !remain) { in w5500_readbuf()
129 return w5500_spi_read(dev, mem_start, buf + len, remain); in w5500_readbuf()
136 size_t remain = 0; in w5500_writebuf() local
145 remain = (offset + len) % mem_size; in w5500_writebuf()
150 if (ret || !remain) { in w5500_writebuf()
154 return w5500_spi_write(dev, mem_start, buf + len, remain); in w5500_writebuf()
/Zephyr-latest/drivers/i3c/
Di3c_cdns.c755 uint32_t remain, val; in cdns_i3c_write_tx_fifo() local
757 for (remain = len; remain >= 4; remain -= 4) { in cdns_i3c_write_tx_fifo()
762 if (remain > 0) { in cdns_i3c_write_tx_fifo()
764 memcpy(&val, ptr, remain); in cdns_i3c_write_tx_fifo()
773 uint32_t remain, val; in cdns_i3c_write_ddr_tx_fifo() local
775 for (remain = len; remain >= 4; remain -= 4) { in cdns_i3c_write_ddr_tx_fifo()
780 if (remain > 0) { in cdns_i3c_write_ddr_tx_fifo()
782 memcpy(&val, ptr, remain); in cdns_i3c_write_ddr_tx_fifo()
792 uint32_t remain, val; in cdns_i3c_write_ibi_fifo() local
794 for (remain = len; remain >= 4; remain -= 4) { in cdns_i3c_write_ibi_fifo()
[all …]
/Zephyr-latest/include/zephyr/net/
Dnet_ip.h748 uint8_t remain = bits % 8; in net_ipv6_is_prefix() local
759 if (!remain) { in net_ipv6_is_prefix()
767 mask = (uint8_t)((0xff << (8 - remain)) ^ 0xff) << remain; in net_ipv6_is_prefix()
786 uint8_t remain = bits % 8; in net_ipv6_addr_prefix_mask() local
792 if (!remain) { in net_ipv6_addr_prefix_mask()
800 mask = (uint8_t)((0xff << (8 - remain)) ^ 0xff) << remain; in net_ipv6_addr_prefix_mask()
/Zephyr-latest/include/zephyr/linker/
Dkobject-rom.ld14 * so the addresses to kobjects would remain the same
Dkobject-priv-stacks.ld18 * so the addresses to kobjects would remain the same
Dkobject-data.ld28 * so the addresses to kobjects would remain the same
/Zephyr-latest/scripts/
Dcheckpatch.pl1393 my ($linenr, $remain, $off) = @_;
1417 for (; $remain > 0; $line++) {
1420 $remain--;
1511 $remain--;
1523 $line, $remain + 1, $off - $loff + 1, $level);
1570 my ($linenr, $remain, $off) = @_;
1576 ($statement, $condition, $linenr, $remain, $off, $level) =
1577 ctx_statement_block($linenr, $remain, $off);
1580 if (!($remain > 0 && $condition =~ /^\s*(?:\n[+-])?\s*(?:if|else|do)\b/s)) {
1587 ($statement, $condition, $linenr, $remain, $off, $level) =
[all …]
/Zephyr-latest/drivers/usb/device/
Dusb_dc_sam0.c643 int remain; in usb_dc_ep_read_ex() local
670 remain = bytes - data->out_at; in usb_dc_ep_read_ex()
671 take = MIN(max_data_len, remain); in usb_dc_ep_read_ex()
678 if (take == remain) { in usb_dc_ep_read_ex()
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Drpr_srv.rst30 …etooth_mesh_dfu_firmware_effect>`), it is not possible for the device to remain provisioned. The d…
/Zephyr-latest/boards/arm/mps2/
Dmps2_an521_cpu1.dts110 /* The code memory region defined below is selected to remain
/Zephyr-latest/drivers/sensor/renesas/isl29035/
DKconfig131 need to remain outside the threshold window in order for the interrupt
/Zephyr-latest/drivers/flash/
DKconfig.nor88 This option controls how long to remain in active mode after each API
/Zephyr-latest/doc/services/portability/posix/implementation/
Dindex.rst33 example where the implementation should remain part of the POSIX implementation is
/Zephyr-latest/soc/intel/intel_adsp/
DKconfig98 remain identical.
/Zephyr-latest/doc/connectivity/networking/api/
Dcoap_client.rst92 /* static, since options must remain valid throughout the whole execution of the request */
/Zephyr-latest/doc/services/device_mgmt/smp_groups/
Dsmp_group_8.rst38 Note that file handles will remain open for consecutive requests (as long as
167 Note that file handles will remain open for consecutive requests (as long as
170 even be removed. Note that file handles will remain open for consecutive
/Zephyr-latest/tests/net/socket/tcp/src/
Dmain.c330 size_t remain = TEST_LARGE_TRANSFER_SIZE - total_received; in tcp_server_block_thread() local
332 if (chunk_size > remain) { in tcp_server_block_thread()
333 chunk_size = remain; in tcp_server_block_thread()
415 size_t remain = TEST_LARGE_TRANSFER_SIZE - total_send; in test_send_recv_large_common() local
417 if (chunk_size > remain) { in test_send_recv_large_common()
418 chunk_size = remain; in test_send_recv_large_common()
/Zephyr-latest/doc/develop/west/
Dwhy.rst100 emulator support will always remain compatible with direct use of
/Zephyr-latest/kernel/
DKconfig.smp106 (generally "uncached") memory. Thread stacks will remain
/Zephyr-latest/tests/subsys/logging/log_blocking/
DREAME.md68 would not decrease from 100%, and it would remain saturated.
/Zephyr-latest/doc/develop/languages/c/
Dpicolibc.rst135 which is supposed to remain local to each thread, like

123