Home
last modified time | relevance | path

Searched full:endpoint (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/Zephyr-latest/include/zephyr/drivers/usb/
Dusb_dc.h63 * @brief USB Endpoint Callback Status Codes
65 * Status Codes reported by the registered endpoint callback.
77 * @brief USB Endpoint Transfer Type
80 /** Control type endpoint */
82 /** Isochronous type endpoint */
84 /** Bulk type endpoint */
86 /** Interrupt type endpoint */
91 * @brief USB Endpoint Synchronization Type
107 * @brief USB Endpoint Configuration.
109 * Structure containing the USB endpoint configuration.
[all …]
Dudc.h22 * @brief Maximum packet size of control endpoint supported by the controller.
47 /** Maximum packet size for control endpoint */
66 * USB device controller endpoint capabilities
69 /** Maximum packet size of the endpoint buffer */
71 /** Control transfer capable endpoint (for completeness) */
73 /** Interrupt transfer capable endpoint */
75 /** Bulk transfer capable endpoint */
77 /** ISO transfer capable endpoint */
79 /** High-Bandwidth (interrupt or iso) capable endpoint */
81 /** IN transfer capable endpoint */
[all …]
/Zephyr-latest/drivers/usb/common/nrf_usbd_common/
Dnrf_usbd_common.h28 * @brief Number of bytes in the endpoint.
36 * This number would be shared between IN and OUT endpoint.
37 * It may be also assigned totaly to one endpoint.
44 * @name Macros for creating endpoint identifiers.
46 * Auxiliary macros for creating endpoint identifiers compatible with the USB specification.
51 * @brief Create identifier for IN endpoint.
53 * Simple macro to create IN endpoint identifier for given endpoint number.
55 * @param[in] n Endpoint number.
57 * @return Endpoint identifier that connects endpoint number and endpoint direction.
61 * @brief Create identifier for OUT endpoint.
[all …]
/Zephyr-latest/tests/net/lib/lwm2m/interop/pytest/
Dtest_lwm2m.py33 def test_LightweightM2M_1_1_int_102(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str…
39 leshan.write(endpoint, '1/0/1', lifetime)
41 latest = leshan.get(f'/clients/{endpoint}')
47 def test_LightweightM2M_1_1_int_103(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str…
49 leshan.execute(endpoint, '1/0/4')
55 shell.exec_command(f'lwm2m start {endpoint}')
58 def test_LightweightM2M_1_1_int_104(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str…
62 leshan.execute(endpoint, '1/0/8')
66 def test_LightweightM2M_1_1_int_107(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str…
68 leshan.write(endpoint, '1/0/1', 120)
[all …]
Dtest_bootstrap.py22 from conftest import Endpoint
34 def verify_LightweightM2M_1_1_int_0(dut: DeviceAdapter, endpoint_bootstrap: Endpoint): argument
39 …eightM2M_1_1_int_1(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint_bootstrap: Endpoint): argument
45 …est_LightweightM2M_1_1_int_4(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: Endpoint): argument
51 leshan.execute(endpoint, '1/0/9')
58 def test_LightweightM2M_1_1_int_5(dut: DeviceAdapter, leshan: Leshan, endpoint: Endpoint): argument
60 leshan.execute(endpoint, '1/0/9')
65 def test_LightweightM2M_1_1_int_6(shell: Shell, dut: DeviceAdapter, endpoint: Endpoint): argument
69 shell.exec_command(f'lwm2m start {endpoint}')
76 shell.exec_command(f'lwm2m start {endpoint}')
[all …]
Dleshan.py94 def delete(self, endpoint: str, path: str):
96 return self.delete_raw(f'/clients/{endpoint}/{path}')
98 def execute(self, endpoint: str, path: str):
100 return self.post(f'/clients/{endpoint}/{path}')
102 def write(self, endpoint: str, path: str, value: bool | int | str):
109 return self.put(f'/clients/{endpoint}/{path}', self._define_resource(rid, value, kind))
111 def write_attributes(self, endpoint: str, path: str, attributes: dict):
114 leshan.write_attributes(endpoint, '1/2/3, {'pmin': 10, 'pmax': 40})
116 return self.put_raw(f'/clients/{endpoint}/{path}/attributes', params=attributes)
118 def remove_attributes(self, endpoint: str, path: str, attributes: list):
[all …]
Dtest_portfolio.py27 def test_LightweightM2M_1_1_int_1630(shell: Shell, leshan: Leshan, endpoint: str, configuration_C13…
29 resp = leshan.discover(endpoint, '16/0')
38 assert leshan.create_obj_instance(endpoint, '16/1', resources)['status'] == 'CREATED(201)'
39 resp = leshan.discover(endpoint, '16/1')
41 resp = leshan.read(endpoint, '16')
55 def test_LightweightM2M_1_1_int_1635(shell: Shell, leshan: Leshan, endpoint: str, configuration_C13…
57 resp = leshan.discover(endpoint, '16')
61 assert leshan.delete(endpoint, '16/0')['status'] == 'DELETED(202)'
62 resp = leshan.discover(endpoint, '16')
/Zephyr-latest/include/zephyr/ipc/
Drpmsg_service.h24 * @brief Register IPC endpoint
26 * Registers IPC endpoint to enable communication with a remote device.
27 * The endpoint is created when the slave device registers it.
31 * @param name String containing the name of the endpoint. Must be identical
33 * @param cb Callback executed when data are available on given endpoint
35 * @retval >=0 id of registered endpoint on success;
36 * @retval -EINPROGRESS when requested to register an endpoint after endpoints
38 * @retval -ENOMEM when there is not enough slots to register the endpoint;
44 * @brief Send data using given IPC endpoint
46 * @param endpoint_id Id of registered endpoint, obtained by
[all …]
Dicmsg_me.h20 * @brief Multi-endpoint extension of icmsg IPC library
21 * @defgroup ipc_icmsg_me_api Icmsg multi-endpoint IPC library API
27 /* If more bytes than 1 was used for endpoint id, endianness should be
125 /** @brief Notify the icmsg_me instance that data for an endpoint was received
136 * @param[in] id The value identifyig the endpoint.
138 * multi-endpoint header.
144 /** @brief Set endpoint configuration in an empty endpoint slot
146 * During endpoint handshake the handshake initiator must select an id number
147 * and store endpoint metadata required to finalize handshake and maintain
162 * @param[in] ept_cfg Configuration data of the endpoint for which the
[all …]
Dipc_service.h54 * user have to create (register) an endpoint in the instance
65 * - ENDPOINT: an endpoint is the entity the user must use to send / receive
67 * endpoint is always associated to an instance.
142 * It is registered during endpoint registration.
143 * This structure is part of the endpoint configuration.
148 * This callback is called when the endpoint binding is successful.
176 /** @brief Endpoint instance.
183 /** Instance this endpoint belongs to. */
186 /** Backend-specific token used to identify an endpoint in an instance. */
190 /** @brief Endpoint configuration structure. */
[all …]
Dipc_rpmsg.h34 * This callback is defined at instance level and it is called when an endpoint
37 * @param ept Endpoint of the instance just bound.
41 /** @brief Endpoint structure.
43 * Used to define an endpoint to be encapsulated in an RPMsg instance.
46 /** RPMsg endpoint. */
49 /** Name of the endpoint. */
52 /** Destination endpoint. */
61 /** Private data to be passed to the endpoint callbacks. */
71 struct ipc_rpmsg_ept endpoint[NUM_ENDPOINTS]; member
130 /** @brief Register an endpoint.
[all …]
/Zephyr-latest/subsys/usb/device_next/
Dusbd_endpoint.h13 * @brief Set bit associated with the endpoint
17 * @param[in] ep_bm Pointer to endpoint bitmap
18 * @param[in] ep Endpoint address
30 * @brief Clear bit associated with the endpoint
34 * @param[in] ep_bm Pointer to endpoint bitmap
35 * @param[in] ep Endpoint address
47 * @brief Check whether bit associated with the endpoint is set
51 * @param[in] ep_bm Pointer to endpoint bitmap
52 * @param[in] ep Endpoint address
70 * @brief Enable endpoint
[all …]
/Zephyr-latest/include/zephyr/devicetree/
Dport-endpoint.h3 * @brief Port / Endpoint Devicetree macro public API header file.
21 * @defgroup devicetree-port-endpoint Devicetree Port Endpoint API
95 * a single endpoint without address.
99 * @param eid endpoint ID
100 * @return endpoint node associated with @p eid and @p pid
106 * @brief Get an endpoint node from its id and its parent port id
108 * Given a device instance number, a port ID and an endpoint ID, return the endpoint node.
109 * It handles various ways of how a port and an endpoint could be defined as described in
112 * Example usage with DT_INST_ENDPOINT_BY_ID() to get the @c endpoint or @c endpoint@0 node:
123 * endpoint {
[all …]
/Zephyr-latest/dts/bindings/video/
Dvideo-interfaces.yaml10 devices in the pipeline and is described by 'endpoint' subnodes.
13 bus, an 'endpoint' child node must be provided for each of them. If more than one
14 port is present in a device node or there is more than one endpoint at a port, or
20 'endpoint' nodes. For example:
30 endpoint@0 { ... };
31 endpoint@1 { ... };
37 Two 'endpoint' nodes must be linked with each other via their 'remote-endpoint'
39 references are currently not possible. A 'remote-endpoint-label' string is used
40 instead to be able to specify, at least, the label of the peer remote-endpoint.
43 source: endpoint {
[all …]
/Zephyr-latest/drivers/usb/device/
Dusb_dc_sam_usbhs.c110 /* Check if an endpoint is configured */
116 /* Check if an endpoint is enabled */
122 /* Reset and endpoint */
130 /* Enable endpoint interrupts, depending of the type and direction */
134 /* Control endpoint: enable SETUP and OUT */ in usb_dc_ep_enable_interrupts()
148 /* Reset the endpoint FIFO pointer to the beginning of the endpoint memory */
157 /* Fetch a byte from the endpoint FIFO */
163 /* Put a byte from the endpoint FIFO */
169 /* Handle interrupts on a control endpoint */
204 /* Handle interrupts on a non-control endpoint */
[all …]
Dusb_dc_sam0.c32 /* The endpoint size stored in USB.PCKSIZE.SIZE */
76 /* Handles interrupts on an endpoint */
81 UsbDeviceEndpoint *endpoint = &regs->DeviceEndpoint[ep]; in usb_sam0_ep_isr() local
82 uint32_t intflag = endpoint->EPINTFLAG.reg; in usb_sam0_ep_isr()
84 endpoint->EPINTFLAG.reg = intflag; in usb_sam0_ep_isr()
124 UsbDeviceEndpoint *endpoint = &regs->DeviceEndpoint[0]; in usb_sam0_isr() local
129 endpoint->EPINTENSET.reg = USB_DEVICE_EPINTENSET_TRCPT0 | in usb_sam0_isr()
136 /* Dispatch the endpoint interrupts */ in usb_sam0_isr()
368 LOG_ERR("invalid endpoint configuration"); in usb_dc_ep_check_cap()
373 LOG_ERR("endpoint index/address too high"); in usb_dc_ep_check_cap()
[all …]
/Zephyr-latest/drivers/pcie/endpoint/
DKconfig1 # PCIe Endpoint configuration options
7 bool "PCIe Endpoint support"
9 This option enables PCIe Endpoint support.
17 comment "PCIe Endpoint Drivers"
19 source "drivers/pcie/endpoint/Kconfig.iproc"
/Zephyr-latest/subsys/ipc/ipc_service/backends/
DKconfig8 The backend must be registered before the endpoint register.
26 Chosing this backend results in single endpoint implementation based
30 bool "ICMSG backend with multi-endpoint support in initiator role"
36 Chosing this backend results in multi endpoint implementation based
41 bool "ICMSG backend with multi-endpoint support in follower role"
47 Chosing this backend results in multi endpoint implementation based
/Zephyr-latest/doc/connectivity/usb/device/api/
Dusb_device.rst14 Upon completion the registered endpoint callback will be called. Before
16 the previous write. When data is received, the registered endpoint callback
18 For CDC ACM sample driver this happens via the OUT bulk endpoint handler
19 (cdc_acm_bulk_out) mentioned in the endpoint array (cdc_acm_ep_data).
24 USB transaction(s), depending endpoint max packet size. The class driver does
25 not have to implement endpoint callback and should set this callback to the
/Zephyr-latest/include/zephyr/drivers/pcie/
Dcontroller.h34 * @brief Function called to read a 32-bit word from an endpoint's configuration space.
36 * Read a 32-bit word from an endpoint's configuration space with the PCI Express Controller
40 * @param bdf PCI(e) endpoint
42 * @return the word read (0xFFFFFFFFU if nonexistent endpoint or word)
48 * @brief Function called to write a 32-bit word to an endpoint's configuration space.
50 * Write a 32-bit word to an endpoint's configuration space with the PCI Express Controller
54 * @param bdf PCI(e) endpoint
62 * @brief Function called to allocate a memory region subset for an endpoint Base Address Register.
71 * @param bdf PCI(e) endpoint
84 * for an endpoint Base Address Register.
[all …]
/Zephyr-latest/drivers/usb/udc/
Dudc_common.h51 * @brief Get pointer to endpoint configuration structure.
54 * @param[in] ep Endpoint address
56 * @return pointer to endpoint configuration or NULL on error.
62 * @brief Checks if the endpoint is busy
65 * @param[in] ep Endpoint address
67 * @return true if endpoint is busy
72 * @brief Helper function to set endpoint busy state
75 * @param[in] ep Endpoint address
82 * @brief Get UDC request from endpoint FIFO.
84 * This function removes request from endpoint FIFO.
[all …]
/Zephyr-latest/tests/drivers/video/api/
Dapp.overlay25 test_video_emul_imager_ep_out: endpoint {
26 remote-endpoint-label = "test_video_emul_rx_ep_in";
41 test_video_emul_rx_ep_in: endpoint@0 {
43 remote-endpoint-label = "test_video_emul_imager_ep_out";
46 test_video_emul_rx_ep_out: endpoint@1 {
48 remote-endpoint-label = "application";
/Zephyr-latest/dts/bindings/usb/
Dsnps,dwc2.yaml26 Number of configured OUT endpoints including control endpoint.
32 Number of configured IN endpoints including control endpoint.
38 Value of the GHWCFG1 register. It is used to determine available endpoint
45 Value of the GHWCFG2 register. It is used to determine available endpoint
52 Value of the GHWCFG4 register. It is used to determine available endpoint
/Zephyr-latest/tests/drivers/build_all/video/
Dmimxrt1170_evk_mimxrt1176_cm7.overlay41 ov5640_ep_out: endpoint {
42 remote-endpoint-label = "mipi_csi2rx_ep_in";
58 test_csi_ep_in: endpoint {
59 remote-endpoint-label = "test_mipi_csi2rx_ep_out";
78 test_mipi_csi2rx_ep_out: endpoint {
79 remote-endpoint-label = "test_csi_ep_in";
86 mipi_csi2rx_ep_in: endpoint {
87 remote-endpoint-label = "ov5640_ep_out";
/Zephyr-latest/doc/services/ipc/ipc_service/backends/
Dipc_service_icbmsg.rst170 * **Binding message** - Message exchanged during endpoint binding process (described below).
221 - endpoint address
229 The data message was sent over the endpoint specified in ``endpoint address``.
230 The endpoint binding procedure must be finished before sending this control message.
262 - endpoint address
281 - endpoint address
288 It is similar to the ``MSG_RELEASE_DATA`` except the ``endpoint address`` is required.
298 After ICBMsg initialization, you are ready for the endpoint binding procedure.
300 Endpoint Binding
308 * **Initiator** - It assigns endpoint addresses and sends binding messages.
[all …]

12345678910>>...13