Home
last modified time | relevance | path

Searched +full:library +full:- +full:sel (Results 1 – 13 of 13) sorted by relevance

/linux/Documentation/devicetree/bindings/input/
H A Dti,drv260x.yaml1 # 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 Ddrv260x.c1 // 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/tools/testing/selftests/bpf/
H A Dtest_progs.c1 // SPDX-License-Identifier: GPL-2.0-only
48 if (verbose() && env.worker_id == -1) { in stdio_hijack_init()
64 env.subtest_state->stdout_saved = stdout; in stdio_hijack_init()
66 env.test_state->stdout_saved = stdout; in stdio_hijack_init()
75 if (verbose() && env.worker_id == -1) { in stdio_hijack()
90 if (verbose() && env.worker_id == -1) { in stdio_restore_cleanup()
98 fclose(env.subtest_state->stdout_saved); in stdio_restore_cleanup()
99 env.subtest_state->stdout_saved = NULL; in stdio_restore_cleanup()
100 stdout = env.test_state->stdout_saved; in stdio_restore_cleanup()
101 stderr = env.test_state->stdout_saved; in stdio_restore_cleanup()
[all …]
/linux/arch/arm/boot/dts/qcom/
H A Dqcom-apq8026-huawei-sturgeon.dts1 // 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 Dlibata.h1 /* 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 */
75 extern int ata_down_xfermask_limit(struct ata_device *dev, unsigned int sel);
97 /* libata-sata.c */
104 return -EOPNOTSUPP; in sata_down_spd_limit()
108 return -EOPNOTSUPP; in ata_eh_get_ncq_success_sense()
[all …]
H A Dlibata-core.c1 // 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 Dvcap_api_kunit.c1 // 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 Dmsm8996-xiaomi-gemini.dts1 // 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/drivers/ras/amd/atl/
H A Dumc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * AMD Address Translation Library
16 * MI300 has a fixed, model-specific mapping between a UMC instance and
39 u16 umc_id = FIELD_GET(UMC_ID_MI300, err->ipid); in get_coh_st_inst_id_mi300()
134 * Also, read UMC::CH::Addr{Cfg,Sel,Sel2} and UMC::CH:ColSelLo registers to
330 a_err->addr &= ~MI300_UMC_MCA_COL; in retire_row_mi300()
331 a_err->addr |= FIELD_PREP(MI300_UMC_MCA_COL, col); in retire_row_mi300()
377 u8 node_id = FIELD_GET(MCA_IPID_INST_ID_HI, err->ipid); in get_die_id()
386 return topology_amd_node_id(err->cpu) % topology_amd_nodes_per_pkg(); in get_die_id()
395 return FIELD_GET(UMC_CHANNEL_NUM, err->ipid); in get_coh_st_inst_id()
[all …]
/linux/net/ipv4/
H A Dip_vti.c1 // 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 …]
H A Desp4.c1 // SPDX-License-Identifier: GPL-2.0-only
37 #define ESP_SKB_CB(__skb) ((struct esp_skb_cb *)&((__skb)->cb[0]))
57 ~(crypto_tfm_ctx_alignment() - 1); in esp_alloc_tmp()
101 struct crypto_aead *aead = x->data; in esp_ssg_unref()
107 if (x->props.flags & XFRM_STATE_ESN) in esp_ssg_unref()
114 * Skip the first sg which comes from skb->data. in esp_ssg_unref()
116 if (req->src != req->dst) in esp_ssg_unref()
117 for (sg = sg_next(req->src); sg; sg = sg_next(sg)) in esp_ssg_unref()
119 skb->pp_recycle); in esp_ssg_unref()
132 sock_put(esk->sk); in esp_free_tcp_sk()
[all …]
/linux/drivers/platform/x86/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
12 x86 platforms, including vendor-specific laptop extension drivers.
23 This driver adds support for the ACPI-WMI (Windows Management
26 ACPI-WMI is a proprietary extension to ACPI to expose parts of the
27 ACPI firmware to userspace - this is done through various vendor
38 any ACPI-WMI devices.
45 Say Y here if you want to be able to read a firmware-embedded
50 be called wmi-bmof.
62 control, fn-lock, mic-mute LED, and other extra features.
65 will be called huawei-wmi.
[all …]
/linux/drivers/scsi/
H A Dadvansys.c1 // 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 …]