/Linux-v5.10/drivers/hid/ |
D | hid-uclogic-params.c | 24 * 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 …]
|
D | hid-uclogic-params.h | 22 /* 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 …]
|
D | hid-uclogic-core.c | 36 /* 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() 169 * than the pen, so use QUIRK_MULTI_INPUT for all tablets. in uclogic_probe() 253 /* Tweak pen reports, if necessary */ in uclogic_raw_event() 256 (report->id == params->pen.id) && in uclogic_raw_event() [all …]
|
D | hid-uclogic-rdesc.h | 92 /* 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 */
|
/Linux-v5.10/include/linux/ |
D | wm97xx.h | 67 #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 …]
|
/Linux-v5.10/arch/arm/mach-prima2/ |
D | headsmp.S | 13 * 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
|
/Linux-v5.10/arch/arm/plat-versatile/ |
D | headsmp.S | 14 * This provides a "holding pen" into which all secondary cores are held 25 pen: ldr r7, [r6] label 27 bne pen 30 * we've been released from the holding pen: secondary_stack
|
D | platsmp.c | 27 * pen in headsmp.S, which exists because we are not always able to 57 * pen, then head off into the C entry point in versatile_secondary_init() 80 * CPUs in the holding pen until we're ready for them. However, in versatile_boot_secondary()
|
/Linux-v5.10/arch/arm/mach-exynos/ |
D | headsmp.S | 15 * 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
|
/Linux-v5.10/arch/arm/mach-spear/ |
D | headsmp.S | 17 * 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
|
/Linux-v5.10/Documentation/devicetree/bindings/input/touchscreen/ |
D | fsl-mx25-tcq.txt | 14 - fsl,pen-debounce-ns: Pen debounce time in nanoseconds. 15 - fsl,pen-threshold: Pen-down threshold for the touchscreen. This is a value
|
D | ti-tsc-adc.txt | 43 in order to avoid false pen-up events. This value 45 kept as low as possible, while avoiding false pen-up 47 increase value until false pen-up events are avoided. 48 The pen-up detection happens immediately after the
|
/Linux-v5.10/arch/mips/cavium-octeon/ |
D | octeon-irq.c | 297 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 …]
|
/Linux-v5.10/drivers/input/touchscreen/ |
D | surface3_spi.c | 124 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()
|
D | da9052_tsi.c | 109 /* 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()
|
D | mainstone-wm97xx.c | 64 * 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()
|
D | wm97xx-core.c | 22 * - pen down detection 272 * If a value other than 0 is set then WM97xx pen detection will be 288 * Handle a pen down interrupt. 328 * pen down operation then we need to schedule polls while the in wm97xx_pen_irq_worker() 329 * pen is down. Otherwise the machine driver is responsible in wm97xx_pen_irq_worker() 334 /* Data is not available immediately on pen down */ in wm97xx_pen_irq_worker() 338 /* Let ts_reader report the pen up for debounce. */ in wm97xx_pen_irq_worker() 371 * initialise pen IRQ handler and workqueue 382 "wm97xx-pen", wm)) { in wm97xx_init_pen_irq() 384 "Failed to register pen down interrupt, polling"); in wm97xx_init_pen_irq() [all …]
|
D | wm831x-ts.c | 109 * We get a pen down reading on every reading, report pen up if any in wm831x_ts_data_irq() 123 /* Switch from data to pen down */ in wm831x_ts_data_irq() 179 /* Switch from pen down to data */ in wm831x_ts_pen_down_irq() 221 /* If we ended up with the pen down then make sure we revert back in wm831x_ts_input_close() 222 * to pen detection state for the next time we start up. in wm831x_ts_input_close() 337 "Touchscreen pen down", wm831x_ts); in wm831x_ts_probe() 339 dev_err(&pdev->dev, "Failed to request pen down IRQ %d: %d\n", in wm831x_ts_probe()
|
D | s3c2410_ts.c | 89 * @irq_tc: The interrupt number for pen up/down interrupt 111 * get_down - return the down state of the pen 115 * Return non-zero if both readings show that the pen is down. 174 * Called when the IRQ_TC is fired for a pen up or down event. 197 /* Clear pen down/up interrupt */ in stylus_irq() 224 /* From tests, it seems that it is unlikely to get a pen-up in s3c24xx_ts_conversion() 226 * ignore any pen-up events with less than the requisite in s3c24xx_ts_conversion() 229 * In several thousand conversions, no pen-ups where detected in s3c24xx_ts_conversion()
|
D | 88pm860x-ts.c | 78 dev_dbg(chip->dev, "pen down at [%d, %d].\n", x, y); in pm860x_touch_handler() 82 dev_dbg(chip->dev, "pen release\n"); in pm860x_touch_handler() 152 /* set prebias & prechg time of pen detect */ in pm860x_touch_dt_init() 154 if (!of_property_read_u32(np, "marvell,88pm860x-pen-prebias", &n)) in pm860x_touch_dt_init() 156 if (!of_property_read_u32(np, "marvell,88pm860x-pen-prechg", &n)) in pm860x_touch_dt_init() 217 /* set prebias & prechg time of pen detect */ in pm860x_touch_probe()
|
D | tsc2007_core.c | 91 * NOTE: We can't rely on the pressure to determine the pen down in tsc2007_is_pen_down() 94 * lifting the pen and in some cases may not even settle at the in tsc2007_is_pen_down() 97 * The only safe way to check for the pen up condition is in the in tsc2007_is_pen_down() 98 * work function by reading the pen signal state (it's a GPIO in tsc2007_is_pen_down() 100 * in that case we assume that the pen is down and expect caller in tsc2007_is_pen_down() 119 /* pen is down, continue with the measurement */ in tsc2007_soft_irq() 131 * assume that pen was lifted up. in tsc2007_soft_irq()
|
D | wacom_w8001.c | 166 /* scale to pen maximum */ in parse_multi_touch() 220 * side2/eraser. If rdy && f2 are set, this can be either pen + side2, in report_pen_events() 222 * - if dev is already in proximity and f2 is toggled → pen + side2 in report_pen_events() 225 * eraser and in for pen. in report_pen_events() 269 /* scale to pen maximum */ in report_single_touch() 313 /* Pen coordinates packet */ in w8001_interrupt() 348 * ThinkPad X60 Tablet PC (pen only device) sometimes in w8001_interrupt() 492 /* if pen is supported scale to pen maximum */ in w8001_setup_touch() 639 strlcat(w8001->pen_name, " Pen", sizeof(w8001->pen_name)); in w8001_connect()
|
D | wm9712.c | 29 * Set internal pull up for pen detect. 34 * Adjust this value if you are having problems with pen detect not 39 MODULE_PARM_DESC(rpu, "Set internal pull up resistor for pen detect."); 58 * Pen down pressure below threshold is ignored. 160 dev_dbg(wm->dev, "setting pen detect pull-up to %d Ohms\n", in wm9712_phy_init() 279 /* If PDEN is set, we can get a timeout when pen goes up */ in wm9712_poll_sample() 343 /* If PDEN is set, we can get a timeout when pen goes up */ in wm9712_poll_coord()
|
D | wm9713.c | 29 * Set internal pull up for pen detect. 34 * Adjust this value if you are having problems with pen detect not 39 MODULE_PARM_DESC(rpu, "Set internal pull up resistor for pen detect."); 58 * Pen down pressure below threshold is ignored. 163 dev_info(wm->dev, "setting pen detect pull-up to %d Ohms\n", in wm9713_phy_init() 289 /* If PDEN is set, we can get a timeout when pen goes up */ in wm9713_poll_sample() 354 /* If PDEN is set, we can get a timeout when pen goes up */ in wm9713_poll_coord()
|
/Linux-v5.10/drivers/input/tablet/ |
D | Kconfig | 34 Aiptek 8000U or Genius G-PEN 560 tablet. Make sure to say Y to 78 tristate "Pegasus Mobile Notetaker Pen input tablet support" 85 Staedtler Digital ballpoint pen 990 01,
|