Home
last modified time | relevance | path

Searched refs:lb (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/subsys/shell/backends/
Dshell_websocket.c272 struct shell_websocket_line_buf *lb; in sh_write() local
287 lb = &ws->line_out; in sh_write()
295 if (lb->len + length - *cnt > WEBSOCKET_LINE_SIZE) { in sh_write()
296 copy_len = WEBSOCKET_LINE_SIZE - lb->len; in sh_write()
301 memcpy(lb->buf + lb->len, (uint8_t *)data + *cnt, copy_len); in sh_write()
302 lb->len += copy_len; in sh_write()
307 if (lb->buf[lb->len - 1] == '\n' || lb->len == WEBSOCKET_LINE_SIZE) { in sh_write()
318 if (lb->len > 0) { in sh_write()
Dshell_telnet.c665 struct shell_telnet_line_buf *lb; in telnet_write() local
682 lb = &sh_telnet->line_out; in telnet_write()
692 if (lb->len + length - *cnt > TELNET_LINE_SIZE) { in telnet_write()
693 copy_len = TELNET_LINE_SIZE - lb->len; in telnet_write()
698 memcpy(lb->buf + lb->len, (uint8_t *)data + *cnt, copy_len); in telnet_write()
699 lb->len += copy_len; in telnet_write()
704 if (lb->buf[lb->len - 1] == '\n' || in telnet_write()
705 lb->len == TELNET_LINE_SIZE) { in telnet_write()
721 if (lb->len > 0) { in telnet_write()
/Zephyr-latest/soc/ite/ec/common/
Dvector.S32 lb t1, 0(t0)
67 lb t1, 0(t0)
/Zephyr-latest/arch/riscv/core/
Dswitch.S75 lb t0, _thread_offset_to_user_options(a0)
Disr.S304 lb t1, _thread_offset_to_exception_depth(t0)
433 lb t1, _thread_offset_to_exception_depth(a0)
437 lb t1, _thread_offset_to_exception_depth(a1)
731 lb t1, _thread_offset_to_exception_depth(t0)