Home
last modified time | relevance | path

Searched +full:flip +full:- +full:chip (Results 1 – 25 of 99) sorted by relevance

1234

/Linux-v5.15/Documentation/devicetree/bindings/input/touchscreen/
Dbu21013.txt4 - 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-v5.15/drivers/net/wan/
Dz85230.c1 // SPDX-License-Identifier: GPL-2.0-or-later
25 * 512Kbit->1Mbit depending on motherboard.
57 * z8530_read_port - Architecture specific interface function
82 * z8530_write_port - Architecture specific interface function
107 * read_zsreg - Read a register from a Z85230
108 * @c: Z8530 channel to read from (2 per chip)
120 z8530_write_port(c->ctrlio, reg); in read_zsreg()
121 return z8530_read_port(c->ctrlio); in read_zsreg()
125 * read_zsdata - Read the data port of a Z8530 channel
136 r = z8530_read_port(c->dataio); in read_zsdata()
[all …]
Dz85230.h1 /* 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 …]
/Linux-v5.15/drivers/input/touchscreen/
Dbu21013_ts.c1 // 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-v5.15/drivers/sbus/char/
Ddisplay7seg.c1 // 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-v5.15/drivers/ata/
Dpata_sl82c105.c1 // 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 …]
Dpata_mpiix.c1 // 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 …]
Dpata_ns87415.c1 // 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 …]
Dpata_pdc202xx_old.c1 // 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 DPRINTK("ata%u: cmd 0x%X\n", ap->print_id, tf->command); in pdc202xx_exec_command()
43 iowrite8(tf->command, ap->ioaddr.command_addr); in pdc202xx_exec_command()
49 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in pdc202xx_irq_check()
53 if (ap->port_no) { in pdc202xx_irq_check()
69 * pdc202xx_configure_piomode - set chip PIO timing
81 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in pdc202xx_configure_piomode()
[all …]
/Linux-v5.15/drivers/media/dvb-frontends/
Dlgdt330x.h1 /* 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-v5.15/drivers/media/usb/gspca/gl860/
Dgl860.h1 /* 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
Dgl860-ov2640.c1 // 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 …]
Dgl860-mi1320.c1 // 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 …]
Dgl860-mi2020.c1 // 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-v5.15/arch/alpha/include/asm/
Ddma.h1 /* 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-v5.15/drivers/irqchip/
Dirq-dw-apb-ictl.c38 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-v5.15/include/linux/
Drmi.h1 /* 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-v5.15/drivers/media/usb/gspca/
Dstk1135.c1 // 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-v5.15/drivers/video/fbdev/
Dw100fb.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Copyright (C) 2004-2006 Richard Purdie
82 struct w100fb_par *par=info->par; in flip_show()
84 return sprintf(buf, "%d\n",par->flip); in flip_show()
89 unsigned int flip; in flip_store() local
91 struct w100fb_par *par=info->par; in flip_store()
93 flip = simple_strtoul(buf, NULL, 10); in flip_store()
95 if (flip > 0) in flip_store()
96 par->flip = 1; in flip_store()
98 par->flip = 0; in flip_store()
[all …]
/Linux-v5.15/arch/arm/mach-pxa/
Dezx.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * ezx.c - Common code for the EZX platform.
5 * Copyright (C) 2005-2006 Harald Welte <laforge@openezx.org>,
6 * 2007-2008 Daniel Ribeiro <drwyrm@gmail.com>,
7 * 2007-2008 Stefan Schmidt <stefan@datenfreihafen.org>
22 #include <linux/leds-lp3944.h>
23 #include <linux/platform_data/i2c-pxa.h>
26 #include <asm/mach-types.h>
30 #include <linux/platform_data/video-pxafb.h>
31 #include <linux/platform_data/usb-ohci-pxa27x.h>
[all …]
/Linux-v5.15/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-regmap.c1 // SPDX-License-Identifier: GPL-2.0
3 // mcp251xfd - Microchip MCP251xFD Family CAN controller driver
6 // Marc Kleine-Budde <kernel@pengutronix.de>
30 struct mcp251xfd_map_buf_nocrc *buf_tx = priv->map_buf_nocrc_tx; in mcp251xfd_regmap_nocrc_gather_write()
34 .len = sizeof(buf_tx->cmd) + val_len, in mcp251xfd_regmap_nocrc_gather_write()
38 BUILD_BUG_ON(sizeof(buf_tx->cmd) != sizeof(__be16)); in mcp251xfd_regmap_nocrc_gather_write()
41 reg_len != sizeof(buf_tx->cmd.cmd)) in mcp251xfd_regmap_nocrc_gather_write()
42 return -EINVAL; in mcp251xfd_regmap_nocrc_gather_write()
44 memcpy(&buf_tx->cmd, reg, sizeof(buf_tx->cmd)); in mcp251xfd_regmap_nocrc_gather_write()
45 memcpy(buf_tx->data, val, val_len); in mcp251xfd_regmap_nocrc_gather_write()
[all …]
/Linux-v5.15/drivers/media/i2c/
Dimx219.c1 // SPDX-License-Identifier: GPL-2.0
12 * Flip handling taken from the Sony IMX319 driver.
24 #include <media/v4l2-ctrls.h>
25 #include <media/v4l2-device.h>
26 #include <media/v4l2-event.h>
27 #include <media/v4l2-fwnode.h>
28 #include <media/v4l2-mediabus.h>
38 /* Chip ID */
66 /* HBLANK control - read only */
141 /* V-timing */
[all …]
/Linux-v5.15/drivers/infiniband/hw/qib/
Dqib_tx.c14 * - 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()
87 last = rcd->pio_base + rcd->piocnt; in qib_disarm_piobufs_ifneeded()
93 if (rcd->user_event_mask) { in qib_disarm_piobufs_ifneeded()
[all …]
/Linux-v5.15/sound/pci/
Dals300.c1 // 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-v5.15/drivers/gpu/drm/panel/
Dpanel-raspberrypi-touchscreen.c2 * 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
59 #define RPI_DSI_DRIVER_NAME "rpi-ts-dsi"
64 REG_PORTA, /* BIT(2) for horizontal flip, BIT(3) for vertical flip */
84 /* DSI D-PHY Layer Registers */
162 /* DBI-B Host Registers */
185 /* Chip/Rev Registers */
201 * plugged in and clock re-computed from that.
[all …]

1234