| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/touchscreen/ |
| D | azoteq,iqs7211.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS7210A, IQS7211A and IQS7211E trackpad and touchscreen control- 14 lers employ projected-capacitance sensing and can track two contacts. 21 - azoteq,iqs7210a 22 - azoteq,iqs7211a 23 - azoteq,iqs7211e 28 irq-gpios: [all …]
|
| /kernel/linux/linux-6.6/include/linux/input/ |
| D | lm8333.h | 2 * public include for LM8333 keypad driver - same license as driver 14 /* Active timeout before enter HALT mode in microseconds */ 16 /* Debounce interval in microseconds */
|
| /kernel/linux/linux-5.10/include/linux/input/ |
| D | lm8333.h | 2 * public include for LM8333 keypad driver - same license as driver 14 /* Active timeout before enter HALT mode in microseconds */ 16 /* Debounce interval in microseconds */
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/arm/ |
| D | integratorap-im-pd1.dts | 1 // SPDX-License-Identifier: GPL-2.0 4 * with the IM-PD1 example logical module mounted. 10 model = "ARM Integrator/AP with IM-PD1"; 11 compatible = "arm,integrator-ap"; 13 reserved-memory { 14 #address-cells = <1>; 15 #size-cells = <1>; 19 /* 1 MB of designated video RAM on the IM-PD1 */ 20 compatible = "shared-dma-pool"; 22 no-map; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | integratorap-im-pd1.dts | 1 // SPDX-License-Identifier: GPL-2.0 4 * with the IM-PD1 example logical module mounted. 10 model = "ARM Integrator/AP with IM-PD1"; 11 compatible = "arm,integrator-ap"; 13 reserved-memory { 14 #address-cells = <1>; 15 #size-cells = <1>; 19 /* 1 MB of designated video RAM on the IM-PD1 */ 20 compatible = "shared-dma-pool"; 22 no-map; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/ |
| D | azoteq,iqs7222.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 21 - azoteq,iqs7222a 22 - azoteq,iqs7222b 23 - azoteq,iqs7222c 24 - azoteq,iqs7222d 29 irq-gpios: 32 Specifies the GPIO connected to the device's active-low RDY output. [all …]
|
| /kernel/linux/linux-6.6/drivers/input/keyboard/ |
| D | max7359_keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * max7359_keypad.c - MAX7359 Key Switch Controller Driver 10 * Datasheet: http://www.maxim-ic.com/quick_view2.cfm/qv_pk/5456 69 dev_err(&client->dev, "%s: reg 0x%x, val 0x%x, err %d\n", in max7359_write_reg() 79 dev_err(&client->dev, "%s: reg 0x%x, err %d\n", in max7359_read_reg() 84 /* runs in an IRQ thread -- can (and will!) sleep */ 88 struct input_dev *input_dev = keypad->input_dev; in max7359_interrupt() 91 val = max7359_read_reg(keypad->client, MAX7359_REG_KEYFIFO); in max7359_interrupt() 98 dev_dbg(&keypad->client->dev, in max7359_interrupt() 102 input_report_key(input_dev, keypad->keycodes[code], !release); in max7359_interrupt() [all …]
|
| D | lm8323.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2007-2009 Nokia Corporation 88 /* Load ramp counter from duty cycle field (range 0 - 0xff). */ 151 #define dev_to_lm8323(d) container_of(d, struct lm8323_chip, client->dev) 171 dev_err(&lm->client->dev, "tried to send %d bytes\n", len); in lm8323_write() 185 ret = i2c_master_send(lm->client, data, len); in lm8323_write() 186 if (unlikely(ret == -EREMOTEIO)) in lm8323_write() 187 ret = i2c_master_send(lm->client, data, len); in lm8323_write() 189 dev_err(&lm->client->dev, "sent %d bytes of %d total\n", in lm8323_write() 207 ret = i2c_master_send(lm->client, &cmd, 1); in lm8323_read() [all …]
|
| D | pmic8xxx-keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (c) 2009-2011, Code Aurora Forum. All rights reserved. 78 * struct pmic8xxx_kp - internal keypad data structure 112 return 1 << kp->num_cols; in pmic8xxx_col_state() 114 return col & ((1 << kp->num_cols) - 1); in pmic8xxx_col_state() 121 * 2. Wait 2*32KHz clocks, so that HW can successfully enter read mode 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() 142 rc = regmap_write(kp->regmap, KEYP_SCAN, scan_val); in pmic8xxx_chk_sync_read() 144 dev_err(kp->dev, "Error writing KEYP_SCAN reg, rc=%d\n", rc); in pmic8xxx_chk_sync_read() [all …]
|
| D | adp5588-keys.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Bugs: Enter bugs at http://blackfin.uclinux.org/ 8 * Copyright (C) 2008-2010 Analog Devices Inc. 24 #include <linux/pinctrl/pinconf-generic.h> 72 #define DEBOUNCE_DIS1 0x29 /* Debounce Disable */ 73 #define DEBOUNCE_DIS2 0x2A /* Debounce Disable */ 74 #define DEBOUNCE_DIS3 0x2B /* Debounce Disable */ 126 * 128 so it fits matrix-keymap maximum number of keys when the full 158 #define ADP5588_ROWS_MAX (GPI_PIN_ROW7 - GPI_PIN_ROW0 + 1) 159 #define ADP5588_COLS_MAX (GPI_PIN_COL9 - GPI_PIN_COL0 + 1) [all …]
|
| /kernel/linux/linux-5.10/drivers/input/keyboard/ |
| D | max7359_keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * max7359_keypad.c - MAX7359 Key Switch Controller Driver 10 * Datasheet: http://www.maxim-ic.com/quick_view2.cfm/qv_pk/5456 69 dev_err(&client->dev, "%s: reg 0x%x, val 0x%x, err %d\n", in max7359_write_reg() 79 dev_err(&client->dev, "%s: reg 0x%x, err %d\n", in max7359_read_reg() 84 /* runs in an IRQ thread -- can (and will!) sleep */ 88 struct input_dev *input_dev = keypad->input_dev; in max7359_interrupt() 91 val = max7359_read_reg(keypad->client, MAX7359_REG_KEYFIFO); in max7359_interrupt() 98 dev_dbg(&keypad->client->dev, in max7359_interrupt() 102 input_report_key(input_dev, keypad->keycodes[code], !release); in max7359_interrupt() [all …]
|
| D | lm8323.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2007-2009 Nokia Corporation 88 /* Load ramp counter from duty cycle field (range 0 - 0xff). */ 151 #define dev_to_lm8323(d) container_of(d, struct lm8323_chip, client->dev) 171 dev_err(&lm->client->dev, "tried to send %d bytes\n", len); in lm8323_write() 185 ret = i2c_master_send(lm->client, data, len); in lm8323_write() 186 if (unlikely(ret == -EREMOTEIO)) in lm8323_write() 187 ret = i2c_master_send(lm->client, data, len); in lm8323_write() 189 dev_err(&lm->client->dev, "sent %d bytes of %d total\n", in lm8323_write() 207 ret = i2c_master_send(lm->client, &cmd, 1); in lm8323_read() [all …]
|
| D | pmic8xxx-keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (c) 2009-2011, Code Aurora Forum. All rights reserved. 78 * struct pmic8xxx_kp - internal keypad data structure 79 * @num_cols - number of columns of keypad 80 * @num_rows - number of row of keypad 81 * @input - input device pointer for keypad 82 * @regmap - regmap handle 83 * @key_sense_irq - key press/release irq number 84 * @key_stuck_irq - key stuck notification irq number 85 * @keycodes - array to hold the key codes [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/ |
| D | imx6dl-victgo.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 /dts-v1/; 9 #include "imx6qdl-vicut1.dtsi" 15 gpio-keys { 16 compatible = "gpio-keys"; 17 pinctrl-names = "default"; 18 pinctrl-0 = <&pinctrl_gpiokeys>; 21 key-power { 25 wakeup-source; 28 key-enter { [all …]
|
| /kernel/linux/linux-5.10/drivers/mmc/host/ |
| D | sdhci-pci-o2micro.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #include "sdhci-pci.h" 90 pr_err("%s: Card Detect debounce never finished.\n", in sdhci_o2_wait_card_detect_stable() 91 mmc_hostname(host->mmc)); in sdhci_o2_wait_card_detect_stable() 127 mmc_hostname(host->mmc)); in sdhci_o2_enable_internal_clock() 161 pci_read_config_dword(chip->pdev, in o2_pci_set_baseclk() 167 pci_write_config_dword(chip->pdev, in o2_pci_set_baseclk() 211 host->tuning_done = true; in __sdhci_o2_execute_tuning() 215 mmc_hostname(host->mmc)); in __sdhci_o2_execute_tuning() 223 mmc_hostname(host->mmc)); in __sdhci_o2_execute_tuning() [all …]
|
| /kernel/linux/linux-6.6/drivers/mmc/host/ |
| D | sdhci-pci-o2micro.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include "sdhci-pci.h" 100 pr_err("%s: Card Detect debounce never finished.\n", in sdhci_o2_wait_card_detect_stable() 101 mmc_hostname(host->mmc)); in sdhci_o2_wait_card_detect_stable() 137 mmc_hostname(host->mmc)); in sdhci_o2_enable_internal_clock() 171 pci_read_config_dword(chip->pdev, in o2_pci_set_baseclk() 177 pci_write_config_dword(chip->pdev, in o2_pci_set_baseclk() 221 host->tuning_done = true; in __sdhci_o2_execute_tuning() 225 mmc_hostname(host->mmc)); in __sdhci_o2_execute_tuning() 233 mmc_hostname(host->mmc)); in __sdhci_o2_execute_tuning() [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/dwc2/ |
| D | core.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * core.c - DesignWare HS OTG Controller common routines 5 * Copyright (C) 2004-2013 Synopsys, Inc. 18 #include <linux/dma-mapping.h> 31 * dwc2_backup_global_registers() - Backup global controller registers. 41 dev_dbg(hsotg->dev, "%s\n", __func__); in dwc2_backup_global_registers() 44 gr = &hsotg->gr_backup; in dwc2_backup_global_registers() 46 gr->gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_backup_global_registers() 47 gr->gintmsk = dwc2_readl(hsotg, GINTMSK); in dwc2_backup_global_registers() 48 gr->gahbcfg = dwc2_readl(hsotg, GAHBCFG); in dwc2_backup_global_registers() [all …]
|
| D | core_intr.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * core_intr.c - DesignWare HS OTG Controller common interrupt handling 5 * Copyright (C) 2004-2013 Synopsys, Inc. 16 #include <linux/dma-mapping.h> 29 switch (hsotg->op_state) { in dwc2_op_state_str() 46 * dwc2_handle_usb_port_intr - handles OTG PRTINT interrupts. 63 * dwc2_handle_mode_mismatch_intr() - Logs a mode mismatch warning message 72 dev_warn(hsotg->dev, "Mode Mismatch Interrupt: currently in %s mode\n", in dwc2_handle_mode_mismatch_intr() 77 * dwc2_handle_otg_intr() - Handles the OTG Interrupts. It reads the OTG 90 dev_dbg(hsotg->dev, "++OTG Interrupt gotgint=%0x [%s]\n", gotgint, in dwc2_handle_otg_intr() [all …]
|
| /kernel/linux/linux-5.10/drivers/ata/ |
| D | libata-sata.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2003-2004 Red Hat, Inc. All rights reserved. 6 * Copyright 2003-2004 Jeff Garzik 17 #include "libata-transport.h" 19 /* debounce timing parameters in msecs { interval, duration, timeout } */ 28 * sata_scr_valid - test whether SCRs are accessible 41 struct ata_port *ap = link->ap; in sata_scr_valid() 43 return (ap->flags & ATA_FLAG_SATA) && ap->ops->scr_read; in sata_scr_valid() 48 * sata_scr_read - read SCR register of the specified port 54 * guaranteed to succeed if @link is ap->link, the cable type of [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/dwc2/ |
| D | core.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * core.c - DesignWare HS OTG Controller common routines 5 * Copyright (C) 2004-2013 Synopsys, Inc. 16 * 3. The names of the above-listed copyright holders may not be used 48 #include <linux/dma-mapping.h> 61 * dwc2_backup_global_registers() - Backup global controller registers. 71 dev_dbg(hsotg->dev, "%s\n", __func__); in dwc2_backup_global_registers() 74 gr = &hsotg->gr_backup; in dwc2_backup_global_registers() 76 gr->gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_backup_global_registers() 77 gr->gintmsk = dwc2_readl(hsotg, GINTMSK); in dwc2_backup_global_registers() [all …]
|
| D | core_intr.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * core_intr.c - DesignWare HS OTG Controller common interrupt handling 5 * Copyright (C) 2004-2013 Synopsys, Inc. 16 * 3. The names of the above-listed copyright holders may not be used 46 #include <linux/dma-mapping.h> 59 switch (hsotg->op_state) { in dwc2_op_state_str() 76 * dwc2_handle_usb_port_intr - handles OTG PRTINT interrupts. 93 * dwc2_handle_mode_mismatch_intr() - Logs a mode mismatch warning message 102 dev_warn(hsotg->dev, "Mode Mismatch Interrupt: currently in %s mode\n", in dwc2_handle_mode_mismatch_intr() 107 * dwc2_handle_otg_intr() - Handles the OTG Interrupts. It reads the OTG [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wwan/iosm/ |
| D | iosm_ipc_imem.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2020-21 Intel Corporation. 20 return chnl->ctype == IPC_CTYPE_WWAN && in ipc_imem_check_wwan_ips() 21 chnl->if_id == IPC_MEM_MUX_IP_CH_IF_ID; in ipc_imem_check_wwan_ips() 32 ipc_imem->device_sleep = state; in ipc_imem_msg_send_device_sleep() 34 return ipc_protocol_tq_msg_send(ipc_imem->ipc_protocol, in ipc_imem_msg_send_device_sleep() 42 if (pipe->nr_of_queued_entries >= pipe->max_nr_of_queued_entries) in ipc_imem_dl_skb_alloc() 45 return ipc_protocol_dl_td_prepare(ipc_imem->ipc_protocol, pipe); in ipc_imem_dl_skb_alloc() 59 struct ipc_pipe *pipe = &ipc_imem->channels[i].dl_pipe; in ipc_imem_tq_td_alloc_timer() 61 if (!pipe->is_open || pipe->nr_of_queued_entries > 0) in ipc_imem_tq_td_alloc_timer() [all …]
|
| /kernel/linux/linux-6.6/drivers/mmc/core/ |
| D | host.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2007-2008 Pierre Ossman 25 #include <linux/mmc/slot-gpio.h> 30 #include "slot-gpio.h" 47 if (!host->bus_ops) in mmc_host_class_prepare() 51 if (host->bus_ops->pre_suspend) in mmc_host_class_prepare() 52 return host->bus_ops->pre_suspend(host); in mmc_host_class_prepare() 77 wakeup_source_unregister(host->ws); in mmc_host_classdev_release() 78 if (of_alias_get_id(host->parent->of_node, "mmc") < 0) in mmc_host_classdev_release() 79 ida_simple_remove(&mmc_host_ida, host->index); in mmc_host_classdev_release() [all …]
|
| /kernel/linux/linux-6.6/drivers/input/touchscreen/ |
| D | iqs7211.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 52 * The following delay is used during instances that must wait for the open- 124 .name = "event-prox", 131 .name = "event-touch", 138 .name = "event-tap", 145 .name = "event-hold", 152 .name = "event-swipe-x-neg", 159 .name = "event-swipe-x-pos", 166 .name = "event-swipe-y-pos", 173 .name = "event-swipe-y-neg", [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| D | sdio.c | 1 // SPDX-License-Identifier: ISC 72 __le32 buf; /* Can't be pointer on (64-bit) hosts */ 117 #define TXHI (TXQLEN - 256) /* turn on flow control above TXHI */ 118 #define TXLOW (TXHI - 256) /* turn off flow control below TXLOW */ 148 /* 1: isolate internal sdio signals, put external pads in tri-state; requires 153 /* Force SD->SB reset mapping (rev 11) */ 249 #define SFC_ABORTALL (1 << 3) /* Abort all in-progress frames */ 288 * Software-defined protocol header 419 uint fc_rcvd; /* Number of flow-control events received */ 420 uint fc_xoff; /* Number which turned on flow-control */ [all …]
|