Home
last modified time | relevance | path

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

123456

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/touchscreen/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/net/wan/
H A Dz85230.c1 // 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A 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 …]
/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/
H A Domap_gpmc.c2 * (C) Copyright 2004-2008 Texas Instruments, <www.ti.com>
5 * SPDX-License-Identifier: GPL-2.0+
55 * omap_nand_hwcontrol - Set the address pointers corretly for the
63 int cs = info->cs; in omap_nand_hwcontrol()
67 * of chip address in omap_nand_hwcontrol()
71 this->IO_ADDR_W = (void __iomem *)&gpmc_cfg->cs[cs].nand_cmd; in omap_nand_hwcontrol()
74 this->IO_ADDR_W = (void __iomem *)&gpmc_cfg->cs[cs].nand_adr; in omap_nand_hwcontrol()
77 this->IO_ADDR_W = (void __iomem *)&gpmc_cfg->cs[cs].nand_dat; in omap_nand_hwcontrol()
82 writeb(cmd, this->IO_ADDR_W); in omap_nand_hwcontrol()
90 return gpmc_cfg->status & (1 << (8 + info->ws)); in omap_dev_ready()
[all …]
H A Datmel_nand.c2 * (C) Copyright 2007-2008
11 * SPDX-License-Identifier: GPL-2.0+
78 * 2-bits 4-bytes 4-bytes
79 * 4-bits 7-bytes 7-bytes
80 * 8-bits 13-bytes 14-bytes
81 * 12-bits 20-bytes 21-bytes
82 * 24-bits 39-bytes 42-bytes
83 * 32-bits 52-bytes 56-bytes
96 layout->eccbytes = ecc_len; in pmecc_config_ecc_layout()
100 layout->eccpos[i] = oobsize - ecc_len + i; in pmecc_config_ecc_layout()
[all …]
/OK3568_Linux_fs/kernel/drivers/sbus/char/
H A 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");
62 * Register block address- see header for details
63 * -----------------------------------------
[all …]
/OK3568_Linux_fs/kernel/drivers/ata/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/media/dvb-frontends/
H A 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
/OK3568_Linux_fs/kernel/include/linux/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/irqchip/
H A 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 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 …]
/OK3568_Linux_fs/kernel/arch/alpha/include/asm/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/media/usb/gspca/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/media/usb/gspca/gl860/
H A 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
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/video/fbdev/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/arm/mach-pxa/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/qib/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Disp1362-hcd.c1 // 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 …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/panel/
H A Dpanel-ilitek-ili9322.c1 // 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
63 /* 0 = right-to-left, 1 = left-to-right (default), horizontal flip */
65 /* 0 = down-to-up, 1 = up-to-down (default), vertical flip */
[all …]

123456