/third_party/libinput/src/ |
H A D | evdev.c | 105 parse_udev_flag(struct evdev_device *device, in parse_udev_flag() argument 117 evdev_log_error(device, in parse_udev_flag() 128 evdev_update_key_down_count(struct evdev_device *device, in evdev_update_key_down_count() argument 136 key_count = ++device->key_count[code]; in evdev_update_key_down_count() 138 if (device->key_count[code] > 0) { in evdev_update_key_down_count() 139 key_count = --device->key_count[code]; in evdev_update_key_down_count() 141 evdev_log_bug_libinput(device, in evdev_update_key_down_count() 144 device->key_count[code]); in evdev_update_key_down_count() 149 evdev_log_bug_libinput(device, in evdev_update_key_down_count() 158 evdev_device_switch_get_state(struct evdev_device *device, in evdev_device_switch_get_state() argument 169 evdev_pointer_notify_physical_button(struct evdev_device *device, uint64_t time, int button, enum libinput_button_state state) evdev_pointer_notify_physical_button() argument 187 evdev_pointer_post_button(struct evdev_device *device, uint64_t time, unsigned int button, enum libinput_button_state state) evdev_pointer_post_button() argument 214 struct evdev_device *device = data; evdev_button_scroll_timeout() local 220 evdev_button_scroll_button(struct evdev_device *device, uint64_t time, int is_press) evdev_button_scroll_button() argument 317 evdev_pointer_notify_button(struct evdev_device *device, uint64_t time, unsigned int button, enum libinput_button_state state) evdev_pointer_notify_button() argument 332 evdev_device_led_update(struct evdev_device *device, enum libinput_led leds) evdev_device_led_update() argument 362 evdev_transform_absolute(struct evdev_device *device, struct device_coords *point) evdev_transform_absolute() argument 372 evdev_transform_relative(struct evdev_device *device, struct device_coords *point) evdev_transform_relative() argument 391 evdev_device_transform_x(struct evdev_device *device, double x, uint32_t width) evdev_device_transform_x() argument 399 evdev_device_transform_y(struct evdev_device *device, double y, uint32_t height) evdev_device_transform_y() argument 407 evdev_notify_axis_legacy_wheel(struct evdev_device *device, uint64_t time, uint32_t axes, const struct normalized_coords *delta_in, const struct discrete_coords *discrete_in) evdev_notify_axis_legacy_wheel() argument 436 evdev_notify_axis_wheel(struct evdev_device *device, uint64_t time, uint32_t axes, const struct normalized_coords *delta_in, const struct wheel_v120 *v120_in) evdev_notify_axis_wheel() argument 465 evdev_notify_axis_finger(struct evdev_device *device, uint64_t time, uint32_t axes, const struct normalized_coords *delta_in) evdev_notify_axis_finger() argument 484 evdev_notify_axis_continous(struct evdev_device *device, uint64_t time, uint32_t axes, const struct normalized_coords *delta_in) evdev_notify_axis_continous() argument 503 evdev_tag_external_mouse(struct evdev_device *device, struct udev_device *udev_device) evdev_tag_external_mouse() argument 514 evdev_tag_trackpoint(struct evdev_device *device, struct udev_device *udev_device) evdev_tag_trackpoint() argument 548 evdev_tag_keyboard_internal(struct evdev_device *device) evdev_tag_keyboard_internal() argument 555 evdev_tag_keyboard_external(struct evdev_device *device) evdev_tag_keyboard_external() argument 562 evdev_tag_keyboard(struct evdev_device *device, struct udev_device *udev_device) evdev_tag_keyboard() argument 600 evdev_tag_tablet_touchpad(struct evdev_device *device) evdev_tag_tablet_touchpad() argument 608 struct evdev_device *device = evdev_device(libinput_device); evdev_calibration_has_matrix() local 617 struct evdev_device *device = evdev_device(libinput_device); evdev_calibration_set_matrix() local 628 struct evdev_device *device = evdev_device(libinput_device); evdev_calibration_get_matrix() local 639 struct evdev_device *device = evdev_device(libinput_device); evdev_calibration_get_default_matrix() local 647 evdev_sendevents_get_modes(struct libinput_device *device) evdev_sendevents_get_modes() argument 653 evdev_sendevents_set_mode(struct libinput_device *device, enum libinput_config_send_events_mode mode) evdev_sendevents_set_mode() argument 679 evdev_sendevents_get_mode(struct libinput_device *device) evdev_sendevents_get_mode() argument 688 evdev_sendevents_get_default_mode(struct libinput_device *device) evdev_sendevents_get_default_mode() argument 694 evdev_left_handed_has(struct libinput_device *device) evdev_left_handed_has() argument 702 evdev_left_handed_set(struct libinput_device *device, int left_handed) evdev_left_handed_set() argument 714 evdev_left_handed_get(struct libinput_device *device) evdev_left_handed_get() argument 724 evdev_left_handed_get_default(struct libinput_device *device) evdev_left_handed_get_default() argument 730 evdev_init_left_handed(struct evdev_device *device, void (*change_to_left_handed)(struct evdev_device *)) evdev_init_left_handed() argument 744 evdev_scroll_get_methods(struct libinput_device *device) evdev_scroll_get_methods() argument 750 evdev_scroll_set_method(struct libinput_device *device, enum libinput_config_scroll_method method) evdev_scroll_set_method() argument 762 evdev_scroll_get_method(struct libinput_device *device) evdev_scroll_get_method() argument 772 evdev_scroll_get_default_method(struct libinput_device *device) evdev_scroll_get_default_method() argument 790 evdev_scroll_set_button(struct libinput_device *device, uint32_t button) evdev_scroll_set_button() argument 802 evdev_scroll_get_button(struct libinput_device *device) evdev_scroll_get_button() argument 812 evdev_scroll_get_default_button(struct libinput_device *device) evdev_scroll_get_default_button() argument 832 evdev_scroll_set_button_lock(struct libinput_device *device, enum libinput_config_scroll_button_lock_state state) evdev_scroll_set_button_lock() argument 854 evdev_scroll_get_button_lock(struct libinput_device *device) evdev_scroll_get_button_lock() argument 865 evdev_scroll_get_default_button_lock(struct libinput_device *device) evdev_scroll_get_default_button_lock() argument 871 evdev_set_button_scroll_lock_enabled(struct evdev_device *device, bool enabled) evdev_set_button_scroll_lock_enabled() argument 881 evdev_init_button_scroll(struct evdev_device *device, void (*change_scroll_method)(struct evdev_device *)) evdev_init_button_scroll() argument 913 evdev_init_calibration(struct evdev_device *device, struct libinput_device_config_calibration *calibration) evdev_init_calibration() argument 925 evdev_init_sendevents(struct evdev_device *device, struct evdev_dispatch *dispatch) evdev_init_sendevents() argument 938 evdev_scroll_config_natural_has(struct libinput_device *device) evdev_scroll_config_natural_has() argument 944 evdev_scroll_config_natural_set(struct libinput_device *device, int enabled) evdev_scroll_config_natural_set() argument 955 evdev_scroll_config_natural_get(struct libinput_device *device) evdev_scroll_config_natural_get() argument 963 evdev_scroll_config_natural_get_default(struct libinput_device *device) evdev_scroll_config_natural_get_default() argument 970 evdev_init_natural_scroll(struct evdev_device *device) evdev_init_natural_scroll() argument 981 evdev_need_mtdev(struct evdev_device *device) evdev_need_mtdev() argument 994 evdev_is_fake_mt_device(struct evdev_device *device) evdev_is_fake_mt_device() argument 1003 evdev_read_switch_reliability_prop(struct evdev_device *device) evdev_read_switch_reliability_prop() argument 1031 evdev_print_event(struct evdev_device *device, const struct input_event *e) evdev_print_event() argument 1065 evdev_process_event(struct evdev_device *device, struct input_event *e) evdev_process_event() argument 1080 evdev_device_dispatch_one(struct evdev_device *device, struct input_event *ev) evdev_device_dispatch_one() argument 1098 evdev_sync_device(struct evdev_device *device) evdev_sync_device() argument 1115 evdev_note_time_delay(struct evdev_device *device, const struct input_event *ev) evdev_note_time_delay() argument 1144 struct evdev_device *device = data; evdev_device_dispatch() local 1189 evdev_init_accel(struct evdev_device *device, enum libinput_config_accel_profile which) evdev_init_accel() argument 1223 evdev_accel_config_available(struct libinput_device *device) evdev_accel_config_available() argument 1231 evdev_accel_config_set_speed(struct libinput_device *device, double speed) evdev_accel_config_set_speed() argument 1242 evdev_accel_config_get_speed(struct libinput_device *device) evdev_accel_config_get_speed() argument 1250 evdev_accel_config_get_default_speed(struct libinput_device *device) evdev_accel_config_get_default_speed() argument 1258 struct evdev_device *device = evdev_device(libinput_device); evdev_accel_config_get_profiles() local 1272 struct evdev_device *device = evdev_device(libinput_device); evdev_accel_config_set_profile() local 1297 struct evdev_device *device = evdev_device(libinput_device); evdev_accel_config_get_profile() local 1305 struct evdev_device *device = evdev_device(libinput_device); evdev_accel_config_get_default_profile() local 1329 evdev_device_init_pointer_acceleration(struct evdev_device *device, struct motion_filter *filter) evdev_device_init_pointer_acceleration() argument 1354 evdev_read_wheel_click_prop(struct evdev_device *device, const char *prop, double *angle) evdev_read_wheel_click_prop() argument 1380 evdev_read_wheel_click_count_prop(struct evdev_device *device, const char *prop, double *angle) evdev_read_wheel_click_count_prop() argument 1406 evdev_read_wheel_click_props(struct evdev_device *device) evdev_read_wheel_click_props() argument 1432 evdev_get_trackpoint_multiplier(struct evdev_device *device) evdev_get_trackpoint_multiplier() argument 1464 evdev_need_velocity_averaging(struct evdev_device *device) evdev_need_velocity_averaging() argument 1487 evdev_read_dpi_prop(struct evdev_device *device) evdev_read_dpi_prop() argument 1515 evdev_read_model_flags(struct evdev_device *device) evdev_read_model_flags() argument 1596 evdev_read_attr_res_prop(struct evdev_device *device, size_t *xres, size_t *yres) evdev_read_attr_res_prop() argument 1622 evdev_read_attr_size_prop(struct evdev_device *device, size_t *size_x, size_t *size_y) evdev_read_attr_size_prop() argument 1649 evdev_fix_abs_resolution(struct evdev_device *device, unsigned int xcode, unsigned int ycode) evdev_fix_abs_resolution() argument 1694 evdev_device_get_udev_tags(struct evdev_device *device, struct udev_device *udev_device) evdev_device_get_udev_tags() argument 1716 evdev_fix_android_mt(struct evdev_device *device) evdev_fix_android_mt() argument 1736 evdev_check_min_max(struct evdev_device *device, unsigned int code) evdev_check_min_max() argument 1771 evdev_reject_device(struct evdev_device *device) evdev_reject_device() argument 1829 evdev_extract_abs_axes(struct evdev_device *device, enum evdev_device_udev_tags udev_tags) evdev_extract_abs_axes() argument 1877 evdev_disable_accelerometer_axes(struct evdev_device *device) evdev_disable_accelerometer_axes() argument 1891 evdev_device_is_joystick_or_gamepad(struct evdev_device *device) evdev_device_is_joystick_or_gamepad() argument 1969 evdev_configure_device(struct evdev_device *device) evdev_configure_device() argument 2158 evdev_notify_added_device(struct evdev_device *device) evdev_notify_added_device() argument 2212 evdev_set_device_group(struct evdev_device *device, struct udev_device *udev_device) evdev_set_device_group() argument 2249 evdev_pre_configure_model_quirks(struct evdev_device *device) evdev_pre_configure_model_quirks() argument 2387 struct evdev_device *device = NULL; evdev_device_create() local 2503 evdev_device_get_output(struct evdev_device *device) evdev_device_get_output() argument 2509 evdev_device_get_sysname(struct evdev_device *device) evdev_device_get_sysname() argument 2515 evdev_device_get_name(struct evdev_device *device) evdev_device_get_name() argument 2521 evdev_device_get_id_product(struct evdev_device *device) evdev_device_get_id_product() argument 2527 evdev_device_get_id_vendor(struct evdev_device *device) evdev_device_get_id_vendor() argument 2533 evdev_device_get_udev_device(struct evdev_device *device) evdev_device_get_udev_device() argument 2539 evdev_device_set_default_calibration(struct evdev_device *device, const float calibration[6]) evdev_device_set_default_calibration() argument 2547 evdev_device_calibrate(struct evdev_device *device, const float calibration[6]) evdev_device_calibrate() argument 2611 evdev_read_calibration_prop(struct evdev_device *device) evdev_read_calibration_prop() argument 2640 evdev_read_fuzz_prop(struct evdev_device *device, unsigned int code) evdev_read_fuzz_prop() argument 2687 evdev_device_has_capability(struct evdev_device *device, enum libinput_device_capability capability) evdev_device_has_capability() argument 2711 evdev_device_get_size(const struct evdev_device *device, double *width, double *height) evdev_device_get_size() argument 2731 evdev_device_has_button(struct evdev_device *device, uint32_t code) evdev_device_has_button() argument 2740 evdev_device_has_key(struct evdev_device *device, uint32_t code) evdev_device_has_key() argument 2749 evdev_device_get_touch_count(struct evdev_device *device) evdev_device_get_touch_count() argument 2771 evdev_device_has_switch(struct evdev_device *device, enum libinput_switch sw) evdev_device_has_switch() argument 2794 evdev_is_scrolling(const struct evdev_device *device, enum libinput_pointer_axis axis) evdev_is_scrolling() argument 2804 evdev_start_scrolling(struct evdev_device *device, enum libinput_pointer_axis axis) evdev_start_scrolling() argument 2814 evdev_post_scroll(struct evdev_device *device, uint64_t time, enum libinput_pointer_axis_source source, const struct normalized_coords *delta) evdev_post_scroll() argument 2895 evdev_stop_scroll(struct evdev_device *device, uint64_t time, enum libinput_pointer_axis_source source) evdev_stop_scroll() argument 2930 evdev_notify_suspended_device(struct evdev_device *device) evdev_notify_suspended_device() argument 2950 evdev_notify_resumed_device(struct evdev_device *device) evdev_notify_resumed_device() argument 2970 evdev_device_suspend(struct evdev_device *device) evdev_device_suspend() argument 2997 evdev_device_resume(struct evdev_device *device) evdev_device_resume() argument 3063 evdev_device_remove(struct evdev_device *device) evdev_device_remove() argument 3097 evdev_device_destroy(struct evdev_device *device) evdev_device_destroy() argument 3121 evdev_tablet_has_left_handed(struct evdev_device *device) evdev_tablet_has_left_handed() argument [all...] |
H A D | evdev-middle-button.c | 81 middlebutton_state_error(struct evdev_device *device, in middlebutton_state_error() argument 84 evdev_log_bug_libinput(device, in middlebutton_state_error() 87 middlebutton_state_to_str(device->middlebutton.state)); in middlebutton_state_error() 91 middlebutton_timer_set(struct evdev_device *device, uint64_t now) in middlebutton_timer_set() argument 93 libinput_timer_set(&device->middlebutton.timer, in middlebutton_timer_set() 98 middlebutton_timer_cancel(struct evdev_device *device) in middlebutton_timer_cancel() argument 100 libinput_timer_cancel(&device->middlebutton.timer); in middlebutton_timer_cancel() 104 middlebutton_set_state(struct evdev_device *device, in middlebutton_set_state() argument 111 middlebutton_timer_set(device, now); in middlebutton_set_state() 112 device in middlebutton_set_state() 130 middlebutton_post_event(struct evdev_device *device, uint64_t now, int button, enum libinput_button_state state) middlebutton_post_event() argument 142 evdev_middlebutton_idle_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_idle_handle_event() argument 168 evdev_middlebutton_ldown_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_ldown_handle_event() argument 221 evdev_middlebutton_rdown_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_rdown_handle_event() argument 275 evdev_middlebutton_middle_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_middle_handle_event() argument 318 evdev_middlebutton_lup_pending_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_lup_pending_handle_event() argument 353 evdev_middlebutton_rup_pending_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_rup_pending_handle_event() argument 388 evdev_middlebutton_passthrough_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_passthrough_handle_event() argument 411 evdev_middlebutton_ignore_lr_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_ignore_lr_handle_event() argument 440 evdev_middlebutton_ignore_l_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_ignore_l_handle_event() argument 467 evdev_middlebutton_ignore_r_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_ignore_r_handle_event() argument 495 evdev_middlebutton_handle_event(struct evdev_device *device, uint64_t time, enum evdev_middlebutton_event event) evdev_middlebutton_handle_event() argument 565 evdev_middlebutton_apply_config(struct evdev_device *device) evdev_middlebutton_apply_config() argument 578 evdev_middlebutton_filter_button(struct evdev_device *device, uint64_t time, int button, enum libinput_button_state state) evdev_middlebutton_filter_button() argument 645 struct evdev_device *device = evdev_device(data); evdev_middlebutton_handle_timeout() local 651 evdev_middlebutton_is_available(struct libinput_device *device) evdev_middlebutton_is_available() argument 657 evdev_middlebutton_set(struct libinput_device *device, enum libinput_config_middle_emulation_state enable) evdev_middlebutton_set() argument 679 evdev_middlebutton_get(struct libinput_device *device) evdev_middlebutton_get() argument 689 evdev_middlebutton_get_default(struct libinput_device *device) evdev_middlebutton_get_default() argument 699 evdev_init_middlebutton(struct evdev_device *device, bool enable, bool want_config) evdev_init_middlebutton() argument [all...] |
H A D | evdev-fallback.c | 36 struct evdev_device *device, in fallback_keyboard_notify_key() 43 down_count = evdev_update_key_down_count(device, key, state); in fallback_keyboard_notify_key() 47 keyboard_notify_key(&device->base, time, key, state); in fallback_keyboard_notify_key() 52 struct evdev_device *device, in fallback_lid_notify_toggle() 56 switch_notify_toggle(&device->base, in fallback_lid_notify_toggle() 66 struct evdev_device *device, in fallback_notify_physical_button() 71 evdev_pointer_notify_physical_button(device, time, button, state); in fallback_notify_physical_button() 94 post_button_scroll(struct evdev_device *device, in post_button_scroll() argument 98 if (device->scroll.method != LIBINPUT_CONFIG_SCROLL_ON_BUTTON_DOWN) in post_button_scroll() 101 switch(device in post_button_scroll() 35 fallback_keyboard_notify_key(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time, int key, enum libinput_key_state state) fallback_keyboard_notify_key() argument 51 fallback_lid_notify_toggle(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_lid_notify_toggle() argument 65 fallback_notify_physical_button(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time, int button, enum libinput_button_state state) fallback_notify_physical_button() argument 131 fallback_filter_defuzz_touch(struct fallback_dispatch *dispatch, struct evdev_device *device, struct mt_slot *slot) fallback_filter_defuzz_touch() argument 155 fallback_rotate_relative(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_rotate_relative() argument 169 fallback_flush_relative_motion(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_relative_motion() argument 207 fallback_flush_absolute_motion(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_absolute_motion() argument 224 fallback_flush_mt_down(struct fallback_dispatch *dispatch, struct evdev_device *device, int slot_idx, uint64_t time) fallback_flush_mt_down() argument 263 fallback_flush_mt_motion(struct fallback_dispatch *dispatch, struct evdev_device *device, int slot_idx, uint64_t time) fallback_flush_mt_motion() argument 294 fallback_flush_mt_up(struct fallback_dispatch *dispatch, struct evdev_device *device, int slot_idx, uint64_t time) fallback_flush_mt_up() argument 322 fallback_flush_mt_cancel(struct fallback_dispatch *dispatch, struct evdev_device *device, int slot_idx, uint64_t time) fallback_flush_mt_cancel() argument 350 fallback_flush_st_down(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_st_down() argument 385 fallback_flush_st_motion(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_st_motion() argument 407 fallback_flush_st_up(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_st_up() argument 432 fallback_flush_st_cancel(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_st_cancel() argument 457 fallback_process_touch_button(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time, int value) fallback_process_touch_button() argument 467 fallback_process_key(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e, uint64_t time) fallback_process_key() argument 524 fallback_process_touch(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e, uint64_t time) fallback_process_touch() argument 607 fallback_process_absolute_motion(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e) fallback_process_absolute_motion() argument 702 fallback_process_switch(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e, uint64_t time) fallback_process_switch() argument 742 fallback_reject_relative(struct evdev_device *device, const struct input_event *e, uint64_t time) fallback_reject_relative() argument 758 fallback_process_relative(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e, uint64_t time) fallback_process_relative() argument 780 fallback_process_absolute(struct fallback_dispatch *dispatch, struct evdev_device *device, struct input_event *e, uint64_t time) fallback_process_absolute() argument 793 fallback_any_button_down(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_any_button_down() argument 824 fallback_flush_mt_events(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_flush_mt_events() argument 899 fallback_handle_state(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) fallback_handle_state() argument 965 fallback_interface_process(struct evdev_dispatch *evdev_dispatch, struct evdev_device *device, struct input_event *event, uint64_t time) fallback_interface_process() argument 1003 cancel_touches(struct fallback_dispatch *dispatch, struct evdev_device *device, const struct device_coord_rect *rect, uint64_t time) cancel_touches() argument 1037 release_pressed_keys(struct fallback_dispatch *dispatch, struct evdev_device *device, uint64_t time) release_pressed_keys() argument 1092 fallback_return_to_neutral_state(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_return_to_neutral_state() argument 1108 fallback_interface_suspend(struct evdev_dispatch *evdev_dispatch, struct evdev_device *device) fallback_interface_suspend() argument 1137 fallback_interface_sync_initial_state(struct evdev_device *device, struct evdev_dispatch *evdev_dispatch) fallback_interface_sync_initial_state() argument 1173 fallback_interface_update_rect(struct evdev_dispatch *evdev_dispatch, struct evdev_device *device, const struct phys_rect *phys_rect, uint64_t time) fallback_interface_update_rect() argument 1191 fallback_interface_toggle_touch(struct evdev_dispatch *evdev_dispatch, struct evdev_device *device, enum evdev_arbitration_state which, const struct phys_rect *phys_rect, uint64_t time) fallback_interface_toggle_touch() argument 1294 fallback_resume(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_resume() argument 1305 fallback_suspend(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_suspend() argument 1317 struct evdev_device *device = dispatch->device; fallback_tablet_mode_switch_event() local 1389 fallback_interface_device_added(struct evdev_device *device, struct evdev_device *added_device) fallback_interface_device_added() argument 1397 fallback_interface_device_removed(struct evdev_device *device, struct evdev_device *removed_device) fallback_interface_device_removed() argument 1441 fallback_change_to_left_handed(struct evdev_device *device) fallback_change_to_left_handed() argument 1455 fallback_change_scroll_method(struct evdev_device *device) fallback_change_scroll_method() argument 1474 fallback_rotation_config_is_available(struct libinput_device *device) fallback_rotation_config_is_available() argument 1484 struct evdev_device *device = evdev_device(libinput_device); fallback_rotation_config_set_angle() local 1496 struct evdev_device *device = evdev_device(libinput_device); fallback_rotation_config_get_angle() local 1503 fallback_rotation_config_get_default_angle(struct libinput_device *device) fallback_rotation_config_get_default_angle() argument 1509 fallback_init_rotation(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_init_rotation() argument 1524 fallback_dispatch_init_slots(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_dispatch_init_slots() argument 1587 fallback_dispatch_init_rel(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_dispatch_init_rel() argument 1595 fallback_dispatch_init_abs(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_dispatch_init_abs() argument 1609 fallback_dispatch_init_switch(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_dispatch_init_switch() argument 1643 fallback_init_arbitration(struct fallback_dispatch *dispatch, struct evdev_device *device) fallback_init_arbitration() argument 1663 struct evdev_device *device = evdev_device(libinput_device); fallback_dispatch_create() local [all...] |
H A D | evdev.h | 214 /* set during device init, used at runtime to delay changes 219 void (*change_scroll_method)(struct evdev_device *device); 227 /* set during device init if we want natural scrolling, 231 /* set during device init to invert direction of 256 /* set during device init if we want left_handed config, 260 void (*change_to_enabled)(struct evdev_device *device); 277 evdev_device(struct libinput_device *device) in evdev_device() argument 279 return container_of(device, struct evdev_device, base); in evdev_device() 289 struct evdev_device *device, 295 struct evdev_device *device); 382 evdev_libinput_context(const struct evdev_device *device) evdev_libinput_context() argument 388 evdev_device_has_model_quirk(struct evdev_device *device, enum quirk model_quirk) evdev_device_has_model_quirk() argument 654 evdev_convert_xy_to_mm(const struct evdev_device *device, int x, int y) evdev_convert_xy_to_mm() argument 672 evdev_to_left_handed(struct evdev_device *device, uint32_t button) evdev_to_left_handed() argument 774 evdev_log_msg(struct evdev_device *device, enum libinput_log_priority priority, const char *format, ...) evdev_log_msg() argument 805 evdev_log_msg_ratelimit(struct evdev_device *device, struct ratelimit *ratelimit, enum libinput_log_priority priority, const char *format, ...) evdev_log_msg_ratelimit() argument 876 evdev_device_unit_delta_to_mm(const struct evdev_device* device, const struct device_coords *units) evdev_device_unit_delta_to_mm() argument 904 evdev_device_units_to_mm(const struct evdev_device* device, const struct device_coords *units) evdev_device_units_to_mm() argument 932 evdev_device_mm_to_units(const struct evdev_device *device, const struct phys_coords *mm) evdev_device_mm_to_units() argument 956 evdev_phys_rect_to_units(const struct evdev_device *device, const struct phys_rect *mm) evdev_phys_rect_to_units() argument 982 evdev_device_init_abs_range_warnings(struct evdev_device *device) evdev_device_init_abs_range_warnings() argument 1004 evdev_device_check_abs_axis_range(struct evdev_device *device, unsigned int code, int value) evdev_device_check_abs_axis_range() argument 1037 struct evdev_device *device; global() member [all...] |
H A D | libinput.c | 356 return event->device->seat->libinput; in libinput_event_get_context() 362 return event->device; in libinput_event_get_device() 615 struct evdev_device *device = evdev_device(event->base.device); in libinput_event_pointer_get_absolute_x() local 622 return evdev_convert_to_mm(device->abs.absinfo_x, event->absolute.x); in libinput_event_pointer_get_absolute_x() 628 struct evdev_device *device = evdev_device(event->base.device); in libinput_event_pointer_get_absolute_y() local 635 return evdev_convert_to_mm(device->abs.absinfo_y, event->absolute.y); in libinput_event_pointer_get_absolute_y() 643 struct evdev_device *device = evdev_device(event->base.device); in libinput_event_pointer_get_absolute_x_transformed() local 658 struct evdev_device *device = evdev_device(event->base.device); libinput_event_pointer_get_absolute_y_transformed() local 906 struct evdev_device *device = evdev_device(event->base.device); libinput_event_touch_get_x() local 921 struct evdev_device *device = evdev_device(event->base.device); libinput_event_touch_get_x_transformed() local 936 struct evdev_device *device = evdev_device(event->base.device); libinput_event_touch_get_y_transformed() local 950 struct evdev_device *device = evdev_device(event->base.device); libinput_event_touch_get_y() local 1299 struct evdev_device *device = evdev_device(event->base.device); libinput_event_tablet_tool_get_x() local 1316 struct evdev_device *device = evdev_device(event->base.device); libinput_event_tablet_tool_get_y() local 1503 struct evdev_device *device = evdev_device(event->base.device); libinput_event_tablet_tool_get_x_transformed() local 1522 struct evdev_device *device = evdev_device(event->base.device); libinput_event_tablet_tool_get_y_transformed() local 1949 struct libinput_device *device; libinput_unref() local 2059 ignore_litest_test_suite_device(struct udev_device *device) ignore_litest_test_suite_device() argument 2144 libinput_device_init(struct libinput_device *device, struct libinput_seat *seat) libinput_device_init() argument 2153 libinput_device_ref(struct libinput_device *device) libinput_device_ref() argument 2160 libinput_device_destroy(struct libinput_device *device) libinput_device_destroy() argument 2167 libinput_device_unref(struct libinput_device *device) libinput_device_unref() argument 2225 libinput_device_add_event_listener(struct libinput_device *device, struct libinput_event_listener *listener, void (*notify_func)( uint64_t time, struct libinput_event *event, void *notify_func_data), void *notify_func_data) libinput_device_add_event_listener() argument 2287 init_event_base(struct libinput_event *event, struct libinput_device *device, enum libinput_event_type type) init_event_base() argument 2296 post_base_event(struct libinput_device *device, enum libinput_event_type type, struct libinput_event *event) post_base_event() argument 2306 post_device_event(struct libinput_device *device, uint64_t time, enum libinput_event_type type, struct libinput_event *event) post_device_event() argument 2333 notify_added_device(struct libinput_device *device) notify_added_device() argument 2351 notify_removed_device(struct libinput_device *device) notify_removed_device() argument 2369 device_has_cap(struct libinput_device *device, enum libinput_device_capability cap) device_has_cap() argument 2410 keyboard_notify_key(struct libinput_device *device, uint64_t time, uint32_t key, enum libinput_key_state state) keyboard_notify_key() argument 2438 pointer_notify_motion(struct libinput_device *device, uint64_t time, const struct normalized_coords *delta, const struct device_float_coords *raw) pointer_notify_motion() argument 2462 pointer_notify_motion_absolute(struct libinput_device *device, uint64_t time, const struct device_coords *point) pointer_notify_motion_absolute() argument 2484 pointer_notify_button(struct libinput_device *device, uint64_t time, int32_t button, enum libinput_button_state state) pointer_notify_button() argument 2514 pointer_notify_axis_finger(struct libinput_device *device, uint64_t time, uint32_t axes, const struct normalized_coords *delta) pointer_notify_axis_finger() argument 2548 pointer_notify_axis_continuous(struct libinput_device *device, uint64_t time, uint32_t axes, const struct normalized_coords *delta) pointer_notify_axis_continuous() argument 2582 pointer_notify_axis_legacy_wheel(struct libinput_device *device, uint64_t time, uint32_t axes, const struct normalized_coords *delta, const struct discrete_coords *discrete) pointer_notify_axis_legacy_wheel() argument 2611 pointer_notify_axis_wheel(struct libinput_device *device, uint64_t time, uint32_t axes, const struct normalized_coords *delta, const struct wheel_v120 *v120) pointer_notify_axis_wheel() argument 2642 touch_notify_touch_down(struct libinput_device *device, uint64_t time, int32_t slot, int32_t seat_slot, const struct device_coords *point) touch_notify_touch_down() argument 2668 touch_notify_touch_motion(struct libinput_device *device, uint64_t time, int32_t slot, int32_t seat_slot, const struct device_coords *point) touch_notify_touch_motion() argument 2694 touch_notify_touch_up(struct libinput_device *device, uint64_t time, int32_t slot, int32_t seat_slot) touch_notify_touch_up() argument 2718 touch_notify_touch_cancel(struct libinput_device *device, uint64_t time, int32_t slot, int32_t seat_slot) touch_notify_touch_cancel() argument 2742 touch_notify_frame(struct libinput_device *device, uint64_t time) touch_notify_frame() argument 2762 tablet_notify_axis(struct libinput_device *device, uint64_t time, struct libinput_tablet_tool *tool, enum libinput_tablet_tool_tip_state tip_state, unsigned char *changed_axes, const struct tablet_axes *axes) tablet_notify_axis() argument 2792 tablet_notify_proximity(struct libinput_device *device, uint64_t time, struct libinput_tablet_tool *tool, enum libinput_tablet_tool_proximity_state proximity_state, unsigned char *changed_axes, const struct tablet_axes *axes) tablet_notify_proximity() argument 2821 tablet_notify_tip(struct libinput_device *device, uint64_t time, struct libinput_tablet_tool *tool, enum libinput_tablet_tool_tip_state tip_state, unsigned char *changed_axes, const struct tablet_axes *axes) tablet_notify_tip() argument 2850 tablet_notify_button(struct libinput_device *device, uint64_t time, struct libinput_tablet_tool *tool, enum libinput_tablet_tool_tip_state tip_state, const struct tablet_axes *axes, int32_t button, enum libinput_button_state state) tablet_notify_button() argument 2885 tablet_pad_notify_button(struct libinput_device *device, uint64_t time, int32_t button, enum libinput_button_state state, struct libinput_tablet_pad_mode_group *group) tablet_pad_notify_button() argument 2913 tablet_pad_notify_ring(struct libinput_device *device, uint64_t time, unsigned int number, double value, enum libinput_tablet_pad_ring_axis_source source, struct libinput_tablet_pad_mode_group *group) tablet_pad_notify_ring() argument 2943 tablet_pad_notify_strip(struct libinput_device *device, uint64_t time, unsigned int number, double value, enum libinput_tablet_pad_strip_axis_source source, struct libinput_tablet_pad_mode_group *group) tablet_pad_notify_strip() argument 2973 tablet_pad_notify_key(struct libinput_device *device, uint64_t time, int32_t key, enum libinput_key_state state) tablet_pad_notify_key() argument 2995 gesture_notify(struct libinput_device *device, uint64_t time, enum libinput_event_type type, int finger_count, bool cancelled, const struct normalized_coords *delta, const struct normalized_coords *unaccel, double scale, double angle) gesture_notify() argument 3027 gesture_notify_swipe(struct libinput_device *device, uint64_t time, enum libinput_event_type type, int finger_count, const struct normalized_coords *delta, const struct normalized_coords *unaccel) gesture_notify_swipe() argument 3039 gesture_notify_swipe_end(struct libinput_device *device, uint64_t time, int finger_count, bool cancelled) gesture_notify_swipe_end() argument 3051 gesture_notify_pinch(struct libinput_device *device, uint64_t time, enum libinput_event_type type, int finger_count, const struct normalized_coords *delta, const struct normalized_coords *unaccel, double scale, double angle) gesture_notify_pinch() argument 3065 gesture_notify_pinch_end(struct libinput_device *device, uint64_t time, int finger_count, double scale, bool cancelled) gesture_notify_pinch_end() argument 3078 gesture_notify_hold(struct libinput_device *device, uint64_t time, int finger_count) gesture_notify_hold() argument 3089 gesture_notify_hold_end(struct libinput_device *device, uint64_t time, int finger_count, bool cancelled) gesture_notify_hold_end() argument 3101 switch_notify_toggle(struct libinput_device *device, uint64_t time, enum libinput_switch sw, enum libinput_switch_state state) switch_notify_toggle() argument 3237 libinput_device_set_user_data(struct libinput_device *device, void *user_data) libinput_device_set_user_data() argument 3243 libinput_device_get_user_data(struct libinput_device *device) libinput_device_get_user_data() argument 3249 libinput_device_get_context(struct libinput_device *device) libinput_device_get_context() argument 3255 libinput_device_get_device_group(struct libinput_device *device) libinput_device_get_device_group() argument 3261 libinput_device_get_sysname(struct libinput_device *device) libinput_device_get_sysname() argument 3267 libinput_device_get_name(struct libinput_device *device) libinput_device_get_name() argument 3273 libinput_device_get_id_product(struct libinput_device *device) libinput_device_get_id_product() argument 3279 libinput_device_get_id_vendor(struct libinput_device *device) libinput_device_get_id_vendor() argument 3285 libinput_device_get_output_name(struct libinput_device *device) libinput_device_get_output_name() argument 3291 libinput_device_get_seat(struct libinput_device *device) libinput_device_get_seat() argument 3297 libinput_device_set_seat_logical_name(struct libinput_device *device, const char *name) libinput_device_set_seat_logical_name() argument 3310 libinput_device_get_udev_device(struct libinput_device *device) libinput_device_get_udev_device() argument 3316 libinput_device_led_update(struct libinput_device *device, enum libinput_led leds) libinput_device_led_update() argument 3323 libinput_device_has_capability(struct libinput_device *device, enum libinput_device_capability capability) libinput_device_has_capability() argument 3331 libinput_device_get_size(struct libinput_device *device, double *width, double *height) libinput_device_get_size() argument 3341 libinput_device_pointer_has_button(struct libinput_device *device, uint32_t code) libinput_device_pointer_has_button() argument 3347 libinput_device_keyboard_has_key(struct libinput_device *device, uint32_t code) libinput_device_keyboard_has_key() argument 3353 libinput_device_touch_get_touch_count(struct libinput_device *device) libinput_device_touch_get_touch_count() argument 3359 libinput_device_switch_has_switch(struct libinput_device *device, enum libinput_switch sw) libinput_device_switch_has_switch() argument 3366 libinput_device_tablet_pad_has_key(struct libinput_device *device, uint32_t code) libinput_device_tablet_pad_has_key() argument 3373 libinput_device_tablet_pad_get_num_buttons(struct libinput_device *device) libinput_device_tablet_pad_get_num_buttons() argument 3379 libinput_device_tablet_pad_get_num_rings(struct libinput_device *device) libinput_device_tablet_pad_get_num_rings() argument 3385 libinput_device_tablet_pad_get_num_strips(struct libinput_device *device) libinput_device_tablet_pad_get_num_strips() argument 3391 libinput_device_tablet_pad_get_num_mode_groups(struct libinput_device *device) libinput_device_tablet_pad_get_num_mode_groups() argument 3397 libinput_device_tablet_pad_get_mode_group(struct libinput_device *device, unsigned int index) libinput_device_tablet_pad_get_mode_group() argument 3810 libinput_device_set_device_group(struct libinput_device *device, struct libinput_device_group *group) libinput_device_set_device_group() argument 3872 libinput_device_config_tap_get_finger_count(struct libinput_device *device) libinput_device_config_tap_get_finger_count() argument 3878 libinput_device_config_tap_set_enabled(struct libinput_device *device, enum libinput_config_tap_state enable) libinput_device_config_tap_set_enabled() argument 3894 libinput_device_config_tap_get_enabled(struct libinput_device *device) libinput_device_config_tap_get_enabled() argument 3903 libinput_device_config_tap_get_default_enabled(struct libinput_device *device) libinput_device_config_tap_get_default_enabled() argument 3912 libinput_device_config_tap_set_button_map(struct libinput_device *device, enum libinput_config_tap_button_map map) libinput_device_config_tap_set_button_map() argument 3930 libinput_device_config_tap_get_button_map(struct libinput_device *device) libinput_device_config_tap_get_button_map() argument 3939 libinput_device_config_tap_get_default_button_map(struct libinput_device *device) libinput_device_config_tap_get_default_button_map() argument 3948 libinput_device_config_tap_set_drag_enabled(struct libinput_device *device, enum libinput_config_drag_state enable) libinput_device_config_tap_set_drag_enabled() argument 3963 libinput_device_config_tap_get_drag_enabled(struct libinput_device *device) libinput_device_config_tap_get_drag_enabled() argument 3972 libinput_device_config_tap_get_default_drag_enabled(struct libinput_device *device) libinput_device_config_tap_get_default_drag_enabled() argument 3981 libinput_device_config_tap_set_drag_lock_enabled(struct libinput_device *device, enum libinput_config_drag_lock_state enable) libinput_device_config_tap_set_drag_lock_enabled() argument 3996 libinput_device_config_tap_get_drag_lock_enabled(struct libinput_device *device) libinput_device_config_tap_get_drag_lock_enabled() argument 4005 libinput_device_config_tap_get_default_drag_lock_enabled(struct libinput_device *device) libinput_device_config_tap_get_default_drag_lock_enabled() argument 4014 libinput_device_config_calibration_has_matrix(struct libinput_device *device) libinput_device_config_calibration_has_matrix() argument 4021 libinput_device_config_calibration_set_matrix(struct libinput_device *device, const float matrix[6]) libinput_device_config_calibration_set_matrix() argument 4031 libinput_device_config_calibration_get_matrix(struct libinput_device *device, float matrix[6]) libinput_device_config_calibration_get_matrix() argument 4041 libinput_device_config_calibration_get_default_matrix(struct libinput_device *device, float matrix[6]) libinput_device_config_calibration_get_default_matrix() argument 4051 libinput_device_config_send_events_get_modes(struct libinput_device *device) libinput_device_config_send_events_get_modes() argument 4062 libinput_device_config_send_events_set_mode(struct libinput_device *device, uint32_t mode) libinput_device_config_send_events_set_mode() argument 4076 libinput_device_config_send_events_get_mode(struct libinput_device *device) libinput_device_config_send_events_get_mode() argument 4085 libinput_device_config_send_events_get_default_mode(struct libinput_device *device) libinput_device_config_send_events_get_default_mode() argument 4091 libinput_device_config_accel_is_available(struct libinput_device *device) libinput_device_config_accel_is_available() argument 4098 libinput_device_config_accel_set_speed(struct libinput_device *device, double speed) libinput_device_config_accel_set_speed() argument 4111 libinput_device_config_accel_get_speed(struct libinput_device *device) libinput_device_config_accel_get_speed() argument 4120 libinput_device_config_accel_get_default_speed(struct libinput_device *device) libinput_device_config_accel_get_default_speed() argument 4129 libinput_device_config_accel_get_profiles(struct libinput_device *device) libinput_device_config_accel_get_profiles() argument 4138 libinput_device_config_accel_get_profile(struct libinput_device *device) libinput_device_config_accel_get_profile() argument 4147 libinput_device_config_accel_get_default_profile(struct libinput_device *device) libinput_device_config_accel_get_default_profile() argument 4156 libinput_device_config_accel_set_profile(struct libinput_device *device, enum libinput_config_accel_profile profile) libinput_device_config_accel_set_profile() argument 4226 libinput_device_config_accel_apply(struct libinput_device *device, struct libinput_config_accel *accel_config) libinput_device_config_accel_apply() argument 4303 libinput_device_config_scroll_has_natural_scroll(struct libinput_device *device) libinput_device_config_scroll_has_natural_scroll() argument 4312 libinput_device_config_scroll_set_natural_scroll_enabled(struct libinput_device *device, int enabled) libinput_device_config_scroll_set_natural_scroll_enabled() argument 4322 libinput_device_config_scroll_get_natural_scroll_enabled(struct libinput_device *device) libinput_device_config_scroll_get_natural_scroll_enabled() argument 4331 libinput_device_config_scroll_get_default_natural_scroll_enabled(struct libinput_device *device) libinput_device_config_scroll_get_default_natural_scroll_enabled() argument 4340 libinput_device_config_left_handed_is_available(struct libinput_device *device) libinput_device_config_left_handed_is_available() argument 4349 libinput_device_config_left_handed_set(struct libinput_device *device, int left_handed) libinput_device_config_left_handed_set() argument 4359 libinput_device_config_left_handed_get(struct libinput_device *device) libinput_device_config_left_handed_get() argument 4368 libinput_device_config_left_handed_get_default(struct libinput_device *device) libinput_device_config_left_handed_get_default() argument 4377 libinput_device_config_click_get_methods(struct libinput_device *device) libinput_device_config_click_get_methods() argument 4386 libinput_device_config_click_set_method(struct libinput_device *device, enum libinput_config_click_method method) libinput_device_config_click_set_method() argument 4410 libinput_device_config_click_get_method(struct libinput_device *device) libinput_device_config_click_get_method() argument 4419 libinput_device_config_click_get_default_method(struct libinput_device *device) libinput_device_config_click_get_default_method() argument 4428 libinput_device_config_middle_emulation_is_available( struct libinput_device *device) libinput_device_config_middle_emulation_is_available() argument 4438 libinput_device_config_middle_emulation_set_enabled( struct libinput_device *device, enum libinput_config_middle_emulation_state enable) libinput_device_config_middle_emulation_set_enabled() argument 4462 libinput_device_config_middle_emulation_get_enabled( struct libinput_device *device) libinput_device_config_middle_emulation_get_enabled() argument 4472 libinput_device_config_middle_emulation_get_default_enabled( struct libinput_device *device) libinput_device_config_middle_emulation_get_default_enabled() argument 4482 libinput_device_config_scroll_get_methods(struct libinput_device *device) libinput_device_config_scroll_get_methods() argument 4491 libinput_device_config_scroll_set_method(struct libinput_device *device, enum libinput_config_scroll_method method) libinput_device_config_scroll_set_method() argument 4516 libinput_device_config_scroll_get_method(struct libinput_device *device) libinput_device_config_scroll_get_method() argument 4525 libinput_device_config_scroll_get_default_method(struct libinput_device *device) libinput_device_config_scroll_get_default_method() argument 4534 libinput_device_config_scroll_set_button(struct libinput_device *device, uint32_t button) libinput_device_config_scroll_set_button() argument 4548 libinput_device_config_scroll_get_button(struct libinput_device *device) libinput_device_config_scroll_get_button() argument 4558 libinput_device_config_scroll_get_default_button(struct libinput_device *device) libinput_device_config_scroll_get_default_button() argument 4568 libinput_device_config_scroll_set_button_lock(struct libinput_device *device, enum libinput_config_scroll_button_lock_state state) libinput_device_config_scroll_set_button_lock() argument 4587 libinput_device_config_scroll_get_button_lock(struct libinput_device *device) libinput_device_config_scroll_get_button_lock() argument 4597 libinput_device_config_scroll_get_default_button_lock(struct libinput_device *device) libinput_device_config_scroll_get_default_button_lock() argument 4607 libinput_device_config_dwt_is_available(struct libinput_device *device) libinput_device_config_dwt_is_available() argument 4616 libinput_device_config_dwt_set_enabled(struct libinput_device *device, enum libinput_config_dwt_state enable) libinput_device_config_dwt_set_enabled() argument 4631 libinput_device_config_dwt_get_enabled(struct libinput_device *device) libinput_device_config_dwt_get_enabled() argument 4640 libinput_device_config_dwt_get_default_enabled(struct libinput_device *device) libinput_device_config_dwt_get_default_enabled() argument 4649 libinput_device_config_dwtp_is_available(struct libinput_device *device) libinput_device_config_dwtp_is_available() argument 4658 libinput_device_config_dwtp_set_enabled(struct libinput_device *device, enum libinput_config_dwtp_state enable) libinput_device_config_dwtp_set_enabled() argument 4673 libinput_device_config_dwtp_get_enabled(struct libinput_device *device) libinput_device_config_dwtp_get_enabled() argument 4682 libinput_device_config_dwtp_get_default_enabled(struct libinput_device *device) libinput_device_config_dwtp_get_default_enabled() argument 4691 libinput_device_config_rotation_is_available(struct libinput_device *device) libinput_device_config_rotation_is_available() argument 4700 libinput_device_config_rotation_set_angle(struct libinput_device *device, unsigned int degrees_cw) libinput_device_config_rotation_set_angle() argument 4714 libinput_device_config_rotation_get_angle(struct libinput_device *device) libinput_device_config_rotation_get_angle() argument 4723 libinput_device_config_rotation_get_default_angle(struct libinput_device *device) libinput_device_config_rotation_get_default_angle() argument [all...] |
H A D | libinput.h | 51 * @ingroup device 60 * @ingroup device 63 * A base handle for accessing libinput device groups. This struct is 79 * @ingroup device 82 * An object representing a tool being used by a device with the @ref 85 * Tablet events generated by such a device are bound to a specific tool 86 * rather than coming from the device directly. Depending on the hardware it 114 * An event notifying the caller of a device being added or removed. 186 * @ingroup device 188 * Capabilities on a device [all...] |
/third_party/vulkan-loader/loader/generated/ |
H A D | vk_dispatch_table_helper.h | 32 static inline void layer_init_device_dispatch_table(VkDevice device, VkLayerDispatchTable *table, PFN_vkGetDeviceProcAddr gpa) { in layer_init_device_dispatch_table() argument 38 table->DestroyDevice = (PFN_vkDestroyDevice)gpa(device, "vkDestroyDevice"); in layer_init_device_dispatch_table() 39 table->GetDeviceQueue = (PFN_vkGetDeviceQueue)gpa(device, "vkGetDeviceQueue"); in layer_init_device_dispatch_table() 40 table->QueueSubmit = (PFN_vkQueueSubmit)gpa(device, "vkQueueSubmit"); in layer_init_device_dispatch_table() 41 table->QueueWaitIdle = (PFN_vkQueueWaitIdle)gpa(device, "vkQueueWaitIdle"); in layer_init_device_dispatch_table() 42 table->DeviceWaitIdle = (PFN_vkDeviceWaitIdle)gpa(device, "vkDeviceWaitIdle"); in layer_init_device_dispatch_table() 43 table->AllocateMemory = (PFN_vkAllocateMemory)gpa(device, "vkAllocateMemory"); in layer_init_device_dispatch_table() 44 table->FreeMemory = (PFN_vkFreeMemory)gpa(device, "vkFreeMemory"); in layer_init_device_dispatch_table() 45 table->MapMemory = (PFN_vkMapMemory)gpa(device, "vkMapMemory"); in layer_init_device_dispatch_table() 46 table->UnmapMemory = (PFN_vkUnmapMemory)gpa(device, "vkUnmapMemor in layer_init_device_dispatch_table() [all...] |
/third_party/vulkan-loader/tests/framework/layer/ |
H A D | vk_dispatch_table_helper.h | 32 static inline void layer_init_device_dispatch_table(VkDevice device, VkLayerDispatchTable *table, PFN_vkGetDeviceProcAddr gpa) { in layer_init_device_dispatch_table() argument 38 table->DestroyDevice = (PFN_vkDestroyDevice)gpa(device, "vkDestroyDevice"); in layer_init_device_dispatch_table() 39 table->GetDeviceQueue = (PFN_vkGetDeviceQueue)gpa(device, "vkGetDeviceQueue"); in layer_init_device_dispatch_table() 40 table->QueueSubmit = (PFN_vkQueueSubmit)gpa(device, "vkQueueSubmit"); in layer_init_device_dispatch_table() 41 table->QueueWaitIdle = (PFN_vkQueueWaitIdle)gpa(device, "vkQueueWaitIdle"); in layer_init_device_dispatch_table() 42 table->DeviceWaitIdle = (PFN_vkDeviceWaitIdle)gpa(device, "vkDeviceWaitIdle"); in layer_init_device_dispatch_table() 43 table->AllocateMemory = (PFN_vkAllocateMemory)gpa(device, "vkAllocateMemory"); in layer_init_device_dispatch_table() 44 table->FreeMemory = (PFN_vkFreeMemory)gpa(device, "vkFreeMemory"); in layer_init_device_dispatch_table() 45 table->MapMemory = (PFN_vkMapMemory)gpa(device, "vkMapMemory"); in layer_init_device_dispatch_table() 46 table->UnmapMemory = (PFN_vkUnmapMemory)gpa(device, "vkUnmapMemor in layer_init_device_dispatch_table() [all...] |
/third_party/vulkan-loader/loader/ |
H A D | dev_ext_trampoline.c | 37 VKAPI_ATTR void VKAPI_CALL vkdev_ext0(VkDevice device) ASM_NAME("vkdev_ext0"); 38 VKAPI_ATTR void VKAPI_CALL vkdev_ext1(VkDevice device) ASM_NAME("vkdev_ext1"); 39 VKAPI_ATTR void VKAPI_CALL vkdev_ext2(VkDevice device) ASM_NAME("vkdev_ext2"); 40 VKAPI_ATTR void VKAPI_CALL vkdev_ext3(VkDevice device) ASM_NAME("vkdev_ext3"); 41 VKAPI_ATTR void VKAPI_CALL vkdev_ext4(VkDevice device) ASM_NAME("vkdev_ext4"); 42 VKAPI_ATTR void VKAPI_CALL vkdev_ext5(VkDevice device) ASM_NAME("vkdev_ext5"); 43 VKAPI_ATTR void VKAPI_CALL vkdev_ext6(VkDevice device) ASM_NAME("vkdev_ext6"); 44 VKAPI_ATTR void VKAPI_CALL vkdev_ext7(VkDevice device) ASM_NAME("vkdev_ext7"); 45 VKAPI_ATTR void VKAPI_CALL vkdev_ext8(VkDevice device) ASM_NAME("vkdev_ext8"); 46 VKAPI_ATTR void VKAPI_CALL vkdev_ext9(VkDevice device) ASM_NAM [all...] |
/drivers/hdf_core/framework/support/platform/src/fwk/ |
H A D | platform_device.c | 25 struct PlatformDevice *device = NULL; in PlatformDeviceOnLastPut() local 33 device = CONTAINER_OF(sref, struct PlatformDevice, ref); in PlatformDeviceOnLastPut() 34 if (device == NULL) { in PlatformDeviceOnLastPut() 35 PLAT_LOGE("PlatformDeviceOnLastPut: get device is null!"); in PlatformDeviceOnLastPut() 39 ret = PlatformDevicePostEvent(device, PLAT_EVENT_DEVICE_DEAD); in PlatformDeviceOnLastPut() 44 PLAT_LOGI("PlatformDeviceOnLastPut: device:%s(%d) life cycle end", device->name, device->number); in PlatformDeviceOnLastPut() 53 int32_t PlatformDeviceSetName(struct PlatformDevice *device, const char *fmt, ...) in PlatformDeviceSetName() argument 61 if (device in PlatformDeviceSetName() 102 PlatformDeviceClearName(struct PlatformDevice *device) PlatformDeviceClearName() argument 110 PlatformDeviceInit(struct PlatformDevice *device) PlatformDeviceInit() argument 140 PlatformDeviceUninit(struct PlatformDevice *device) PlatformDeviceUninit() argument 152 PlatformDeviceGet(struct PlatformDevice *device) PlatformDeviceGet() argument 163 PlatformDevicePut(struct PlatformDevice *device) PlatformDevicePut() argument 170 PlatformDeviceRefCount(struct PlatformDevice *device) PlatformDeviceRefCount() argument 178 PlatformDeviceAdd(struct PlatformDevice *device) PlatformDeviceAdd() argument 212 PlatformDeviceDel(struct PlatformDevice *device) PlatformDeviceDel() argument 247 PlatformDeviceCreateService(struct PlatformDevice *device, int32_t (*dispatch)(struct HdfDeviceIoClient *client, int cmd, struct HdfSBuf *data, struct HdfSBuf *reply)) PlatformDeviceCreateService() argument 270 PlatformDeviceDestroyService(struct PlatformDevice *device) PlatformDeviceDestroyService() argument 286 PlatformDeviceSetHdfDev(struct PlatformDevice *device, struct HdfDeviceObject *hdfDevice) PlatformDeviceSetHdfDev() argument 303 PlatformDeviceBind(struct PlatformDevice *device, struct HdfDeviceObject *hdfDevice) PlatformDeviceBind() argument 314 PlatformDeviceUnbind(struct PlatformDevice *device, const struct HdfDeviceObject *hdfDev) PlatformDeviceUnbind() argument 344 PlatformDevicePostEvent(struct PlatformDevice *device, uint32_t events) PlatformDevicePostEvent() argument 353 PlatformDeviceWaitEvent(struct PlatformDevice *device, uint32_t mask, uint32_t tms, uint32_t *events) PlatformDeviceWaitEvent() argument 378 PlatformDeviceListenEvent(struct PlatformDevice *device, struct PlatformEventListener *listener) PlatformDeviceListenEvent() argument 391 PlatformDeviceUnListenEvent(struct PlatformDevice *device, struct PlatformEventListener *listener) PlatformDeviceUnListenEvent() argument 398 PlatformDeviceGetDrs(const struct PlatformDevice *device) PlatformDeviceGetDrs() argument [all...] |
H A D | platform_manager.c | 19 (void)OsalSpinLockIrqSave(&manager->device.spin, &manager->device.irqSave); in PlatformManagerLock() 24 (void)OsalSpinUnlockIrqRestore(&manager->device.spin, &manager->device.irqSave); in PlatformManagerUnlock() 33 if ((ret = PlatformDeviceInit(&manager->device)) != HDF_SUCCESS) { in PlatformManagerInit() 34 PLAT_LOGE("PlatformManagerInit: device init fail!"); in PlatformManagerInit() 64 PlatformDeviceUninit(&manager->device); in PlatformManagerUninit() 79 managerNew->device.name = name; in PlatformManagerCreate() 127 static int32_t PlatformManagerAddDeviceDefault(struct PlatformManager *manager, struct PlatformDevice *device) in PlatformManagerAddDeviceDefault() argument 134 if (device in PlatformManagerAddDeviceDefault() 159 PlatformManagerAddDevice(struct PlatformManager *manager, struct PlatformDevice *device) PlatformManagerAddDevice() argument 203 PlatformManagerDelDeviceDefault(const struct PlatformManager *manager, struct PlatformDevice *device) PlatformManagerDelDeviceDefault() argument 219 PlatformManagerDelDevice(struct PlatformManager *manager, struct PlatformDevice *device) PlatformManagerDelDevice() argument 289 PlatformDeviceMatchByNumber(struct PlatformDevice *device, void *data) PlatformDeviceMatchByNumber() argument 305 PlatformDeviceMatchByName(struct PlatformDevice *device, void *data) PlatformDeviceMatchByName() argument [all...] |
/drivers/hdf_core/framework/support/platform/src/clock/ |
H A D | clock_core.c | 22 struct HdfDeviceObject *device; member 29 static int32_t ClockDeviceLockDefault(struct ClockDevice *device) in ClockDeviceLockDefault() argument 31 if (device == NULL) { in ClockDeviceLockDefault() 32 HDF_LOGE("ClockDeviceLockDefault: device is null!"); in ClockDeviceLockDefault() 35 return OsalSpinLock(&device->spin); in ClockDeviceLockDefault() 38 static void ClockDeviceUnlockDefault(struct ClockDevice *device) in ClockDeviceUnlockDefault() argument 40 if (device == NULL) { in ClockDeviceUnlockDefault() 41 HDF_LOGE("ClockDeviceUnlockDefault: device is null!"); in ClockDeviceUnlockDefault() 44 (void)OsalSpinUnlock(&device->spin); in ClockDeviceUnlockDefault() 52 static inline int32_t ClockDeviceLock(struct ClockDevice *device) in ClockDeviceLock() argument 61 ClockDeviceUnlock(struct ClockDevice *device) ClockDeviceUnlock() argument 68 ClockManagerAddDevice(struct ClockDevice *device) ClockManagerAddDevice() argument 101 ClockManagerRemoveDevice(struct ClockDevice *device) ClockManagerRemoveDevice() argument 129 ClockDeviceRemove(struct ClockDevice *device) ClockDeviceRemove() argument 141 struct ClockDevice *device = NULL; ClockManagerFindDevice() local 165 ClockDeviceAdd(struct ClockDevice *device) ClockDeviceAdd() argument 228 ClockDeviceStart(struct ClockDevice *device) ClockDeviceStart() argument 253 ClockDeviceStop(struct ClockDevice *device) ClockDeviceStop() argument 281 struct ClockDevice *device = NULL; ClockDeviceOpen() local 298 ClockDeviceClose(struct ClockDevice *device) ClockDeviceClose() argument 315 ClockDeviceSetRate(struct ClockDevice *device, uint32_t rate) ClockDeviceSetRate() argument 340 ClockDeviceGetRate(struct ClockDevice *device, uint32_t *rate) ClockDeviceGetRate() argument 363 ClockDeviceGetParent(struct ClockDevice *device) ClockDeviceGetParent() argument 388 ClockDeviceSetParent(struct ClockDevice *device, struct ClockDevice *parent) ClockDeviceSetParent() argument 419 ClockDeviceDisable(struct ClockDevice *device) ClockDeviceDisable() argument 444 ClockDeviceEnable(struct ClockDevice *device) ClockDeviceEnable() argument 506 struct ClockDevice *device = NULL; ClockManagerClose() local 538 struct ClockDevice *device = NULL; ClockManagerEnable() local 569 struct ClockDevice *device = NULL; ClockManagerDisable() local 600 struct ClockDevice *device = NULL; ClockManagerSetRate() local 637 struct ClockDevice *device = NULL; ClockManagerGetRate() local 673 struct ClockDevice *device = NULL; ClockManagerGetParent() local 716 struct ClockDevice *device = NULL; ClockManagerSetParent() local 803 ClockManagerBind(struct HdfDeviceObject *device) ClockManagerBind() argument 809 ClockManagerInit(struct HdfDeviceObject *device) ClockManagerInit() argument 839 ClockManagerRelease(struct HdfDeviceObject *device) ClockManagerRelease() argument [all...] |
/third_party/skia/src/gpu/vk/ |
H A D | GrVkInterface.cpp | 13 #define ACQUIRE_PROC(name, instance, device) \ 14 fFunctions.f##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)) 16 #define ACQUIRE_PROC_SUFFIX(name, suffix, instance, device) \ 18 reinterpret_cast<PFN_vk##name##suffix>(getProc("vk" #name #suffix, instance, device)) 22 VkDevice device, in GrVkInterface() 50 ACQUIRE_PROC(GetDeviceQueue, VK_NULL_HANDLE, device); in GrVkInterface() 51 ACQUIRE_PROC(QueueSubmit, VK_NULL_HANDLE, device); in GrVkInterface() 52 ACQUIRE_PROC(QueueWaitIdle, VK_NULL_HANDLE, device); in GrVkInterface() 53 ACQUIRE_PROC(DeviceWaitIdle, VK_NULL_HANDLE, device); in GrVkInterface() 54 ACQUIRE_PROC(AllocateMemory, VK_NULL_HANDLE, device); in GrVkInterface() 20 GrVkInterface(GrVkGetProc getProc, VkInstance instance, VkDevice device, uint32_t instanceVersion, uint32_t physicalDeviceVersion, const GrVkExtensions* extensions) GrVkInterface() argument [all...] |
/drivers/hdf_core/framework/core/host/src/ |
H A D | hdf_device.c | 19 // device node id less than 129 is configured in hcs, dynamic allocation ID starts from 129 22 static void UpdateDeivceNodeIdIndex(struct HdfDevice *device, devid_t nodeDevid) in UpdateDeivceNodeIdIndex() argument 24 if (device->devidIndex < DEVNODEID(nodeDevid)) { in UpdateDeivceNodeIdIndex() 25 device->devidIndex = DEVNODEID(nodeDevid); in UpdateDeivceNodeIdIndex() 29 static devid_t FindUsableDevNodeId(struct HdfDevice *device) in FindUsableDevNodeId() argument 34 for (; nodeId <= device->devidIndex; nodeId++) { in FindUsableDevNodeId() 36 DLIST_FOR_EACH_ENTRY(devNode, &device->devNodes, struct HdfDeviceNode, entry) { in FindUsableDevNodeId() 49 static int AcquireNodeDeivceId(struct HdfDevice *device, devid_t *devid) in AcquireNodeDeivceId() argument 53 if (device->devidIndex >= DEVNODEID_MASK) { in AcquireNodeDeivceId() 57 if (device in AcquireNodeDeivceId() 82 struct HdfDevice *device = (struct HdfDevice *)devInst; HdfDeviceAttach() local 107 struct HdfDevice *device = NULL; HdfDeviceDetach() local 129 HdfDeviceGetDeviceNode(struct IHdfDevice *device, devid_t devid) HdfDeviceGetDeviceNode() argument 141 HdfDeviceDetachWithDevid(struct IHdfDevice *device, devid_t devid) HdfDeviceDetachWithDevid() argument 154 HdfDeviceConstruct(struct HdfDevice *device) HdfDeviceConstruct() argument 164 HdfDeviceDestruct(struct HdfDevice *device) HdfDeviceDestruct() argument 176 struct HdfDevice *device = (struct HdfDevice *)OsalMemCalloc(sizeof(struct HdfDevice)); HdfDeviceCreate() local 185 struct HdfDevice *device = (struct HdfDevice *)object; HdfDeviceRelease() local 197 HdfDeviceFreeInstance(struct HdfDevice *device) HdfDeviceFreeInstance() argument [all...] |
/drivers/hdf_core/framework/support/platform/src/dac/ |
H A D | dac_core.c | 25 struct HdfDeviceObject *device; member 32 static int32_t DacDeviceLockDefault(struct DacDevice *device) in DacDeviceLockDefault() argument 34 if (device == NULL) { in DacDeviceLockDefault() 35 HDF_LOGE("DacDeviceLockDefault: device is null!"); in DacDeviceLockDefault() 38 return OsalSpinLock(&device->spin); in DacDeviceLockDefault() 41 static void DacDeviceUnlockDefault(struct DacDevice *device) in DacDeviceUnlockDefault() argument 43 if (device == NULL) { in DacDeviceUnlockDefault() 44 HDF_LOGE("DacDeviceUnlockDefault: device is null!"); in DacDeviceUnlockDefault() 47 (void)OsalSpinUnlock(&device->spin); in DacDeviceUnlockDefault() 55 static inline int32_t DacDeviceLock(struct DacDevice *device) in DacDeviceLock() argument 68 DacDeviceUnlock(struct DacDevice *device) DacDeviceUnlock() argument 79 DacManagerAddDevice(struct DacDevice *device) DacManagerAddDevice() argument 115 DacManagerRemoveDevice(const struct DacDevice *device) DacManagerRemoveDevice() argument 149 struct DacDevice *device = NULL; DacManagerFindDevice() local 173 DacDeviceAdd(struct DacDevice *device) DacDeviceAdd() argument 205 DacDeviceRemove(struct DacDevice *device) DacDeviceRemove() argument 220 DacDevicePut(const struct DacDevice *device) DacDevicePut() argument 228 struct DacDevice *device = NULL; DacDeviceOpen() local 245 DacDeviceClose(struct DacDevice *device) DacDeviceClose() argument 256 DacDeviceWrite(struct DacDevice *device, uint32_t channel, uint32_t val) DacDeviceWrite() argument 280 DacDeviceStart(struct DacDevice *device) DacDeviceStart() argument 312 DacDeviceStop(struct DacDevice *device) DacDeviceStop() argument 462 DacManagerBind(struct HdfDeviceObject *device) DacManagerBind() argument 467 DacManagerInit(struct HdfDeviceObject *device) DacManagerInit() argument 497 DacManagerRelease(struct HdfDeviceObject *device) DacManagerRelease() argument [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_sqtt.c | 39 radv_se_is_disabled(struct radv_device *device, unsigned se) in radv_se_is_disabled() argument 42 return device->physical_device->rad_info.cu_mask[se][0] == 0; in radv_se_is_disabled() 46 gfx10_get_thread_trace_ctrl(struct radv_device *device, bool enable) in gfx10_get_thread_trace_ctrl() argument 54 if (device->physical_device->rad_info.gfx_level == GFX10_3) in gfx10_get_thread_trace_ctrl() 57 if (device->physical_device->rad_info.has_sqtt_auto_flush_mode_bug) in gfx10_get_thread_trace_ctrl() 64 radv_emit_wait_for_idle(struct radv_device *device, struct radeon_cmdbuf *cs, int family) in radv_emit_wait_for_idle() argument 68 cs, device->physical_device->rad_info.gfx_level, NULL, 0, in radv_emit_wait_for_idle() 69 family == AMD_IP_COMPUTE && device->physical_device->rad_info.gfx_level >= GFX7, in radv_emit_wait_for_idle() 79 radv_emit_thread_trace_start(struct radv_device *device, struct radeon_cmdbuf *cs, in radv_emit_thread_trace_start() argument 82 uint32_t shifted_size = device in radv_emit_thread_trace_start() 225 radv_copy_thread_trace_info_regs(struct radv_device *device, struct radeon_cmdbuf *cs, unsigned se_index) radv_copy_thread_trace_info_regs() argument 256 radv_emit_thread_trace_stop(struct radv_device *device, struct radeon_cmdbuf *cs, enum radv_queue_family qf) radv_emit_thread_trace_stop() argument 341 struct radv_device *device = cmd_buffer->device; radv_emit_thread_trace_userdata() local 368 radv_emit_spi_config_cntl(struct radv_device *device, struct radeon_cmdbuf *cs, bool enable) radv_emit_spi_config_cntl() argument 388 radv_emit_inhibit_clockgating(struct radv_device *device, struct radeon_cmdbuf *cs, bool inhibit) radv_emit_inhibit_clockgating() argument 403 radv_thread_trace_init_bo(struct radv_device *device) radv_thread_trace_init_bo() argument 441 radv_thread_trace_finish_bo(struct radv_device *device) radv_thread_trace_finish_bo() argument 452 radv_thread_trace_init(struct radv_device *device) radv_thread_trace_init() argument 484 radv_thread_trace_finish(struct radv_device *device) radv_thread_trace_finish() argument 511 radv_thread_trace_resize_bo(struct radv_device *device) radv_thread_trace_resize_bo() argument 531 struct radv_device *device = queue->device; radv_begin_thread_trace() local 600 struct radv_device *device = queue->device; radv_end_thread_trace() local 662 struct radv_device *device = queue->device; radv_get_thread_trace() local [all...] |
/drivers/hdf_core/framework/support/platform/src/adc/ |
H A D | adc_core.c | 26 struct HdfDeviceObject *device; member 33 static int32_t AdcDeviceLockDefault(struct AdcDevice *device) in AdcDeviceLockDefault() argument 35 if (device == NULL) { in AdcDeviceLockDefault() 36 HDF_LOGE("AdcDeviceLockDefault: device is null!"); in AdcDeviceLockDefault() 39 return OsalSpinLock(&device->spin); in AdcDeviceLockDefault() 42 static void AdcDeviceUnlockDefault(struct AdcDevice *device) in AdcDeviceUnlockDefault() argument 44 if (device == NULL) { in AdcDeviceUnlockDefault() 45 HDF_LOGE("AdcDeviceUnlockDefault: device is null!"); in AdcDeviceUnlockDefault() 48 (void)OsalSpinUnlock(&device->spin); in AdcDeviceUnlockDefault() 56 static inline int32_t AdcDeviceLock(struct AdcDevice *device) in AdcDeviceLock() argument 65 AdcDeviceUnlock(struct AdcDevice *device) AdcDeviceUnlock() argument 72 AdcDeviceStart(struct AdcDevice *device) AdcDeviceStart() argument 104 AdcDeviceStop(struct AdcDevice *device) AdcDeviceStop() argument 137 AdcManagerAddDevice(struct AdcDevice *device) AdcManagerAddDevice() argument 169 AdcManagerRemoveDevice(struct AdcDevice *device) AdcManagerRemoveDevice() argument 199 struct AdcDevice *device = NULL; AdcManagerFindDevice() local 228 AdcDevicePut(struct AdcDevice *device) AdcDevicePut() argument 236 struct AdcDevice *device = NULL; AdcDeviceOpen() local 253 AdcDeviceClose(struct AdcDevice *device) AdcDeviceClose() argument 264 AdcDeviceAdd(struct AdcDevice *device) AdcDeviceAdd() argument 296 AdcDeviceRemove(struct AdcDevice *device) AdcDeviceRemove() argument 306 AdcDeviceRead(struct AdcDevice *device, uint32_t channel, uint32_t *val) AdcDeviceRead() argument 448 AdcManagerBind(struct HdfDeviceObject *device) AdcManagerBind() argument 454 AdcManagerInit(struct HdfDeviceObject *device) AdcManagerInit() argument 485 AdcManagerRelease(struct HdfDeviceObject *device) AdcManagerRelease() argument [all...] |
/third_party/backends/backend/ |
H A D | ricoh2.c | 140 Ricoh2_Device *device; in lookup_handle() local 142 for (device = ricoh2_devices; device; device = device->next) in lookup_handle() 144 if (device == handle) in lookup_handle() 145 return device; in lookup_handle() 162 return "Unidentified device"; in get_model_by_productid() 170 Ricoh2_Device *device = NULL; in attach() local 173 for (device in attach() 308 Ricoh2_Device *device = NULL; sane_get_devices() local 343 Ricoh2_Device *device; sane_open() local 384 Ricoh2_Device *device; sane_get_option_descriptor() local 415 Ricoh2_Device *device; sane_control_option() local 524 update_scan_params(Ricoh2_Device *device) update_scan_params() argument 544 Ricoh2_Device *device; sane_get_parameters() local 711 Ricoh2_Device *device; sane_start() local 798 Ricoh2_Device *device; sane_read() local 870 Ricoh2_Device *device; sane_set_io_mode() local 887 Ricoh2_Device *device; sane_get_select_fd() local 901 Ricoh2_Device *device; sane_cancel() local 931 Ricoh2_Device *device; sane_close() local 950 Ricoh2_Device *device, *next; sane_exit() local [all...] |
/drivers/hdf_core/adapter/khdf/uniproton/test/sample_driver/src/ |
H A D | platform_device_test.c | 45 static int32_t PlatformDeviceTestSetName(struct PlatformDevice *device) in PlatformDeviceTestSetName() argument 51 ret = PlatformDeviceSetName(device, "platform_device_name_%d", 1); in PlatformDeviceTestSetName() 53 ret = strcmp(device->name, "platform_device_name_1"); in PlatformDeviceTestSetName() 57 PlatformDeviceClearName(device); in PlatformDeviceTestSetName() 58 CHECK_EQ_RETURN(device->name, NULL, HDF_FAILURE); in PlatformDeviceTestSetName() 61 ret = PlatformDeviceSetName(device, "platform_device_name"); in PlatformDeviceTestSetName() 63 ret = strcmp(device->name, "platform_device_name"); in PlatformDeviceTestSetName() 67 PlatformDeviceClearName(device); in PlatformDeviceTestSetName() 73 static int32_t PlatformDeviceTestGetDevice(struct PlatformDevice *device) in PlatformDeviceTestGetDevice() argument 81 device in PlatformDeviceTestGetDevice() 112 PlatformDeviceTestAddDevice(struct PlatformDevice *device) PlatformDeviceTestAddDevice() argument 153 PlatformDeviceTestCreateService(struct PlatformDevice *device) PlatformDeviceTestCreateService() argument 172 PlatformDeviceTestBindDeviceBefore(struct PlatformDevice *device) PlatformDeviceTestBindDeviceBefore() argument 186 PlatformDeviceTestBindDeviceAfter(struct PlatformDevice *device) PlatformDeviceTestBindDeviceAfter() argument 195 PlatformDeviceTestBindDevice(struct PlatformDevice *device) PlatformDeviceTestBindDevice() argument 219 PlatformDeviceTestReliability(struct PlatformDevice *device) PlatformDeviceTestReliability() argument 293 struct PlatformDevice device = {0}; PlatformDeviceTestExecute() local [all...] |
/drivers/hdf_core/framework/test/unittest/platform/common/ |
H A D | platform_device_test.c | 25 static int32_t PlatformDeviceTestSetName(struct PlatformDevice *device) in PlatformDeviceTestSetName() argument 31 ret = PlatformDeviceSetName(device, "platform_device_name_%d", 1); in PlatformDeviceTestSetName() 33 ret = strcmp(device->name, "platform_device_name_1"); in PlatformDeviceTestSetName() 37 PlatformDeviceClearName(device); in PlatformDeviceTestSetName() 38 CHECK_EQ_RETURN(device->name, NULL, HDF_FAILURE); in PlatformDeviceTestSetName() 41 ret = PlatformDeviceSetName(device, "platform_device_name"); in PlatformDeviceTestSetName() 43 ret = strcmp(device->name, "platform_device_name"); in PlatformDeviceTestSetName() 47 PlatformDeviceClearName(device); in PlatformDeviceTestSetName() 53 static int32_t PlatformDeviceTestGetDevice(struct PlatformDevice *device) in PlatformDeviceTestGetDevice() argument 61 device in PlatformDeviceTestGetDevice() 92 PlatformDeviceTestWaitEvent(struct PlatformDevice *device) PlatformDeviceTestWaitEvent() argument 120 PlatformDeviceTestAddDevice(struct PlatformDevice *device) PlatformDeviceTestAddDevice() argument 161 PlatformDeviceTestCreateService(struct PlatformDevice *device) PlatformDeviceTestCreateService() argument 180 PlatformDeviceTestBindDevice(struct PlatformDevice *device) PlatformDeviceTestBindDevice() argument 206 PlatformDeviceTestReliability(struct PlatformDevice *device) PlatformDeviceTestReliability() argument 282 struct PlatformDevice device = {0}; PlatformDeviceTestExecute() local [all...] |
/drivers/hdf_core/framework/test/unittest/platform/virtual/ |
H A D | clock_virtual.c | 19 int32_t VirtualClockStart(struct ClockDevice *device) in VirtualClockStart() argument 21 if (device->clk != NULL) { in VirtualClockStart() 22 HDF_LOGI("device->clk already start\n"); in VirtualClockStart() 26 device->clk = (void *)&device->deviceIndex; in VirtualClockStart() 30 int32_t VirtualClockSetRate(struct ClockDevice *device, uint32_t rate) in VirtualClockSetRate() argument 32 if (device->clk == NULL) { in VirtualClockSetRate() 40 int32_t VirtualClockStop(struct ClockDevice *device) in VirtualClockStop() argument 42 if (device->clk == NULL) { in VirtualClockStop() 47 device in VirtualClockStop() 51 VirtualClockGetRate(struct ClockDevice *device, uint32_t *rate) VirtualClockGetRate() argument 61 VirtualClockDisable(struct ClockDevice *device) VirtualClockDisable() argument 71 VirtualClockEnable(struct ClockDevice *device) VirtualClockEnable() argument 83 VirtualClockSetParent(struct ClockDevice *device, struct ClockDevice *parent) VirtualClockSetParent() argument 120 VirtualClockGetParent(struct ClockDevice *device) VirtualClockGetParent() argument 163 struct ClockDevice device; global() member 188 VirtualClockInit(struct HdfDeviceObject *device) VirtualClockInit() argument 225 VirtualClockRelease(struct HdfDeviceObject *device) VirtualClockRelease() argument [all...] |
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_device.c | 99 struct anv_device *device = (struct anv_device *)data; in compiler_debug_log() local 100 UNUSED struct anv_instance *instance = device->physical->instance; in compiler_debug_log() 178 get_device_extensions(const struct anv_physical_device *device, in get_device_extensions() argument 182 (device->sync_syncobj_type.features & VK_SYNC_FEATURE_CPU_WAIT) != 0; in get_device_extensions() 188 .KHR_8bit_storage = device->info.ver >= 8, in get_device_extensions() 189 .KHR_16bit_storage = device->info.ver >= 8, in get_device_extensions() 191 .KHR_buffer_device_address = device->has_a64_buffer_access, in get_device_extensions() 209 .KHR_fragment_shading_rate = device->info.ver >= 11, in get_device_extensions() 222 !anv_use_relocations(device) && device in get_device_extensions() 343 anv_compute_sys_heap_size(struct anv_physical_device *device, uint64_t total_ram) anv_compute_sys_heap_size() argument 376 anv_init_meminfo(struct anv_physical_device *device, int fd) anv_init_meminfo() argument 403 anv_update_meminfo(struct anv_physical_device *device, int fd) anv_update_meminfo() argument 416 anv_physical_device_init_heaps(struct anv_physical_device *device, int fd) anv_physical_device_init_heaps() argument 537 anv_physical_device_init_uuids(struct anv_physical_device *device) anv_physical_device_init_uuids() argument 583 anv_physical_device_init_disk_cache(struct anv_physical_device *device) anv_physical_device_init_disk_cache() argument 601 anv_physical_device_free_disk_cache(struct anv_physical_device *device) anv_physical_device_free_disk_cache() argument 779 struct anv_physical_device *device = anv_physical_device_try_create() local 1056 anv_physical_device_destroy(struct anv_physical_device *device) anv_physical_device_destroy() argument 2847 anv_GetDeviceGroupPeerMemoryFeatures( VkDevice device, uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VkPeerMemoryFeatureFlags* pPeerMemoryFeatures) anv_GetDeviceGroupPeerMemoryFeatures() argument 2915 anv_device_init_border_colors(struct anv_device *device) anv_device_init_border_colors() argument 2947 anv_device_init_trivial_batch(struct anv_device *device) anv_device_init_trivial_batch() argument 2994 struct anv_device *device = v_batch; decode_get_bo() local 3041 struct anv_device *device = (struct anv_device*)driver_ctx; intel_aux_map_buffer_alloc() local 3059 struct anv_device *device = (struct anv_device*)driver_ctx; intel_aux_map_buffer_free() local 3080 struct anv_device *device; anv_CreateDevice() local 3679 struct anv_device *device = container_of(vk_device, struct anv_device, vk); anv_device_check_status() local 3699 anv_device_wait(struct anv_device *device, struct anv_bo *bo, int64_t timeout) anv_device_wait() argument 3714 anv_vma_alloc(struct anv_device *device, uint64_t size, uint64_t align, enum anv_bo_alloc_flags alloc_flags, uint64_t client_address) anv_vma_alloc() argument 3752 anv_vma_free(struct anv_device *device, uint64_t address, uint64_t size) anv_vma_free() argument 4299 anv_GetDeviceMemoryCommitment( VkDevice device, VkDeviceMemory memory, VkDeviceSize* pCommittedMemoryInBytes) anv_GetDeviceMemoryCommitment() argument 4327 anv_BindBufferMemory2( VkDevice device, uint32_t bindInfoCount, const VkBindBufferMemoryInfo* pBindInfos) anv_BindBufferMemory2() argument 4432 anv_get_buffer_memory_requirements(struct anv_device *device, VkDeviceSize size, VkBufferUsageFlags usage, VkMemoryRequirements2* pMemoryRequirements) anv_get_buffer_memory_requirements() argument 4553 anv_GetBufferDeviceAddress( VkDevice device, const VkBufferDeviceAddressInfo* pInfo) anv_GetBufferDeviceAddress() argument 4565 anv_GetBufferOpaqueCaptureAddress( VkDevice device, const VkBufferDeviceAddressInfo* pInfo) anv_GetBufferOpaqueCaptureAddress() argument 4572 anv_GetDeviceMemoryOpaqueCaptureAddress( VkDevice device, const VkDeviceMemoryOpaqueCaptureAddressInfo* pInfo) anv_GetDeviceMemoryOpaqueCaptureAddress() argument 4585 anv_fill_buffer_surface_state(struct anv_device *device, struct anv_state state, enum isl_format format, struct isl_swizzle swizzle, isl_surf_usage_flags_t usage, struct anv_address address, uint32_t range, uint32_t stride) anv_fill_buffer_surface_state() argument [all...] |
H A D | anv_utrace.c | 29 command_buffers_count_utraces(struct anv_device *device, in command_buffers_count_utraces() argument 34 if (!u_trace_context_actively_tracing(&device->ds.trace_context)) in command_buffers_count_utraces() 53 struct anv_device *device = in anv_utrace_delete_flush_data() local 61 anv_reloc_list_finish(&flush->relocs, &device->vk.alloc); in anv_utrace_delete_flush_data() 62 anv_device_release_bo(device, flush->batch_bo); in anv_utrace_delete_flush_data() 63 anv_device_release_bo(device, flush->trace_bo); in anv_utrace_delete_flush_data() 66 vk_sync_destroy(&device->vk, flush->sync); in anv_utrace_delete_flush_data() 68 vk_free(&device->vk.alloc, flush); in anv_utrace_delete_flush_data() 78 struct anv_device *device = in anv_device_utrace_emit_copy_ts_buffer() local 86 anv_genX(&device in anv_device_utrace_emit_copy_ts_buffer() 96 struct anv_device *device = queue->device; anv_device_utrace_flush_cmd_buffers() local 147 device, anv_device_utrace_flush_cmd_buffers() local 197 struct anv_device *device = anv_utrace_create_ts_buffer() local 213 struct anv_device *device = anv_utrace_destroy_ts_buffer() local 227 struct anv_device *device = cmd_buffer->device; anv_utrace_record_ts() local 241 struct anv_device *device = anv_utrace_read_ts() local 284 anv_device_utrace_init(struct anv_device *device) anv_device_utrace_init() argument 309 anv_device_utrace_finish(struct anv_device *device) anv_device_utrace_finish() argument [all...] |
/third_party/libinput/export_include/ |
H A D | libinput.h | 51 * @ingroup device 60 * @ingroup device 63 * A base handle for accessing libinput device groups. This struct is 79 * @ingroup device 82 * An object representing a tool being used by a device with the @ref 85 * Tablet events generated by such a device are bound to a specific tool 86 * rather than coming from the device directly. Depending on the hardware it 114 * An event notifying the caller of a device being added or removed. 186 * @ingroup device 188 * Capabilities on a device [all...] |
/drivers/hdf_core/adapter/khdf/linux/platform/clock/ |
H A D | clock_adapter.c | 31 static int32_t ClockStart(struct ClockDevice *device) in ClockStart() argument 36 if (device->clk != NULL) { in ClockStart() 37 HDF_LOGI("device->clk already start\n"); in ClockStart() 41 if (IS_ERR_OR_NULL(device->deviceName)) { in ClockStart() 46 node = of_find_node_by_path(device->deviceName); in ClockStart() 52 clk = of_clk_get_by_name(node, device->clockName); in ClockStart() 58 device->clk = clk; in ClockStart() 62 static int32_t ClockLinuxSetRate(struct ClockDevice *device, uint32_t rate) in ClockLinuxSetRate() argument 67 clk = device->clk; in ClockLinuxSetRate() 76 static int32_t ClockStop(struct ClockDevice *device) in ClockStop() argument 94 ClockLinuxGetRate(struct ClockDevice *device, uint32_t *rate) ClockLinuxGetRate() argument 108 ClockLinuxDisable(struct ClockDevice *device) ClockLinuxDisable() argument 121 ClockLinuxEnable(struct ClockDevice *device) ClockLinuxEnable() argument 142 ClockLinuxSetParent(struct ClockDevice *device, struct ClockDevice *parent) ClockLinuxSetParent() argument 190 ClockLinuxGetParent(struct ClockDevice *device) ClockLinuxGetParent() argument 268 ClockParseAndDeviceAdd(struct HdfDeviceObject *device, struct DeviceResourceNode *node) ClockParseAndDeviceAdd() argument 299 LinuxClockInit(struct HdfDeviceObject *device) LinuxClockInit() argument 325 struct ClockDevice *device = NULL; ClockRemoveByNode() local 355 LinuxClockRelease(struct HdfDeviceObject *device) LinuxClockRelease() argument [all...] |