/Zephyr-Core-2.7.6/include/arch/xtensa/ |
D | cache.h | 23 static inline void z_xtensa_cache_flush(void *addr, size_t bytes) in z_xtensa_cache_flush() argument 28 size_t last = ROUND_UP(((long)addr) + bytes, step); in z_xtensa_cache_flush() 31 for (line = first; bytes && line < last; line += step) { in z_xtensa_cache_flush() 37 static inline void z_xtensa_cache_flush_inv(void *addr, size_t bytes) in z_xtensa_cache_flush_inv() argument 42 size_t last = ROUND_UP(((long)addr) + bytes, step); in z_xtensa_cache_flush_inv() 45 for (line = first; bytes && line < last; line += step) { in z_xtensa_cache_flush_inv() 51 static inline void z_xtensa_cache_inv(void *addr, size_t bytes) in z_xtensa_cache_inv() argument 56 size_t last = ROUND_UP(((long)addr) + bytes, step); in z_xtensa_cache_inv() 59 for (line = first; bytes && line < last; line += step) { in z_xtensa_cache_inv()
|
/Zephyr-Core-2.7.6/include/sys/ |
D | sys_heap.h | 72 void sys_heap_init(struct sys_heap *heap, void *mem, size_t bytes); 91 void *sys_heap_alloc(struct sys_heap *heap, size_t bytes); 106 void *sys_heap_aligned_alloc(struct sys_heap *heap, size_t align, size_t bytes); 147 size_t align, size_t bytes); 149 #define sys_heap_realloc(heap, ptr, bytes) \ argument 150 sys_heap_aligned_realloc(heap, ptr, 0, bytes) 196 void sys_heap_stress(void *(*alloc_fn)(void *arg, size_t bytes),
|
/Zephyr-Core-2.7.6/subsys/net/l2/ppp/ |
D | ppp_stats.h | 17 uint32_t bytes) in ppp_stats_update_bytes_rx() argument 32 stats->bytes.received += bytes; in ppp_stats_update_bytes_rx() 36 uint32_t bytes) in ppp_stats_update_bytes_tx() argument 51 stats->bytes.sent += bytes; in ppp_stats_update_bytes_tx() 128 #define ppp_stats_update_bytes_rx(iface, bytes) argument 129 #define ppp_stats_update_bytes_tx(iface, bytes) argument
|
/Zephyr-Core-2.7.6/lib/os/ |
D | heap.c | 222 void *sys_heap_alloc(struct sys_heap *heap, size_t bytes) in sys_heap_alloc() argument 226 if (bytes == 0U || size_too_big(h, bytes)) { in sys_heap_alloc() 230 chunksz_t chunk_sz = bytes_to_chunksz(h, bytes); in sys_heap_alloc() 246 void *sys_heap_aligned_alloc(struct sys_heap *heap, size_t align, size_t bytes) in sys_heap_aligned_alloc() argument 264 return sys_heap_alloc(heap, bytes); in sys_heap_aligned_alloc() 271 if (bytes == 0 || size_too_big(h, bytes)) { in sys_heap_aligned_alloc() 280 chunksz_t padded_sz = bytes_to_chunksz(h, bytes + align - gap); in sys_heap_aligned_alloc() 290 chunk_unit_t *end = (chunk_unit_t *) ROUND_UP(mem + bytes, CHUNK_UNIT); in sys_heap_aligned_alloc() 314 size_t align, size_t bytes) in sys_heap_aligned_realloc() argument 320 return sys_heap_aligned_alloc(heap, align, bytes); in sys_heap_aligned_realloc() [all …]
|
D | heap.h | 58 typedef struct { char bytes[CHUNK_UNIT]; } chunk_unit_t; member 80 static inline bool big_heap_bytes(size_t bytes) in big_heap_bytes() argument 82 return big_heap_chunks(bytes / CHUNK_UNIT); in big_heap_bytes() 219 static inline chunksz_t chunksz(size_t bytes) in chunksz() argument 221 return (bytes + CHUNK_UNIT - 1U) / CHUNK_UNIT; in chunksz() 224 static inline chunksz_t bytes_to_chunksz(struct z_heap *h, size_t bytes) in bytes_to_chunksz() argument 226 return chunksz(chunk_header_bytes(h) + bytes); in bytes_to_chunksz() 245 static inline bool size_too_big(struct z_heap *h, size_t bytes) in size_too_big() argument 251 return (bytes / CHUNK_UNIT) >= h->end_chunk; in size_too_big()
|
/Zephyr-Core-2.7.6/subsys/usb/ |
D | usb_transfer.c | 77 uint32_t bytes; in usb_transfer_work() local 99 ret = usb_write(ep, trans->buffer, trans->bsize, &bytes); in usb_transfer_work() 107 trans->buffer += bytes; in usb_transfer_work() 108 trans->bsize -= bytes; in usb_transfer_work() 109 trans->tsize += bytes; in usb_transfer_work() 112 &bytes); in usb_transfer_work() 120 trans->buffer += bytes; in usb_transfer_work() 121 trans->bsize -= bytes; in usb_transfer_work() 122 trans->tsize += bytes; in usb_transfer_work() 125 if (!bytes || (bytes % usb_dc_ep_mps(ep)) || !trans->bsize) { in usb_transfer_work() [all …]
|
/Zephyr-Core-2.7.6/arch/x86/zefi/ |
D | zefi.c | 75 int bytes = zefi_zsegs[i].sz; in efi_entry() local 78 printf("Zeroing %d bytes of memory at %p\n", bytes, dst); in efi_entry() 79 for (int j = 0; j < bytes; j++) { in efi_entry() 85 int bytes = zefi_dsegs[i].sz; in efi_entry() local 91 bytes, dst, zefi_dsegs[i].off); in efi_entry() 92 for (int j = 0; j < bytes; j++) { in efi_entry()
|
/Zephyr-Core-2.7.6/subsys/net/ip/ |
D | net_stats.h | 52 uint32_t bytes) in net_stats_update_bytes_recv() argument 54 UPDATE_STAT(iface, stats.bytes.received += bytes); in net_stats_update_bytes_recv() 58 uint32_t bytes) in net_stats_update_bytes_sent() argument 60 UPDATE_STAT(iface, stats.bytes.sent += bytes); in net_stats_update_bytes_sent() 66 #define net_stats_update_bytes_recv(iface, bytes) argument 67 #define net_stats_update_bytes_sent(iface, bytes) argument 191 static inline void net_stats_update_tcp_sent(struct net_if *iface, uint32_t bytes) in net_stats_update_tcp_sent() argument 193 UPDATE_STAT(iface, stats.tcp.bytes.sent += bytes); in net_stats_update_tcp_sent() 196 static inline void net_stats_update_tcp_recv(struct net_if *iface, uint32_t bytes) in net_stats_update_tcp_recv() argument 198 UPDATE_STAT(iface, stats.tcp.bytes.received += bytes); in net_stats_update_tcp_recv() [all …]
|
/Zephyr-Core-2.7.6/subsys/net/l2/ethernet/ |
D | eth_stats.h | 17 uint32_t bytes) in eth_stats_update_bytes_rx() argument 32 stats->bytes.received += bytes; in eth_stats_update_bytes_rx() 36 uint32_t bytes) in eth_stats_update_bytes_tx() argument 51 stats->bytes.sent += bytes; in eth_stats_update_bytes_tx() 207 #define eth_stats_update_bytes_rx(iface, bytes) argument 208 #define eth_stats_update_bytes_tx(iface, bytes) argument
|
/Zephyr-Core-2.7.6/drivers/entropy/ |
D | Kconfig.stm32 | 27 Buffer length in bytes used to store entropy bytes generated by the 35 Low water-mark threshold in bytes to trigger entropy generation for 36 thread mode consumers. As soon as the number of available bytes in the 45 Buffer length in bytes used to store entropy bytes generated by the 53 Low water-mark threshold in bytes to trigger entropy generation for 54 ISR consumers. As soon as the number of available bytes in the
|
D | Kconfig.nrf5 | 39 Buffer length in bytes used to store entropy bytes generated by the 47 Low water-mark threshold in bytes to trigger entropy generation for 48 thread mode consumers. As soon as the number of available bytes in the 57 Buffer length in bytes used to store entropy bytes generated by the 65 Low water-mark threshold in bytes to trigger entropy generation for 66 ISR consumers. As soon as the number of available bytes in the
|
/Zephyr-Core-2.7.6/kernel/ |
D | kheap.c | 13 void k_heap_init(struct k_heap *h, void *mem, size_t bytes) in k_heap_init() argument 16 sys_heap_init(&h->heap, mem, bytes); in k_heap_init() 64 void *k_heap_aligned_alloc(struct k_heap *h, size_t align, size_t bytes, in k_heap_aligned_alloc() argument 78 ret = sys_heap_aligned_alloc(&h->heap, align, bytes); in k_heap_aligned_alloc() 107 void *k_heap_alloc(struct k_heap *h, size_t bytes, k_timeout_t timeout) in k_heap_alloc() argument 111 void *ret = k_heap_aligned_alloc(h, sizeof(void *), bytes, timeout); in k_heap_alloc()
|
/Zephyr-Core-2.7.6/samples/net/capture/ |
D | README.rst | 56 RX packets 0 bytes 0 (0.0 B) 58 TX packets 0 bytes 0 (0.0 B) 65 RX packets 0 bytes 0 (0.0 B) 67 TX packets 0 bytes 0 (0.0 B) 74 RX packets 0 bytes 0 (0.0 B) 76 TX packets 0 bytes 0 (0.0 B) 83 RX packets 0 bytes 0 (0.0 B) 85 TX packets 0 bytes 0 (0.0 B) 92 RX packets 0 bytes 0 (0.0 B) 94 TX packets 0 bytes 0 (0.0 B) [all …]
|
/Zephyr-Core-2.7.6/samples/net/sockets/socketpair/ |
D | README.rst | 47 fd: 8: read 21 bytes 52 fd: 3: read 15 bytes 57 fd: 5: read 15 bytes 84 fd: 3: read 15 bytes 88 fd: 5: read 15 bytes 94 fd: 7: read 21 bytes
|
/Zephyr-Core-2.7.6/subsys/tracing/ |
D | tracing_backend_usb.c | 143 uint32_t bytes; in tracing_backend_usb_output() local 156 CONFIG_TRACING_USB_MPS - 1 : length, &bytes); in tracing_backend_usb_output() 161 data += bytes; in tracing_backend_usb_output() 162 length -= bytes; in tracing_backend_usb_output()
|
/Zephyr-Core-2.7.6/samples/net/stats/src/ |
D | main.c | 90 GET_STAT(iface, tcp.bytes.received), in print_stats() 91 GET_STAT(iface, tcp.bytes.sent)); in print_stats() 109 printk("Bytes received %u\n", GET_STAT(iface, bytes.received)); in print_stats() 110 printk("Bytes sent %u\n", GET_STAT(iface, bytes.sent)); in print_stats() 131 printk("Bytes received : %u\n", data->bytes.received); in print_eth_stats() 132 printk("Bytes sent : %u\n", data->bytes.sent); in print_eth_stats()
|
/Zephyr-Core-2.7.6/boards/sparc/generic_leon3/doc/ |
D | index.rst | 101 icache: 1 * 4 KiB, 16 bytes/line (4 KiB total) 102 dcache: 1 * 4 KiB, 16 bytes/line (4 KiB total) 108 section: text, addr: 0x40000000, size 16552 bytes 109 section: initlevel, addr: 0x400040a8, size 40 bytes 110 section: rodata, addr: 0x400040d0, size 484 bytes 111 section: datas, addr: 0x400042b4, size 20 bytes 112 section: sw_isr_table, addr: 0x400042c8, size 256 bytes 113 section: devices, addr: 0x400043c8, size 36 bytes
|
/Zephyr-Core-2.7.6/drivers/ipm/ |
D | Kconfig | 31 bool "4 bytes" 34 and a maximum size of 4 bytes each. 37 bool "8 bytes" 40 and a maximum size of 8 bytes each. 43 bool "16 bytes" 46 and a maximum size of 16 bytes.
|
/Zephyr-Core-2.7.6/soc/xtensa/intel_adsp/common/bootloader/ |
D | boot_loader.c | 65 static inline void bmemcpy(void *dest, void *src, size_t bytes) in bmemcpy() argument 71 for (i = 0; i < (bytes >> 2); i++) in bmemcpy() 74 z_xtensa_cache_flush(dest, bytes); in bmemcpy() 78 static inline void bbzero(void *dest, size_t bytes) in bbzero() argument 83 for (i = 0; i < (bytes >> 2); i++) in bbzero() 86 z_xtensa_cache_flush(dest, bytes); in bbzero()
|
/Zephyr-Core-2.7.6/tests/net/ieee802154/fragment/src/ |
D | main.c | 193 uint32_t bytes, pos, compare, offset; in compare_data() local 214 bytes = frag->len - offset; in compare_data() 215 compare = remaining > bytes ? bytes : remaining; in compare_data() 236 uint32_t bytes, pos; in create_pkt() local 273 bytes = net_buf_tailroom(buf); in create_pkt() 274 copy = remaining > bytes ? bytes : remaining; in create_pkt() 277 pos += bytes; in create_pkt() 278 remaining -= bytes; in create_pkt() 280 if (net_buf_tailroom(buf) - (bytes - copy)) { in create_pkt()
|
/Zephyr-Core-2.7.6/doc/reference/networking/ |
D | net_linkaddr.rst | 15 addresses are 6 bytes long like in Ethernet but for IEEE 802.15.4 the link 16 layer address length is 8 bytes.
|
/Zephyr-Core-2.7.6/doc/reference/data_structures/ |
D | ring_buffers.rst | 18 chunks of up to 1020 bytes. Each data item also has two 22 * **Byte mode**: raw bytes can be enqueued and dequeued. 27 "bytes" API, one initialized with a word count must use the "items" 43 * A **data buffer** of 32-bit words or bytes. The data buffer contains the data 44 items or raw bytes that have been added to the ring buffer but not yet 47 * A **data buffer size**, measured in 32-bit words or bytes. This governs the 58 buffer passed change (either bytes or words) depending on how the ring 69 bytes-mode ring buffers. 73 bytes will be copied into the buffer in order, as many as will fit in 74 the allocated buffer. The total number of bytes copied (which may be [all …]
|
/Zephyr-Core-2.7.6/include/net/ |
D | net_stats.h | 127 struct net_stats_bytes bytes; member 261 net_stats_t bytes; member 272 net_stats_t bytes; member 300 struct net_stats_bytes bytes; member 442 struct net_stats_bytes bytes; member 465 struct net_stats_bytes bytes; member
|
/Zephyr-Core-2.7.6/arch/arc/core/mpu/ |
D | Kconfig | 11 ARC MPU has several versions. For MPU v2, the minimum region is 2048 bytes; 12 For other versions, the minimum region is 32 bytes; v4 has secure features, 26 For ARC_MPU_VER == 2, it requires 2048 extra bytes and a strong start address
|
/Zephyr-Core-2.7.6/subsys/tracing/test/ |
D | tracing_string_format_test.c | 305 void sys_trace_k_heap_init(struct k_heap *h, void *mem, size_t bytes) in sys_trace_k_heap_init() argument 310 void sys_trace_k_heap_aligned_alloc_enter(struct k_heap *h, size_t bytes, k_timeout_t timeout) in sys_trace_k_heap_aligned_alloc_enter() argument 315 void sys_trace_k_heap_alloc_enter(struct k_heap *h, size_t bytes, k_timeout_t timeout) in sys_trace_k_heap_alloc_enter() argument 325 void sys_trace_k_heap_aligned_alloc_blocking(struct k_heap *h, size_t bytes, k_timeout_t timeout) in sys_trace_k_heap_aligned_alloc_blocking() argument 330 void sys_trace_k_heap_alloc_exit(struct k_heap *h, size_t bytes, k_timeout_t timeout, void *ret) in sys_trace_k_heap_alloc_exit() argument 335 void sys_trace_k_heap_aligned_alloc_exit(struct k_heap *h, size_t bytes, in sys_trace_k_heap_aligned_alloc_exit() argument
|