| /OK3568_Linux_fs/kernel/drivers/input/keyboard/ |
| H A D | stmpe-keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 5 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson 60 * struct stmpe_keypad_variant - model-specific attributes 62 * auto-increments on multiple read 63 * @set_pullup: whether the pins need to have their pull-ups set 67 * @max_rows: maximum number of rows supported 69 * @row_gpios: bitmask of gpios which can be used for rows 89 .col_gpios = 0x000ff, /* GPIO 0 - 7 */ 90 .row_gpios = 0x0ff00, /* GPIO 8 - 15 */ [all …]
|
| H A D | samsung-keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 23 #include <linux/input/samsung-keypad.h> 73 unsigned int rows; member 85 for (col = 0; col < keypad->cols; col++) { in samsung_keypad_scan() 86 if (keypad->type == KEYPAD_TYPE_S5PV210) { in samsung_keypad_scan() 94 writel(val, keypad->base + SAMSUNG_KEYIFCOL); in samsung_keypad_scan() 97 val = readl(keypad->base + SAMSUNG_KEYIFROW); in samsung_keypad_scan() 98 row_state[col] = ~val & ((1 << keypad->rows) - 1); in samsung_keypad_scan() 102 writel(0, keypad->base + SAMSUNG_KEYIFCOL); in samsung_keypad_scan() 108 struct input_dev *input_dev = keypad->input_dev; in samsung_keypad_report() [all …]
|
| H A D | tc3589x-keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 73 * struct tc35893_keypad_platform_data - platform specific keypad data 75 * @krow: mask for available rows, value is 0xFF 95 * struct tc_keypad - data structure used by keypad driver 99 * @krow: number of rows 117 struct tc3589x *tc3589x = keypad->tc3589x; in tc3589x_keypad_init_key_hardware() 118 const struct tc3589x_keypad_platform_data *board = keypad->board; in tc3589x_keypad_init_key_hardware() 121 if (board->kcol > TC3589x_MAX_KPCOL || board->krow > TC3589x_MAX_KPROW) in tc3589x_keypad_init_key_hardware() 122 return -EINVAL; in tc3589x_keypad_init_key_hardware() [all …]
|
| H A D | tegra-kbc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (c) 2009-2011, NVIDIA Corporation. 80 unsigned char num; member 156 val = readl(kbc->mmio + KBC_KP_ENT0_0 + i); in tegra_kbc_report_keys() 165 keycodes[num_down] = kbc->keycode[scancode]; in tegra_kbc_report_keys() 167 if ((keycodes[num_down] == KEY_FN) && kbc->use_fn_map) in tegra_kbc_report_keys() 178 * Ghosting occurs if there are 3 keys such that - in tegra_kbc_report_keys() 182 if (kbc->use_ghost_filter && num_down >= 3) { in tegra_kbc_report_keys() 190 * and the other is in the same column as the i-th key. in tegra_kbc_report_keys() 210 scancodes[i] += kbc->max_keys; in tegra_kbc_report_keys() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/ |
| H A D | matrix-keymap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 unsigned int rows, unsigned int cols, in matrix_keypad_map_key() argument 26 unsigned short *keymap = input_dev->keycode; in matrix_keypad_map_key() 31 if (row >= rows || col >= cols) { in matrix_keypad_map_key() 32 dev_err(input_dev->dev.parent, in matrix_keypad_map_key() 33 "%s: invalid keymap entry 0x%x (row: %d, col: %d, rows: %d, cols: %d)\n", in matrix_keypad_map_key() 34 __func__, key, row, col, rows, cols); in matrix_keypad_map_key() 39 __set_bit(code, input_dev->keybit); in matrix_keypad_map_key() 45 * matrix_keypad_parse_properties() - Read properties of matrix keypad 48 * @rows: Returns number of matrix rows [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/ |
| H A D | qcom,pm8xxx-keypad.txt | 5 - compatible: 9 "qcom,pm8058-keypad" 10 "qcom,pm8921-keypad" 12 - reg: 14 Value type: <prop-encoded-array> 17 - interrupts: 19 Value type: <prop-encoded-array> 25 - linux,keymap: 27 Value type: <prop-encoded-array> 29 input/matrix-keymap.txt. [all …]
|
| H A D | brcm,bcm-keypad.txt | 3 Broadcom Keypad controller is used to interface a SoC with a matrix-type 6 The keypad controller can sense a key-press and key-release and report the 9 This binding is based on the matrix-keymap binding with the following 12 keypad,num-rows and keypad,num-columns are required. 15 - compatible: should be "brcm,bcm-keypad" 17 - reg: physical base address of the controller and length of memory mapped 20 - interrupts: The interrupt number to the cpu. 23 - keypad,num-rows: Number of row lines connected to the keypad 26 - keypad,num-columns: Number of column lines connected to the 29 - col-debounce-filter-period: The debounce period for the Column filter. [all …]
|
| H A D | omap-keypad.txt | 3 TI's Keypad controller is used to interface a SoC with a matrix-type 6 The keypad controller can sense a key-press and key-release and report the 9 This binding is based on the matrix-keymap binding with the following 12 keypad,num-rows and keypad,num-columns are required. 15 - compatible: should be one of the following 16 - "ti,omap4-keypad": For controllers compatible with omap4 keypad 20 - linux,keypad-no-autorepeat: do no enable autorepeat feature. 24 compatible = "ti,omap4-keypad"; 25 keypad,num-rows = <2>; 26 keypad,num-columns = <8>; [all …]
|
| H A D | twl4030-keypad.txt | 3 TWL4030's Keypad controller is used to interface a SoC with a matrix-type 6 The keypad controller can sense a key-press and key-release and report the 9 This binding is based on the matrix-keymap binding with the following 12 * keypad,num-rows and keypad,num-columns are required. 15 - compatible: should be one of the following 16 - "ti,twl4030-keypad": For controllers compatible with twl4030 keypad 18 - interrupt: should be one of the following 19 - <1>: For controllers compatible with twl4030 keypad controller. 23 compatible = "ti,twl4030-keypad"; 25 keypad,num-rows = <8>; [all …]
|
| H A D | lpc32xx-key.txt | 3 This binding is based on the matrix-keymap binding with the following 7 - compatible: Should be "nxp,lpc3220-key" 8 - reg: Physical base address of the controller and length of memory mapped 10 - interrupts: The interrupt number to the cpu. 11 - clocks: phandle to clock controller plus clock-specifier pair 12 - nxp,debounce-delay-ms: Debounce delay in ms 13 - nxp,scan-delay-ms: Repeated scan period in ms 14 - linux,keymap: the key-code to be reported when the key is pressed 16 Documentation/devicetree/bindings/input/matrix-keymap.txt 18 Note: keypad,num-rows and keypad,num-columns are required, and must be equal [all …]
|
| H A D | matrix-keymap.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/matrix-keymap.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Common key matrices binding for matrix-connected key boards 10 - Olof Johansson <olof@lixom.net> 13 A simple common binding for matrix-connected key boards. Currently targeted at 19 for said properties are "linux,fn-keymap" or with another descriptive 24 $ref: '/schemas/types.yaml#/definitions/uint32-array' 26 An array of packed 1-cell entries containing the equivalent of row, [all …]
|
| H A D | st-keyscan.txt | 4 matrix-keymap. 7 - compatible: "st,sti-keyscan" 9 - reg: Register base address and size of st-keyscan controller. 11 - interrupts: Interrupt number for the st-keyscan controller. 13 - clocks: Must contain one entry, for the module clock. 14 See ../clocks/clock-bindings.txt for details. 16 - pinctrl: Should specify pin control groups used for this controller. 17 See ../pinctrl/pinctrl-bindings.txt for details. 19 - linux,keymap: The keymap for keys as described in the binding document 20 devicetree/bindings/input/matrix-keymap.txt. [all …]
|
| H A D | samsung-keypad.txt | 3 Samsung's Keypad controller is used to interface a SoC with a matrix-type 6 The keypad controller can sense a key-press and key-release and report the 10 - compatible: should be one of the following 11 - "samsung,s3c6410-keypad": For controllers compatible with s3c6410 keypad 13 - "samsung,s5pv210-keypad": For controllers compatible with s5pv210 keypad 16 - reg: physical base address of the controller and length of memory mapped 19 - interrupts: The interrupt number to the cpu. 22 - samsung,keypad-num-rows: Number of row lines connected to the keypad 25 - samsung,keypad-num-columns: Number of column lines connected to the 28 - Keys represented as child nodes: Each key connected to the keypad [all …]
|
| H A D | tca8418_keypad.txt | 1 This binding is based on the matrix-keymap binding with the following 4 keypad,num-rows and keypad,num-columns are required. 7 - compatible: "ti,tca8418" 8 - reg: the I2C address 9 - interrupts: IRQ line number, should trigger on falling edge 10 - linux,keymap: Keys definitions, see keypad-matrix.
|
| H A D | stmpe-keypad.txt | 4 - compatible : "st,stmpe-keypad" 5 - linux,keymap : See ./matrix-keymap.txt 8 - debounce-interval : Debouncing interval time in milliseconds 9 - st,scan-count : Scanning cycles elapsed before key data is updated 10 - st,no-autorepeat : If specified device will not autorepeat 11 - keypad,num-rows : See ./matrix-keymap.txt 12 - keypad,num-columns : See ./matrix-keymap.txt 17 compatible = "st,stmpe-keypad"; 19 debounce-interval = <64>; 20 st,scan-count = <8>; [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/ |
| H A D | tc3589x.txt | 1 * Toshiba TC3589x multi-purpose expander 3 The Toshiba TC3589x series are I2C-based MFD devices which may expose the 4 following built-in devices: gpio, keypad, rotator (vibrator), PWM (for 7 - TC35890 8 - TC35892 9 - TC35893 10 - TC35894 11 - TC35895 12 - TC35896 15 - compatible : must be "toshiba,tc35890", "toshiba,tc35892", "toshiba,tc35893", [all …]
|
| /OK3568_Linux_fs/buildroot/dl/sox/git/src/ |
| H A D | spectrogram.c | 1 /* libSoX effect: Spectrogram (c) 2008-9 robs@users.sourceforge.net 15 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 39 #define is_p2(x) !(x & (x - 1)) 44 #define MAX_Y_SIZE 16384 /* avoid multiplication overflow on 32-bit systems */ 100 /* Per-channel work area */ 107 int rows; member 125 ((double)(cols) * p->step_size * p->block_steps / effp->in_signal.rate) 189 priv_t *p = effp->priv; in getopts() 198 p->dB_range = 120; in getopts() 199 p->spectrum_points = 249; in getopts() [all …]
|
| /OK3568_Linux_fs/external/xserver/xkb/ |
| H A D | XKBGAlloc.c | 28 #include <dix-config.h> 68 extra = ((*num_inout) - (first + count)) * elem_sz; in _XkbFreeGeomLeafElems() 72 (*num_inout) -= count; in _XkbFreeGeomLeafElems() 99 count = (*num_inout) - first; in _XkbFreeGeomNonLeafElems() 119 i = ((*num_inout) - (first + count)) * elem_sz; in _XkbFreeGeomNonLeafElems() 122 (*num_inout) -= count; in _XkbFreeGeomNonLeafElems() 134 free(prop->name); in _XkbClearProperty() 135 prop->name = NULL; in _XkbClearProperty() 136 free(prop->value); in _XkbClearProperty() 137 prop->value = NULL; in _XkbClearProperty() [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/flann/ |
| H A D | index_testing.h | 4 * Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved. 5 * Copyright 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved. 72 DistanceType num = distance(inputData[neighbors[i]], target, veclen); in computeDistanceRaport() local 74 if ((den==0)&&(num==0)) { in computeDistanceRaport() 78 ret += num/den; in computeDistanceRaport() 114 for (size_t i = 0; i < testData.rows; i++) { in search_with_ground_truth() 125 float precicion = (float)correct/(nn*testData.rows); in search_with_ground_truth() 127 dist = distR/(testData.rows*nn); in search_with_ground_truth() 130 checks, precicion, time, 1000.0 * time / testData.rows, dist); in search_with_ground_truth() 144 Logger::info("---------------------------------------------------------\n"); [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | exynos4412-smdk4412.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. 12 /dts-v1/; 14 #include "exynos-mfc-reserved-memory.dtsi" 27 stdout-path = "serial1:115200n8"; 30 fixed-rate-clocks { 32 compatible = "samsung,clock-xxti"; 33 clock-frequency = <0>; 37 compatible = "samsung,clock-xusbxti"; 38 clock-frequency = <24000000>; [all …]
|
| H A D | exynos4210-smdkv310.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. 7 * Copyright (c) 2010-2011 Linaro Ltd. 14 /dts-v1/; 16 #include <dt-bindings/gpio/gpio.h> 17 #include "exynos-mfc-reserved-memory.dtsi" 30 stdout-path = "serial1:115200n8"; 33 fixed-rate-clocks { 35 compatible = "samsung,clock-xxti"; 36 clock-frequency = <12000000>; [all …]
|
| H A D | qcom-msm8660-surf.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/input/input.h> 4 #include "qcom-msm8660.dtsi" 8 compatible = "qcom,msm8660-surf", "qcom,msm8660"; 15 stdout-path = "serial0:115200n8"; 28 vsdcc_fixed: vsdcc-regulator { 29 compatible = "regulator-fixed"; 30 regulator-name = "SDCC Power"; 31 regulator-min-microvolt = <2700000>; 32 regulator-max-microvolt = <2700000>; [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/input/ |
| H A D | cros_ec_keyb.c | 6 * SPDX-License-Identifier: GPL-2.0+ 29 int key_rows; /* Number of keyboard rows */ 43 * @return number of pressed keys, 0 for none, -EIO on error 56 if (cros_ec_scan_keyboard(dev->parent, &scan)) { in check_for_keys() 58 return -EIO; in check_for_keys() 71 for (col = num_keys = bit = 0; col < priv->matrix.num_cols; in check_for_keys() 73 for (row = 0; row < priv->matrix.num_rows; row++) { in check_for_keys() 79 key->row = row; in check_for_keys() 80 key->col = col; in check_for_keys() 81 key->valid = 1; in check_for_keys() [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_mobilenet_demo/src/ |
| H A D | main.cc | 7 // http://www.apache.org/licenses/LICENSE-2.0 15 /*------------------------------------------- 17 -------------------------------------------*/ 34 /*------------------------------------------- 36 -------------------------------------------*/ 42 … attr->index, attr->name, attr->n_dims, attr->dims[0], attr->dims[1], attr->dims[2], attr->dims[3], in dump_tensor_attr() 43 attr->n_elems, attr->size, get_format_string(attr->fmt), get_type_string(attr->type), in dump_tensor_attr() 44 get_qnt_type_string(attr->qnt_type), attr->zp, attr->scale); in dump_tensor_attr() 98 /*------------------------------------------- 100 -------------------------------------------*/ [all …]
|
| /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/input/ |
| H A D | cros-ec-keyb.txt | 8 This binding is based on matrix-keymap.txt and extends/modifies it as follows: 11 - compatible: "google,cros-ec-keyb" 14 - google,needs-ghost-filter: True to enable a ghost filter for the matrix 21 cros-ec-keyb { 22 compatible = "google,cros-ec-keyb"; 23 keypad,num-rows = <8>; 24 keypad,num-columns = <13>; 25 google,needs-ghost-filter; 48 /* F5 6 - \ */
|