Home
last modified time | relevance | path

Searched refs:pen (Results 1 – 15 of 15) sorted by relevance

/drivers/hid/
Dhid-uclogic-params.c57 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()
67 for (i = 0; i < ARRAY_SIZE(pen->subreport_list); i++) { in uclogic_params_pen_hid_dbg()
69 pen->subreport_list[i].value, in uclogic_params_pen_hid_dbg()
70 pen->subreport_list[i].id, in uclogic_params_pen_hid_dbg()
71 i < (ARRAY_SIZE(pen->subreport_list) - 1) ? "," : ""); in uclogic_params_pen_hid_dbg()
75 uclogic_params_pen_inrange_to_str(pen->inrange)); in uclogic_params_pen_hid_dbg()
[all …]
Dhid-uclogic-core.c76 if (params->pen.usage_invalid && (field->application == HID_DG_PEN)) in uclogic_input_mapping()
101 if (hi->report->id == params->pen.id) { in uclogic_input_configured()
286 struct uclogic_params_pen *pen = &drvdata->params.pen; in uclogic_raw_event_pen() local
292 if (pen->inrange == in uclogic_raw_event_pen()
301 if (size >= 10 && pen->fragmented_hires) { in uclogic_raw_event_pen()
323 if (pen->inrange == UCLOGIC_PARAMS_PEN_INRANGE_NONE) { in uclogic_raw_event_pen()
331 if (size >= 12 && pen->tilt_y_flipped) in uclogic_raw_event_pen()
436 if ((report_id == params->pen.id) && (size >= 2)) { in uclogic_raw_event()
438 params->pen.subreport_list + in uclogic_raw_event()
439 ARRAY_SIZE(params->pen.subreport_list); in uclogic_raw_event()
[all …]
Dhid-uclogic-params.h225 struct uclogic_params_pen pen; member
Dwacom_sys.c431 bool pen = WACOM_PEN_FIELD(field); in wacom_usage_mapping() local
439 if (pen) in wacom_usage_mapping()
472 if (pen) in wacom_usage_mapping()
861 else if (wacom_wac->shared->pen == wacom->hdev) in wacom_remove_shared_data()
862 wacom_wac->shared->pen = NULL; in wacom_remove_shared_data()
902 wacom_wac->shared->pen = hdev; in wacom_add_shared_data()
2742 if (shared->pen) { in wacom_mode_change_work()
2743 wacom1 = hid_get_drvdata(shared->pen); in wacom_mode_change_work()
Dwacom_wac.h291 struct hid_device *pen; member
Dwacom_wac.c3145 bool pen = false, btn1 = false, btn2 = false; in wacom_bpt_pen() local
3161 pen = data[1] & 0x01; in wacom_bpt_pen()
3192 input_report_key(input, BTN_TOUCH, pen); in wacom_bpt_pen()
3251 hid_input_report(wacom->shared->pen, HID_INPUT_REPORT, data, in wacom_bamboo_pad_pen_event()
/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()
/drivers/acpi/pmic/
Dintel_pmic_bytcrc.c244 int pen; in intel_crc_pmic_get_policy() local
246 if (regmap_read(regmap, reg, &pen)) in intel_crc_pmic_get_policy()
248 *value = pen >> 7; in intel_crc_pmic_get_policy()
/drivers/media/dvb-frontends/cxd2880/
Dcxd2880_tnrdmd_dvbt_mon.h48 u32 *pen);
Dcxd2880_tnrdmd_dvbt_mon.c296 u32 *pen) in cxd2880_tnrdmd_dvbt_mon_packet_error_number() argument
301 if (!tnr_dmd || !pen) in cxd2880_tnrdmd_dvbt_mon_packet_error_number()
328 *pen = (rdata[1] << 8) | rdata[2]; in cxd2880_tnrdmd_dvbt_mon_packet_error_number()
Dcxd2880_tnrdmd_dvbt2_mon.h101 u32 *pen);
Dcxd2880_tnrdmd_dvbt2_mon.c1392 u32 *pen) in cxd2880_tnrdmd_dvbt2_mon_packet_error_number() argument
1397 if (!tnr_dmd || !pen) in cxd2880_tnrdmd_dvbt2_mon_packet_error_number()
1424 *pen = ((data[1] << 8) | data[2]); in cxd2880_tnrdmd_dvbt2_mon_packet_error_number()
/drivers/rtc/
Drtc-pcf8563.c158 unsigned char *pen) in pcf8563_get_alarm_mode() argument
169 if (pen) in pcf8563_get_alarm_mode()
170 *pen = !!(buf & PCF8563_BIT_AF); in pcf8563_get_alarm_mode()
/drivers/input/tablet/
DKconfig73 Staedtler Digital ballpoint pen 990 01,
/drivers/media/usb/dvb-usb/
DKconfig196 tristate "WideView WT-200U and WT-220U (pen) DVB-T USB2.0 support (Yakumo/Hama/Typhoon/Yuan)"
203 The WT-220U and its clones are pen-sized.