/Zephyr-latest/dts/bindings/input/ |
D | input-keymap.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 Row-column to key mapper 7 Listens for row-column events from the parent device and reports key events. 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 12 #include <zephyr/dt-bindings/input/keymap.h> 17 compatible = "input-keymap"; 29 row-size = <3>; 30 col-size = <3>; 34 compatible: "input-keymap" 43 row-size: [all …]
|
D | gpio-kbd-matrix.yaml | 2 # SPDX-License-Identifier: Apache-2.0 11 kbd-matrix { 12 compatible = "gpio-kbd-matrix"; 13 row-gpios = <&gpio0 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>, 15 col-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>, 18 no-ghostkey-check; 21 compatible: "gpio-kbd-matrix" 24 - name: kbd-matrix-common.yaml 25 property-blocklist: 26 - row-size [all …]
|
D | kbd-matrix-common.yaml | 2 # SPDX-License-Identifier: Apache-2.0 9 row-size: 14 col-size: 19 poll-period-ms: 26 stable-poll-period-ms: 30 stable, defaults to poll-period-ms value if unspecified. 32 poll-timeout-ms: 39 debounce-down-ms: 45 debounce-up-ms: 51 settle-time-us: [all …]
|
D | ite,it8801-kbd.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: ITE IT8801 I2C-based keyboard matrix scan controller 6 compatible: "ite,it8801-kbd" 8 include: [kbd-matrix-common.yaml, pinctrl-device.yaml] 19 kso-mapping: 22 row-size: 25 col-size:
|
D | microchip,xec-kbd.yaml | 3 # SPDX-License-Identifier: Apache-2.0 7 compatible: "microchip,xec-kbd" 9 include: [kbd-matrix-common.yaml, pinctrl-device.yaml] 12 "#address-cells": 16 "#size-cells": 36 row-size: 39 col-size:
|
D | nuvoton,npcx-kbd.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "nuvoton,npcx-kbd" 8 include: [kbd-matrix-common.yaml, pinctrl-device.yaml] 17 pinctrl-0: 20 pinctrl-names: 23 wui-maps: 27 Mapping table between Wake-Up Input (WUI) and KSIs. 30 wui-maps = <&wui_io30 &wui_io31 &wui_io27 &wui_io26 33 row-size: 36 col-size:
|
D | ite,it8xxx2-kbd.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "ite,it8xxx2-kbd" 8 include: [kbd-matrix-common.yaml, pinctrl-device.yaml] 26 kso16-gpios: 27 type: phandle-array 32 kso17-gpios: 33 type: phandle-array 38 kso-ignore-mask: 43 to skip KSO signals between 0 and (col-size - 1) that are used as GPIOs. 46 pinctrl-0: [all …]
|
/Zephyr-latest/subsys/sip_svc/ |
D | sip_svc_id_mgr.c | 2 * Copyright (c) 2022-2023, Intel Corporation. 4 * SPDX-License-Identifier: Apache-2.0 15 * Create a id key pool using size variable 0..size-1, where we can 18 struct sip_svc_id_pool *sip_svc_id_mgr_create(uint32_t size) in sip_svc_id_mgr_create() argument 24 if (size == SIP_SVC_ID_INVALID) { in sip_svc_id_mgr_create() 33 id_pool->size = size; in sip_svc_id_mgr_create() 35 id_pool->id_list = k_malloc(size * sizeof(uint32_t)); in sip_svc_id_mgr_create() 36 if (!id_pool->id_list) { in sip_svc_id_mgr_create() 41 mask_size = size / sizeof(uint32_t); in sip_svc_id_mgr_create() 42 if (size % sizeof(uint32_t)) { in sip_svc_id_mgr_create() [all …]
|
/Zephyr-latest/dts/bindings/display/ |
D | nordic,nrf-led-matrix.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "nordic,nrf-led-matrix" 8 include: display-controller.yaml 11 row-gpios: 12 type: phandle-array 17 col-gpios: 18 type: phandle-array 23 pixel-mapping: 24 type: uint8-array 29 array corresponds to one pixel of the matrix and specifies the row [all …]
|
/Zephyr-latest/dts/bindings/memory-controllers/ |
D | renesas,ra-sdram.yaml | 2 # SPDX-License-Identifier: Apache-2.0 7 pinctrl-0 = <&sdram_default>; 8 pinctrl-names = "default"; 10 auto-refresh-interval = <10>; 11 auto-refresh-count = <8>; 12 precharge-cycle-count = <3>; 13 multiplex-addr-shift = "10-bit"; 14 edian-mode = "little-endian"; 15 continuous-access; 16 bus-width = "16-bit"; [all …]
|
/Zephyr-latest/include/zephyr/input/ |
D | input_kbd_matrix.h | 4 * SPDX-License-Identifier: Apache-2.0 26 #define INPUT_KBD_MATRIX_COLUMN_DRIVE_NONE -1 29 #define INPUT_KBD_MATRIX_COLUMN_DRIVE_ALL -2 34 /** Row entry data type */ 46 * @brief Enables or disables a specific row, column combination in the actual 49 * This allows enabling or disabling specific row, column combination in the 56 * @param row The matrix row to enable or disable. 58 * @param enabled Whether the specified row, col has to be enabled or disabled. 61 * @retval -errno Negative errno if row or col are out of range for the device. 64 uint8_t row, uint8_t col, bool enabled); [all …]
|
/Zephyr-latest/doc/services/input/ |
D | gpio-kbd.rst | 1 .. _gpio-kbd: 6 The :dtcompatible:`gpio-kbd-matrix` driver supports a large variety of keyboard 12 row GPIOs (inputs) and selects on the columns GPIOs (output). 21 .. figure:: no-diodes.svg 28 row GPIOs at the same time. 30 .. code-block:: devicetree 32 kbd-matrix { 33 compatible = "gpio-kbd-matrix"; 34 row-gpios = <&gpio0 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>, 37 col-gpios = <&gpio0 3 GPIO_ACTIVE_LOW>, [all …]
|
/Zephyr-latest/subsys/input/ |
D | input_utils.c | 4 * SPDX-License-Identifier: Apache-2.0 62 LOG_INF("input event: dev=%-16s %3s type=%2x code=%3d value=%d", in input_dump_cb() 63 evt->dev ? evt->dev->name : "NULL", in input_dump_cb() 64 evt->sync ? "SYN" : "", in input_dump_cb() 65 evt->type, in input_dump_cb() 66 evt->code, in input_dump_cb() 67 evt->value); in input_dump_cb() 96 return -EINVAL; in input_cmd_report() 106 return -EINVAL; in input_cmd_report() 133 const struct input_kbd_matrix_common_config *cfg = kbd_matrix_state_dev->config; in kbd_matrix_state_log_entry() [all …]
|
/Zephyr-latest/scripts/footprint/ |
D | size_report | 3 # Copyright (c) 2016, 2020-2024 Intel Corporation 5 # SPDX-License-Identifier: Apache-2.0 11 Process an ELF file to generate size report on RAM and ROM. 49 DT_LOCATION = re.compile(r"\(DW_OP_addr: ([0-9a-f]+)\)") 60 """Get the size of a symbol""" 143 # Ignore symbols with size == 0 189 sec_end = sec_start + (sec_size - 1 if sec_size else 0) 191 f"0x{sec_start:08x}-0x{sec_end:08x} " 192 f"{descr} '{section.name}': size={sec_size}, " 211 size = section['sh_size'] [all …]
|
/Zephyr-latest/tests/drivers/input/kbd_matrix/boards/ |
D | native_sim.overlay | 4 * SPDX-License-Identifier: Apache-2.0 8 test_kbd_scan: test-kbd-scan { 9 compatible = "test-kbd-scan"; 10 row-size = <3>; 11 col-size = <3>; 12 poll-period-ms = <5>; 13 debounce-down-ms = <40>; 14 debounce-up-ms = <80>; 15 poll-timeout-ms = <500>;
|
/Zephyr-latest/scripts/build/ |
D | gen_cfb_font_header.py | 5 # SPDX-License-Identifier: Apache-2.0 22 width, height = image.size 35 for row in range(0, height): 41 if pixels[col, row]: 53 row = octet * 8 + bit 54 if pixels[col, row]: 66 value = value[::-1] 73 font = ImageFont.truetype(args.input, args.size) 80 size = font.getbbox(chr(i)) 83 fw = size[2] - size[0] # right - left [all …]
|
/Zephyr-latest/tests/drivers/build_all/input/ |
D | it82xx2_evb.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 /delete-node/ &kbd; 13 compatible = "ite,it8801-mfd"; 15 irq-gpios = <&gpioa 1 0>; 19 #include <ite/it8801-common-cfg.dtsi> 25 kso-mapping = <0 1 20 3 4 5 6 17 18 16 15 11 12>; 26 row-size = <8>; 27 col-size = <13>; 29 kscan_input: kscan-input { 30 compatible = "zephyr,kscan-input";
|
D | app.overlay | 4 * SPDX-License-Identifier: Apache-2.0 7 #include <zephyr/dt-bindings/input/input-event-codes.h> 11 #address-cells = <1>; 12 #size-cells = <1>; 17 #io-channel-cells = <1>; 18 #address-cells = <1>; 19 #size-cells = <0>; 26 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; 32 gpio-controller; 34 #gpio-cells = <0x2>; [all …]
|
/Zephyr-latest/tests/cmake/hwm/board_extend/oot_root/boards/arm/mps2/ |
D | mps2_an521_cputest.dts | 2 * Copyright (c) 2018-2019 Linaro Limited 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 10 #include <arm/armv8-m.dtsi> 11 #include <zephyr/dt-bindings/i2c/i2c.h> 12 #include <zephyr/dt-bindings/input/input-event-codes.h> 16 #address-cells = <1>; 17 #size-cells = <1>; 24 uart-1 = &uart1; 30 zephyr,shell-uart = &uart0; [all …]
|
/Zephyr-latest/boards/arm/mps2/ |
D | mps2_an521_cpu0.dts | 2 * Copyright (c) 2018-2019 Linaro Limited 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 10 #include <arm/armv8-m.dtsi> 11 #include <zephyr/dt-bindings/i2c/i2c.h> 12 #include <zephyr/dt-bindings/input/input-event-codes.h> 16 #address-cells = <1>; 17 #size-cells = <1>; 24 uart-1 = &uart1; 30 zephyr,shell-uart = &uart0; [all …]
|
D | mps2_an521_cpu0_ns.dts | 2 * Copyright (c) 2018-2019 Linaro Limited 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 10 #include <arm/armv8-m.dtsi> 11 #include <zephyr/dt-bindings/i2c/i2c.h> 12 #include <zephyr/dt-bindings/input/input-event-codes.h> 16 #address-cells = <1>; 17 #size-cells = <1>; 29 zephyr,shell-uart = &uart0; 35 compatible = "gpio-leds"; [all …]
|
D | mps2_an521_cpu1.dts | 2 * Copyright (c) 2018-2019 Linaro Limited 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 10 #include <arm/armv8-m.dtsi> 11 #include <zephyr/dt-bindings/i2c/i2c.h> 12 #include <zephyr/dt-bindings/input/input-event-codes.h> 16 #address-cells = <1>; 17 #size-cells = <1>; 29 zephyr,shell-uart = &uart0; 35 compatible = "gpio-leds"; [all …]
|
/Zephyr-latest/drivers/input/ |
D | Kconfig.kbd_matrix | 2 # SPDX-License-Identifier: Apache-2.0 13 int "Stack size for the keyboard matrix thread" 16 Size of the stack used for the keyboard matrix thread. 26 bool "16 bit row size support" 34 If enabled, the actual-key-mask devicetree property data is stored in
|
/Zephyr-latest/drivers/display/ |
D | Kconfig.nrf_led_matrix | 2 # SPDX-License-Identifier: Apache-2.0 15 to pixels are specified in properties of a "nordic,nrf-led-matrix" 19 (the latter value depends on the chosen pixel group size - the number 20 of LEDs in one row that can be lit simultaneously).
|
/Zephyr-latest/include/zephyr/drivers/misc/grove_lcd/ |
D | grove_lcd.h | 1 /* grove_lcd.h - Public API for the Grove RGB LCD device */ 5 * SPDX-License-Identifier: Apache-2.0 30 * @param size the length of the text in bytes 32 void glcd_print(const struct device *dev, char *data, uint32_t size); 39 * @param col the column for the cursor to be moved to (0-15) 40 * @param row the row it should be moved to (0 or 1) 42 void glcd_cursor_pos_set(const struct device *dev, uint8_t col, uint8_t row); 121 * dot size, and text display quality.
|