/linux/tools/testing/selftests/hid/tests/ |
H A D | test_tablet.py | 30 PEN = libevdev.EV_KEY.BTN_TOOL_PEN variable in ToolType 43 """Pen states according to Microsoft reference: 44 https://docs.microsoft.com/en-us/windows-hardware/design/component-guidelines/windows-pen-states 50 PEN_IS_IN_RANGE = BtnTouch.UP, ToolType.PEN, False 51 PEN_IS_IN_RANGE_WITH_BUTTON = BtnTouch.UP, ToolType.PEN, True 52 PEN_IS_IN_CONTACT = BtnTouch.DOWN, ToolType.PEN, False 53 PEN_IS_IN_CONTACT_WITH_BUTTON = BtnTouch.DOWN, ToolType.PEN, True 273 """This is the first half of the Windows Pen Implementation state machine: 275 … https://docs.microsoft.com/en-us/windows-hardware/design/component-guidelines/windows-pen-states 299 """This is the second half of the Windows Pen Implementation state machine: [all …]
|
/linux/drivers/hid/ |
H A D | hid-uclogic-core.c | 26 * uclogic_inrange_timeout - handle pen in-range state timeout. 27 * Emulate input events normally generated when pen goes out of range for 116 /* Discard invalid pen usages */ in uclogic_input_mapping() 117 if (params->pen.usage_invalid) in uclogic_input_mapping() 140 * If this is the input corresponding to the pen report in uclogic_input_configured() 143 if (hi->report->id == params->pen.id) { in uclogic_input_configured() 178 suffix = "Pen"; in uclogic_input_configured() 209 * than the pen, so use QUIRK_MULTI_INPUT for all tablets. in uclogic_probe() 317 * uclogic_raw_event_pen - handle raw pen events (pen HID reports). 329 struct uclogic_params_pen *pen = &drvdata->params.pen; in uclogic_raw_event_pen() local [all …]
|
H A D | hid-uclogic-params.h | 26 /* 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), 227 * Pen parameters and optional report descriptor part. 230 struct uclogic_params_pen pen; member [all …]
|
H A D | hid-uclogic-rdesc.h | 104 /* 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 */ 213 /* Fixed report descriptor for XP-Pen Arist 22R Pro frame */
|
/linux/include/linux/ |
H A 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/arch/arm/mach-versatile/ |
H A D | headsmp.S | 12 * 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
|
H A D | platsmp.c | 25 * pen in headsmp.S, which exists because we are not always able to 55 * pen, then head off into the C entry point in versatile_secondary_init() 78 * CPUs in the holding pen until we're ready for them. However, in versatile_boot_secondary()
|
/linux/arch/arm/mach-exynos/ |
H A 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/arch/arm/mach-spear/ |
H A 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/Documentation/devicetree/bindings/input/touchscreen/ |
H A 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
|
H A D | ti,am3359-tsc.yaml | 49 cycles. Charge delay value should be large in order to avoid false pen-up 51 kept as low as possible, while avoiding false pen-up event. Start from a 52 lower value, say 0x400, and increase value until false pen-up events are 53 avoided. The pen-up detection happens immediately after the charge step,
|
/linux/arch/mips/cavium-octeon/ |
H A D | octeon-irq.c | 307 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 …]
|
/linux/drivers/input/touchscreen/ |
H A D | surface3_spi.c | 122 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()
|
H A 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()
|
H A 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() 336 "Touchscreen pen down", wm831x_ts); in wm831x_ts_probe() 338 dev_err(&pdev->dev, "Failed to request pen down IRQ %d: %d\n", in wm831x_ts_probe()
|
H A 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 220 "pen down irq not supported on this device\n"); in wm97xx_acc_startup()
|
H A 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() 490 /* if pen is supported scale to pen maximum */ in w8001_setup_touch() 635 "%s Pen", basename); in w8001_connect()
|
H A 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() 153 /* set prebias & prechg time of pen detect */ in pm860x_touch_dt_init() 155 if (!of_property_read_u32(np, "marvell,88pm860x-pen-prebias", &n)) in pm860x_touch_dt_init() 157 if (!of_property_read_u32(np, "marvell,88pm860x-pen-prechg", &n)) in pm860x_touch_dt_init() 211 /* set prebias & prechg time of pen detect */ in pm860x_touch_probe()
|
H A D | silead.c | 179 data->pen_input->name = SILEAD_TS_NAME " pen"; in silead_ts_request_pen_input_dev() 180 data->pen_input->phys = "input/pen"; in silead_ts_request_pen_input_dev() 185 dev_err(dev, "Failed to register pen input device: %d\n", error); in silead_ts_request_pen_input_dev() 265 goto sync; /* Pen is down, release all previous touches */ in silead_ts_read_data() 441 /* The EFI (platform) embedded fw does not have pen support */ in silead_ts_load_fw() 445 dev_warn(dev, "Warning pen support is known to be broken in the EFI embedded fw version\n"); in silead_ts_load_fw() 599 data->pen_supported = device_property_read_bool(dev, "silead,pen-supported"); in silead_ts_read_props() 600 device_property_read_u32(dev, "silead,pen-resolution-x", &data->pen_x_res); in silead_ts_read_props() 601 device_property_read_u32(dev, "silead,pen-resolution-y", &data->pen_y_res); in silead_ts_read_props()
|
/linux/drivers/hid/bpf/progs/ |
H A D | XPPen__Artist24.bpf.c | 22 * - the pen doesn't have a rubber tail, so basically we are removing any 27 0x09, 0x02, // Usage (Pen) 2 109 * sequences, all related to the second button (the pen doesn't 117 * - if the pen is in range, an extra out-of-range is sent 119 * // Pen is in range 135 * - if the pen is in contact, 2 extra events are added when 139 * // Pen is in contact 172 * Illegal transition: pen is in range with the tip pressed, and in SEC()
|
/linux/drivers/input/tablet/ |
H A D | Kconfig | 34 Aiptek 8000U or Genius G-PEN 560 tablet. Make sure to say Y to 66 tristate "Pegasus Mobile Notetaker Pen input tablet support" 73 Staedtler Digital ballpoint pen 990 01,
|
H A D | pegasus_notetaker.c | 3 * Pegasus Mobile Notetaker Pen input tablet driver 18 * and pen is in range: 35 * S Switch 1 (pen button) 148 dev_warn_once(&dev->dev, "Pen battery low\n"); in pegasus_parse_packet() 156 /* pen-up event */ in pegasus_parse_packet() 483 MODULE_DESCRIPTION("Pegasus Mobile Notetaker Pen tablet driver");
|
/linux/include/linux/mfd/wm831x/ |
H A D | pdata.h | 74 int isel; /** Current for pen down (uA) */ 75 int rpu; /** Pen down sensitivity resistor divider */ 80 int pd_irqf; /** IRQ flags for pen down IRQ */
|
/linux/Documentation/translations/sp_SP/process/ |
H A D | management-style.rst | 164 (1) No llames a la gente pen*ejos (al menos no en público) 168 “eres un pen*ejo” de millones de manera diferentes [#f2]_, a veces sin 173 puedes llamar a casi **cualquiera** un pen*ejo, y a menudo **tendrás** 189 un pen*ejo” no escanea tan bien. Pero estoy seguro de que lo pensó. 254 Hay una cosa que la gente odia incluso más que ser llamado “pen*ejo”, 255 y que es ser llamado “pen*ejo” en una voz mojigata. Por lo primero,
|
/linux/drivers/iio/adc/ |
H A D | at91_adc.c | 49 #define AT91_ADC_PENDET (1 << 6) /* Pen contact detection enable */ 59 #define AT91_ADC_PENDBC (0x0f << 28) /* Pen Debounce time */ 115 #define AT91_ADC_TSMR_PENDBC (0x0f << 28) /* Pen Debounce time */ 118 #define AT91_ADC_TSMR_PENDET_DIS (0 << 24) /* Pen contact detection disable */ 119 #define AT91_ADC_TSMR_PENDET_ENA (1 << 24) /* Pen contact detection enable */ 200 /* Pen Detection input pull-up resistor, can be 0~3 */ 350 pres = st->ts_pressure_threshold; /* no pen contacted */ in at91_ts_sample() 382 /* Disabling pen debounce is required to get a NOPEN irq */ in at91_adc_rl_interrupt() 468 /* validate data by pen contact */ in at91_adc_9x5_interrupt() 471 /* triggered by event that is no pen contact, just read in at91_adc_9x5_interrupt() [all …]
|