| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/include/linux/input/ |
| D | bu21013.h | 2 * Copyright (C) ST-Ericsson SA 2010 3 * Author: Naveen Kumar G <naveen.gaddipati@stericsson.com> for ST-Ericsson 11 * struct bu21013_platform_device - Handle the platform data 14 * @cs_pin: chip select pin 17 * @x_flip: x flip flag 18 * @y_flip: y flip flag
|
| /kernel/linux/linux-5.10/drivers/net/wan/ |
| D | z85230.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 27 * 512Kbit->1Mbit depending on motherboard. 60 * z8530_read_port - Architecture specific interface function 84 * z8530_write_port - Architecture specific interface function 113 * read_zsreg - Read a register from a Z85230 114 * @c: Z8530 channel to read from (2 per chip) 126 z8530_write_port(c->ctrlio, reg); in read_zsreg() 127 return z8530_read_port(c->ctrlio); in read_zsreg() 131 * read_zsdata - Read the data port of a Z8530 channel 141 r=z8530_read_port(c->dataio); in read_zsdata() [all …]
|
| D | z85230.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) 112 #define SDLC_CRC 0x4 /* SDLC/CRC-16 */ 121 /* Write Register 6 (Sync bits 0-7/SDLC Address Field) */ 123 /* Write Register 7 (Sync bits 8-15/SDLC 01111110) */ 222 /* Read Register 2 (channel b only) - Interrupt vector */ 280 u8 regs[32]; /* Register map for the chip */ 287 u8 *tx_dma_buf[2]; /* TX flip buffers for DMA */ 288 u8 tx_dma_used; /* Flip buffer usage toggler */ 304 u8 *rx_buf[2]; /* The flip buffers */ [all …]
|
| /kernel/linux/linux-4.19/drivers/net/wan/ |
| D | z85230.c | 30 * 512Kbit->1Mbit depending on motherboard. 63 * z8530_read_port - Architecture specific interface function 87 * z8530_write_port - Architecture specific interface function 116 * read_zsreg - Read a register from a Z85230 117 * @c: Z8530 channel to read from (2 per chip) 129 z8530_write_port(c->ctrlio, reg); in read_zsreg() 130 return z8530_read_port(c->ctrlio); in read_zsreg() 134 * read_zsdata - Read the data port of a Z8530 channel 144 r=z8530_read_port(c->dataio); in read_zsdata() 149 * write_zsreg - Write to a Z8530 channel register [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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"); 62 * Register block address- see header for details 63 * ----------------------------------------- [all …]
|
| /kernel/linux/linux-4.19/drivers/sbus/char/ |
| D | display7seg.c | 1 /* display7seg.c - Driver implementation for the 7-segment display 31 /* Solaris compatibility flag - 33 * documented driver features (ref Sun doc 806-0180-03). 37 * 1) Device ALWAYS reverts to OBP-specified FLIPPED mode 40 * FLIP bit 43 * omitting above features, set this parameter to non-zero. 50 MODULE_DESCRIPTION("7-Segment Display driver for Sun Microsystems CP1400/1500"); 61 * Register block address- see header for details 62 * ----------------------------------------- 63 * | DP | ALARM | FLIP | 4 | 3 | 2 | 1 | 0 | [all …]
|
| /kernel/linux/linux-5.10/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
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/drivers/ata/ |
| D | pata_sl82c105.c | 2 * pata_sl82c105.c - SL82C105 PATA for new ATA layer 13 * PIO and DMA. We thus flip to the DMA timings in dma_start and flip back 44 * sl82c105_pre_reset - probe begin 57 struct ata_port *ap = link->ap; in sl82c105_pre_reset() 58 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sl82c105_pre_reset() 60 if (ap->port_no && !pci_test_config_bits(pdev, &sl82c105_enable_bits[ap->port_no])) in sl82c105_pre_reset() 61 return -ENOENT; in sl82c105_pre_reset() 67 * sl82c105_configure_piomode - set chip PIO timing 79 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in sl82c105_configure_piomode() 84 int timing = 0x44 + (8 * ap->port_no) + (4 * adev->devno); in sl82c105_configure_piomode() [all …]
|
| /kernel/linux/linux-4.19/drivers/irqchip/ |
| D | irq-dw-apb-ictl.c | 32 struct irq_chip *chip = irq_desc_get_chip(desc); in dw_apb_ictl_handler() local 35 chained_irq_enter(chip, desc); in dw_apb_ictl_handler() 37 for (n = 0; n < d->revmap_size; n += 32) { in dw_apb_ictl_handler() 39 u32 stat = readl_relaxed(gc->reg_base + APB_INT_FINALSTATUS_L); in dw_apb_ictl_handler() 42 u32 hwirq = ffs(stat) - 1; in dw_apb_ictl_handler() 43 u32 virq = irq_find_mapping(d, gc->irq_base + hwirq); in dw_apb_ictl_handler() 50 chained_irq_exit(chip, desc); in dw_apb_ictl_handler() 60 writel_relaxed(~0, gc->reg_base + ct->regs.enable); in dw_apb_ictl_resume() 61 writel_relaxed(*ct->mask_cache, gc->reg_base + ct->regs.mask); in dw_apb_ictl_resume() 83 return -EINVAL; in dw_apb_ictl_init() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/dvb-frontends/ |
| D | lgdt330x.h | 2 * Support for LGDT3302 and LGDT3303 - VSB/QAM 30 * struct lgdt330x_config - contains lgdt330x configuration 32 * @demod_chip: LG demodulator chip LGDT3302 or LGDT3303 33 * @serial_mpeg: MPEG hardware interface - 0:parallel 1:serial 37 * Flip the polarity of the mpeg data transfer clock using alternate 39 * This option applies ONLY to LGDT3303 - 0:disabled (default) 1:enabled
|
| /kernel/linux/linux-5.10/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 177 sd->vcur.backlight = 0; in mi1320_init_settings() 178 sd->vcur.brightness = 0; in mi1320_init_settings() 179 sd->vcur.sharpness = 6; in mi1320_init_settings() 180 sd->vcur.contrast = 10; in mi1320_init_settings() 181 sd->vcur.gamma = 20; in mi1320_init_settings() 182 sd->vcur.hue = 0; in mi1320_init_settings() 183 sd->vcur.saturation = 6; in mi1320_init_settings() 184 sd->vcur.whitebal = 0; in mi1320_init_settings() [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/linux-5.10/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 u32 virq = irq_find_mapping(d, gc->irq_base + hwirq); in dw_apb_ictl_handle_irq_cascaded() 72 chained_irq_exit(chip, desc); in dw_apb_ictl_handle_irq_cascaded() [all …]
|
| /kernel/linux/linux-4.19/drivers/media/usb/gspca/gl860/ |
| D | gl860.h | 1 /* GSPCA subdrivers for Genesys Logic webcams with the GL860 chip 35 #define _MI1320_ (((struct sd *) gspca_dev)->sensor == ID_MI1320) 36 #define _MI2020_ (((struct sd *) gspca_dev)->sensor == ID_MI2020) 37 #define _OV2640_ (((struct sd *) gspca_dev)->sensor == ID_OV2640) 38 #define _OV9655_ (((struct sd *) gspca_dev)->sensor == ID_OV9655) 55 u8 flip; member
|
| D | gl860-mi1320.c | 1 /* Subdriver for the GL860 chip with the MI1320 sensor 189 sd->vcur.backlight = 0; in mi1320_init_settings() 190 sd->vcur.brightness = 0; in mi1320_init_settings() 191 sd->vcur.sharpness = 6; in mi1320_init_settings() 192 sd->vcur.contrast = 10; in mi1320_init_settings() 193 sd->vcur.gamma = 20; in mi1320_init_settings() 194 sd->vcur.hue = 0; in mi1320_init_settings() 195 sd->vcur.saturation = 6; in mi1320_init_settings() 196 sd->vcur.whitebal = 0; in mi1320_init_settings() 197 sd->vcur.mirror = 0; in mi1320_init_settings() [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/include/linux/ |
| D | rmi.h | 2 * Copyright (c) 2011-2016 Synaptics Incorporated 24 * struct rmi_2d_axis_alignment - target axis alignment 25 * @swap_axes: set to TRUE if desired to swap x- and y-axis 26 * @flip_x: set to TRUE if desired to flip direction on x-axis 27 * @flip_y: set to TRUE if desired to flip direction on y-axis 28 * @clip_x_low - reported X coordinates below this setting will be clipped to 30 * @clip_x_high - reported X coordinates above this setting will be clipped to 32 * @clip_y_low - reported Y coordinates below this setting will be clipped to 34 * @clip_y_high - reported Y coordinates above this setting will be clipped to 36 * @offset_x - this value will be added to all reported X coordinates [all …]
|
| /kernel/linux/linux-4.19/drivers/input/touchscreen/ |
| D | bu21013_ts.c | 2 * Copyright (C) ST-Ericsson SA 2010 3 * Author: Naveen Kumar G <naveen.gaddipati@stericsson.com> for ST-Ericsson 140 * struct bu21013_ts_data - touch panel data structure 144 * @chip: pointer to the touch panel controller 154 const struct bu21013_platform_device *chip; member 163 * bu21013_read_block_data(): read the touch co-ordinates 167 * Read the touch co-ordinates using i2c read block into buffer 176 (data->client, BU21013_SENSORS_BTN_0_7_REG, in bu21013_read_block_data() 181 return -EINVAL; in bu21013_read_block_data() 185 * bu21013_do_touch_report(): Get the touch co-ordinates [all …]
|
| /kernel/linux/linux-5.10/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 …]
|