Home
last modified time | relevance | path

Searched refs:quirks (Results 1 - 25 of 48) sorted by relevance

12

/third_party/libinput/src/
H A Dquirks.h36 * Handle to the quirks context.
41 * Contains all quirks set for a single device.
43 struct quirks;
136 * libinput log handler. This will cause the quirks to reduce the noise and
148 * Initialize the quirks subsystem. This function must be called
171 * as the last call to the quirks subsystem.
173 * All quirks returned to the caller in quirks_fetch_for_device() must be
185 * Fetch the quirks for a given device. If no quirks are defined, this
188 * @return A new quirks struc
[all...]
H A Dquirks.c27 * and from the list-quirks tool. It doesn't have all of the features from a
45 #include "quirks.h"
154 * Represents one section in the .quirks file.
171 struct quirks { struct
173 struct list link; /* struct quirks_context.quirks */
199 /* list of quirks handed to libinput, just for bookkeeping */
200 struct list quirks; member
352 /* If we get here, the quirks must've been removed already */ in property_cleanup()
1085 return strendswith(dir->d_name, ".quirks"); in is_data_file()
1138 list_init(&ctx->quirks); in quirks_init_subsystem()
[all...]
H A Devdev.c45 #include "quirks.h"
517 struct quirks_context *quirks; in evdev_tag_trackpoint() local
518 struct quirks *q; in evdev_tag_trackpoint()
528 quirks = evdev_libinput_context(device)->quirks; in evdev_tag_trackpoint()
529 q = quirks_fetch_for_device(quirks, device->udev_device); in evdev_tag_trackpoint()
565 struct quirks_context *quirks; in evdev_tag_keyboard() local
566 struct quirks *q; in evdev_tag_keyboard()
580 quirks = evdev_libinput_context(device)->quirks; in evdev_tag_keyboard()
1006 struct quirks_context *quirks; evdev_read_switch_reliability_prop() local
1434 struct quirks_context *quirks; evdev_get_trackpoint_multiplier() local
1466 struct quirks_context *quirks; evdev_need_velocity_averaging() local
1535 struct quirks_context *quirks; evdev_read_model_flags() local
1600 struct quirks_context *quirks; evdev_read_attr_res_prop() local
1626 struct quirks_context *quirks; evdev_read_attr_size_prop() local
2251 struct quirks_context *quirks; evdev_pre_configure_model_quirks() local
[all...]
H A Devdev-tablet.c1086 struct quirks_context *quirks = NULL; in tool_set_pressure_thresholds() local
1087 struct quirks *q = NULL; in tool_set_pressure_thresholds()
1098 quirks = evdev_libinput_context(device)->quirks; in tool_set_pressure_thresholds()
1099 q = quirks_fetch_for_device(quirks, device->udev_device); in tool_set_pressure_thresholds()
1820 * piggyback along with the proximity out quirks by injecting
1827 if (tablet->quirks.need_to_force_prox_out) in tablet_proximity_out_quirk_set_timer()
1828 libinput_timer_set(&tablet->quirks.prox_out_timer, in tablet_proximity_out_quirk_set_timer()
1846 if (tablet->quirks.proximity_out_forced && in tablet_update_tool_state()
1849 tablet->quirks in tablet_update_tool_state()
2519 struct quirks_context *quirks = NULL; tablet_init_smoothing() local
[all...]
H A Devdev-mt-touchpad.c35 #include "quirks.h"
796 tp->quirks.msc_timestamp.now = e->value; in tp_process_msc()
1467 if (tp->quirks.nonmotion_event_count > 10) { in tp_need_motion_history_reset()
1471 tp->quirks.nonmotion_event_count = 0; in tp_need_motion_history_reset()
1476 tp->quirks.nonmotion_event_count++; in tp_need_motion_history_reset()
1603 struct msc_timestamp *m = &tp->quirks.msc_timestamp; in tp_process_msc_timestamp()
1724 t->quirks.reset_motion_history = true; in tp_process_state()
1725 } else if (t->quirks.reset_motion_history) { in tp_process_state()
1727 t->quirks.reset_motion_history = false; in tp_process_state()
3283 struct quirks_context *quirks; in tp_is_tpkb_combo_below() local
3388 struct quirks_context *quirks; tp_read_palm_pressure_prop() local
3425 struct quirks_context *quirks; tp_init_palmdetect_size() local
3605 struct quirks_context *quirks; tp_init_pressure() local
3662 struct quirks_context *quirks; tp_init_touch_size() local
[all...]
H A Devdev-mt-touchpad-thumb.c391 struct quirks_context *quirks; in tp_init_thumb() local
392 struct quirks *q; in tp_init_thumb()
420 quirks = evdev_libinput_context(device)->quirks; in tp_init_thumb()
421 q = quirks_fetch_for_device(quirks, device->udev_device); in tp_init_thumb()
H A Devdev.h39 #include "quirks.h"
103 * model flags are used as shortcut for quirks that need to be checked
104 * multiple times in timing-sensitive paths. For quirks that need to be
116 /* udev tags, not true quirks */
391 struct quirks_context *quirks; in evdev_device_has_model_quirk() local
392 struct quirks *q; in evdev_device_has_model_quirk()
397 quirks = evdev_libinput_context(device)->quirks; in evdev_device_has_model_quirk()
398 q = quirks_fetch_for_device(quirks, device->udev_device); in evdev_device_has_model_quirk()
H A Devdev-tablet.h114 } quirks; member
H A Devdev-mt-touchpad.h206 } quirks; member
518 } quirks; member
/third_party/libinput/test/
H A Dtest_quirks_files.py37 return Path(os.getenv("MESON_SOURCE_ROOT") or ".") / "quirks"
42 # a quirks file
44 metafunc.parametrize("quirksfile", [f for f in quirksdir().glob("*.quirks")])
48 quirks = configparser.ConfigParser(strict=True)
50 quirks.optionxform = lambda option: option # type: ignore
51 quirks.read(quirksfile)
53 for name, section in filter(lambda n: n != "DEFAULT", quirks.items()):
72 quirks = configparser.ConfigParser(strict=True)
74 quirks.optionxform = lambda option: option # type: ignore
75 quirks
[all...]
H A Dtest-quirks.c31 #include "quirks.h"
62 rc = xasprintf(&filename, "%s/testfile.quirks", dirname); in make_data_dir()
891 typedef bool (*qparsefunc) (struct quirks *q, enum quirk which, void* data);
895 quirk set to the given string. Creates a data directory, inits the quirks
932 struct quirks *q; in test_attr_parse()
1277 struct quirks *q; in START_TEST()
1310 struct quirks *q; in START_TEST()
1340 struct quirks *q; in START_TEST()
1344 /* Test model quirks override by setting, then unsetting (or the in START_TEST()
1385 struct quirks * in START_TEST()
[all...]
/third_party/libinput/tools/
H A Dshared.c685 sprintf_event_codes(char *buf, size_t sz, struct quirks *quirks, enum quirk q) in sprintf_event_codes() argument
692 quirks_get_tuples(quirks, q, &t); in sprintf_event_codes()
712 sprintf_input_props(char *buf, size_t sz, struct quirks *quirks, enum quirk q) in sprintf_input_props() argument
719 quirks_get_tuples(quirks, q, &t); in sprintf_input_props()
745 struct quirks *quirks; in tools_list_device_quirks() local
748 quirks = quirks_fetch_for_device(ctx, device); in tools_list_device_quirks()
749 if (!quirks) in tools_list_device_quirks()
[all...]
H A Dlibinput-quirks.c32 #include "quirks.h"
55 prefix = "quirks debug"; in log_handler()
58 prefix = "quirks info"; in log_handler()
62 prefix = "quirks error"; in log_handler()
66 prefix = "quirks parser error"; in log_handler()
81 " libinput quirks list [--data-dir /path/to/quirks/dir] /dev/input/event0\n" in usage()
82 " Print the quirks for the given device\n" in usage()
84 " libinput quirks validate [--data-dir /path/to/quirks/di in usage()
103 struct quirks_context *quirks; main() local
[all...]
H A Dlibinput-replay.py296 quirks = fetch(device, "quirks")
297 if not quirks:
312 quirk += "\n".join(quirks)
319 quirks = []
321 if "quirks" in d:
324 quirks.append(quirk)
325 if not quirks:
328 overrides = Path("/etc/libinput/local-overrides.quirks")
340 fd.write("\n\n".join(quirks))
[all...]
H A Dshared.h30 #include <quirks.h>
H A Dlibinput-measure-touchpad-pressure.py261 command = ["libinput", "quirks", "list", self.path]
265 "Error querying quirks: {}".format(cmd.stderr.decode("utf-8")),
271 quirks = [q.split("=") for q in stdout.split("\n")]
273 for q in quirks:
H A Dlibinput-measure-touch-size.py228 command = ["libinput", "quirks", "list", self.path]
232 "Error querying quirks: {}".format(cmd.stderr.decode("utf-8")),
238 quirks = [q.split("=") for q in stdout.split("\n")]
240 for q in quirks:
/third_party/alsa-utils/topology/nhlt/intel/ssp/
H A Dssp-process.c205 ssp->ssp_blob[di][hwi].ssc1 |= (ssp->ssp_prm[di].quirks & SSP_INTEL_QUIRK_TINTE) ? in ssp_calculate_intern()
209 ssp->ssp_blob[di][hwi].ssc1 |= (ssp->ssp_prm[di].quirks & SSP_INTEL_QUIRK_PINTE) ? in ssp_calculate_intern()
215 ssp->ssp_blob[di][hwi].ssc1 |= (ssp->ssp_prm[di].quirks & SSP_INTEL_QUIRK_LBM) ? in ssp_calculate_intern()
221 ssp->ssp_blob[di][hwi].ssc2 |= (ssp->ssp_prm[di].quirks & SSP_INTEL_QUIRK_SMTATF) ? in ssp_calculate_intern()
227 ssp->ssp_blob[di][hwi].ssc2 |= (ssp->ssp_prm[di].quirks & SSP_INTEL_QUIRK_MMRATF) ? in ssp_calculate_intern()
233 ssp->ssp_blob[di][hwi].ssc2 |= (ssp->ssp_prm[di].quirks & SSP_INTEL_QUIRK_PSPSTWFDFD) ? in ssp_calculate_intern()
239 ssp->ssp_blob[di][hwi].ssc2 |= (ssp->ssp_prm[di].quirks & SSP_INTEL_QUIRK_PSPSRWFDFD) ? in ssp_calculate_intern()
783 if (ssp->ssp_prm[dai_index].quirks & SSP_INTEL_QUIRK_BT_SIDEBAND) in ssp_get_params()
787 if (ssp->ssp_prm[dai_index].quirks & SSP_INTEL_QUIRK_RENDER_FEEDBACK) { in ssp_get_params()
886 int frame_pulse_width, const char *tdm_padding_per_slot, const char *quirks, in ssp_set_params()
884 ssp_set_params(struct intel_nhlt_params *nhlt, const char *dir, int dai_index, int io_clk, int bclk_delay, int sample_bits, int mclk_id, int clks_control, int frame_pulse_width, const char *tdm_padding_per_slot, const char *quirks, int version) ssp_set_params() argument
[all...]
H A Dssp-process.h21 int frame_pulse_width, const char *tdm_padding_per_slot, const char *quirks,
/third_party/FreeBSD/sys/dev/usb/quirk/
H A Dusb_quirk.c43 uint16_t quirks[USB_SUB_QUIRKS_MAX]; member
50 .quirks = { __VA_ARGS__ } }
120 /* umodem(4) device quirks */
639 if (usb_quirks[x].quirks[y] == UQ_MATCH_VENDOR_ONLY) in usb_test_quirk_by_info()
647 if (usb_quirks[x].quirks[y] == quirk) { in usb_test_quirk_by_info()
742 usb_quirkstr(usb_quirks[y].quirks[x]), in usb_quirk_ioctl()
785 if (pqe->quirks[x] == UQ_NONE) { in usb_quirk_ioctl()
786 pqe->quirks[x] = y; in usb_quirk_ioctl()
823 if (pqe->quirks[x] == y) { in usb_quirk_ioctl()
824 pqe->quirks[ in usb_quirk_ioctl()
[all...]
/third_party/mesa3d/src/imagination/common/
H A Dpvr_device_info.h241 #define PVR_HAS_QUIRK(dev_info, number) ((dev_info)->quirks.has_brn##number)
356 struct pvr_device_quirks quirks; member
/third_party/FreeBSD/sys/dev/usb/storage/
H A Dumass.c340 /* Device specific quirks */
451 uint32_t quirks; member
809 uint32_t quirks = NO_QUIRKS; in umass_probe_proto() local
854 /* Search for quirks */ in umass_probe_proto()
857 quirks |= NO_TEST_UNIT_READY; in umass_probe_proto()
859 quirks |= RS_NO_CLEAR_UA; in umass_probe_proto()
861 quirks |= NO_START_STOP; in umass_probe_proto()
863 quirks |= NO_GETMAXLUN; in umass_probe_proto()
865 quirks |= NO_INQUIRY; in umass_probe_proto()
867 quirks | in umass_probe_proto()
[all...]
/third_party/alsa-utils/topology/nhlt/intel/
H A Dssp-nhlt.c398 const char *quirks = NULL; in set_ssp_data() local
412 { "quirks", SND_CONFIG_TYPE_STRING, NULL, NULL, &quirks}, in set_ssp_data()
429 clks_control, frame_pulse_width, tdm_padding_per_slot, quirks, in set_ssp_data()
596 * quirks "lbm_mode"
/third_party/mesa3d/src/panfrost/lib/
H A Dpan_device.h177 } quirks; member
H A Dpan_encoder.h60 bool hierarchy = !dev->model->quirks.no_hierarchical_tiling; in panfrost_tiler_get_polygon_list_size()

Completed in 29 milliseconds

12