Home
last modified time | relevance | path

Searched +full:row +full:- +full:delay (Results 1 – 25 of 246) sorted by relevance

12345678910

/linux-6.12.1/Documentation/devicetree/bindings/input/
Dgpio-matrix-keypad.txt4 The matrix keypad supports multiple row and column lines, a key can be
5 placed at each intersection of a unique row and a unique column. The matrix
6 keypad can sense a key-press and key-release by means of GPIO lines and
10 - compatible: Should be "gpio-matrix-keypad"
11 - row-gpios: List of gpios used as row lines. The gpio specifier
13 which these row lines are connected.
14 - col-gpios: List of gpios used as column lines. The gpio specifier
17 - linux,keymap: The definition can be found at
18 bindings/input/matrix-keymap.txt
21 - linux,no-autorepeat: do no enable autorepeat feature.
[all …]
Dnvidia,tegra20-kbc.txt3 can be configured as row or column. The maximum column pin can be 8
4 and maximum row pins can be 16 for Tegra20/Tegra30.
7 - compatible: "nvidia,tegra20-kbc"
8 - reg: Register base address of KBC.
9 - interrupts: Interrupt number for the KBC.
10 - nvidia,kbc-row-pins: The KBC pins which are configured as row. This is an
12 - nvidia,kbc-col-pins: The KBC pins which are configured as column. This is an
14 - linux,keymap: The keymap for keys as described in the binding document
15 devicetree/bindings/input/matrix-keymap.txt.
16 - clocks: Must contain one entry, for the module clock.
[all …]
Dti,nspire-keypad.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/ti,nspire-keypad.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TI-NSPIRE Keypad
10 - Andrew Davis <afd@ti.com>
13 - $ref: input.yaml#
14 - $ref: matrix-keymap.yaml#
19 - ti,nspire-keypad
30 scan-interval:
[all …]
Dqcom,pm8921-keypad.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/qcom,pm8921-keypad.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
13 - $ref: input.yaml#
14 - $ref: matrix-keymap.yaml#
19 - qcom,pm8058-keypad
20 - qcom,pm8921-keypad
27 - description: key sense
[all …]
Dmediatek,mt6779-keypad.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/mediatek,mt6779-keypad.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Mattijs Korpershoek <mkorpershoek@baylibre.com>
13 - $ref: /schemas/input/matrix-keymap.yaml#
16 Mediatek's Keypad controller is used to interface a SoC with a matrix-type
17 keypad device. The keypad controller supports multiple row and column lines.
18 A key can be placed at each intersection of a unique row and a unique column.
19 The keypad controller can sense a key-press and key-release and report the
[all …]
/linux-6.12.1/net/netfilter/ipvs/
Dip_vs_est.c1 // SPDX-License-Identifier: GPL-2.0-or-later
36 avgrate = avgrate*(1-W) + rate*W
38 where W = 2^(-2)
44 * Netlink users can see 64-bit values but sockopt users are restricted
45 to 32-bit values for conns, packets, bps, cps and pps.
50 - cpustats counters are updated per-cpu in SoftIRQ context with BH disabled
51 - kthreads read the cpustats to update the estimators (svcs, dests, total)
52 - the states of estimators can be read (get stats) or modified (zero stats)
56 - estimators are added initially to est_temp_list and later kthread 0
58 - kthread contexts are created and attached to array
[all …]
/linux-6.12.1/drivers/input/keyboard/
Dnspire-keypad.c1 // SPDX-License-Identifier: GPL-2.0-only
10 #include <linux/delay.h>
41 /* Maximum delay estimated assuming 33MHz APB */
53 struct input_dev *input = keypad->input; in nspire_keypad_irq()
54 unsigned short *keymap = input->keycode; in nspire_keypad_irq()
56 int row, col; in nspire_keypad_irq() local
61 int_sts = readl(keypad->reg_base + KEYPAD_INT) & keypad->int_mask; in nspire_keypad_irq()
65 memcpy_fromio(state, keypad->reg_base + KEYPAD_DATA, sizeof(state)); in nspire_keypad_irq()
67 for (row = 0; row < KEYPAD_BITMASK_ROWS; row++) { in nspire_keypad_irq()
68 bits = state[row]; in nspire_keypad_irq()
[all …]
Domap-keypad.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * linux/drivers/input/keyboard/omap-keypad.c
8 * Written by Timo Teräs <ext-timo.teras@nokia.com>
19 #include <linux/delay.h>
24 #include <linux/platform_data/gpio-omap.h>
25 #include <linux/platform_data/keypad-omap.h>
26 #include <linux/soc/ti/omap1-io.h>
36 static int kp_cur_group = -1;
44 unsigned long delay; member
75 for (col = 0; col < omap_kp->cols; col++) { in omap_kp_scan_keypad()
[all …]
Dmatrix_keypad.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/delay.h>
30 /* key debounce interval in milli-second */
52 * HiZ when de-activated to cause minmal side effect when scanning other
59 gpiod_direction_output(keypad->col_gpios[col], 1); in __activate_col()
61 gpiod_set_value_cansleep(keypad->col_gpios[col], 0); in __activate_col()
62 if (!keypad->drive_inactive_cols) in __activate_col()
63 gpiod_direction_input(keypad->col_gpios[col]); in __activate_col()
71 if (on && keypad->col_scan_delay_us) in activate_col()
72 udelay(keypad->col_scan_delay_us); in activate_col()
[all …]
Dtegra-kbc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (c) 2009-2011, NVIDIA Corporation.
13 #include <linux/delay.h>
26 /* Maximum row/column supported by Tegra KBC yet is 16x8 */
33 /* KBC row scan time and delay for beginning the row scan. */
156 val = readl(kbc->mmio + KBC_KP_ENT0_0 + i); in tegra_kbc_report_keys()
160 unsigned int row = (val >> 3) & 0x0f; in tegra_kbc_report_keys() local
162 MATRIX_SCAN_CODE(row, col, KBC_ROW_SHIFT); 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()
[all …]
Dlpc32xx-keys.c1 // SPDX-License-Identifier: GPL-2.0-or-later
63 u32 scan_delay; /* Scan delay (based on 32KHz clock) */
73 struct input_dev *input = kscandat->input; in lpc32xx_mod_states()
74 unsigned row, changed, scancode, keycode; in lpc32xx_mod_states() local
77 key = readl(LPC32XX_KS_DATA(kscandat->kscan_base, col)); in lpc32xx_mod_states()
78 changed = key ^ kscandat->lastkeystates[col]; in lpc32xx_mod_states()
79 kscandat->lastkeystates[col] = key; in lpc32xx_mod_states()
81 for (row = 0; changed; row++, changed >>= 1) { in lpc32xx_mod_states()
84 scancode = MATRIX_SCAN_CODE(row, col, in lpc32xx_mod_states()
85 kscandat->row_shift); in lpc32xx_mod_states()
[all …]
Dpmic8xxx-keypad.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Copyright (c) 2009-2011, Code Aurora Forum. All rights reserved.
12 #include <linux/delay.h>
78 * struct pmic8xxx_kp - internal keypad data structure
80 * @num_rows: number of row of keypad
110 /* all keys pressed on that particular row? */ in pmic8xxx_col_state()
112 return 1 << kp->num_cols; in pmic8xxx_col_state()
114 return col & ((1 << kp->num_cols) - 1); in pmic8xxx_col_state()
134 rc = regmap_read(kp->regmap, KEYP_SCAN, &scan_val); in pmic8xxx_chk_sync_read()
136 dev_err(kp->dev, "Error reading KEYP_SCAN reg, rc=%d\n", rc); in pmic8xxx_chk_sync_read()
[all …]
Dimx_keypad.c1 // SPDX-License-Identifier: GPL-2.0
7 #include <linux/delay.h>
71 * -stable: achieved after a complete debounce process.
72 * -unstable: used in the debouncing process.
86 if ((keypad->cols_en_mask & (1 << col)) == 0) in imx_keypad_scan_matrix()
91 * 3. configure columns as totem-pole to discharge capacitance. in imx_keypad_scan_matrix()
92 * 4. configure columns as open-drain. in imx_keypad_scan_matrix()
94 reg_val = readw(keypad->mmio_base + KPDR); in imx_keypad_scan_matrix()
96 writew(reg_val, keypad->mmio_base + KPDR); in imx_keypad_scan_matrix()
98 reg_val = readw(keypad->mmio_base + KPCR); in imx_keypad_scan_matrix()
[all …]
Dlocomokbd.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * LoCoMo keyboard driver for Linux-based ARM PDAs:
4 * - SHARP Zaurus Collie (SL-5500)
5 * - SHARP Zaurus Poodle (SL-5600)
15 #include <linux/delay.h>
35 0, KEY_ESC, KEY_ACTIVITY, 0, 0, 0, 0, 0, 0, 0, /* 0 - 9 */
36 0, 0, 0, 0, 0, 0, 0, KEY_MENU, KEY_HOME, KEY_CONTACT, /* 10 - 19 */
37 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 20 - 29 */
38 0, 0, 0, KEY_CENTER, 0, KEY_MAIL, 0, 0, 0, 0, /* 30 - 39 */
39 0, 0, 0, 0, 0, 0, 0, 0, 0, KEY_RIGHT, /* 40 - 49 */
[all …]
Dmt6779-keypad.c1 // SPDX-License-Identifier: GPL-2.0
16 #define MTK_KPD_NAME "mt6779-keypad"
37 unsigned int *row, unsigned int *col);
51 const unsigned short *keycode = keypad->input_dev->keycode; in mt6779_keypad_irq_handler()
55 unsigned int row, col; in mt6779_keypad_irq_handler() local
57 unsigned int row_shift = get_count_order(keypad->n_cols); in mt6779_keypad_irq_handler()
60 regmap_bulk_read(keypad->regmap, MTK_KPD_MEM, in mt6779_keypad_irq_handler()
63 bitmap_xor(change, new_state, keypad->keymap_state, MTK_KPD_NUM_BITS); in mt6779_keypad_irq_handler()
74 keypad->calc_row_col(key, &row, &col); in mt6779_keypad_irq_handler()
76 scancode = MATRIX_SCAN_CODE(row, col, row_shift); in mt6779_keypad_irq_handler()
[all …]
/linux-6.12.1/include/soc/at91/
Dat91sam9_ddrsdr.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
34 #define AT91_DDRSDRC_NR (3 << 2) /* Number of Row Bits */
46 #define AT91_DDRSDRC_OCD (1 << 12) /* Off-Chip Driver [SAM9 Only] */
51 #define AT91_DDRSDRC_TRAS (0xf << 0) /* Active to Precharge delay */
52 #define AT91_DDRSDRC_TRCD (0xf << 4) /* Row to Column delay */
53 #define AT91_DDRSDRC_TWR (0xf << 8) /* Write recovery delay */
54 #define AT91_DDRSDRC_TRC (0xf << 12) /* Row cycle delay */
55 #define AT91_DDRSDRC_TRP (0xf << 16) /* Row precharge delay */
57 #define AT91_DDRSDRC_TWTR (0x7 << 24) /* Internal Write to Read delay */
58 #define AT91_DDRSDRC_RED_WRRD (0x1 << 27) /* Reduce Write to Read Delay [SAM9 Only] */
[all …]
Dat91sam9_sdramc.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * arch/arm/mach-at91/include/mach/at91sam9_sdramc.h
8 * SDRAM Controllers (SDRAMC) - System peripherals registers.
35 #define AT91_SDRAMC_NR (3 << 2) /* Number of Row Bits */
49 #define AT91_SDRAMC_TWR (0xf << 8) /* Write Recovery Delay */
50 #define AT91_SDRAMC_TRC (0xf << 12) /* Row Cycle Delay */
51 #define AT91_SDRAMC_TRP (0xf << 16) /* Row Precharge Delay */
52 #define AT91_SDRAMC_TRCD (0xf << 20) /* Row to Column Delay */
53 #define AT91_SDRAMC_TRAS (0xf << 24) /* Active to Precharge Delay */
54 #define AT91_SDRAMC_TXSR (0xf << 28) /* Exit Self Refresh to Active Delay */
[all …]
/linux-6.12.1/arch/arm/boot/dts/samsung/
Dexynos4210-smdkv310.dts1 // 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"
34 stdout-path = "serial1:115200n8";
37 fixed-rate-clocks {
39 compatible = "samsung,clock-xxti";
40 clock-frequency = <12000000>;
[all …]
Ds5pv210-goni.dts1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2013-2014 Samsung Electronics, Co. Ltd.
13 /dts-v1/;
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/interrupt-controller/irq.h>
16 #include <dt-bindings/input/input.h>
38 pmic_ap_clk: clock-0 {
40 compatible = "fixed-clock";
41 #clock-cells = <0>;
42 clock-frequency = <32768>;
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/memory-controllers/ddr/
Djedec,lpddr3-timings.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/memory-controllers/ddr/jedec,lpddr3-timings.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: LPDDR3 SDRAM AC timing parameters for a given speed-bin
10 - Krzysztof Kozlowski <krzk@kernel.org>
14 const: jedec,lpddr3-timings
19 Maximum DDR clock frequency for the speed-bin, in Hz.
20 Property is deprecated, use max-freq.
23 max-freq:
[all …]
Djedec,lpddr2-timings.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/memory-controllers/ddr/jedec,lpddr2-timings.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: LPDDR2 SDRAM AC timing parameters for a given speed-bin
10 - Krzysztof Kozlowski <krzk@kernel.org>
14 const: jedec,lpddr2-timings
16 max-freq:
19 Maximum DDR clock frequency for the speed-bin, in Hz.
21 min-freq:
[all …]
Djedec,lpddr3.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/memory-controllers/ddr/jedec,lpddr3.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: LPDDR3 SDRAM compliant to JEDEC JESD209-3
10 - Krzysztof Kozlowski <krzk@kernel.org>
13 - $ref: jedec,lpddr-props.yaml#
18 - items:
19 - enum:
20 - samsung,K3QF2F20DB
[all …]
/linux-6.12.1/tools/kvm/kvm_stat/
Dkvm_stat2 # SPDX-License-Identifier: GPL-2.0-only
4 # top-like utility for displaying kvm statistics
6 # Copyright 2006-2008 Qumranet Technologies
7 # Copyright 2008-2011 Red Hat, Inc.
15 - as a top-like text ui
16 - in a key -> value format
17 - in an all keys, all values format
493 Used to set up performance events, returns a file descriptor or -1
497 - syscall number
498 - struct perf_event_attr *
[all …]
/linux-6.12.1/arch/arm/boot/dts/nxp/mxs/
Dimx28-tx28.dts1 // SPDX-License-Identifier: GPL-2.0 OR MIT
4 * Copyright 2013-2017 Lothar Waßmann <LW@KARO-electronics.de>
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
13 model = "Ka-Ro electronics TX28 module";
34 reg = <0x40000000 0>; /* will be filled in by U-Boot */
38 compatible = "w1-gpio";
43 reg_usb0_vbus: regulator-usb0-vbus {
44 compatible = "regulator-fixed";
[all …]
/linux-6.12.1/drivers/usb/typec/ucsi/
Ducsi_ccg.c1 // SPDX-License-Identifier: GPL-2.0
3 * UCSI driver for Cypress CCGx Type-C controller
5 * Copyright (C) 2017-2018 NVIDIA Corporation. All rights reserved.
11 #include <linux/delay.h>
26 FW1, /* FW partition-1 (contains secondary fw) */
27 FW2, /* FW partition-2 (contains primary fw) */
178 u32 delay; /* ms delay for cmd timeout */ member
240 struct i2c_client *client = uc->client; in ccg_read()
241 const struct i2c_adapter_quirks *quirks = client->adapter->quirks; in ccg_read()
245 .addr = client->addr, in ccg_read()
[all …]

12345678910