/Zephyr-latest/samples/arch/smp/pktqueue/src/ |
D | main.c | 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() 83 descriptors[queue_num][i].next = &descriptors[queue_num][i+1]; in init_datagram_queue()
|
/Zephyr-latest/tests/subsys/bindesc/reading/src/ |
D | main.c | 25 static __aligned(BINDESC_ALIGNMENT) const uint8_t descriptors[] = { 44 flash_write(flash_dev, 0, descriptors, sizeof(descriptors)); in test_setup() 79 bindesc_open_ram(&handle, descriptors, sizeof(descriptors)); in ZTEST()
|
/Zephyr-latest/subsys/usb/device_next/ |
D | usbd_desc.c | 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() 137 sys_dlist_init(&uds_ctx->descriptors); in usbd_add_descriptor() 153 sys_dlist_append(&uds_ctx->descriptors, &desc_nd->node); in usbd_add_descriptor()
|
/Zephyr-latest/doc/services/binary_descriptors/ |
D | index.rst | 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 70 Binary descriptors are always created by the ``BINDESC_*_DEFINE`` macros. As shown in 90 Some descriptors might be trivial to implement, and could therefore be implemented [all …]
|
/Zephyr-latest/drivers/can/ |
D | Kconfig.nxp_s32 | 22 int "Maximum number of RX descriptors" 27 Maximum number of RX descriptors. 30 int "Maximum number of TX descriptors" 34 Maximum number of TX descriptors.
|
/Zephyr-latest/subsys/bindesc/ |
D | Kconfig | 15 Enable the app to define its own binary descriptors 37 Enable the app to read the binary descriptors of another image 48 Enable reading and parsing binary descriptors from RAM. 53 Enable reading and parsing binary descriptors from memory mapped flash. 58 Enable reading and parsing binary descriptors from non memory mapped flash 68 The maximum expected size of the descriptors' data. This should be set to
|
D | Kconfig.host_info | 5 bool "Host info binary descriptors" 7 Add the host info binary descriptors
|
/Zephyr-latest/drivers/usb/device/ |
D | usb_dc_native_posix_adapt.c | 73 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()
|
D | usb_dc_sam0.c | 58 UsbDeviceDescriptor descriptors[USB_NUM_ENDPOINTS]; member 266 (void)memset(data->descriptors, 0, sizeof(data->descriptors)); in usb_dc_attach() 267 regs->DESCADD.reg = (uintptr_t)&data->descriptors[0]; in usb_dc_attach() 300 for (int i = 0; i < ARRAY_SIZE(data->descriptors); i++) { in usb_dc_release_buffers() 301 for (int j = 0; j < ARRAY_SIZE(data->descriptors[0].DeviceDescBank); j++) { in usb_dc_release_buffers() 302 bank = &data->descriptors[i].DeviceDescBank[j]; in usb_dc_release_buffers() 386 UsbDeviceDescriptor *desc = &data->descriptors[ep_idx]; in usb_dc_ep_configure() 596 UsbDeviceDescriptor *desc = &data->descriptors[ep_idx]; in usb_dc_ep_write() 639 UsbDeviceDescriptor *desc = &data->descriptors[ep_idx]; in usb_dc_ep_read_ex() 741 UsbDeviceDescriptor *desc = &data->descriptors[ep_idx]; in usb_dc_ep_mps()
|
/Zephyr-latest/drivers/ethernet/eth_nxp_enet_qos/ |
D | Kconfig | 27 int "Number of tx buffer descriptors" 31 Number of TX buffer descriptors. 34 int "Number of rx buffer descriptors" 38 Number of RX buffer descriptors.
|
D | eth_nxp_enet_qos_mac.c | 61 volatile union nxp_enet_qos_tx_desc *tx_desc_ptr = data->tx.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() 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() 427 memset((void *)tx->descriptors, 0, sizeof(union nxp_enet_qos_tx_desc) * NUM_TX_BUFDESC); in enet_qos_tx_desc_init() 432 ENET_QOS_ALIGN_ADDR_SHIFT((uint32_t)tx->descriptors)); in enet_qos_tx_desc_init() 436 ENET_QOS_ALIGN_ADDR_SHIFT((uint32_t)tx->descriptors)); in enet_qos_tx_desc_init() 445 memset((void *)rx->descriptors, 0, sizeof(union nxp_enet_qos_rx_desc) * NUM_RX_BUFDESC); in enet_qos_rx_desc_init() 455 rx->descriptors[i].read.buf1_addr = (uint32_t)buf->data; in enet_qos_rx_desc_init() 456 rx->descriptors[i].read.control |= rx_desc_refresh_flags; in enet_qos_rx_desc_init() [all …]
|
D | nxp_enet_qos_priv.h | 102 volatile union nxp_enet_qos_tx_desc descriptors[NUM_TX_BUFDESC]; member 107 volatile union nxp_enet_qos_rx_desc descriptors[NUM_RX_BUFDESC]; member
|
/Zephyr-latest/drivers/ethernet/ |
D | Kconfig.xmc4xxx | 23 int "Number of TX DMA descriptors" 26 Number of TX DMA descriptors. Each descriptor stores the memory address of a 30 int "Number of RX DMA descriptors" 33 Number of RX DMA descriptors. Each descriptor stores the memory address of a 37 in the descriptors are replaced by new pre-allocated buffers.
|
/Zephyr-latest/samples/subsys/bindesc/hello_bindesc/ |
D | README.rst | 2 :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-latest/drivers/dma/ |
D | Kconfig.esp32 | 12 int "Maximal number of available DMA descriptors" 15 Reserves memory for a maximal number of descriptors
|
D | Kconfig.xilinx_axi_dma | 19 Disable dcache while operating on Scatter-Gather descriptors. 25 int "Number of transfer descriptors allocated for transmission (TX)." 29 The Xilinx AXI DMA uses a ring of in-memory DMA descriptors which reference 31 Increasing the number of descriptors increases the amount of packets in flight, 35 int "Number of transfer descriptors allocated for reception (RX)."
|
D | Kconfig.mcux_edma | 49 bool "Use DTCM for DMA descriptors" 53 When this option is activated, the descriptors for DMA transfer are
|
/Zephyr-latest/doc/connectivity/usb/api/ |
D | hid.rst | 19 HID Mouse and Keyboard report descriptors 22 The pre-defined Mouse and Keyboard report descriptors can be used by
|
/Zephyr-latest/samples/subsys/bindesc/read_bindesc/ |
D | README.rst | 2 :name: Binary descriptors read 5 Define some binary descriptors and read them.
|
/Zephyr-latest/drivers/sdhc/ |
D | Kconfig.sdhc_cdns | 19 int "Allocate number of descriptors" 23 Creates static descriptors which can be used by ADMA. Devices should
|
/Zephyr-latest/dts/arm/xilinx/ |
D | zynqmp.dtsi | 122 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>;
|
D | zynq7000.dtsi | 69 rx-buffer-descriptors = <32>; 70 tx-buffer-descriptors = <32>; 96 rx-buffer-descriptors = <32>; 97 tx-buffer-descriptors = <32>;
|
/Zephyr-latest/lib/os/zvfs/ |
D | Kconfig | 12 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-latest/scripts/west_commands/ |
D | bindesc.py | 159 descriptors = self.parse_descriptors(image) 160 for tag, value in descriptors.items(): 172 descriptors = self.parse_descriptors(image) 174 if search_term in descriptors: 175 value = descriptors[search_term] 250 descriptors = {} 271 descriptors[key] = decoded_data 276 return descriptors
|
/Zephyr-latest/subsys/usb/device_next/class/ |
D | usbd_uac2.c | 128 const struct usb_desc_header **descriptors; in get_as_data_ep() local 131 descriptors = cfg->fs_descriptors; in get_as_data_ep() 133 descriptors = cfg->hs_descriptors; in get_as_data_ep() 137 cfg->ep_indexes[as_idx] && descriptors) { in get_as_data_ep() 138 desc = descriptors[cfg->ep_indexes[as_idx]]; in get_as_data_ep() 150 const struct usb_desc_header **descriptors; in get_as_feedback_ep() local 153 descriptors = cfg->fs_descriptors; in get_as_feedback_ep() 155 descriptors = cfg->hs_descriptors; in get_as_feedback_ep() 159 descriptors) { in get_as_feedback_ep() 160 desc = descriptors[cfg->fb_indexes[as_idx]]; in get_as_feedback_ep() [all …]
|