Home
last modified time | relevance | path

Searched full:pen (Results 1 – 25 of 275) sorted by relevance

1234567891011

/kernel/linux/linux-5.10/drivers/hid/
Dhid-uclogic-params.c24 * Convert a pen in-range reporting type to a string.
110 * uclogic_params_pen (tablet interface's pen input parameters).
113 * @pen: Pen input parameters to cleanup. Cannot be NULL.
115 static void uclogic_params_pen_cleanup(struct uclogic_params_pen *pen) in uclogic_params_pen_cleanup() argument
117 kfree(pen->desc_ptr); in uclogic_params_pen_cleanup()
118 memset(pen, 0, sizeof(*pen)); in uclogic_params_pen_cleanup()
122 * uclogic_params_pen_init_v1() - initialize tablet interface pen
125 * @pen: Pointer to the pen parameters to initialize (to be
137 static int uclogic_params_pen_init_v1(struct uclogic_params_pen *pen, in uclogic_params_pen_init_v1() argument
148 /* Pen report descriptor template parameters */ in uclogic_params_pen_init_v1()
[all …]
Dhid-uclogic-params.h22 /* Types of pen in-range reporting */
32 /* Convert a pen in-range reporting type to a string */
37 * Tablet interface's pen input parameters.
136 * True, if pen usage in report descriptor is invalid, when present.
141 * Pen parameters and optional report descriptor part.
144 struct uclogic_params_pen pen; member
152 * byte of the pen report, or zero if it's not expected.
153 * Only valid if both "pen" and "frame" are valid, and "frame.id" is
169 ".pen.desc_ptr = %p\n" \
170 ".pen.desc_size = %u\n" \
[all …]
Dhid-uclogic-core.c36 /* Pen input device */
45 * uclogic_inrange_timeout - handle pen in-range state timeout.
46 * Emulate input events normally generated when pen goes out of range for
94 /* discard the unused pen interface */ in uclogic_input_mapping()
117 * If this is the input corresponding to the pen report in uclogic_input_configured()
120 if (hi->report->id == params->pen.id) { in uclogic_input_configured()
138 suffix = "Pen"; in uclogic_input_configured()
172 * than the pen, so use QUIRK_MULTI_INPUT for all tablets. in uclogic_probe()
256 /* Tweak pen reports, if necessary */ in uclogic_raw_event()
259 (report->id == params->pen.id) && in uclogic_raw_event()
[all …]
Dhid-uclogic-rdesc.h92 /* Pen report descriptor template placeholder IDs */
102 /* Report descriptor pen template placeholder */
106 /* Report ID for v1 pen reports */
109 /* Fixed report descriptor template for (tweaked) v1 pen reports */
113 /* Report ID for v2 pen reports */
116 /* Fixed report descriptor template for (tweaked) v2 pen reports */
138 /* Fixed report descriptor for XP-Pen Deco 01 frame controls */
/kernel/linux/linux-4.19/include/linux/
Dwm97xx.h67 #define WM97XX_RPR 0x2000 /* wake up on pen down */
68 #define WM97XX_PEN_DOWN 0x8000 /* pen is down */
72 #define WM9712_PDEN 0x0800 /* measure only when pen down */
78 #define WM9712_RPU(i) (i&0x3f) /* internal pull up on pen detect (64k / rpu) */
86 #define WM9705_PDEN 0x1000 /* measure only when pen is down */
87 #define WM9705_PINV 0x0800 /* inverts sense of pen down output */
96 #define WM9705_PDD(i) (i & 0x000f) /* pen detect comparator threshold */
100 #define WM9713_PDPOL 0x0400 /* Pen down polarity */
108 #define WM9713_PDEN 0x0800 /* measure only when pen down */
152 /* The pen is up (the first RC_VALID without RC_PENUP means pen is down) */
[all …]
/kernel/linux/linux-5.10/include/linux/
Dwm97xx.h67 #define WM97XX_RPR 0x2000 /* wake up on pen down */
68 #define WM97XX_PEN_DOWN 0x8000 /* pen is down */
72 #define WM9712_PDEN 0x0800 /* measure only when pen down */
78 #define WM9712_RPU(i) (i&0x3f) /* internal pull up on pen detect (64k / rpu) */
86 #define WM9705_PDEN 0x1000 /* measure only when pen is down */
87 #define WM9705_PINV 0x0800 /* inverts sense of pen down output */
96 #define WM9705_PDD(i) (i & 0x000f) /* pen detect comparator threshold */
100 #define WM9713_PDPOL 0x0400 /* Pen down polarity */
108 #define WM9713_PDEN 0x0800 /* measure only when pen down */
152 /* The pen is up (the first RC_VALID without RC_PENUP means pen is down) */
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-prima2/
Dheadsmp.S15 * a "holding pen" into which all secondary cores are held until we're
22 pen: ldr r7, [r6] label
24 bne pen
27 * we've been released from the holding pen: secondary_stack
/kernel/linux/linux-5.10/arch/arm/plat-versatile/
Dheadsmp.S14 * This provides a "holding pen" into which all secondary cores are held
22 pen: ldr r7, [r6] label
24 bne pen
27 * we've been released from the holding pen: secondary_stack
/kernel/linux/linux-5.10/arch/arm/mach-exynos/
Dheadsmp.S15 * a "holding pen" into which all secondary cores are held until we're
23 pen: ldr r7, [r6] label
25 bne pen
28 * we've been released from the holding pen: secondary_stack
/kernel/linux/linux-4.19/arch/arm/mach-prima2/
Dheadsmp.S14 * a "holding pen" into which all secondary cores are held until we're
24 pen: ldr r7, [r6] label
26 bne pen
29 * we've been released from the holding pen: secondary_stack
/kernel/linux/linux-4.19/arch/arm/mach-exynos/
Dheadsmp.S15 * a "holding pen" into which all secondary cores are held until we're
26 pen: ldr r7, [r6] label
28 bne pen
31 * we've been released from the holding pen: secondary_stack
/kernel/linux/linux-4.19/arch/arm/plat-versatile/
Dheadsmp.S17 * This provides a "holding pen" into which all secondary cores are held
28 pen: ldr r7, [r6] label
30 bne pen
33 * we've been released from the holding pen: secondary_stack
/kernel/linux/linux-5.10/arch/arm/mach-spear/
Dheadsmp.S19 * a "holding pen" into which all secondary cores are held until we're
26 pen: ldr r7, [r6] label
28 bne pen
35 * we've been released from the holding pen: secondary_stack
/kernel/linux/linux-4.19/arch/arm/mach-sti/
Dheadsmp.S21 * a "holding pen" into which all secondary cores are held until we're
31 pen: ldr r7, [r6] label
33 bne pen
36 * we've been released from the holding pen: secondary_stack
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/touchscreen/
Dfsl-mx25-tcq.txt14 - fsl,pen-debounce-ns: Pen debounce time in nanoseconds.
15 - fsl,pen-threshold: Pen-down threshold for the touchscreen. This is a value
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/input/touchscreen/
Dfsl-mx25-tcq.txt14 - fsl,pen-debounce-ns: Pen debounce time in nanoseconds.
15 - fsl,pen-threshold: Pen-down threshold for the touchscreen. This is a value
/kernel/linux/linux-4.19/arch/arm/mach-spear/
Dheadsmp.S20 * a "holding pen" into which all secondary cores are held until we're
30 pen: ldr r7, [r6] label
32 bne pen
39 * we've been released from the holding pen: secondary_stack
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/
Docteon-irq.c297 unsigned long *pen; in octeon_irq_ciu_enable() local
306 pen = &per_cpu(octeon_irq_ciu0_en_mirror, cpu); in octeon_irq_ciu_enable()
307 __set_bit(cd->bit, pen); in octeon_irq_ciu_enable()
313 cvmx_write_csr(CVMX_CIU_INTX_EN0(coreid * 2), *pen); in octeon_irq_ciu_enable()
315 pen = &per_cpu(octeon_irq_ciu1_en_mirror, cpu); in octeon_irq_ciu_enable()
316 __set_bit(cd->bit, pen); in octeon_irq_ciu_enable()
322 cvmx_write_csr(CVMX_CIU_INTX_EN1(coreid * 2 + 1), *pen); in octeon_irq_ciu_enable()
329 unsigned long *pen; in octeon_irq_ciu_enable_local() local
338 pen = this_cpu_ptr(&octeon_irq_ciu0_en_mirror); in octeon_irq_ciu_enable_local()
339 __set_bit(cd->bit, pen); in octeon_irq_ciu_enable_local()
[all …]
/kernel/linux/linux-4.19/arch/mips/cavium-octeon/
Docteon-irq.c297 unsigned long *pen; in octeon_irq_ciu_enable() local
306 pen = &per_cpu(octeon_irq_ciu0_en_mirror, cpu); in octeon_irq_ciu_enable()
307 __set_bit(cd->bit, pen); in octeon_irq_ciu_enable()
313 cvmx_write_csr(CVMX_CIU_INTX_EN0(coreid * 2), *pen); in octeon_irq_ciu_enable()
315 pen = &per_cpu(octeon_irq_ciu1_en_mirror, cpu); in octeon_irq_ciu_enable()
316 __set_bit(cd->bit, pen); in octeon_irq_ciu_enable()
322 cvmx_write_csr(CVMX_CIU_INTX_EN1(coreid * 2 + 1), *pen); in octeon_irq_ciu_enable()
329 unsigned long *pen; in octeon_irq_ciu_enable_local() local
338 pen = this_cpu_ptr(&octeon_irq_ciu0_en_mirror); in octeon_irq_ciu_enable_local()
339 __set_bit(cd->bit, pen); in octeon_irq_ciu_enable_local()
[all …]
/kernel/linux/linux-4.19/drivers/input/touchscreen/
Dsurface3_spi.c128 struct surface3_ts_data_pen *pen) in surface3_spi_report_pen() argument
131 int st = pen->status; in surface3_spi_report_pen()
154 get_unaligned_le16(&pen->x)); in surface3_spi_report_pen()
157 get_unaligned_le16(&pen->y)); in surface3_spi_report_pen()
160 get_unaligned_le16(&pen->pressure)); in surface3_spi_report_pen()
166 struct surface3_ts_data_pen *pen; in surface3_spi_process_pen() local
168 pen = (struct surface3_ts_data_pen *)&data[15]; in surface3_spi_process_pen()
170 surface3_spi_report_pen(ts_data, pen); in surface3_spi_process_pen()
316 input->name = "Surface3 SPI Pen Input"; in surface3_spi_create_pen_input()
Dda9052_tsi.c114 /* Pen is still DOWN (or read error) */ in da9052_ts_pen_work()
119 /* Pen UP */ in da9052_ts_pen_work()
122 /* Report Pen UP */ in da9052_ts_pen_work()
129 * pen down and pen up events occurs in da9052_ts_pen_work()
199 /* Enable Pen Detect Circuit */ in da9052_ts_input_open()
225 /* Disable Pen Detect Circuit */ in da9052_ts_input_close()
270 /* Disable Pen Detect Circuit */ in da9052_ts_probe()
Dmainstone-wm97xx.c69 * Pen sampling frequency (Hz) in continuous mode.
76 * Pen down detection.
78 * This driver can either poll or use an interrupt to indicate a pen down
83 MODULE_PARM_DESC(pen_int, "Pen down detection (1 = interrupt, 0 = polling)");
88 * Set to 1 to read back pen down pressure
222 } else /* pen irq not supported */ in wm97xx_acc_startup()
244 "pen down irq not supported on this device\n"); in wm97xx_acc_startup()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dsurface3_spi.c124 struct surface3_ts_data_pen *pen) in surface3_spi_report_pen() argument
127 int st = pen->status; in surface3_spi_report_pen()
150 get_unaligned_le16(&pen->x)); in surface3_spi_report_pen()
153 get_unaligned_le16(&pen->y)); in surface3_spi_report_pen()
156 get_unaligned_le16(&pen->pressure)); in surface3_spi_report_pen()
162 struct surface3_ts_data_pen *pen; in surface3_spi_process_pen() local
164 pen = (struct surface3_ts_data_pen *)&data[15]; in surface3_spi_process_pen()
166 surface3_spi_report_pen(ts_data, pen); in surface3_spi_process_pen()
312 input->name = "Surface3 SPI Pen Input"; in surface3_spi_create_pen_input()
Dda9052_tsi.c109 /* Pen is still DOWN (or read error) */ in da9052_ts_pen_work()
114 /* Pen UP */ in da9052_ts_pen_work()
117 /* Report Pen UP */ in da9052_ts_pen_work()
124 * pen down and pen up events occurs in da9052_ts_pen_work()
194 /* Enable Pen Detect Circuit */ in da9052_ts_input_open()
220 /* Disable Pen Detect Circuit */ in da9052_ts_input_close()
265 /* Disable Pen Detect Circuit */ in da9052_ts_probe()
Dmainstone-wm97xx.c64 * Pen sampling frequency (Hz) in continuous mode.
71 * Pen down detection.
73 * This driver can either poll or use an interrupt to indicate a pen down
78 MODULE_PARM_DESC(pen_int, "Pen down detection (1 = interrupt, 0 = polling)");
83 * Set to 1 to read back pen down pressure
217 } else /* pen irq not supported */ in wm97xx_acc_startup()
239 "pen down irq not supported on this device\n"); in wm97xx_acc_startup()

1234567891011