Home
last modified time | relevance | path

Searched refs:byte (Results 1 – 25 of 50) sorted by relevance

12

/subsys/modem/
A Dmodem_ppp.c53 uint8_t byte; in modem_ppp_wrap_net_pkt_byte() local
91 if ((byte == MODEM_PPP_CODE_DELIMITER) || (byte == MODEM_PPP_CODE_ESCAPE) || in modem_ppp_wrap_net_pkt_byte()
99 return byte; in modem_ppp_wrap_net_pkt_byte()
109 if ((byte == MODEM_PPP_CODE_DELIMITER) || (byte == MODEM_PPP_CODE_ESCAPE) || in modem_ppp_wrap_net_pkt_byte()
117 return byte; in modem_ppp_wrap_net_pkt_byte()
128 if ((byte == MODEM_PPP_CODE_DELIMITER) || (byte == MODEM_PPP_CODE_ESCAPE) || in modem_ppp_wrap_net_pkt_byte()
139 return byte; in modem_ppp_wrap_net_pkt_byte()
155 if ((byte == MODEM_PPP_CODE_DELIMITER) || (byte == MODEM_PPP_CODE_ESCAPE) || in modem_ppp_wrap_net_pkt_byte()
163 return byte; in modem_ppp_wrap_net_pkt_byte()
180 return byte; in modem_ppp_wrap_net_pkt_byte()
[all …]
A Dmodem_cmux.c734 if (byte == 0xF9) { in modem_cmux_process_received_byte()
746 if (byte == 0xF9) { in modem_cmux_process_received_byte()
762 cmux->frame.cr = (byte & 0x02) ? true : false; in modem_cmux_process_received_byte()
765 cmux->frame.dlci_address = (byte >> 2) & 0x3F; in modem_cmux_process_received_byte()
780 cmux->frame.type = byte & (~MODEM_CMUX_PF); in modem_cmux_process_received_byte()
792 cmux->frame.data_len = (byte >> 1); in modem_cmux_process_received_byte()
795 if ((byte & MODEM_CMUX_EA) == 0) { in modem_cmux_process_received_byte()
824 cmux->frame.data_len |= ((uint16_t)byte) << 7; in modem_cmux_process_received_byte()
847 cmux->receive_buf[cmux->receive_buf_len] = byte; in modem_cmux_process_received_byte()
877 if (fcs != byte) { in modem_cmux_process_received_byte()
[all …]
A Dmodem_chat.c584 static void modem_chat_process_byte(struct modem_chat *chat, uint8_t byte) in modem_chat_process_byte() argument
601 chat->receive_buf[chat->receive_buf_len] = byte; in modem_chat_process_byte()
687 static bool modem_chat_discard_byte(struct modem_chat *chat, uint8_t byte) in modem_chat_discard_byte() argument
690 if (byte == chat->filter[i]) { in modem_chat_discard_byte()
/subsys/mgmt/mcumgr/transport/src/
A Dsmp_shell.c84 static int read_mcumgr_byte(struct smp_shell_data *data, uint8_t byte) in read_mcumgr_byte() argument
102 if (byte == MCUMGR_SERIAL_HDR_PKT_2) { in read_mcumgr_byte()
113 if (byte == MCUMGR_SERIAL_HDR_FRAG_2) { in read_mcumgr_byte()
124 if (byte == MCUMGR_SERIAL_HDR_PKT_1) { in read_mcumgr_byte()
128 } else if (byte == MCUMGR_SERIAL_HDR_FRAG_1) { in read_mcumgr_byte()
146 uint8_t byte = bytes[consumed]; in smp_shell_rx_bytes() local
147 int mcumgr_state = read_mcumgr_byte(data, byte); in smp_shell_rx_bytes()
160 net_buf_add_u8(data->buf, byte); in smp_shell_rx_bytes()
165 byte == '\n') { in smp_shell_rx_bytes()
A Dsmp_dummy.c235 static struct uart_mcumgr_rx_buf *dummy_mcumgr_rx_byte(uint8_t byte) in dummy_mcumgr_rx_byte() argument
257 rx_buf->data[rx_buf->length++] = byte; in dummy_mcumgr_rx_byte()
261 if (byte == '\n') { in dummy_mcumgr_rx_byte()
/subsys/tracing/
A Dtracing_backend_uart.c30 uint8_t byte; in uart_isr() local
41 rx = uart_fifo_read(dev, &byte, 1); in uart_isr()
51 if (isprint(byte) == 0) { in uart_isr()
52 if (byte == '\r') { in uart_isr()
63 cmd[cur++] = byte; in uart_isr()
/subsys/fb/
A Dcfb.c131 uint8_t byte; in draw_char_vtmono() local
146 byte = 0; in draw_char_vtmono()
158 byte = ((byte << 8) | next_byte) >> (offset); in draw_char_vtmono()
173 byte = ((next_byte << 8) | byte) >> (8 - offset); in draw_char_vtmono()
189 byte &= clip; in draw_char_vtmono()
200 byte = byte_reverse(byte); in draw_char_vtmono()
202 fb->buf[fb_index] |= byte; in draw_char_vtmono()
246 uint8_t byte; in draw_char_htmono() local
254 byte = get_glyph_byte(glyph_ptr, fptr, g_x, g_y, false); in draw_char_htmono()
256 byte = byte_reverse(byte); in draw_char_htmono()
[all …]
/subsys/mgmt/osdp/
A DKconfig63 bool "Skip sending the initial marking byte (0xFF)"
65 As per the OSDP specification, the first byte in the channel has
66 to be a MARK byte which is 0xFF. Since this is not stated in the
68 handle the initial mark byte correctly. This option can be used to
69 completely disable sending/expecting a mark byte to work with
A DKconfig.cp51 Hexadecimal string representation of the 16 byte OSDP Secure Channel
/subsys/bluetooth/mesh/
A Ddfu.h35 uint8_t byte = net_buf_simple_pull_u8(buf); in dfu_metadata_checksum() local
37 sum[0] += byte; in dfu_metadata_checksum()
A Dblob_cli.c233 uint8_t byte; in chunk_idx_decode() local
239 byte = net_buf_simple_pull_u8(buf); in chunk_idx_decode()
242 if ((byte & 0xf0) == 0xe0) { /* 0x800 - 0xffff */ in chunk_idx_decode()
247 data = (byte & 0x0f) << 12; in chunk_idx_decode()
250 } else if ((byte & 0xe0) == 0xc0) { /* 0x80 - 0x7ff */ in chunk_idx_decode()
255 data = (byte & 0x1f) << 6; in chunk_idx_decode()
258 data = byte & 0x7f; in chunk_idx_decode()
/subsys/modem/backends/
A DKconfig28 int "Modem ISR UART delay between first byte received and RECEIVE_READY pipe event"
32 when receiving a byte before sending the RECEIVE_READY pipe event.
36 (<UART receive_buf_size> / 2) / (<UART baud rate> / <UART bits per byte>) * <ms per sec>
/subsys/usb/device/
A DKconfig88 default y if BT_BUF_ACL_RX_SIZE > 123 # 4 byte header
89 default y if BT_BUF_ACL_TX_SIZE > 123 # 4 byte header
90 default y if BT_BUF_EVT_RX_SIZE > 125 # 2 byte header
91 default y if BT_BUF_CMD_TX_SIZE > 124 # 3 byte header
/subsys/net/lib/shell/
A Dudp.c27 uint8_t byte; in udp_rcvd() local
31 if (net_pkt_read_u8(pkt, &byte) < 0) { in udp_rcvd()
35 PR_SHELL(udp_shell, "%02x ", byte); in udp_rcvd()
/subsys/jwt/
A Djwt.c104 static void base64_addbyte(struct jwt_builder *st, uint8_t byte) in base64_addbyte() argument
106 st->wip[st->pending++] = byte; in base64_addbyte()
/subsys/shell/modules/
A Ddevmem_service.c176 uint8_t byte; in bypass_cb() local
218 byte = (uint8_t)strtoul(chunk, NULL, 16); in bypass_cb()
219 *bytes = byte; in bypass_cb()
/subsys/logging/backends/
A DKconfig.spinel10 This protocol is byte oriented and wraps given messages into serial frames.
A DKconfig.uart29 output one byte at a time.
/subsys/net/lib/ptp/
A Dds.h192 uint8_t byte[6]; member
/subsys/net/l2/virtual/
A DKconfig26 Indicate the max name length, including the terminating NULL byte.
/subsys/retention/
A DKconfig55 byte must be created and set as the "zephyr,boot-mode" chosen node
/subsys/net/lib/http/
A Dhttp_huffman.c448 uint8_t byte = (uint8_t)((code & MSB_MASK(to_copy)) >> in http_hpack_huffman_encode() local
453 *buf = byte; in http_hpack_huffman_encode()
455 *buf |= byte; in http_hpack_huffman_encode()
/subsys/mgmt/mcumgr/mgmt/
A DKconfig39 skip the generation of the cbor start- and end byte in `smp_handle_single_payload` and
/subsys/shell/
A DKconfig78 Maximum prompt size in bytes. One byte is reserved for the string
86 Maximum command size in bytes. One byte is reserved for the string
170 If enabled shell prints back every input byte.
/subsys/debug/
A Dmipi_stp_decoder.c564 static uint8_t swap8(uint8_t byte) in swap8() argument
566 return (byte << 4) | (byte >> 4); in swap8()

Completed in 35 milliseconds

12