| /linux/Documentation/devicetree/bindings/input/ |
| H A D | ti,drv260x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Texas Instruments - drv260x Haptics driver family 10 - Andrew Davis <afd@ti.com> 15 - ti,drv2604 16 - ti,drv2605 17 - ti,drv2605l 22 vbat-supply: 30 (defined in include/dt-bindings/input/ti-drv260x.h) [all …]
|
| /linux/drivers/input/misc/ |
| H A D | drv260x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include <dt-bindings/input/ti-drv260x.h> 60 /* Library Selection */ 169 * struct drv260x_data - 178 * @library: The vibration library to be used 191 u32 library; member 215 gpiod_set_value(haptics->enable_gpio, 1); in drv260x_worker() 219 error = regmap_write(haptics->regmap, in drv260x_worker() 222 dev_err(&haptics->client->dev, in drv260x_worker() 225 error = regmap_write(haptics->regmap, in drv260x_worker() [all …]
|
| /linux/sound/soc/sdca/ |
| H A D | sdca_interrupts.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * https://www.mipi.org/mipi-sdca-v1-0-download 26 #include <sound/soc-component.h> 83 struct device *dev = interrupt->dev; in base_handler() 85 dev_info(dev, "%s irq without full handling\n", interrupt->nam [all...] |
| H A D | sdca_functions.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 6 * https://www.mipi.org/mipi-sdca-v1-0-download 55 return -EINVAL; in patch_sdca_function_type() 95 struct device *dev = &adev->dev; in find_sdca_function() 103 if (sdca_data->num_functions >= SDCA_MAX_FUNCTION_COUNT) { in find_sdca_function() 105 return -EINVAL; in find_sdca_function() 108 ret = acpi_get_local_u64_address(adev->handle, &addr); in find_sdca_function() 114 return -ENODEV; in find_sdca_function() 122 * but the SDCA/DisCo specs defined the notion of "DC value" - a constant in find_sdca_function() 128 "mipi-sdca-control-0x5-subproperties"); in find_sdca_function() [all …]
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_progs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 54 if (verbose() && env.worker_id == -1) { in stdio_hijack_init() 70 env.subtest_state->stdout_saved = stdout; in stdio_hijack_init() 72 env.test_state->stdout_saved = stdout; in stdio_hijack_init() 81 if (verbose() && env.worker_id == -1) { in stdio_hijack() 98 if (verbose() && env.worker_id == -1) { in stdio_restore_cleanup() 108 if (env.subtest_state->stdout_save in stdio_restore_cleanup() 265 should_run(struct test_selector * sel,int num,const char * name) should_run() argument 308 should_run_subtest(struct test_selector * sel,struct test_selector * subtest_sel,int subtest_num,const char * test_name,const char * subtest_name) should_run_subtest() argument 326 should_tmon(struct test_selector * sel,const char * name) should_tmon() argument [all...] |
| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-apq8026-huawei-sturgeon.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include "qcom-msm8226.dtsi" 10 #include <dt-bindings/input/ti-drv260x.h> 12 /delete-node/ &adsp_region; 17 chassis-type = "watch"; 18 qcom,msm-id = <199 0x20000>; 19 qcom,board-id = <8 4>; 21 reserved-memory { 24 no-map; [all …]
|
| /linux/drivers/ata/ |
| H A D | libata.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * libata.h - helper library for ATA 5 * Copyright 2003-2004 Red Hat, Inc. All rights reserved. 6 * Copyright 2003-2004 Jeff Garzik 9 * as Documentation/driver-api/libata.rst 18 /* libata-core.c */ 50 return dev->class == ATA_DEV_ZAC || in ata_dev_is_zac() 51 ata_id_zoned_cap(dev->id) == 0x01; in ata_dev_is_zac() 56 return ap->pflags & (ATA_PFLAG_EH_PENDING | ATA_PFLAG_EH_IN_PROGRESS); in ata_port_eh_scheduled() 87 extern int ata_down_xfermask_limit(struct ata_device *dev, unsigned int sel); [all …]
|
| H A D | libata-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * libata-core.c - helper library for ATA 5 * Copyright 2003-2004 Red Hat, Inc. All rights reserved. 6 * Copyright 2003-2004 Jeff Garzik 9 * as Documentation/driver-api/libata.rst 12 * http://www.sata-io.org/ 16 * http://www.t10.org (SCSI MMC - for ATAPI MMC) 17 * http://www.sata-io.org (SATA) 19 * http://www.qic.org (QIC157 - Tape and DSC) 20 * http://www.ce-ata.org (CE-ATA: not supported) [all …]
|
| /linux/drivers/net/ethernet/microchip/vcap/ |
| H A D | vcap_api_kunit.c | 1 // SPDX-License-Identifier: BSD-3-Clause 39 if (kslist->cnt > 0) { in test_val_keyset() 40 switch (admin->vtype) { in test_val_keyset() 42 for (idx = 0; idx < kslist->cnt; idx++) { in test_val_keyset() 43 if (kslist->keysets[idx] == VCAP_KFS_ETAG) in test_val_keyset() 44 return kslist->keysets[idx]; in test_val_keyset() 45 if (kslist->keysets[idx] == VCAP_KFS_PURE_5TUPLE_IP4) in test_val_keyset() 46 return kslist->keysets[idx]; in test_val_keyset() 47 if (kslist->keysets[idx] == VCAP_KFS_NORMAL_5TUPLE_IP4) in test_val_keyset() 48 return kslist->keysets[idx]; in test_val_keyset() [all …]
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | msm8996-xiaomi-gemini.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 9 #include "msm8996-xiaomi-common.dtsi" 10 #include <dt-bindings/sound/qcom,q6afe.h> 11 #include <dt-bindings/sound/qcom,q6asm.h> 12 #include <dt-bindings/sound/qcom,wcd9335.h> 13 #include <dt-bindings/input/ti-drv260x.h> 18 chassis-type = "handset"; 19 qcom,msm-id = <246 0x30001>; 20 qcom,pmic-id = <0x20009 0x2000a 0x00 0x00>; [all …]
|
| /linux/arch/arm/boot/dts/nvidia/ |
| H A D | tegra124-xiaomi-mocha.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/input/ti-drv260x.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/thermal/thermal.h> 15 chassis-type = "tablet"; 30 stdout-path = "serial0:115200n8"; 41 avdd-dsi-csi-supply = <&avdd_dsi_csi>; [all …]
|
| /linux/drivers/platform/x86/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 x86 platforms, including vendor-specific laptop extension drivers. 24 Say Y here if you want to be able to read a firmware-embedded 29 be called wmi-bmof. 42 control, fn-lock, mic-mute LED, and other extra features. 45 will be called huawei-wmi. 78 system with an EC-driven backlight. 81 called nvidia-wmi-ec-backlight. 88 Say Y here if you want to support WMI-based keys on Xiaomi notebooks. 91 be called xiaomi-wmi. [all …]
|
| /linux/net/ipv4/ |
| H A D | ip_vti.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 For comments look at net/ipv4/ip_gre.c --ANK 52 struct net *net = dev_net(skb->dev); in vti_input() 58 tunnel = ip_tunnel_lookup(itn, skb->dev->ifindex, flags, in vti_input() 59 iph->saddr, iph->daddr, 0); in vti_input() 64 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4 = tunnel; in vti_input() 67 skb->dev = tunnel->dev; in vti_input() 72 return -EINVAL; in vti_input() 86 XFRM_SPI_SKB_CB(skb)->family = AF_INET; in vti_rcv() 87 XFRM_SPI_SKB_CB(skb)->daddroff = offsetof(struct iphdr, daddr); in vti_rcv() [all …]
|
| /linux/drivers/scsi/ |
| H A D | advansys.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * advansys.c - Linux Host Driver for AdvanSys SCSI Adapters 5 * Copyright (c) 1995-2000 Advanced System Products, Inc. 6 * Copyright (c) 2000-2001 ConnectCom Solutions, Inc. 34 #include <linux/dma-mapping.h> 109 #define ASC_CHIP_LATEST_VER_EISA ((ASC_CHIP_MIN_VER_EISA - 1) + 3) 125 * Narrow boards only support 12-byte commands, while wide boards 126 * extend to 16-byte commands. 391 #define ASC_IERR_BIST_PRE_TEST 0x0800 /* BIST pre-test error */ 412 * is Ultra-capable or not. These tables let us convert from one to the other. [all …]
|