Home
last modified time | relevance | path

Searched +full:pseudo +full:- +full:device (Results 1 – 25 of 50) sorted by relevance

12

/Zephyr-latest/drivers/coredump/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
5 bool "Coredump pseudo-device drivers"
7 Enable support for a pseudo-device to help capturing
13 int "Coredump device init priority"
16 Coredump pseudo-device driver initialization priority.
19 module-str = coredump device
/Zephyr-latest/drivers/crypto/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
21 module-str = CRYPTO
45 string "Device name for TinyCrypt Pseudo device"
49 Device name for TinyCrypt Pseudo device.
63 string "Device name for mbedTLS Pseudo device"
67 Device name for mbedTLS Pseudo device.
/Zephyr-latest/include/zephyr/drivers/
Dcoredump.h4 * SPDX-License-Identifier: Apache-2.0
9 * @brief Public APIs for coredump pseudo-device driver
15 #include <zephyr/device.h>
23 * @brief Coredump pseudo-device driver APIs
24 * @defgroup coredump_device_interface Coredump pseudo-device driver APIs
38 /** Node of single-linked list, do not modify */
67 typedef void (*coredump_device_dump_t)(const struct device *dev);
73 typedef bool (*coredump_device_register_memory_t)(const struct device *dev,
80 typedef bool (*coredump_device_unregister_memory_t)(const struct device *dev,
87 typedef bool (*coredump_device_register_callback_t)(const struct device *dev,
[all …]
/Zephyr-latest/dts/bindings/input/
Dzephyr,lvgl-keypad-input.yaml2 # SPDX-License-Identifier: Apache-2.0
5 LVGL keypad indev pseudo-device
10 The property input-codes can be used to setup a mapping of input codes
14 The pseudo device can be associated to a specific device to listen only
15 for events from that device. Example configuration:
17 #include <zephyr/dt-bindings/lvgl/lvgl.h>
20 compatible = "zephyr,lvgl-keypad-input";
22 input-codes = <INPUT_KEY_1 INPUT_KEY_2>;
23 lvgl-codes = <LV_KEY_NEXT LV_KEY_PREV>;
26 compatible: "zephyr,lvgl-keypad-input"
[all …]
Dzephyr,lvgl-common-input.yaml2 # SPDX-License-Identifier: Apache-2.0
4 # Common fields for input lvgl pseudo devices
10 Input device phandle.
Dzephyr,lvgl-pointer-input.yaml2 # SPDX-License-Identifier: Apache-2.0
5 LVGL pointer indev pseudo-device
10 Needs to be associated to a specific device to listen for events
11 from that device. Example configuration:
14 compatible = "zephyr,lvgl-pointer-input";
18 compatible: "zephyr,lvgl-pointer-input"
20 include: zephyr,lvgl-common-input.yaml
23 swap-xy:
26 Swap x-y axes to align input with the display.
28 invert-x:
[all …]
Dzephyr,lvgl-button-input.yaml2 # SPDX-License-Identifier: Apache-2.0
5 LVGL button indev pseudo-device
13 compatible = "zephyr,lvgl-button-input";
15 input-codes = <INPUT_KEY_0 INPUT_KEY_1>;
19 When the device receives an input_event with code INPUT_KEY_0
22 compatible: "zephyr,lvgl-button-input"
24 include: zephyr,lvgl-common-input.yaml
27 input-codes:
36 Array of points (x,y) the associated input-code is mapped to.
Dzephyr,input-double-tap.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Input double tap pseudo-device
10 Can be optionally be associated to a specific device to listen for events
11 only from that device.
15 #include <zephyr/dt-bindings/input/input-event-codes.h>
19 compatible = "zephyr,input-double-tap";
20 input-codes = <INPUT_KEY_0>, <INPUT_KEY_1>;
21 double-tap-codes = <INPUT_KEY_A>, <INPUT_KEY_B>;
22 double-tap-delay-ms = <300>;
25 compatible: "zephyr,input-double-tap"
[all …]
Dzephyr,lvgl-encoder-input.yaml2 # SPDX-License-Identifier: Apache-2.0
5 LVGL encoder indev pseudo-device
13 compatible = "zephyr,lvgl-encoder-input";
14 rotation-input-code = <INPUT_REL_Y>;
15 button-input-code = <INPUT_KEY_0>;
18 compatible: "zephyr,lvgl-encoder-input"
20 include: zephyr,lvgl-common-input.yaml
23 rotation-input-code:
29 button-input-code:
Dzephyr,input-longpress.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Input longpress pseudo-device
10 Can be optionally be associated to a specific device to listen for events
11 only from that device.
15 #include <zephyr/dt-bindings/input/input-event-codes.h>
19 compatible = "zephyr,input-longpress";
20 input-codes = <INPUT_KEY_0>, <INPUT_KEY_1>;
21 short-codes = <INPUT_KEY_A>, <INPUT_KEY_B>;
22 long-codes = <INPUT_KEY_X>, <INPUT_KEY_Y>;
23 long-delay-ms = <1000>;
[all …]
/Zephyr-latest/samples/subsys/display/lvgl/
DREADME.rst1 .. zephyr:code-sample:: lvgl
3 :relevant-api: display_interface input_interface
17 (:dtcompatible:`zephyr,lvgl-pointer-input`), a button widget is displayed
20 The button pseudo device (:dtcompatible:`zephyr,lvgl-button-input`) maps
24 The encoder pseudo device (:dtcompatible:`zephyr,lvgl-encoder-input`)
29 The keypad pseudo device (:dtcompatible:`zephyr,lvgl-keypad-input`) can
32 keypad device, a button matrix is displayed at the bottom of the screen
41 - :ref:`adafruit_2_8_tft_touch_v2` and :ref:`nrf52840dk_nrf52840`
42 - :ref:`buydisplay_2_8_tft_touch_arduino` and :ref:`nrf52840dk_nrf52840`
43 - :ref:`ssd1306_128_shield` and :zephyr:board:`frdm_k64f`
[all …]
/Zephyr-latest/drivers/misc/devmux/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
5 bool "Device Multiplexer (devmux) [EXPERIMENTAL]"
10 Devmux is a pseudo-device that operates as a device switch. It allows
21 greater than the priority of the initially selected muxed device.
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Drpr_cli.rst17 using the device key of the node containing the target Remote Provisioning Server model instance.
29 .. code-block:: C
56 The above example shows pseudo code for starting a scan procedure on the target Remote Provisioning
57 Server node. This procedure will start a ten-second, multiple-device scanning where the generated
59 specified, the same procedure would only scan for the device with the corresponding UUID. After the
65 allowing the Remote Provisioning Server to report additional data for a specific device. The Remote
67 device if it is supported by the unprovisioned device.
75 .. code-block:: C
91 The above example shows pseudo code for remotely provisioning a device through a Remote Provisioning
92 Server node. This procedure will attempt to provision the device with the corresponding UUID, and
[all …]
/Zephyr-latest/doc/hardware/peripherals/
Dcoredump.rst3 Coredump Device
9 The coredump device is a pseudo-device driver with two types.A COREDUMP_TYPE_MEMCPY
10 type exposes device tree bindings for memory address/size values to be included in
12 A COREDUMP_TYPE_CALLBACK device requires exactly one entry in the memory-regions
/Zephyr-latest/dts/bindings/sensor/
Dti,tmag5273.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Texas Instruments Low-Power Linear 3D Hall-Effect Sensor with an I2C interface.
17 #include <zephyr/dt-bindings/sensor/tmag5273.h>
27 include: [sensor-device.yaml, i2c-device.yaml]
30 operation-mode:
38 - 0 # TMAG5273_DT_OPER_MODE_CONTINUOUS (continuous)
39 - 1 # TMAG5273_DT_OPER_MODE_STANDBY (standby)
49 - 0 # TMAG5273_DT_AXIS_NONE
50 - 1 # TMAG5273_DT_AXIS_X
51 - 2 # TMAG5273_DT_AXIS_Y
[all …]
Dti,tmag5170.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Texas Instruments TMAG5170 high-precision, linear 3D Hall-effect sensor.
8 include: [sensor-device.yaml, spi-device.yaml]
11 int-gpios:
12 type: phandle-array
18 operating-mode:
22 Operating mode of the device.
23 1 - stand-by mode - in this mode the device waits for application to trigger
25 2 - active measure mode - continuous sampling on all enabled channels
28 3 - active trigger mode - in this mode, similar to stand-by mode, the device
[all …]
/Zephyr-latest/dts/bindings/coredump/
Dzephyr,coredump.yaml2 # SPDX-License-Identifier: Apache-2.0
8 description: Pseudo-device to help capturing desired data into core dumps
11 memory-regions:
15 coredump-type:
19 Designate which type of coredump device this will be.
20 A device of type COREDUMP_TYPE_MEMCPY can directly memcpy the provided memory-regions
21 into the coredump. The memory-regions array can contain 0 or more entries, and more
23 A device of type COREDUMP_TYPE_CALLBACK must specify exactly one entry in the
24 memory-regions array with a size of 0 and a desired size. The coredump device will
29 coredump_device_register_memory API is not available for a device of this type.
[all …]
/Zephyr-latest/drivers/serial/
Duart_native_ptty.c4 * SPDX-License-Identifier: Apache-2.0
27 * to a dedicated pseudo terminal
29 * The 2nd option is the recommended one for interactive use, as the pseudo
33 * When connected to its own pseudo terminal, it may also auto attach a terminal
37 static int np_uart_stdin_poll_in(const struct device *dev,
39 static int np_uart_tty_poll_in(const struct device *dev,
41 static void np_uart_poll_out(const struct device *dev,
81 * @param dev UART_0 device struct
85 static int np_uart_0_init(const struct device *dev) in np_uart_0_init()
89 d = (struct native_uart_status *)dev->data; in np_uart_0_init()
[all …]
DKconfig.native_posix1 # SPDX-License-Identifier: Apache-2.0
21 bool "Connect the UART to its own pseudo terminal"
43 bool "Support waiting for pseudo terminal client readiness"
47 ``--wait_uart``
48 When ``--wait_uart`` is used, writes to the UART will be held until a
56 This is used for example in PPP (Point-to-Point Protocol)
61 default "xterm -e screen %s &"
63 If the native executable is called with the --attach_uart
67 placeholder for the pseudoterminal device name (e.g. /dev/pts/35)
72 'gnome-terminal -- screen %s'
/Zephyr-latest/subsys/random/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
9 bool "Allow non-random number generator"
11 This option signifies that a non-random number generator is allowed to
16 number generator is not available. The non-random number generator
19 This option is intended to be selected only by application-level
22 truly random. Board-level configurations must not select this option
26 Note that this option does not imply that a non-random number generator
27 is selected -- that is indicated by RNG_GENERATOR_CHOICE. An entropy
28 device-backed random number generator, if available, will be selected by
45 Platform dependent non-cryptographically secure random number support.
[all …]
Drandom_xoshiro128.c5 * SPDX-License-Identifier: CC0-1.0
18 * This is xoshiro128++ 1.0, one of our 32-bit all-purpose, rock-solid
23 * For generating just single-precision (i.e., 32-bit) floating-point
30 #include <zephyr/device.h>
35 static const struct device *const entropy_driver =
42 return (x << k) | (x >> (32 - k)); in rotl()
48 return -ENODEV; in xoshiro128_initialize()
64 /* Entropy device failed or is not yet ready. in xoshiro128_init_state()
65 * Reseed the PRNG state with pseudo-random data until it can in xoshiro128_init_state()
67 * requested before the backing entropy device has been enabled. in xoshiro128_init_state()
[all …]
/Zephyr-latest/drivers/usb_c/vbus/
Dusbc_vbus_numaker.c4 * SPDX-License-Identifier: Apache-2.0
26 * PPC and VBUS rely on TCPC/UTCPD and are just pseudo. They are completely
31 * @brief Immutable device context
34 const struct device *tcpc_dev;
38 * @brief Initializes the usb-c vbus driver
41 * @retval -ENODEV if dependent TCPC device is not ready
43 static int numaker_vbus_init(const struct device *dev) in numaker_vbus_init()
45 const struct numaker_vbus_config *const config = dev->config; in numaker_vbus_init()
46 const struct device *tcpc_dev = config->tcpc_dev; in numaker_vbus_init()
50 LOG_ERR("TCPC device not ready"); in numaker_vbus_init()
[all …]
/Zephyr-latest/drivers/entropy/
Dfake_entropy_native_posix.c4 * SPDX-License-Identifier: Apache-2.0
6 * Pseudo-random entropy generator for the ARCH_POSIX architecture:
8 * this entropy device will always generate the same random sequence when
16 #include <zephyr/device.h>
32 static int entropy_native_posix_get_entropy(const struct device *dev, in entropy_native_posix_get_entropy()
49 length -= to_copy; in entropy_native_posix_get_entropy()
55 static int entropy_native_posix_get_entropy_isr(const struct device *dev, in entropy_native_posix_get_entropy_isr()
70 static int entropy_native_posix_init(const struct device *dev) in entropy_native_posix_init()
78 "Using a test - not safe - entropy source\n"); in entropy_native_posix_init()
109 .descript = "A 32-bit integer seed value for the entropy device, such as " in add_fake_entropy_option()
[all …]
/Zephyr-latest/include/zephyr/posix/net/
Dif_arp.h4 * SPDX-License-Identifier: Apache-2.0
13 /* See https://www.iana.org/assignments/arp-parameters/arp-parameters.xhtml
17 #define ARPHRD_NETROM 0 /* From KA9Q: NET/ROM pseudo. */
29 #define ARPHRD_IEEE1394 24 /* IEEE 1394 IPv4 - RFC 2734. */
30 #define ARPHRD_EUI64 27 /* EUI-64. */
54 #define ARPHRD_FRAD 770 /* Frame Relay Access Device. */
56 #define ARPHRD_LOOPBACK 772 /* Loopback device. */
57 #define ARPHRD_LOCALTLK 773 /* Localtalk device. */
60 #define ARPHRD_SIT 776 /* sit0 device - IPv6-in-IPv4. */
61 #define ARPHRD_IPDDP 777 /* IP-in-DDP tunnel. */
[all …]
/Zephyr-latest/drivers/usb_c/ppc/
Dusbc_ppc_numaker.c4 * SPDX-License-Identifier: Apache-2.0
26 * PPC and VBUS rely on TCPC/UTCPD and are just pseudo. They are completely
31 * @brief Immutable device context
34 const struct device *tcpc_dev;
38 * @brief Initializes the usb-c ppc driver
41 * @retval -ENODEV if dependent TCPC device is not ready
43 static int numaker_ppc_init(const struct device *dev) in numaker_ppc_init()
45 const struct numaker_ppc_config *const config = dev->config; in numaker_ppc_init()
46 const struct device *tcpc_dev = config->tcpc_dev; in numaker_ppc_init()
50 LOG_ERR("TCPC device not ready"); in numaker_ppc_init()
[all …]

12