Home
last modified time | relevance | path

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

12345678910>>...12

/kernel/linux/linux-5.10/drivers/hid/
Dhid-uclogic-params.c24 * Convert a pen in-range reporting type to a string.
112 * uclogic_params_pen (tablet interface's pen input parameters).
115 * @pen: Pen input parameters to cleanup. Cannot be NULL.
117 static void uclogic_params_pen_cleanup(struct uclogic_params_pen *pen) in uclogic_params_pen_cleanup() argument
119 kfree(pen->desc_ptr); in uclogic_params_pen_cleanup()
120 memset(pen, 0, sizeof(*pen)); in uclogic_params_pen_cleanup()
124 * uclogic_params_pen_init_v1() - initialize tablet interface pen
127 * @pen: Pointer to the pen parameters to initialize (to be
139 static int uclogic_params_pen_init_v1(struct uclogic_params_pen *pen, in uclogic_params_pen_init_v1() argument
150 /* 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()
257 /* Tweak pen reports, if necessary */ in uclogic_raw_event()
260 (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-6.6/drivers/hid/
Dhid-uclogic-params.c25 * uclogic_params_pen_inrange_to_str() - Convert a pen in-range reporting type
49 * uclogic_params_pen_hid_dbg() - Dump tablet interface pen parameters
50 * @hdev: The HID device the pen parameters describe.
51 * @pen: The pen parameters to dump.
53 * Dump tablet interface pen parameters with hid_dbg(). The dump is indented
57 const struct uclogic_params_pen *pen) in uclogic_params_pen_hid_dbg() argument
62 (pen->usage_invalid ? "true" : "false")); in uclogic_params_pen_hid_dbg()
63 hid_dbg(hdev, "\t.desc_ptr = %p\n", pen->desc_ptr); in uclogic_params_pen_hid_dbg()
64 hid_dbg(hdev, "\t.desc_size = %u\n", pen->desc_size); in uclogic_params_pen_hid_dbg()
65 hid_dbg(hdev, "\t.id = %u\n", pen->id); in uclogic_params_pen_hid_dbg()
[all …]
Dhid-uclogic-core.c26 * uclogic_inrange_timeout - handle pen in-range state timeout.
27 * Emulate input events normally generated when pen goes out of range for
75 /* Discard invalid pen usages */ in uclogic_input_mapping()
76 if (params->pen.usage_invalid && (field->application == HID_DG_PEN)) in uclogic_input_mapping()
98 * If this is the input corresponding to the pen report in uclogic_input_configured()
101 if (hi->report->id == params->pen.id) { in uclogic_input_configured()
136 suffix = "Pen"; in uclogic_input_configured()
167 * than the pen, so use QUIRK_MULTI_INPUT for all tablets. in uclogic_probe()
275 * uclogic_raw_event_pen - handle raw pen events (pen HID reports).
287 struct uclogic_params_pen *pen = &drvdata->params.pen; in uclogic_raw_event_pen() local
[all …]
Dhid-uclogic-params.h26 /* Types of pen in-range reporting */
47 * Pen report's subreport data.
51 * The value of the second byte of the pen report indicating this
58 * The ID to be assigned to the report, if the second byte of the pen
65 * Tablet interface's pen input parameters.
74 * True if pen usage is invalid for this interface and should be
79 * Pointer to report descriptor part describing the pen inputs.
101 * True if the pen reports tilt in bytes at offset 10 (X) and 11 (Y),
222 * Pen parameters and optional report descriptor part.
225 struct uclogic_params_pen pen; member
[all …]
Dhid-uclogic-rdesc.h104 /* Report descriptor pen template placeholder */
112 /* Report ID for v1 pen reports */
115 /* Fixed report descriptor template for (tweaked) v1 pen reports */
119 /* Report ID for v2 pen reports */
122 /* Fixed report descriptor template for (tweaked) v2 pen reports */
172 /* Fixed report descriptor template for UGEE v2 pen reports */
196 /* Fixed report descriptor for XP-Pen Deco 01 frame controls */
/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-6.6/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/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-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-6.6/arch/arm/mach-versatile/
Dheadsmp.S12 * This provides a "holding pen" into which all secondary cores are held
23 pen: ldr r7, [r6] label
25 bne pen
28 * we've been released from the holding pen: secondary_stack
/kernel/linux/linux-6.6/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-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-6.6/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-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-6.6/arch/arm/mach-spear/
Dheadsmp.S17 * a "holding pen" into which all secondary cores are held until we're
27 pen: ldr r7, [r6] label
29 bne pen
36 * we've been released from the holding pen: secondary_stack
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/
Docteon-irq.c307 unsigned long *pen; in octeon_irq_ciu_enable() local
316 pen = &per_cpu(octeon_irq_ciu0_en_mirror, cpu); in octeon_irq_ciu_enable()
317 __set_bit(cd->bit, pen); in octeon_irq_ciu_enable()
323 cvmx_write_csr(CVMX_CIU_INTX_EN0(coreid * 2), *pen); in octeon_irq_ciu_enable()
325 pen = &per_cpu(octeon_irq_ciu1_en_mirror, cpu); in octeon_irq_ciu_enable()
326 __set_bit(cd->bit, pen); in octeon_irq_ciu_enable()
332 cvmx_write_csr(CVMX_CIU_INTX_EN1(coreid * 2 + 1), *pen); in octeon_irq_ciu_enable()
339 unsigned long *pen; in octeon_irq_ciu_enable_local() local
348 pen = this_cpu_ptr(&octeon_irq_ciu0_en_mirror); in octeon_irq_ciu_enable_local()
349 __set_bit(cd->bit, pen); in octeon_irq_ciu_enable_local()
[all …]
/kernel/linux/linux-6.6/arch/mips/cavium-octeon/
Docteon-irq.c307 unsigned long *pen; in octeon_irq_ciu_enable() local
316 pen = &per_cpu(octeon_irq_ciu0_en_mirror, cpu); in octeon_irq_ciu_enable()
317 __set_bit(cd->bit, pen); in octeon_irq_ciu_enable()
323 cvmx_write_csr(CVMX_CIU_INTX_EN0(coreid * 2), *pen); in octeon_irq_ciu_enable()
325 pen = &per_cpu(octeon_irq_ciu1_en_mirror, cpu); in octeon_irq_ciu_enable()
326 __set_bit(cd->bit, pen); in octeon_irq_ciu_enable()
332 cvmx_write_csr(CVMX_CIU_INTX_EN1(coreid * 2 + 1), *pen); in octeon_irq_ciu_enable()
339 unsigned long *pen; in octeon_irq_ciu_enable_local() local
348 pen = this_cpu_ptr(&octeon_irq_ciu0_en_mirror); in octeon_irq_ciu_enable_local()
349 __set_bit(cd->bit, pen); in octeon_irq_ciu_enable_local()
[all …]
/kernel/linux/linux-6.6/drivers/input/touchscreen/
Dsurface3_spi.c122 struct surface3_ts_data_pen *pen) in surface3_spi_report_pen() argument
125 int st = pen->status; in surface3_spi_report_pen()
148 get_unaligned_le16(&pen->x)); in surface3_spi_report_pen()
151 get_unaligned_le16(&pen->y)); in surface3_spi_report_pen()
154 get_unaligned_le16(&pen->pressure)); in surface3_spi_report_pen()
160 struct surface3_ts_data_pen *pen; in surface3_spi_process_pen() local
162 pen = (struct surface3_ts_data_pen *)&data[15]; in surface3_spi_process_pen()
164 surface3_spi_report_pen(ts_data, pen); in surface3_spi_process_pen()
303 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()
/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()

12345678910>>...12