Lines Matching +full:invert +full:- +full:ext
1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <linux/delay.h> /* for delay-stuff */
7 #include <linux/pci.h> /* for pci-config-stuff, vendor ids etc. */
16 #include <media/v4l2-device.h>
17 #include <media/v4l2-ctrls.h>
22 #define saa7146_write(sxy,adr,dat) writel((dat),(sxy->mem+(adr)))
23 #define saa7146_read(sxy,adr) readl(sxy->mem+(adr))
76 struct saa7146_extension *ext; member
107 u32 irq_mask; /* mask to indicate, which irq-events are handled by the extension */
129 u32 revision; /* chip revision; needed for bug-workarounds*/
131 /* pci-device & irq stuff*/
138 struct saa7146_extension *ext; /* indicates if handled by extension */ member
146 /* i2c-stuff */
184 #define SAA7146_I2C_TIMEOUT 100 /* i2c-timeout-value in ms */
185 #define SAA7146_I2C_RETRIES 3 /* how many times shall we retry an i2c-operation? */
186 #define SAA7146_I2C_DELAY 5 /* time we wait after certain i2c-operations */
233 #define RPS_INV (1<<26) // Invert (compound) event
362 #define GPIO_CTRL 0xE0 /* GPIO 0-3 register */
395 #define A_TIME_SLOT1 0x180, /* from 180 - 1BC */
396 #define A_TIME_SLOT2 0x1C0, /* from 1C0 - 1FC */
419 #define SPCI_AFOU 0x00000800 /* Audio FIFO over- / underflow */
421 #define SPCI_VFOU 0x00000200 /* Video FIFO over- / underflow */
459 spin_lock_irqsave(&x->int_slock, flags); in SAA7146_IER_DISABLE()
461 spin_unlock_irqrestore(&x->int_slock, flags); in SAA7146_IER_DISABLE()
467 spin_lock_irqsave(&x->int_slock, flags); in SAA7146_IER_ENABLE()
469 spin_unlock_irqrestore(&x->int_slock, flags); in SAA7146_IER_ENABLE()