Lines Matching +full:trackpad +full:- +full:3 +full:x
1 /* SPDX-License-Identifier: GPL-2.0 */
7 * This file contains definitions for the SA-1111 Companion Chip.
8 * (Structure and naming borrowed from SA-1101.h, by Peter Danielsson.)
10 * Macro that calculates real address for registers in the SA-1111
37 #define SKCR_DOZE (1<<3)
50 * - The October 1999 errata (278260-007) says its bit 13, 1 to enable.
51 * - The Feb 2001 errata (278260-010) says that the previous errata
52 * (278260-009) is wrong, and its bit actually 12, fixed in spec
53 * 278242-003.
54 * - The SA1111 manual (278242) says bit 12, but 0 to enable.
55 * - Reality is bit 13, 1 to enable.
56 * -- rmk
63 #define SMCR_DRAC_1 (1<<3)
65 #define SMCR_DRAC Fld(3, 2)
100 #define SKPCR_L3CLKEN (1<<3)
116 * SACR2 Serial Audio AC-link Control Register
118 * SASR1 Serial Audio AC-link Interface & FIFO Status Register
122 * ACCAR AC-link Command Address Register
123 * ACCDR AC-link Command Data Register
124 * ACSAR AC-link Status Address Register
125 * ACSDR AC-link Status Data Register
137 * SADR Serial Audio Data Register (16 x 32-bit)
174 #define SACR0_RST (1<<3)
179 #define SACR1_DREC (1<<3)
186 #define SACR2_DREC (1<<3)
194 #define SASR0_TFS (1<<3)
204 #define SASR1_TFS (1<<3)
224 #define SADTCS_TDBDA (1<<3)
232 #define SADRCS_RDBDA (1<<3)
240 #define SAD_CS_DBDA (1<<3) /* Not functional on metal 1 */
249 #define SAITR_ROR (1<<3)
261 * General-Purpose I/O Interface
299 #define GPIO_A3 (1 << 3)
334 * WAKE_EN0 Wake-up source enable 0
335 * WAKE_EN1 Wake-up source enable 1
336 * WAKE_POL0 Wake-up polarity selection 0
337 * WAKE_POL1 Wake-up polarity selection 1
360 /* PS/2 Trackpad and Mouse Interfaces */
376 #define SA1111_DEVID_SAC (1 << 3)
378 #define SA1111_DEVID_PS2 (3 << 5)
395 #define to_sa1111_device(x) container_of(x, struct sa1111_dev, dev) argument
397 #define sa1111_get_drvdata(d) dev_get_drvdata(&(d)->dev)
398 #define sa1111_set_drvdata(d,p) dev_set_drvdata(&(d)->dev, p)
409 #define SA1111_DRIVER_NAME(_sadev) ((_sadev)->dev.driver->name)
435 int irq_base; /* base for cascaded on-chip IRQs */