Home
last modified time | relevance | path

Searched full:descriptors (Results 1 – 25 of 175) sorted by relevance

1234567

/Zephyr-Core-3.7.0/doc/services/binary_descriptors/
Dindex.rst3 Binary Descriptors
6 Binary Descriptors are constant data objects storing information about the binary executable.
7 Unlike "regular" constants, binary descriptors are linked to a known offset in the binary, making
9 A few examples of constants that would make useful binary descriptors are: kernel version, app vers…
12 Binary descriptors are created by using the ``DEFINE_BINDESC_*`` macros. For example:
35 Binary descriptors are implemented with a TLV (tag, length, value) header linked
37 but generally the descriptors are linked as close to the beginning of the image as
39 ARM), the descriptors are linked right after the vector table. The reset vector points
40 to the beginning of the text section, which is after the descriptors. In architectures
42 the beginning of the image, in order to skip over the binary descriptors, which are right
[all …]
/Zephyr-Core-3.7.0/samples/subsys/bindesc/hello_bindesc/
Dprj.conf1 # Enable binary descriptors
4 # Enable definition of binary descriptors
7 # Enable default build time binary descriptors
11 # Enable default version binary descriptors
18 # Enable default host info binary descriptors
DREADME.rst2 :name: Binary descriptors "Hello World"
5 Set and access binary descriptors for a basic Zephyr application.
23 To dump all binary descriptors in the image, run:
/Zephyr-Core-3.7.0/subsys/bindesc/
DKconfig5 bool "Binary Descriptors"
8 Binary Descriptors - constant data accessible outside of the executable image
13 bool "Binary Descriptors Define"
15 Enable the app to define its own binary descriptors
DKconfig.host_info5 bool "Host info binary descriptors"
7 Add the host info binary descriptors
DKconfig.version5 bool "Version binary descriptors"
7 Add the version binary descriptors
/Zephyr-Core-3.7.0/drivers/can/
DKconfig.nxp_s3221 int "Maximum number of RX descriptors"
26 Maximum number of RX descriptors.
29 int "Maximum number of TX descriptors"
33 Maximum number of TX descriptors.
/Zephyr-Core-3.7.0/drivers/ethernet/
DKconfig.xmc4xxx22 int "Number of TX DMA descriptors"
25 Number of TX DMA descriptors. Each descriptor stores the memory address of a
29 int "Number of RX DMA descriptors"
32 Number of RX DMA descriptors. Each descriptor stores the memory address of a
36 in the descriptors are replaced by new pre-allocated buffers.
/Zephyr-Core-3.7.0/subsys/usb/device_next/
Dusbd_desc.c27 * and sorted by bDescriptorType. For the string descriptors, the function
36 SYS_DLIST_FOR_EACH_CONTAINER(&uds_ctx->descriptors, tmp_nd, node) { in desc_add_and_update_idx()
43 next_nd = SYS_DLIST_PEEK_NEXT_CONTAINER(&uds_ctx->descriptors, in desc_add_and_update_idx()
50 sys_dlist_append(&uds_ctx->descriptors, &new_nd->node); in desc_add_and_update_idx()
77 sys_dlist_append(&uds_ctx->descriptors, &new_nd->node); in desc_add_and_update_idx()
88 SYS_DLIST_FOR_EACH_CONTAINER(&uds_ctx->descriptors, desc_nd, node) { in usbd_get_descriptor()
110 while ((node = sys_dlist_get(&uds_ctx->descriptors))) { in usbd_desc_remove_all()
135 if (!sys_dnode_is_linked(&uds_ctx->descriptors)) { in usbd_add_descriptor()
136 LOG_DBG("Initialize descriptors list"); in usbd_add_descriptor()
137 sys_dlist_init(&uds_ctx->descriptors); in usbd_add_descriptor()
[all …]
Dusbd_desc.h27 * @brief Remove all descriptors from an USB device context
29 * This removes all loose descriptors like string descriptors.
30 * Descriptors like configuration, or interface are not touched
/Zephyr-Core-3.7.0/drivers/ethernet/eth_nxp_enet_qos/
DKconfig26 int "Number of tx buffer descriptors"
30 Number of TX buffer descriptors.
33 int "Number of rx buffer descriptors"
37 Number of RX buffer descriptors.
Deth_nxp_enet_qos_mac.c61 volatile union nxp_enet_qos_tx_desc *tx_desc_ptr = data->tx.descriptors; in eth_nxp_enet_qos_tx()
91 LOG_DBG("Setting up TX descriptors for packet %p", pkt); in eth_nxp_enet_qos_tx()
93 /* Reset the descriptors */ in eth_nxp_enet_qos_tx()
94 memset((void *)data->tx.descriptors, 0, sizeof(union nxp_enet_qos_tx_desc) * frags_count); in eth_nxp_enet_qos_tx()
96 /* Setting up the descriptors */ in eth_nxp_enet_qos_tx()
115 /* Set the DMA ownership of all the used descriptors */ in eth_nxp_enet_qos_tx()
117 data->tx.descriptors[i].read.control2 |= OWN_FLAG; in eth_nxp_enet_qos_tx()
168 volatile union nxp_enet_qos_rx_desc *desc_arr = data->rx.descriptors; in eth_nxp_enet_qos_rx()
175 /* We are going to find all of the descriptors we own and update them */ in eth_nxp_enet_qos_rx()
425 memset((void *)tx->descriptors, 0, sizeof(union nxp_enet_qos_tx_desc) * NUM_TX_BUFDESC); in enet_qos_tx_desc_init()
[all …]
/Zephyr-Core-3.7.0/samples/arch/smp/pktqueue/src/
Dmain.c42 /* Array of packet header descriptors */
43 struct phdr_desc descriptors[QUEUE_NUM][SIZE_OF_QUEUE]; variable
59 queue->head = descriptors[queue_num]; in init_datagram_queue()
62 queue->tail = &descriptors[queue_num][i]; in init_datagram_queue()
63 descriptors[queue_num][i].ptr = (uint8_t *)&headers[queue_num][i]; in init_datagram_queue()
68 descriptors[queue_num][i].ptr[j] = sys_rand8_get(); in init_datagram_queue()
70 descriptors[queue_num][i].ptr[j] = 0; in init_datagram_queue()
77 descriptors[queue_num][i].ptr, SIZE_OF_HEADER); in init_datagram_queue()
80 descriptors[queue_num][i].ptr[CRC_BYTE_1] = (uint8_t)(crc >> 8); in init_datagram_queue()
81 descriptors[queue_num][i].ptr[CRC_BYTE_2] = (uint8_t)(crc); in init_datagram_queue()
[all …]
/Zephyr-Core-3.7.0/lib/os/zvfs/
DKconfig12 types of file descriptors such as those from the non-virtual FS, sockets, eventfds, FILE *'s
21 Enable support for ZVFS event file descriptors. An eventfd can
32 The maximum number of supported event file descriptors.
/Zephyr-Core-3.7.0/drivers/sdhc/
DKconfig.sdhc_cdns19 int "Allocate number of descriptors"
23 Creates static descriptors which can be used by ADMA. Devices should
/Zephyr-Core-3.7.0/scripts/west_commands/
Dbindesc.py103 'work with Binary Descriptors',
105 Work with Binary Descriptors - constant data objects
116 dump_parser = subparsers.add_parser('dump', help='Dump all binary descriptors in the image')
143 list_parser = subparsers.add_parser('list', help='List all known descriptors')
151 descriptors = self.parse_descriptors(image)
152 for tag, value in descriptors.items():
164 descriptors = self.parse_descriptors(image)
166 if search_term in descriptors:
167 value = descriptors[search_term]
233 descriptors = {}
[all …]
/Zephyr-Core-3.7.0/dts/arm/xilinx/
Dzynqmp.dtsi122 rx-buffer-descriptors = <32>;
123 tx-buffer-descriptors = <32>;
149 rx-buffer-descriptors = <32>;
150 tx-buffer-descriptors = <32>;
176 rx-buffer-descriptors = <32>;
177 tx-buffer-descriptors = <32>;
203 rx-buffer-descriptors = <32>;
204 tx-buffer-descriptors = <32>;
Dzynq7000.dtsi69 rx-buffer-descriptors = <32>;
70 tx-buffer-descriptors = <32>;
96 rx-buffer-descriptors = <32>;
97 tx-buffer-descriptors = <32>;
/Zephyr-Core-3.7.0/drivers/dma/
DKconfig.mcux_edma46 bool "Use DTCM for DMA descriptors"
48 When this option is activated, the descriptors for DMA transfer are
/Zephyr-Core-3.7.0/drivers/usb/device/
Dusb_dc_native_posix_adapt.c73 void get_interface(uint8_t *descriptors) in get_interface() argument
75 while (descriptors[0]) { in get_interface()
76 if (descriptors[1] == USB_DESC_INTERFACE) { in get_interface()
81 descriptors += descriptors[0]; in get_interface()
85 static int send_interfaces(const uint8_t *descriptors, int connfd) in send_interfaces() argument
94 while (descriptors[0]) { in send_interfaces()
95 if (descriptors[1] == USB_DESC_INTERFACE) { in send_interfaces()
96 struct usb_if_descriptor *desc = (void *)descriptors; in send_interfaces()
111 descriptors += descriptors[0]; in send_interfaces()
276 LOG_ERR("Descriptors are not set"); in usbip_start()
/Zephyr-Core-3.7.0/doc/connectivity/usb/api/
Dhid.rst19 HID Mouse and Keyboard report descriptors
22 The pre-defined Mouse and Keyboard report descriptors can be used by
/Zephyr-Core-3.7.0/samples/subsys/bindesc/hello_bindesc/src/
Dmain.c18 /* Builtin descriptors */ in main()
25 /* Custom descriptors */ in main()
/Zephyr-Core-3.7.0/soc/intel/intel_adsp/common/include/
Dadsp_debug_window.h13 * described in the descriptors available on page 0.
16 * | Page0 - descriptors |
31 * The first page contains descriptors for the remaining slots.
/Zephyr-Core-3.7.0/scripts/pylib/twister/twisterlib/
Djobserver.py49 """Returns the file descriptors that should be passed to subprocesses."""
116 and W will be the read and write file descriptors to the pipe
124 descriptors are valid, use the jobserver. Otherwise output a
150 # Use F_GETFL to see if file descriptors are valid
170 "No file descriptors; ignoring GNU make jobserver"
216 """Returns the file descriptors that should be passed to subprocesses."""
/Zephyr-Core-3.7.0/samples/subsys/usb/webusb/src/
Dmain.c128 * microsoft-defined-usb-descriptors
204 /* Predefined response to control commands related to MS OS 1.0 descriptors
206 * descriptors" and not "extended properties OS features descriptors"
277 * WebUSB allowed origins and MS OS 1.0 and 2.0 descriptors.
316 /* Get MS OS 2.0 Descriptors request */ in vendor_handle_req()
320 LOG_DBG("Get MS OS Descriptors v2"); in vendor_handle_req()
324 /* Get MS OS 1.0 Descriptors request */ in vendor_handle_req()
331 LOG_DBG("Get MS OS Descriptors CompatibleID"); in vendor_handle_req()

1234567