/linux-6.12.1/Documentation/devicetree/bindings/input/touchscreen/ |
D | bu21013.txt | 4 - compatible : "rohm,bu21013_tp" 5 - reg : I2C device address 6 - reset-gpios : GPIO pin enabling (selecting) chip (CS) 7 - interrupt-parent : the phandle for the gpio controller 8 - interrupts : (gpio) interrupt to which the chip is connected 11 - touch-gpios : GPIO pin registering a touch event 12 - <supply_name>-supply : Phandle to a regulator supply 13 - touchscreen-size-x : General touchscreen binding, see [1]. 14 - touchscreen-size-y : General touchscreen binding, see [1]. 15 - touchscreen-inverted-x : General touchscreen binding, see [1]. [all …]
|
/linux-6.12.1/drivers/input/touchscreen/ |
D | bu21013_ts.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 4 * Author: Naveen Kumar G <naveen.gaddipati@stericsson.com> for ST-Ericsson 140 * struct bu21013_ts - touch panel data structure 145 * @cs_gpiod: chip select GPIO line 176 ret = i2c_smbus_read_i2c_block_data(ts->client, in bu21013_read_block_data() 183 return -EINVAL; in bu21013_read_block_data() 188 struct input_dev *input = ts->in_dev; in bu21013_do_touch_report() 197 return -EINVAL; in bu21013_do_touch_report() 213 &ts->props, x, y); in bu21013_do_touch_report() [all …]
|
/linux-6.12.1/drivers/staging/media/tegra-video/ |
D | vi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 16 #include <media/media-entity.h> 17 #include <media/v4l2-async.h> 18 #include <media/v4l2-ctrls.h> 19 #include <media/v4l2-device.h> 20 #include <media/v4l2-dev.h> 21 #include <media/v4l2-subdev.h> 22 #include <media/videobuf2-v4l2.h> 44 * struct tegra_vi_ops - Tegra VI operations 45 * @vi_enable: soc-specific operations needed to enable/disable the VI peripheral [all …]
|
/linux-6.12.1/drivers/sbus/char/ |
D | display7seg.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* display7seg.c - Driver implementation for the 7-segment display 32 /* Solaris compatibility flag - 34 * documented driver features (ref Sun doc 806-0180-03). 38 * 1) Device ALWAYS reverts to OBP-specified FLIPPED mode 41 * FLIP bit 44 * omitting above features, set this parameter to non-zero. 51 MODULE_DESCRIPTION("7-Segment Display driver for Sun Microsystems CP1400/1500"); 61 * Register block address- see header for details 62 * ----------------------------------------- [all …]
|
/linux-6.12.1/drivers/ata/ |
D | pata_sl82c105.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * pata_sl82c105.c - SL82C105 PATA for new ATA layer 14 * PIO and DMA. We thus flip to the DMA timings in dma_start and flip back 45 * sl82c105_pre_reset - probe begin 58 struct ata_port *ap = link->ap; in sl82c105_pre_reset() 59 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sl82c105_pre_reset() 61 if (ap->port_no && !pci_test_config_bits(pdev, &sl82c105_enable_bits[ap->port_no])) in sl82c105_pre_reset() 62 return -ENOENT; in sl82c105_pre_reset() 68 * sl82c105_configure_piomode - set chip PIO timing 80 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sl82c105_configure_piomode() [all …]
|
D | pata_mpiix.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * pata_mpiix.c - Intel MPIIX PATA for new ATA layer 4 * (C) 2005-2006 Red Hat Inc 12 * devices. The chip is a bridge (pardon the pun) between the old world of 14 * IDE controller is not decoded in PCI space and the chip does not claim to 15 * be IDE class PCI. This requires slightly non-standard probe logic compared 51 struct ata_port *ap = link->ap; in mpiix_pre_reset() 52 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in mpiix_pre_reset() 56 return -ENOENT; in mpiix_pre_reset() 62 * mpiix_set_piomode - set initial PIO mode data [all …]
|
D | pata_ns87415.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * pata_ns87415.c - NS87415 (and PARISC SUPERIO 87560) PATA 11 * This driver assumes the firmware has left the chip in a valid ST506 39 * ns87415_set_mode - Initialize host controller mode timings 45 * device. Because the chip is quite an old design we have to do this 54 struct pci_dev *dev = to_pci_dev(ap->host->dev); in ns87415_set_mode() 55 int unit = 2 * ap->port_no + adev->devno; in ns87415_set_mode() 63 /* Timing register format is 17 - low nybble read timing with in ns87415_set_mode() 64 the high nybble being 16 - x for recovery time in PCI clocks */ in ns87415_set_mode() 66 ata_timing_compute(adev, adev->pio_mode, &t, T, 0); in ns87415_set_mode() [all …]
|
D | pata_pdc202xx_old.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * pata_pdc202xx_old.c - Promise PDC202xx PATA for new ATA layer 29 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in pdc2026x_cable_detect() 33 if (cis & (1 << (10 + ap->port_no))) in pdc2026x_cable_detect() 41 iowrite8(tf->command, ap->ioaddr.command_addr); in pdc202xx_exec_command() 47 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in pdc202xx_irq_check() 51 if (ap->port_no) { in pdc202xx_irq_check() 67 * pdc202xx_configure_piomode - set chip PIO timing 79 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in pdc202xx_configure_piomode() 80 int port = 0x60 + 8 * ap->port_no + 4 * adev->devno; in pdc202xx_configure_piomode() [all …]
|
/linux-6.12.1/drivers/media/dvb-frontends/ |
D | lgdt330x.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Support for LGDT3302 and LGDT3303 - VSB/QAM 20 * struct lgdt330x_config - contains lgdt330x configuration 22 * @demod_chip: LG demodulator chip LGDT3302 or LGDT3303 23 * @serial_mpeg: MPEG hardware interface - 0:parallel 1:serial 27 * Flip the polarity of the mpeg data transfer clock using alternate 29 * This option applies ONLY to LGDT3303 - 0:disabled (default) 1:enabled
|
/linux-6.12.1/drivers/media/usb/gspca/gl860/ |
D | gl860.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* GSPCA subdrivers for Genesys Logic webcams with the GL860 chip 23 #define _MI1320_ (((struct sd *) gspca_dev)->sensor == ID_MI1320) 24 #define _MI2020_ (((struct sd *) gspca_dev)->sensor == ID_MI2020) 25 #define _OV2640_ (((struct sd *) gspca_dev)->sensor == ID_OV2640) 26 #define _OV9655_ (((struct sd *) gspca_dev)->sensor == ID_OV9655) 43 u8 flip; member
|
D | gl860-ov2640.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Subdriver for the GL860 chip with the OV2640 sensor 175 sd->vcur.backlight = 32; in ov2640_init_settings() 176 sd->vcur.brightness = 0; in ov2640_init_settings() 177 sd->vcur.sharpness = 6; in ov2640_init_settings() 178 sd->vcur.contrast = 0; in ov2640_init_settings() 179 sd->vcur.gamma = 32; in ov2640_init_settings() 180 sd->vcur.hue = 0; in ov2640_init_settings() 181 sd->vcur.saturation = 128; in ov2640_init_settings() 182 sd->vcur.whitebal = 64; in ov2640_init_settings() [all …]
|
D | gl860-mi1320.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Subdriver for the GL860 chip with the MI1320 sensor 204 sd->vcur.backlight = 0; in mi1320_init_settings() 205 sd->vcur.brightness = 0; in mi1320_init_settings() 206 sd->vcur.sharpness = 6; in mi1320_init_settings() 207 sd->vcur.contrast = 10; in mi1320_init_settings() 208 sd->vcur.gamma = 20; in mi1320_init_settings() 209 sd->vcur.hue = 0; in mi1320_init_settings() 210 sd->vcur.saturation = 6; in mi1320_init_settings() 211 sd->vcur.whitebal = 0; in mi1320_init_settings() [all …]
|
D | gl860-mi2020.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Subdriver for the GL860 chip with the MI2020 sensor 82 {2, {0xff, 0xff, 0xff}}, /* - */ 355 sd->vcur.backlight = 0; in mi2020_init_settings() 356 sd->vcur.brightness = 70; in mi2020_init_settings() 357 sd->vcur.sharpness = 20; in mi2020_init_settings() 358 sd->vcur.contrast = 0; in mi2020_init_settings() 359 sd->vcur.gamma = 0; in mi2020_init_settings() 360 sd->vcur.hue = 0; in mi2020_init_settings() 361 sd->vcur.saturation = 60; in mi2020_init_settings() [all …]
|
/linux-6.12.1/drivers/irqchip/ |
D | irq-dw-apb-ictl.c | 38 for (n = 0; n < d->revmap_size; n += 32) { in dw_apb_ictl_handle_irq() 40 u32 stat = readl_relaxed(gc->reg_base + APB_INT_FINALSTATUS_L); in dw_apb_ictl_handle_irq() 43 u32 hwirq = ffs(stat) - 1; in dw_apb_ictl_handle_irq() 54 struct irq_chip *chip = irq_desc_get_chip(desc); in dw_apb_ictl_handle_irq_cascaded() local 57 chained_irq_enter(chip, desc); in dw_apb_ictl_handle_irq_cascaded() 59 for (n = 0; n < d->revmap_size; n += 32) { in dw_apb_ictl_handle_irq_cascaded() 61 u32 stat = readl_relaxed(gc->reg_base + APB_INT_FINALSTATUS_L); in dw_apb_ictl_handle_irq_cascaded() 64 u32 hwirq = ffs(stat) - 1; in dw_apb_ictl_handle_irq_cascaded() 65 generic_handle_domain_irq(d, gc->irq_base + hwirq); in dw_apb_ictl_handle_irq_cascaded() 71 chained_irq_exit(chip, desc); in dw_apb_ictl_handle_irq_cascaded() [all …]
|
/linux-6.12.1/include/linux/ |
D | rmi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2011-2016 Synaptics Incorporated 21 * struct rmi_2d_axis_alignment - target axis alignment 22 * @swap_axes: set to TRUE if desired to swap x- and y-axis 23 * @flip_x: set to TRUE if desired to flip direction on x-axis 24 * @flip_y: set to TRUE if desired to flip direction on y-axis 25 * @clip_x_low - reported X coordinates below this setting will be clipped to 27 * @clip_x_high - reported X coordinates above this setting will be clipped to 29 * @clip_y_low - reported Y coordinates below this setting will be clipped to 31 * @clip_y_high - reported Y coordinates above this setting will be clipped to [all …]
|
/linux-6.12.1/arch/alpha/include/asm/ |
D | dma.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * include/asm-alpha/dma.h 6 * use ISA-compatible dma. The only extension is support for high-page 7 * registers that allow to set the top 8 bits of a 32-bit DMA address. 31 * controller 1: channels 0-3, byte operations, ports 00-1F 32 * controller 2: channels 4-7, word operations, ports C0-DF 34 * - ALL registers are 8 bits only, regardless of transfer size 35 * - channel 4 is not used - cascades 1 into 2. 36 * - channels 0-3 are byte - addresses/counts are for physical bytes 37 * - channels 5-7 are word - addresses/counts are for physical words [all …]
|
/linux-6.12.1/drivers/media/usb/gspca/ |
D | stk1135.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 45 /* -- read a register -- */ 48 struct usb_device *dev = gspca_dev->dev; in reg_r() 51 if (gspca_dev->usb_err < 0) in reg_r() 58 gspca_dev->usb_buf, 1, in reg_r() 62 index, gspca_dev->usb_buf[0]); in reg_r() 65 gspca_dev->usb_err = ret; in reg_r() 69 return gspca_dev->usb_buf[0]; in reg_r() 72 /* -- write a register -- */ 76 struct usb_device *dev = gspca_dev->dev; in reg_w() [all …]
|
/linux-6.12.1/tools/spi/ |
D | spidev_test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Cross-compile with cross-gcc -I/path/to/cross-kernel/include 71 while (length-- > 0) { in hex_dump() 91 * Unescape - process hexadecimal escape character 92 * converts shell input "\x23" -> 0x23 175 printf("Usage: %s [-2348CDFHILMNORSZbdilopsv]\n", prog); in print_usage() 177 " -D --device device to use (default /dev/spidev1.1)\n" in print_usage() 178 " -s --speed max speed (Hz)\n" in print_usage() 179 " -d --delay delay (usec)\n" in print_usage() 180 " -l --loop loopback\n" in print_usage() [all …]
|
/linux-6.12.1/drivers/media/i2c/ |
D | imx219.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * Flip handling taken from the Sony IMX319 driver. 26 #include <media/v4l2-cci.h> 27 #include <media/v4l2-ctrls.h> 28 #include <media/v4l2-device.h> 29 #include <media/v4l2-event.h> 30 #include <media/v4l2-fwnode.h> 31 #include <media/v4l2-mediabus.h> 33 /* Chip ID */ 79 /* HBLANK control - read only */ [all …]
|
D | imx258.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <media/v4l2-cci.h> 12 #include <media/v4l2-ctrls.h> 13 #include <media/v4l2-device.h> 14 #include <media/v4l2-fwnode.h> 23 /* Chip ID */ 33 /* HBLANK control - read only */ 42 #define IMX258_EXPOSURE_MAX (IMX258_VTS_MAX - IMX258_EXPOSURE_OFFSET) 163 /* V-timing */ 459 * This table MUST contain 4 entries per format, to cover the various flip [all …]
|
/linux-6.12.1/drivers/infiniband/hw/qib/ |
D | qib_tx.c | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 53 * qib_disarm_piobufs - cancel a range of PIO buffers 68 spin_lock_irqsave(&dd->pioavail_lock, flags); in qib_disarm_piobufs() 70 __clear_bit(i, dd->pio_need_disarm); in qib_disarm_piobufs() 71 dd->f_sendctrl(dd->pport, QIB_SENDCTRL_DISARM_BUF(i)); in qib_disarm_piobufs() 73 spin_unlock_irqrestore(&dd->pioavail_lock, flags); in qib_disarm_piobufs() 82 struct qib_devdata *dd = rcd->dd; in qib_disarm_piobufs_ifneeded() 86 last = rcd->pio_base + rcd->piocnt; in qib_disarm_piobufs_ifneeded() 92 if (rcd->user_event_mask) { in qib_disarm_piobufs_ifneeded() [all …]
|
/linux-6.12.1/sound/pci/ |
D | als300.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * als300.c - driver for Avance Logic ALS300/ALS300+ soundcards. 16 * This is why we always use 2 periods. We can then use a flip-flop variable 24 #include <linux/dma-mapping.h> 151 static void snd_als300_set_irq_flag(struct snd_als300 *chip, int cmd) in snd_als300_set_irq_flag() argument 153 u32 tmp = snd_als300_gcr_read(chip->port, MISC_CONTROL); in snd_als300_set_irq_flag() 158 if (((chip->revision > 5 || chip->chip_type == DEVICE_ALS300_PLUS) ^ in snd_als300_set_irq_flag() 163 snd_als300_gcr_write(chip->port, MISC_CONTROL, tmp); in snd_als300_set_irq_flag() 168 struct snd_als300 *chip = card->private_data; in snd_als300_free() local 170 snd_als300_set_irq_flag(chip, IRQ_DISABLE); in snd_als300_free() [all …]
|
/linux-6.12.1/drivers/usb/host/ |
D | isp1362-hcd.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2005 Lothar Wassmann <LW@KARO-electronics.de> 16 * The ISP1362 chip requires a large delay (300ns and 462ns) between 21 * 2. Implement platform-specific delay function possibly 34 * must ensure that no further write cycle (not necessarily to the chip!) 58 /* This enables a memory test on the ISP1362 chip memory to make sure the 59 * chip access timing is correct. 99 #define DRIVER_VERSION "2005-04-04" 105 static const char hcd_name[] = "isp1362-hcd"; 110 /*-------------------------------------------------------------------------*/ [all …]
|
/linux-6.12.1/drivers/gpu/drm/panel/ |
D | panel-raspberrypi-touchscreen.c | 2 * Copyright © 2016-2017 Broadcom 8 * Portions of this file (derived from panel-simple.c) are: 25 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 36 * TC358762XBG DSI-DPI bridge, and an I2C-connected Atmel ATTINY88-MUR 47 #include <linux/media-bus-format.h> 58 #define RPI_DSI_DRIVER_NAME "rpi-ts-dsi" 63 REG_PORTA, /* BIT(2) for horizontal flip, BIT(3) for vertical flip */ 83 /* DSI D-PHY Layer Registers */ 161 /* DBI-B Host Registers */ 184 /* Chip/Rev Registers */ [all …]
|
D | panel-ilitek-ili9322.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * - 8-bit serial RGB interface 7 * - 24-bit parallel RGB interface 8 * - 8-bit ITU-R BT.601 interface 9 * - 8-bit ITU-R BT.656 interface 10 * - Up to 320RGBx240 dots resolution TFT LCD displays 11 * - Scaling, brightness and contrast 19 * Derived from drivers/drm/gpu/panel/panel-samsung-ld9040.c 64 /* 0 = right-to-left, 1 = left-to-right (default), horizontal flip */ 66 /* 0 = down-to-up, 1 = up-to-down (default), vertical flip */ [all …]
|