Home
last modified time | relevance | path

Searched full:frame (Results 1 – 25 of 674) sorted by relevance

12345678910>>...27

/Zephyr-latest/arch/xtensa/include/
Dxtensa_backtrace.h27 * This structure stores the backtrace information of a particular stack frame
29 * xtensa_cpu_get_next_backtrace_frame() function to traverse each frame
31 * frame's caller, thus a next_pc of 0 indicates that the current frame
32 * is the last frame on the stack.
38 uint32_t pc; /* PC of the current frame */
39 uint32_t sp; /* SP of the current frame */
40 uint32_t next_pc; /* PC of the current frame's caller */
44 * Get the first frame of the current stack's backtrace
55 * @param[out] pc PC of the first frame in the backtrace
56 * @param[out] sp SP of the first frame in the backtrace
[all …]
/Zephyr-latest/include/zephyr/net/http/
Dframe.h9 * @brief HTTP2 frame information.
21 /** HTTP2 frame types */
23 /** Data frame */
25 /** Headers frame */
27 /** Priority frame */
29 /** Reset stream frame */
31 /** Settings frame */
33 /** Push promise frame */
35 /** Ping frame */
37 /** Goaway frame */
[all …]
/Zephyr-latest/arch/xtensa/core/
Dxtensa_backtrace.c77 bool xtensa_backtrace_get_next_frame(struct xtensa_backtrace_frame_t *frame) in xtensa_backtrace_get_next_frame() argument
80 * frame pointer. in xtensa_backtrace_get_next_frame()
82 if (xtensa_is_outside_stack_bounds((uintptr_t)frame->sp, 0, UINT32_MAX)) { in xtensa_backtrace_get_next_frame()
86 /* Use frame(i-1)'s BS area located below frame(i)'s in xtensa_backtrace_get_next_frame()
87 * sp to get frame(i-1)'s sp and frame(i-2)'s pc in xtensa_backtrace_get_next_frame()
91 char *base_save = (char *)frame->sp; in xtensa_backtrace_get_next_frame()
93 frame->pc = frame->next_pc; in xtensa_backtrace_get_next_frame()
94 /* If next_pc = 0, indicates frame(i-1) is the last in xtensa_backtrace_get_next_frame()
95 * frame on the stack in xtensa_backtrace_get_next_frame()
97 frame->next_pc = *((uint32_t *)(base_save - 16)); in xtensa_backtrace_get_next_frame()
[all …]
Dwindow_vectors.S56 s32e a0, a5, -16 /* save a0 to call[j+1]'s stack frame */
57 s32e a1, a5, -12 /* save a1 to call[j+1]'s stack frame */
58 s32e a2, a5, -8 /* save a2 to call[j+1]'s stack frame */
59 s32e a3, a5, -4 /* save a3 to call[j+1]'s stack frame */
78 l32e a0, a5, -16 /* restore a0 from call[i+1]'s stack frame */
79 l32e a1, a5, -12 /* restore a1 from call[i+1]'s stack frame */
80 l32e a2, a5, -8 /* restore a2 from call[i+1]'s stack frame */
81 l32e a3, a5, -4 /* restore a3 from call[i+1]'s stack frame */
133 s32e a0, a9, -16 /* save a0 to call[j+1]'s stack frame */
135 (used to find end of call[j]'s frame) */
[all …]
Dthread.c43 _xtensa_irq_stack_frame_a11_t *frame; in init_stack() local
67 const int bsasz = sizeof(*frame) - 16; in init_stack()
69 frame = (void *)(((char *) stack_top) - bsasz); in init_stack()
71 (void)memset(frame, 0, bsasz); in init_stack()
73 frame->bsa.ps = PS_WOE | PS_UM | PS_CALLINC(1); in init_stack()
88 frame->bsa.pc = (uintptr_t)arch_user_mode_enter; in init_stack()
90 frame->bsa.pc = (uintptr_t)z_thread_entry; in init_stack()
93 frame->bsa.pc = (uintptr_t)z_thread_entry; in init_stack()
98 frame->bsa.threadptr = thread->tls; in init_stack()
100 frame->bsa.threadptr = (uintptr_t)((thread->base.user_options & K_USER) ? thread : NULL); in init_stack()
[all …]
Dcoredump.c133 _xtensa_irq_stack_frame_raw_t *frame = (void *)esf; in arch_coredump_info_dump() local
134 _xtensa_irq_bsa_t *bsa = frame->ptr_to_bsa; in arch_coredump_info_dump()
139 num_high_regs = (uint8_t *)bsa - (uint8_t *)frame + sizeof(void *); in arch_coredump_info_dump()
159 arch_blk.r.a4 = frame->blks[regs_blk_remaining].r0; in arch_coredump_info_dump()
160 arch_blk.r.a5 = frame->blks[regs_blk_remaining].r1; in arch_coredump_info_dump()
161 arch_blk.r.a6 = frame->blks[regs_blk_remaining].r2; in arch_coredump_info_dump()
162 arch_blk.r.a7 = frame->blks[regs_blk_remaining].r3; in arch_coredump_info_dump()
167 arch_blk.r.a8 = frame->blks[regs_blk_remaining].r0; in arch_coredump_info_dump()
168 arch_blk.r.a9 = frame->blks[regs_blk_remaining].r1; in arch_coredump_info_dump()
169 arch_blk.r.a10 = frame->blks[regs_blk_remaining].r2; in arch_coredump_info_dump()
[all …]
/Zephyr-latest/samples/drivers/video/capture/
DKconfig9 int "Height of the video frame"
12 Height of the video frame. If set to 0, the default height is used.
15 int "Width of the video frame"
18 Width of the video frame. If set to 0, the default width is used.
21 string "Pixel format of the video frame"
23 Pixel format of the video frame. If not set, the default pixel format is used.
26 bool "Mirror the video frame horizontally"
28 If set, mirror the video frame horizontally
/Zephyr-latest/subsys/net/lib/http/
Dhttp_server_http2.c55 struct http2_frame *frame = &client->current_frame; in print_http_frames() local
58 LOG_DBG("%sReceived %s Frame :%s", bold, get_frame_type_name(frame->type), reset); in print_http_frames()
59 LOG_DBG(" %sLength:%s %u", blue, reset, frame->length); in print_http_frames()
60 LOG_DBG(" %sType:%s %u (%s)", blue, reset, frame->type, get_frame_type_name(frame->type)); in print_http_frames()
61 LOG_DBG(" %sFlags:%s %u", blue, reset, frame->flags); in print_http_frames()
62 LOG_DBG(" %sStream Identifier:%s %u", blue, reset, frame->stream_identifier); in print_http_frames()
319 struct http2_frame *frame) in send_http2_404() argument
323 ret = send_headers_frame(client, HTTP_404_NOT_FOUND, frame->stream_identifier, NULL, 0, in send_http2_404()
331 frame->stream_identifier, in send_http2_404()
341 struct http2_frame *frame) in send_http2_409() argument
[all …]
/Zephyr-latest/samples/subsys/logging/syst/src/
Dmain.c36 struct test_frame frame = { 0 }; in log_msgs() local
73 frame.rtr = 1U; in log_msgs()
74 frame.id_type = 1U; in log_msgs()
75 frame.std_id = 1234U; in log_msgs()
76 frame.dlc = sizeof(data); in log_msgs()
77 memcpy(frame.data, data, sizeof(data)); in log_msgs()
79 LOG_HEXDUMP_ERR((const uint8_t *)&frame, sizeof(frame), "frame"); in log_msgs()
80 LOG_HEXDUMP_WRN((const uint8_t *)&frame, sizeof(frame), "frame"); in log_msgs()
81 LOG_HEXDUMP_INF((const uint8_t *)&frame, sizeof(frame), "frame"); in log_msgs()
82 LOG_HEXDUMP_DBG((const uint8_t *)&frame, sizeof(frame), "frame"); in log_msgs()
/Zephyr-latest/subsys/modem/
Dmodem_cmux.c129 static void modem_cmux_log_frame(const struct modem_cmux_frame *frame, in modem_cmux_log_frame() argument
132 LOG_DBG("%s ch:%u cr:%u pf:%u type:%s dlen:%u", action, frame->dlci_address, in modem_cmux_log_frame()
133 frame->cr, frame->pf, modem_cmux_frame_type_to_str(frame->type), frame->data_len); in modem_cmux_log_frame()
134 LOG_HEXDUMP_DBG(frame->data, hexdump_len, "data:"); in modem_cmux_log_frame()
137 static void modem_cmux_log_transmit_frame(const struct modem_cmux_frame *frame) in modem_cmux_log_transmit_frame() argument
139 modem_cmux_log_frame(frame, "tx", frame->data_len); in modem_cmux_log_transmit_frame()
142 static void modem_cmux_log_received_frame(const struct modem_cmux_frame *frame) in modem_cmux_log_received_frame() argument
144 modem_cmux_log_frame(frame, "rcvd", frame->data_len); in modem_cmux_log_received_frame()
267 const struct modem_cmux_frame *frame) in modem_cmux_transmit_frame() argument
276 data_len = MIN(space, frame->data_len); in modem_cmux_transmit_frame()
[all …]
/Zephyr-latest/drivers/can/
Dcan_loopback.c21 struct can_frame frame; member
49 const struct can_frame *frame, in receive_frame() argument
52 struct can_frame frame_tmp = *frame; in receive_frame()
55 frame->dlc, frame->id, in receive_frame()
56 (frame->flags & CAN_FRAME_IDE) != 0 ? "extended" : "standard", in receive_frame()
57 (frame->flags & CAN_FRAME_RTR) != 0 ? ", RTR frame" : ""); in receive_frame()
66 struct can_loopback_frame frame; in tx_thread() local
74 ret = k_msgq_get(&data->tx_msgq, &frame, K_FOREVER); in tx_thread()
76 LOG_DBG("Pend on TX queue returned without valid frame (err %d)", ret); in tx_thread()
79 frame.cb(dev, 0, frame.cb_arg); in tx_thread()
[all …]
/Zephyr-latest/drivers/ieee802154/
Dieee802154_nrf5.h17 uint8_t *psdu; /* Pointer to a received frame. */
19 uint8_t lqi; /* Last received frame LQI value. */
20 int8_t rssi; /* Last received frame RSSI value. */
21 bool ack_fpb; /* FPB value in ACK sent for the received frame. */
22 bool ack_seb; /* SEB value in ACK sent for the received frame. */
41 /* Buffers for passing received frame pointers and data to the
46 /* Frame pending bit value in ACK sent for the last received frame. */
49 /* Security Enabled bit value in ACK sent for the last received frame. */
58 /* TX synchronization semaphore. Unlocked when frame has been
71 /* A buffer for the received ACK frame. psdu pointer be NULL if no
[all …]
/Zephyr-latest/subsys/net/l2/ieee802154/
Dieee802154_security.h27 * @param frame Pointer to the frame data in original (little endian) byte order.
31 * @param src_ext_addr Pointer to the extended source address of the frame (in little endian byte
33 * @param frame_counter Frame counter in CPU byte order.
35 bool ieee802154_decrypt_auth(struct ieee802154_security_ctx *sec_ctx, uint8_t *frame,
43 * @param frame Pointer to the frame data in original (little endian) byte order.
47 * @param src_ext_addr Pointer to the extended source address of the frame (in little endian byte
50 bool ieee802154_encrypt_auth(struct ieee802154_security_ctx *sec_ctx, uint8_t *frame,
/Zephyr-latest/include/zephyr/modem/
Dubx.h126 * @brief Writes the ubx frame in script.request and reads back its response (if available)
127 * @details For each ubx frame sent, the device responds in 0, 1 or both of the following ways:
128 * 1. The device sends back a UBX-ACK frame to denote 'acknowledge' and 'not-acknowledge'.
129 * Note: the message id of UBX-ACK frame determines whether the device acknowledged.
130 * Ex: when we send a UBX-CFG frame, the device responds with a UBX-ACK frame.
131 * 2. The device sends back the same frame that we sent to it, with it's payload populated.
132 * It's used to get the current configuration corresponding to the frame that we sent.
133 * Ex: frame types such as "get" or "poll" ubx frames respond this way.
136 * This function writes the ubx frame in script.request then reads back it's response.
137 * If script.match is not NULL, then every ubx frame received from the device is compared with
[all …]
/Zephyr-latest/tests/drivers/can/api/src/
Dclassic.c27 const struct can_frame *frame = user_data; in tx_std_callback_1() local
32 zassert_equal(frame->id, TEST_CAN_STD_ID_1, "ID does not match"); in tx_std_callback_1()
42 const struct can_frame *frame = user_data; in tx_std_callback_2() local
47 zassert_equal(frame->id, TEST_CAN_STD_ID_2, "ID does not match"); in tx_std_callback_2()
57 const struct can_frame *frame = user_data; in tx_ext_callback_1() local
62 zassert_equal(frame->id, TEST_CAN_EXT_ID_1, "ID does not match"); in tx_ext_callback_1()
72 const struct can_frame *frame = user_data; in tx_ext_callback_2() local
77 zassert_equal(frame->id, TEST_CAN_EXT_ID_2, "ID does not match"); in tx_ext_callback_2()
85 static void rx_std_callback_1(const struct device *dev, struct can_frame *frame, in rx_std_callback_1() argument
90 assert_frame_equal(frame, &test_std_frame_1, 0); in rx_std_callback_1()
[all …]
Dcanfd.c22 const struct can_frame *frame = user_data; in tx_std_callback_1() local
27 zassert_equal(frame->id, TEST_CAN_STD_ID_1, "ID does not match"); in tx_std_callback_1()
32 const struct can_frame *frame = user_data; in tx_std_callback_2() local
37 zassert_equal(frame->id, TEST_CAN_STD_ID_2, "ID does not match"); in tx_std_callback_2()
40 static void rx_std_callback_1(const struct device *dev, struct can_frame *frame, void *user_data) in rx_std_callback_1() argument
44 assert_frame_equal(frame, &test_std_frame_1, 0); in rx_std_callback_1()
51 static void rx_std_callback_2(const struct device *dev, struct can_frame *frame, void *user_data) in rx_std_callback_2() argument
55 assert_frame_equal(frame, &test_std_frame_2, 0); in rx_std_callback_2()
62 static void rx_std_callback_fd_1(const struct device *dev, struct can_frame *frame, in rx_std_callback_fd_1() argument
67 assert_frame_equal(frame, &test_std_fdf_frame_1, 0); in rx_std_callback_fd_1()
[all …]
/Zephyr-latest/dts/bindings/led_strip/
Dworldsemi,ws2812-spi.yaml15 - spi-zero-frame
16 - spi-one-frame.
27 spi-one-frame:
30 description: 8-bit SPI frame to shift out for a 1 pulse.
32 spi-zero-frame:
35 description: 8-bit SPI frame to shift out for a 0 pulse.
/Zephyr-latest/dts/bindings/ethernet/
Datmel,gmac-common.yaml22 max-frame-size:
26 Maximum ethernet frame size. The current ethernet frame sizes
28 means that normally gmac will reject any frame above max-frame-size
30 IEEE 802.3 ethernet frame:
32 Ethernet Frame [ 14 MAC HEADER | 1500 MTU | 4 FCS ] = 1518 bytes
/Zephyr-latest/drivers/display/
DKconfig.renesas_ra17 int "Frame buffer number"
21 RENESAS RA GLCDC frame buffer number config:
22 - 0 frame buffer maintained by application, must write with full screen pixels.
23 - 1 single frame buffer in RENESAS RA GLCDC driver.
24 - 2 double frame buffer in RENESAS RA GLCDC driver.
/Zephyr-latest/arch/riscv/core/
Dstacktrace.c105 struct stackframe *frame; in walk_stackframe() local
108 /* Unwind the provided exception stack frame */ in walk_stackframe()
127 /* Unwind to the previous frame */ in walk_stackframe()
128 frame = (struct stackframe *)fp - 1; in walk_stackframe()
136 * For the first stack frame, the `ra` is not stored in the frame if the in walk_stackframe()
140 * frame[0]->fp ---> | frame[0] fp | in walk_stackframe()
142 * frame[0]->ra ---> | frame[1] fp | in walk_stackframe()
143 * | frame[1] ra | in walk_stackframe()
145 * | frame[N] fp | in walk_stackframe()
150 * frame[0]->fp ---> | frame[0] fp | in walk_stackframe()
[all …]
/Zephyr-latest/samples/drivers/can/babbling/src/
Dmain.c49 struct can_frame frame = {0}; in main() local
99 frame.flags |= CAN_FRAME_IDE; in main()
103 frame.flags |= CAN_FRAME_RTR; in main()
107 frame.flags |= CAN_FRAME_FDF; in main()
110 frame.id = CONFIG_SAMPLE_CAN_BABBLING_CAN_ID; in main()
114 (frame.flags & CAN_FRAME_IDE) != 0 ? "extended" : "standard", in main()
115 (frame.flags & CAN_FRAME_IDE) != 0 ? 29 : 11, in main()
116 (frame.flags & CAN_FRAME_IDE) != 0 ? 8 : 3, frame.id, in main()
117 (frame.flags & CAN_FRAME_RTR) != 0 ? 1 : 0, in main()
118 (frame.flags & CAN_FRAME_FDF) != 0 ? 1 : 0); in main()
[all …]
/Zephyr-latest/include/zephyr/drivers/
Dvideo.h36 * buffers the size of the video frame
44 * Used to configure frame format.
49 /** frame width in pixels. */
51 /** frame height in pixels. */
72 /** minimum supported frame width in pixels. */
74 /** maximum supported frame width in pixels. */
76 /** minimum supported frame height in pixels. */
78 /** maximum supported frame height in pixels. */
105 * a full video frame
112 * fill or process more than a full video frame in one video buffer.
[all …]
/Zephyr-latest/subsys/canbus/isotp/
Disotp.c44 static inline void prepare_frame(struct can_frame *frame, struct isotp_msg_id *addr) in prepare_frame() argument
46 frame->id = addr->ext_id; in prepare_frame()
47 frame->flags = ((addr->flags & ISOTP_MSG_IDE) != 0 ? CAN_FRAME_IDE : 0) | in prepare_frame()
102 LOG_ERR("Error sending FC frame (%d)", error); in receive_can_tx()
137 struct can_frame frame; in receive_send_fc() local
138 uint8_t *data = frame.data; in receive_send_fc()
144 prepare_frame(&frame, &rctx->tx_addr); in receive_send_fc()
153 payload_len = data - frame.data; in receive_send_fc()
157 memset(&frame.data[payload_len], ISOTP_PAD_BYTE, in receive_send_fc()
159 frame.dlc = can_bytes_to_dlc(ISOTP_PADDED_FRAME_DL_MIN); in receive_send_fc()
[all …]
/Zephyr-latest/include/zephyr/net/hdlc_rcp_if/
Dhdlc_rcp_if.h47 * @brief Transmit a HDLC frame
50 * @param frame pointer to the HDLC frame to be transmitted.
51 * @param length length of the HDLC frame to be transmitted.
53 * @retval 0 The frame was successfully sent.
54 * @retval -EIO The frame could not be sent due to some unspecified
57 int (*send)(const uint8_t *frame, uint16_t length);
/Zephyr-latest/dts/bindings/display/
Drenesas,smartbond-display.yaml32 a single frame update. The prefetch mechanism should be enabled when frame buffer(s)
35 results in correpting the whole frame update. It's user's responsibility to ensure that
36 the selected value does not exceed frame's total size as otherwise the controller will
37 not be able to trigger the frame update.

12345678910>>...27