| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/ |
| H A D | iqs62x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Azoteq IQS620A/621/622/624/625 Multi-Function Sensors 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors 21 - azoteq,iqs620a 22 - azoteq,iqs621 23 - azoteq,iqs622 24 - azoteq,iqs624 [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/ |
| H A D | iqs62x-keys.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/iqs62x-keys.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors 14 feature a variety of self-capacitive, mutual-inductive and Hall-effect sens- 15 ing capabilities that can facilitate a variety of contactless key and switch 20 further details and examples. Sensor hardware configuration (self-capacitive 21 vs. mutual-inductive, etc.) is selected based on the device's firmware. [all …]
|
| H A D | iqs269a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 28 "#address-cells": 31 "#size-cells": 34 azoteq,hall-enable: 37 Enables Hall-effect sensing on channels 6 and 7. In this case, keycodes [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/sensors/hall/ |
| H A D | mh248.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Author: Bin Yang <yangbin@rock-chips.com> 23 #include <linux/sensor-dev.h> 51 mutex_lock(&mh248->ops_lock); in hall_fb_notifier_callback() 52 switch (*((int *)event->data)) { in hall_fb_notifier_callback() 54 mh248->is_suspend = 0; in hall_fb_notifier_callback() 57 mh248->is_suspend = 1; in hall_fb_notifier_callback() 60 mutex_unlock(&mh248->ops_lock); in hall_fb_notifier_callback() 70 gpio_value = gpio_get_value(mh248->gpio_pin); in hall_mh248_interrupt() 71 if ((gpio_value != mh248->active_value) && in hall_mh248_interrupt() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/keyboard/ |
| H A D | iqs62x-keys.c | 1 // SPDX-License-Identifier: GPL-2.0+ 25 [IQS62X_SW_HALL_N] = "hall-switch-north", 26 [IQS62X_SW_HALL_S] = "hall-switch-south", 52 ret = device_property_count_u32(&pdev->dev, "linux,keycodes"); in iqs62x_keys_parse_prop() 54 dev_err(&pdev->dev, "Too many keycodes present\n"); in iqs62x_keys_parse_prop() 55 return -EINVAL; in iqs62x_keys_parse_prop() 57 dev_err(&pdev->dev, "Failed to count keycodes: %d\n", ret); in iqs62x_keys_parse_prop() 60 iqs62x_keys->keycodemax = ret; in iqs62x_keys_parse_prop() 62 ret = device_property_read_u32_array(&pdev->dev, "linux,keycodes", in iqs62x_keys_parse_prop() 63 iqs62x_keys->keycode, in iqs62x_keys_parse_prop() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpio/ |
| H A D | gpio-bd71828.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 #include <linux/mfd/rohm-bd71828.h> 26 * The HALL input pin can only be used as input. If this is the pin in bd71828_gpio_set() 27 * we are dealing with - then we are done in bd71828_gpio_set() 32 ret = regmap_update_bits(bdgpio->chip.regmap, GPIO_OUT_REG(offset), in bd71828_gpio_set() 35 dev_err(bdgpio->chip.dev, "Could not set gpio to %d\n", value); in bd71828_gpio_set() 45 ret = regmap_read(bdgpio->chip.regmap, BD71828_REG_IO_STAT, in bd71828_gpio_get() 48 ret = regmap_read(bdgpio->chip.regmap, GPIO_OUT_REG(offset), in bd71828_gpio_get() 62 return -ENOTSUPP; in bd71828_gpio_set_config() 64 switch (pinconf_to_config_param(config)) { in bd71828_gpio_set_config() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/ |
| H A D | hall-dc-motor.c | 1 // SPDX-License-Identifier: GPL-2.0 24 #include <media/v4l2-subdev.h> 25 #include <media/v4l2-ctrls.h> 26 #include <media/v4l2-device.h> 29 #include <linux/rk-camera-module.h> 35 #define DRIVER_NAME "hall-dc" 55 struct device_node *node = motor->dev->of_node; in motor_dev_parse_dt() 59 motor->pwm = devm_pwm_get(motor->dev, NULL); in motor_dev_parse_dt() 60 if (IS_ERR(motor->pwm)) { in motor_dev_parse_dt() 61 error = PTR_ERR(motor->pwm); in motor_dev_parse_dt() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/char/tpm/eventlog/ |
| H A D | acpi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Kylene Hall <kjhall@us.ibm.com> 12 * Maintained by: <tpmdd-devel@lists.sourceforge.net> 53 len -= sizeof(*event_header); in tpm_is_tpm2_log() 58 efispecid = (struct tcg_efi_specid_event_head *)event_header->event; in tpm_is_tpm2_log() 60 n = memcmp(efispecid->signature, TCG_SPECID_SIG, in tpm_is_tpm2_log() 78 log = &chip->log; in tpm_read_log_acpi() 83 if (!chip->acpi_dev_handle) in tpm_read_log_acpi() 84 return -ENODEV; in tpm_read_log_acpi() 86 if (chip->flags & TPM_CHIP_FLAG_TPM2) { in tpm_read_log_acpi() [all …]
|
| H A D | tpm1.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 * Kylene Hall <kjhall@us.ibm.com> 13 * Maintained by: <tpmdd-devel@lists.sourceforge.net> 38 "S-CRTM Contents", 39 "S-CRTM Version", 46 "Non-Host Code", 47 "Non-Host Config", 48 "Non-Host Info" 63 "S-CRTM Version", 64 "S-CRTM Contents ", [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3588s-evb1-lp4x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "dt-bindings/usb/pd.h" 9 #include "rk3588s-evb.dtsi" 10 #include "rk3588s-rk806-dual.dtsi" 13 aw883xx_sound: aw883x-sound { 15 compatible = "rockchip,multicodecs-card"; 16 rockchip,card-name = "rockchip-aw883xx"; 18 rockchip,mclk-fs = <256>; 23 combophy_avdd0v85: combophy-avdd0v85 { 24 compatible = "regulator-fixed"; [all …]
|
| H A D | rk3566-rk817-tablet-rkg11.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/input/rk-input.h> 12 #include <dt-bindings/sensor-dev.h> 13 #include <dt-bindings/display/drm_mipi_dsi.h> 15 #include "rk3568-android.dtsi" 19 compatible = "rockchip,rk3566-rk817-tablet-rkg11", "rockchip,rk3566"; 21 adc_keys: adc-keys { [all …]
|
| H A D | rk3566-rk817-tablet-k108.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/input/rk-input.h> 12 #include <dt-bindings/sensor-dev.h> 13 #include <dt-bindings/display/drm_mipi_dsi.h> 15 #include "rk3568-android.dtsi" 19 compatible = "rockchip,rk3566-rk817-tablet-k108", "rockchip,rk3566"; 21 adc_keys: adc-keys { [all …]
|
| H A D | rk3588s-tablet.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/usb/pd.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/pwm/pwm.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/input/rk-input.h> 12 #include <dt-bindings/display/drm_mipi_dsi.h> 13 #include <dt-bindings/display/rockchip_vop.h> 14 #include <dt-bindings/sensor-dev.h> 16 #include "rk3588-android.dtsi" [all …]
|
| H A D | rk3588-evb3-lp5.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "dt-bindings/usb/pd.h" 9 #include "rk3588-evb.dtsi" 10 #include "rk3588-rk806-dual.dtsi" 13 es7202_sound_micarray: es7202-sound-micarray { 15 compatible = "simple-audio-card"; 16 simple-audio-card,format = "i2s"; 17 simple-audio-card,name = "rockchip,sound-micarray"; 18 simple-audio-card,mclk-fs = <256>; 19 simple-audio-card,dai-link@0 { [all …]
|
| H A D | rk3588s-tablet-single.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/usb/pd.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/pwm/pwm.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/input/rk-input.h> 12 #include <dt-bindings/display/drm_mipi_dsi.h> 13 #include <dt-bindings/display/rockchip_vop.h> 14 #include <dt-bindings/sensor-dev.h> 16 #include "rk3588-android.dtsi" [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/misc/ |
| H A D | iqs269a.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * inductive keys as well as Hall-effect switches, and one for each of the two 149 #define IQS269_ATI_POLL_SLEEP_US (iqs269->delay_mult * 10000) 150 #define IQS269_ATI_POLL_TIMEOUT_US (iqs269->delay_mult * 500000) 151 #define IQS269_ATI_STABLE_DELAY_MS (iqs269->delay_mult * 150) 201 .name = "event-prox", 207 .name = "event-prox-alt", 214 .name = "event-touch", 220 .name = "event-touch-alt", 227 .name = "event-deep", [all …]
|
| /OK3568_Linux_fs/external/xserver/os/ |
| H A D | xserver_poll.c | 1 /*---------------------------------------------------------------------------*\ 6 poll - select(2)-based poll() emulation function for BSD systems. 28 of select() -- which is how this function is implemented. 31 Stevens, W. Richard. Unix Network Programming. Prentice-Hall, 1990. 39 http://opensource.org/licenses/bsd-license.php 41 Copyright (c) 1995-2011, Brian M. Clapper 69 \*---------------------------------------------------------------------------*/ 72 /*---------------------------------------------------------------------------*\ 74 \*---------------------------------------------------------------------------*/ 77 #include <dix-config.h> [all …]
|
| /OK3568_Linux_fs/kernel/arch/ia64/kernel/ |
| H A D | mca_asm.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * 2000-03-15 David Mosberger-Tang <davidm@hpl.hp.com> 11 * 2000-03-29 Chuck Fleckenstein <cfleck@co.intel.com> 13 * switch to temp kstack, switch modes, jump to C INIT handler 15 * 2002-01-04 J.Hall <jenna.s.hall@intel.com> 21 * 2004-11-12 Russ Anderson <rja@sgi.com> 24 * 2005-12-08 Keith Owens <kaos@sgi.com> 55 * so we can re-use the code for cpu hotplug code as well 68 ld8 r18=[r2],(O(PTCE_COUNT)-O(PTCE_BASE));; // r18=ptce_base 76 adds r20=-1,r20 [all …]
|
| H A D | mca.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2003 Hewlett-Packard Co 7 * David Mosberger-Tang <davidm@hpl.hp.com> 13 * Copyright (C) Jenna Hall <jenna.s.hall@intel.com> 21 * Copyright (C) 1999, 2004-2008 Silicon Graphics, Inc. 27 * 2000-03-29 Chuck Fleckenstein <cfleck@co.intel.com> 31 * 2001-01-03 Fred Lewis <frederick.v.lewis@intel.com> 37 * 2002-01-04 Jenna Hall <jenna.s.hall@intel.com> 42 * 2002-03-25 Matt Domsch <Matt_Domsch@dell.com> 45 * 2003-04-15 David Mosberger-Tang <davidm@hpl.hp.com> [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/translations/zh_CN/process/ |
| H A D | coding-style.rst | 1 .. include:: ../disclaimer-zh_CN.rst 3 :Original: :ref:`Documentation/process/coding-style.rst <codingstyle>` 32 -------------- 47 在 switch 语句中消除多级缩进的首选的方式是让 ``switch`` 和从属于它的 ``case`` 50 .. code-block:: c 52 switch (suffix) { 71 .. code-block:: c 86 ------------------------------ 99 ------------------------------ 105 .. code-block:: c [all …]
|
| /OK3568_Linux_fs/kernel/security/integrity/evm/ |
| H A D | evm_main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2005-2010 IBM Corporation 7 * Kylene Hall <kjhall@us.ibm.com> 100 if (!(inode->i_opflags & IOP_XATTR)) in evm_find_protected_xattrs() 101 return -EOPNOTSUPP; in evm_find_protected_xattrs() 104 error = __vfs_getxattr(dentry, inode, xattr->name, NULL, 0, in evm_find_protected_xattrs() 107 if (error == -ENODATA) in evm_find_protected_xattrs() 118 * evm_verify_hmac - calculate and compare the HMAC with the EVM xattr 124 * - use the previoulsy retrieved xattr value and length to calculate the 126 * - cache the verification result in the iint, when available. [all …]
|
| /OK3568_Linux_fs/kernel/fs/nfsd/ |
| H A D | nfscache.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * change in the future and be a per-client cache. 64 * XXX: these limits are per-container, so memory used will increase 71 unsigned long low_pages = totalram_pages() - totalhigh_pages(); in nfsd_cache_size_limit() 73 limit = (16 * int_sqrt(low_pages)) << (PAGE_SHIFT-10); in nfsd_cache_size_limit() 90 return hash_32(be32_to_cpu(xid), nn->maskbits); in nfsd_cache_hash() 101 rp->c_state = RC_UNUSED; in nfsd_reply_cache_alloc() 102 rp->c_type = RC_NOCACHE; in nfsd_reply_cache_alloc() 103 RB_CLEAR_NODE(&rp->c_node); in nfsd_reply_cache_alloc() 104 INIT_LIST_HEAD(&rp->c_lru); in nfsd_reply_cache_alloc() [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/sample/ |
| H A D | sample_ae_module.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 55 printf("\t C) AE: enter hall dc-iris calib.\n"); in sample_ae_usage() 118 …int count = -1, cur_iris_val = iris_val_open, cur_iris_gain = 512, iris_val[1024] = { 0 }, iris_ga… in sample_hall_dciris_calib() 137 if (iris_val_open - iris_val_close > 0) { in sample_hall_dciris_calib() 141 cur_iris_val -= iris_val_step; in sample_hall_dciris_calib() 160 …zoom_target_val = int(1.0 * (tmp_iris_gain - iris_gain[dot]) / (iris_gain[dot + 1] - iris_gain[dot… in sample_hall_dciris_calib() 161 (iris_val[dot + 1] - iris_val[dot]) + in sample_hall_dciris_calib() 625 int key = -1; in sample_ae_module() 630 if (demo_ctx->camGroup) { in sample_ae_module() 631 ctx = (rk_aiq_sys_ctx_t*)(demo_ctx->camgroup_ctx); in sample_ae_module() [all …]
|
| /OK3568_Linux_fs/kernel/sound/usb/ |
| H A D | mixer_quirks.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Quirks and vendor-specific extensions for mixer interfaces 48 * See the quirks for M-Audio FTUs or Ebox-44. 68 return -ENOMEM; in snd_create_std_mono_ctl_offset() 70 snd_usb_mixer_elem_init_std(&cval->head, mixer, unitid); in snd_create_std_mono_ctl_offset() 71 cval->val_type = val_type; in snd_create_std_mono_ctl_offset() 72 cval->channels = 1; in snd_create_std_mono_ctl_offset() 73 cval->control = control; in snd_create_std_mono_ctl_offset() 74 cval->cmask = cmask; in snd_create_std_mono_ctl_offset() 75 cval->idx_off = idx_off; in snd_create_std_mono_ctl_offset() [all …]
|
| /OK3568_Linux_fs/kernel/arch/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 12 menu "General architecture-dependent options" 77 for kernel debugging, non-intrusive instrumentation and testing. 86 makes certain almost-always-true or almost-always-false branch 89 Certain performance-sensitive kernel code, such as trace points, 103 ( On 32-bit x86, the necessary options added to the compiler 110 Boot time self-test of the branch patching code. 116 Boot time self-test of the call patching code. 136 Uprobes is the user-space counterpart to kprobes: they 138 to establish unintrusive probes in user-space binaries and [all …]
|