Home
last modified time | relevance | path

Searched refs:device (Results 1 - 25 of 2783) sorted by relevance

12345678910>>...112

/third_party/libinput/src/
H A Devdev.c105 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 Devdev-middle-button.c81 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 Devdev-fallback.c36 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 Devdev.h214 /* 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 Dlibinput.c356 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 Dlibinput.h51 * @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...]
H A Devdev-tablet-pad.c102 struct evdev_device *device, in pad_process_absolute()
141 evdev_log_info(device, in pad_process_absolute()
151 /* libinput has 0 as the ring's northernmost point in the device's in normalize_ring()
180 struct evdev_device *device, in pad_handle_ring()
186 absinfo = libevdev_get_abs_info(device->evdev, code); in pad_handle_ring()
191 if (device->left_handed.enabled) in pad_handle_ring()
199 struct evdev_device *device, in pad_handle_strip()
205 absinfo = libevdev_get_abs_info(device->evdev, code); in pad_handle_strip()
213 if (device->left_handed.enabled) in pad_handle_strip()
253 struct evdev_device *device, in pad_check_notify_axes()
101 pad_process_absolute(struct pad_dispatch *pad, struct evdev_device *device, struct input_event *e, uint64_t time) pad_process_absolute() argument
179 pad_handle_ring(struct pad_dispatch *pad, struct evdev_device *device, unsigned int code) pad_handle_ring() argument
198 pad_handle_strip(struct pad_dispatch *pad, struct evdev_device *device, unsigned int code) pad_handle_strip() argument
252 pad_check_notify_axes(struct pad_dispatch *pad, struct evdev_device *device, uint64_t time) pad_check_notify_axes() argument
328 pad_process_key(struct pad_dispatch *pad, struct evdev_device *device, struct input_event *e, uint64_t time) pad_process_key() argument
360 pad_notify_button_mask(struct pad_dispatch *pad, struct evdev_device *device, uint64_t time, const struct button_state *buttons, enum libinput_button_state state) pad_notify_button_mask() argument
415 pad_notify_buttons(struct pad_dispatch *pad, struct evdev_device *device, uint64_t time, enum libinput_button_state state) pad_notify_buttons() argument
431 pad_change_to_left_handed(struct evdev_device *device) pad_change_to_left_handed() argument
445 pad_flush(struct pad_dispatch *pad, struct evdev_device *device, uint64_t time) pad_flush() argument
479 pad_process(struct evdev_dispatch *dispatch, struct evdev_device *device, struct input_event *e, uint64_t time) pad_process() argument
510 pad_suspend(struct evdev_dispatch *dispatch, struct evdev_device *device) pad_suspend() argument
550 pad_init_buttons_from_libwacom(struct pad_dispatch *pad, struct evdev_device *device) pad_init_buttons_from_libwacom() argument
608 pad_init_buttons_from_kernel(struct pad_dispatch *pad, struct evdev_device *device) pad_init_buttons_from_kernel() argument
639 pad_init_keys(struct pad_dispatch *pad, struct evdev_device *device) pad_init_keys() argument
658 pad_init_buttons(struct pad_dispatch *pad, struct evdev_device *device) pad_init_buttons() argument
673 pad_init_left_handed(struct evdev_device *device) pad_init_left_handed() argument
681 pad_init(struct pad_dispatch *pad, struct evdev_device *device) pad_init() argument
698 pad_sendevents_get_modes(struct libinput_device *device) pad_sendevents_get_modes() argument
704 pad_sendevents_set_mode(struct libinput_device *device, enum libinput_config_send_events_mode mode) pad_sendevents_set_mode() argument
729 pad_sendevents_get_mode(struct libinput_device *device) pad_sendevents_get_mode() argument
738 pad_sendevents_get_default_mode(struct libinput_device *device) pad_sendevents_get_default_mode() argument
744 evdev_tablet_pad_create(struct evdev_device *device) evdev_tablet_pad_create() argument
766 evdev_device_tablet_pad_has_key(struct evdev_device *device, uint32_t code) evdev_device_tablet_pad_has_key() argument
775 evdev_device_tablet_pad_get_num_buttons(struct evdev_device *device) evdev_device_tablet_pad_get_num_buttons() argument
786 evdev_device_tablet_pad_get_num_rings(struct evdev_device *device) evdev_device_tablet_pad_get_num_rings() argument
805 evdev_device_tablet_pad_get_num_strips(struct evdev_device *device) evdev_device_tablet_pad_get_num_strips() argument
[all...]
H A Dlibinput-private.h47 /* A coordinate pair in device coordinates */
53 * A coordinate pair in device coordinates, capable of holding non discrete
54 * values, this is necessary e.g. when device coordinates get averaged.
108 /* A rectangle in device coordinates, x/y is the top-left corner */
124 int (*device_change_seat)(struct libinput_device *device,
194 int (*count)(struct libinput_device *device);
195 enum libinput_config_status (*set_enabled)(struct libinput_device *device,
197 enum libinput_config_tap_state (*get_enabled)(struct libinput_device *device);
198 enum libinput_config_tap_state (*get_default)(struct libinput_device *device);
200 enum libinput_config_status (*set_map)(struct libinput_device *device,
472 struct libinput_device *device; global() member
492 struct libinput_device *device; global() member
[all...]
/third_party/vulkan-loader/loader/generated/
H A Dvk_dispatch_table_helper.h32 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 Dvk_dispatch_table_helper.h32 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 Ddev_ext_trampoline.c37 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...]
/third_party/skia/src/gpu/vk/
H A DGrVkInterface.cpp13 #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...]
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_sqtt.c39 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...]
H A Dradv_meta_bufimage.c93 radv_device_init_meta_itob_state(struct radv_device *device) in radv_device_init_meta_itob_state() argument
96 nir_shader *cs = build_nir_itob_compute_shader(device, false); in radv_device_init_meta_itob_state()
97 nir_shader *cs_3d = build_nir_itob_compute_shader(device, true); in radv_device_init_meta_itob_state()
120 result = radv_CreateDescriptorSetLayout(radv_device_to_handle(device), &ds_create_info, in radv_device_init_meta_itob_state()
121 &device->meta_state.alloc, in radv_device_init_meta_itob_state()
122 &device->meta_state.itob.img_ds_layout); in radv_device_init_meta_itob_state()
129 .pSetLayouts = &device->meta_state.itob.img_ds_layout, in radv_device_init_meta_itob_state()
135 radv_CreatePipelineLayout(radv_device_to_handle(device), &pl_create_info, in radv_device_init_meta_itob_state()
136 &device->meta_state.alloc, &device in radv_device_init_meta_itob_state()
195 radv_device_finish_meta_itob_state(struct radv_device *device) radv_device_finish_meta_itob_state() argument
272 radv_device_init_meta_btoi_state(struct radv_device *device) radv_device_init_meta_btoi_state() argument
371 radv_device_finish_meta_btoi_state(struct radv_device *device) radv_device_finish_meta_btoi_state() argument
451 radv_device_init_meta_btoi_r32g32b32_state(struct radv_device *device) radv_device_init_meta_btoi_r32g32b32_state() argument
520 radv_device_finish_meta_btoi_r32g32b32_state(struct radv_device *device) radv_device_finish_meta_btoi_r32g32b32_state() argument
605 create_itoi_pipeline(struct radv_device *device, int samples, VkPipeline *pipeline) create_itoi_pipeline() argument
635 radv_device_init_meta_itoi_state(struct radv_device *device) radv_device_init_meta_itoi_state() argument
715 radv_device_finish_meta_itoi_state(struct radv_device *device) radv_device_finish_meta_itoi_state() argument
806 radv_device_init_meta_itoi_r32g32b32_state(struct radv_device *device) radv_device_init_meta_itoi_r32g32b32_state() argument
875 radv_device_finish_meta_itoi_r32g32b32_state(struct radv_device *device) radv_device_finish_meta_itoi_r32g32b32_state() argument
925 create_cleari_pipeline(struct radv_device *device, int samples, VkPipeline *pipeline) create_cleari_pipeline() argument
953 radv_device_init_meta_cleari_state(struct radv_device *device) radv_device_init_meta_cleari_state() argument
1029 radv_device_finish_meta_cleari_state(struct radv_device *device) radv_device_finish_meta_cleari_state() argument
1083 radv_device_init_meta_cleari_r32g32b32_state(struct radv_device *device) radv_device_init_meta_cleari_r32g32b32_state() argument
1146 radv_device_finish_meta_cleari_r32g32b32_state(struct radv_device *device) radv_device_finish_meta_cleari_r32g32b32_state() argument
1159 radv_device_finish_meta_bufimage_state(struct radv_device *device) radv_device_finish_meta_bufimage_state() argument
1171 radv_device_init_meta_bufimage_state(struct radv_device *device) radv_device_init_meta_bufimage_state() argument
1249 struct radv_device *device = cmd_buffer->device; create_buffer_from_image() local
1325 struct radv_device *device = cmd_buffer->device; itob_bind_descriptors() local
1360 struct radv_device *device = cmd_buffer->device; radv_meta_image_to_buffer() local
1391 struct radv_device *device = cmd_buffer->device; btoi_r32g32b32_bind_descriptors() local
1423 struct radv_device *device = cmd_buffer->device; radv_meta_buffer_to_image_cs_r32g32b32() local
1469 struct radv_device *device = cmd_buffer->device; btoi_bind_descriptors() local
1503 struct radv_device *device = cmd_buffer->device; radv_meta_buffer_to_image_cs() local
1545 struct radv_device *device = cmd_buffer->device; itoi_r32g32b32_bind_descriptors() local
1577 struct radv_device *device = cmd_buffer->device; radv_meta_image_to_image_cs_r32g32b32() local
1627 struct radv_device *device = cmd_buffer->device; itoi_bind_descriptors() local
1664 struct radv_device *device = cmd_buffer->device; radv_meta_image_to_image_cs() local
1714 struct radv_device *device = cmd_buffer->device; cleari_r32g32b32_bind_descriptors() local
1736 struct radv_device *device = cmd_buffer->device; radv_meta_clear_image_cs_r32g32b32() local
1776 struct radv_device *device = cmd_buffer->device; cleari_bind_descriptors() local
1802 struct radv_device *device = cmd_buffer->device; radv_meta_clear_image_cs() local
[all...]
H A Dradv_device.c163 radv_get_adjusted_vram_size(struct radv_physical_device *device) in radv_get_adjusted_vram_size() argument
165 int ov = driQueryOptioni(&device->instance->dri_options, "override_vram_size"); in radv_get_adjusted_vram_size()
167 return MIN2((uint64_t)device->rad_info.vram_size_kb * 1024, (uint64_t)ov << 20); in radv_get_adjusted_vram_size()
168 return (uint64_t)device->rad_info.vram_size_kb * 1024; in radv_get_adjusted_vram_size()
172 radv_get_visible_vram_size(struct radv_physical_device *device) in radv_get_visible_vram_size() argument
174 return MIN2(radv_get_adjusted_vram_size(device), (uint64_t)device->rad_info.vram_vis_size_kb * 1024); in radv_get_visible_vram_size()
178 radv_get_vram_size(struct radv_physical_device *device) in radv_get_vram_size() argument
180 uint64_t total_size = radv_get_adjusted_vram_size(device); in radv_get_vram_size()
181 return total_size - MIN2(total_size, (uint64_t)device in radv_get_vram_size()
192 radv_physical_device_init_mem_types(struct radv_physical_device *device) radv_physical_device_init_mem_types() argument
449 radv_physical_device_get_supported_extensions(const struct radv_physical_device *device, struct vk_device_extension_table *ext) radv_physical_device_get_supported_extensions() argument
701 struct radv_physical_device *device = vk_zalloc2(&instance->vk.alloc, NULL, sizeof(*device), 8, radv_physical_device_try_create() local
932 radv_physical_device_destroy(struct radv_physical_device *device) radv_physical_device_destroy() argument
2851 radv_queue_init(struct radv_device *device, struct radv_queue *queue, int idx, const VkDeviceQueueCreateInfo *create_info, const VkDeviceQueueGlobalPriorityCreateInfoKHR *global_priority) radv_queue_init() argument
2929 radv_device_init_border_color(struct radv_device *device) radv_device_init_border_color() argument
2954 radv_device_finish_border_color(struct radv_device *device) radv_device_finish_border_color() argument
2965 radv_device_init_vs_prologs(struct radv_device *device) radv_device_init_vs_prologs() argument
3031 radv_device_finish_vs_prologs(struct radv_device *device) radv_device_finish_vs_prologs() argument
3050 radv_device_init_vrs_state(struct radv_device *device) radv_device_init_vrs_state() argument
3141 radv_device_finish_vrs_image(struct radv_device *device) radv_device_finish_vrs_image() argument
3206 struct radv_device *device = data; radv_notifier_thread_run() local
3243 radv_device_init_notifier(struct radv_device *device) radv_device_init_notifier() argument
3276 radv_device_finish_notifier(struct radv_device *device) radv_device_finish_notifier() argument
3292 radv_device_finish_perf_counter_lock_cs(struct radv_device *device) radv_device_finish_perf_counter_lock_cs() argument
3311 struct radv_device *device; radv_CreateDevice() local
3852 radv_fill_shader_rings(struct radv_device *device, uint32_t *map, bool add_sample_positions, uint32_t esgs_ring_size, struct radeon_winsys_bo *esgs_ring_bo, uint32_t gsvs_ring_size, struct radeon_winsys_bo *gsvs_ring_bo, struct radeon_winsys_bo *tess_rings_bo, struct radeon_winsys_bo *task_rings_bo, struct radeon_winsys_bo *mesh_scratch_ring_bo) radv_fill_shader_rings() argument
4085 radv_emit_gs_ring_sizes(struct radv_device *device, struct radeon_cmdbuf *cs, struct radeon_winsys_bo *esgs_ring_bo, uint32_t esgs_ring_size, struct radeon_winsys_bo *gsvs_ring_bo, uint32_t gsvs_ring_size) radv_emit_gs_ring_sizes() argument
4110 radv_emit_tess_factor_ring(struct radv_device *device, struct radeon_cmdbuf *cs, struct radeon_winsys_bo *tess_rings_bo) radv_emit_tess_factor_ring() argument
4148 radv_initialise_task_control_buffer(struct radv_device *device, struct radeon_winsys_bo *task_rings_bo) radv_initialise_task_control_buffer() argument
4180 radv_emit_task_rings(struct radv_device *device, struct radeon_cmdbuf *cs, struct radeon_winsys_bo *task_rings_bo, bool compute) radv_emit_task_rings() argument
4199 radv_emit_graphics_scratch(struct radv_device *device, struct radeon_cmdbuf *cs, uint32_t size_per_wave, uint32_t waves, struct radeon_winsys_bo *scratch_bo) radv_emit_graphics_scratch() argument
4228 radv_emit_compute_scratch(struct radv_device *device, struct radeon_cmdbuf *cs, uint32_t size_per_wave, uint32_t waves, struct radeon_winsys_bo *compute_scratch_bo) radv_emit_compute_scratch() argument
4267 radv_emit_compute_shader_pointers(struct radv_device *device, struct radeon_cmdbuf *cs, struct radeon_winsys_bo *descriptor_bo) radv_emit_compute_shader_pointers() argument
4283 radv_emit_graphics_shader_pointers(struct radv_device *device, struct radeon_cmdbuf *cs, struct radeon_winsys_bo *descriptor_bo) radv_emit_graphics_shader_pointers() argument
4331 radv_init_graphics_state(struct radeon_cmdbuf *cs, struct radv_device *device) radv_init_graphics_state() argument
4348 radv_init_compute_state(struct radeon_cmdbuf *cs, struct radv_device *device) radv_init_compute_state() argument
4354 radv_update_preamble_cs(struct radv_queue_state *queue, struct radv_device *device, const struct radv_queue_ring_info *needs) radv_update_preamble_cs() argument
4694 radv_create_perf_counter_lock_cs(struct radv_device *device, unsigned pass, bool unlock) radv_create_perf_counter_lock_cs() argument
4772 radv_sparse_buffer_bind_memory(struct radv_device *device, const VkSparseBufferMemoryBindInfo *bind) radv_sparse_buffer_bind_memory() argument
4794 radv_sparse_image_opaque_bind_memory(struct radv_device *device, const VkSparseImageOpaqueMemoryBindInfo *bind) radv_sparse_image_opaque_bind_memory() argument
4817 radv_sparse_image_bind_memory(struct radv_device *device, const VkSparseImageMemoryBindInfo *bind) radv_sparse_image_bind_memory() argument
4885 radv_update_preambles(struct radv_queue_state *queue, struct radv_device *device, struct vk_command_buffer *const *cmd_buffers, uint32_t cmd_buffer_count, bool *uses_perf_counters) radv_update_preambles() argument
5017 radv_queue_submit_bind_sparse_memory(struct radv_device *device, struct vk_queue_submit *submission) radv_queue_submit_bind_sparse_memory() argument
5373 radv_get_memory_fd(struct radv_device *device, struct radv_device_memory *memory, int *pFD) radv_get_memory_fd() argument
5386 radv_device_memory_init(struct radv_device_memory *mem, struct radv_device *device, struct radeon_winsys_bo *bo) radv_device_memory_init() argument
5402 radv_free_memory(struct radv_device *device, const VkAllocationCallbacks *pAllocator, struct radv_device_memory *mem) radv_free_memory() argument
5431 radv_alloc_memory(struct radv_device *device, const VkMemoryAllocateInfo *pAllocateInfo, const VkAllocationCallbacks *pAllocator, VkDeviceMemory *pMem) radv_alloc_memory() argument
5702 radv_get_buffer_memory_requirements(struct radv_device *device, VkDeviceSize size, VkBufferCreateFlags flags, VkBufferCreateFlags usage, VkMemoryRequirements2 *pMemoryRequirements) radv_get_buffer_memory_requirements() argument
5807 radv_GetDeviceImageMemoryRequirements(VkDevice device, const VkDeviceImageMemoryRequirements *pInfo, VkMemoryRequirements2 *pMemoryRequirements) radv_GetDeviceImageMemoryRequirements() argument
5832 radv_GetDeviceMemoryCommitment(VkDevice device, VkDeviceMemory memory, VkDeviceSize *pCommittedMemoryInBytes) radv_GetDeviceMemoryCommitment() argument
5927 radv_destroy_event(struct radv_device *device, const VkAllocationCallbacks *pAllocator, struct radv_event *event) radv_destroy_event() argument
6029 radv_buffer_init(struct radv_buffer *buffer, struct radv_device *device, struct radeon_winsys_bo *bo, uint64_t size, uint64_t offset) radv_buffer_init() argument
6051 radv_destroy_buffer(struct radv_device *device, const VkAllocationCallbacks *pAllocator, struct radv_buffer *buffer) radv_destroy_buffer() argument
6117 radv_GetBufferDeviceAddress(VkDevice device, const VkBufferDeviceAddressInfo *pInfo) radv_GetBufferDeviceAddress() argument
6124 radv_GetBufferOpaqueCaptureAddress(VkDevice device, const VkBufferDeviceAddressInfo *pInfo) radv_GetBufferOpaqueCaptureAddress() argument
6131 radv_GetDeviceMemoryOpaqueCaptureAddress(VkDevice device, const VkDeviceMemoryOpaqueCaptureAddressInfo *pInfo) radv_GetDeviceMemoryOpaqueCaptureAddress() argument
6155 get_dcc_max_uncompressed_block_size(const struct radv_device *device, const struct radv_image_view *iview) get_dcc_max_uncompressed_block_size() argument
6169 get_dcc_min_compressed_block_size(const struct radv_device *device) get_dcc_min_compressed_block_size() argument
6184 radv_init_dcc_control_reg(struct radv_device *device, struct radv_image_view *iview) radv_init_dcc_control_reg() argument
6239 radv_initialise_color_surface(struct radv_device *device, struct radv_color_buffer_info *cb, struct radv_image_view *iview) radv_initialise_color_surface() argument
6475 radv_calc_decompress_on_z_planes(struct radv_device *device, struct radv_image_view *iview) radv_calc_decompress_on_z_planes() argument
6545 radv_initialise_ds_surface(struct radv_device *device, struct radv_ds_buffer_info *ds, struct radv_image_view *iview) radv_initialise_ds_surface() argument
6852 radv_get_max_anisotropy(struct radv_device *device, const VkSamplerCreateInfo *pCreateInfo) radv_get_max_anisotropy() argument
6864 radv_register_border_color(struct radv_device *device, VkClearColorValue value) radv_register_border_color() argument
6887 radv_unregister_border_color(struct radv_device *device, uint32_t slot) radv_unregister_border_color() argument
6897 radv_init_sampler(struct radv_device *device, struct radv_sampler *sampler, const VkSamplerCreateInfo *pCreateInfo) radv_init_sampler() argument
7171 radv_GetDeviceGroupPeerMemoryFeatures(VkDevice device, uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, VkPeerMemoryFeatureFlags *pPeerMemoryFeatures) radv_GetDeviceGroupPeerMemoryFeatures() argument
7368 radv_thread_trace_set_pstate(struct radv_device *device, bool enable) radv_thread_trace_set_pstate() argument
7385 radv_device_acquire_performance_counters(struct radv_device *device) radv_device_acquire_performance_counters() argument
7401 radv_device_release_performance_counters(struct radv_device *device) radv_device_release_performance_counters() argument
[all...]
/third_party/backends/backend/
H A Dricoh2.c140 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...]
/third_party/mesa3d/src/intel/vulkan/
H A Danv_device.c99 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 Danv_utrace.c29 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 Dlibinput.h51 * @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/mesa3d/src/imagination/vulkan/
H A Dpvr_job_context.c57 static VkResult pvr_ctx_reset_cmd_init(struct pvr_device *device, in pvr_ctx_reset_cmd_init() argument
60 const struct pvr_device_info *dev_info = &device->pdevice->dev_info; in pvr_ctx_reset_cmd_init()
74 static void pvr_ctx_reset_cmd_fini(struct pvr_device *device, in pvr_ctx_reset_cmd_fini() argument
82 struct pvr_device *device, in pvr_pds_pt_store_program_create_and_upload()
88 const struct pvr_device_info *dev_info = &device->pdevice->dev_info; in pvr_pds_pt_store_program_create_and_upload()
111 staging_buffer = vk_zalloc(&device->vk.alloc, in pvr_pds_pt_store_program_create_and_upload()
116 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in pvr_pds_pt_store_program_create_and_upload()
135 pvr_gpu_upload_pds(device, in pvr_pds_pt_store_program_create_and_upload()
145 vk_free(&device->vk.alloc, staging_buffer); in pvr_pds_pt_store_program_create_and_upload()
151 struct pvr_device *device, in pvr_pds_pt_resume_program_create_and_upload()
81 pvr_pds_pt_store_program_create_and_upload( struct pvr_device *device, struct pvr_bo *pt_bo, uint32_t pt_bo_size, struct pvr_pds_upload *const pds_upload_out) pvr_pds_pt_store_program_create_and_upload() argument
150 pvr_pds_pt_resume_program_create_and_upload( struct pvr_device *device, struct pvr_bo *pt_bo, uint32_t pt_bo_size, struct pvr_pds_upload *const pds_upload_out) pvr_pds_pt_resume_program_create_and_upload() argument
224 pvr_render_job_pt_programs_setup(struct pvr_device *device, struct rogue_pt_programs *pt_programs) pvr_render_job_pt_programs_setup() argument
266 pvr_render_job_pt_programs_cleanup(struct pvr_device *device, struct rogue_pt_programs *pt_programs) pvr_render_job_pt_programs_cleanup() argument
306 pvr_pds_render_ctx_sr_program_create_and_upload( struct pvr_device *device, uint64_t usc_program_upload_offset, uint8_t usc_temps, pvr_dev_addr_t sr_addr, struct pvr_pds_upload *const pds_upload_out) pvr_pds_render_ctx_sr_program_create_and_upload() argument
364 pvr_pds_compute_ctx_sr_program_create_and_upload( struct pvr_device *device, bool is_loading_program, uint64_t usc_program_upload_offset, uint8_t usc_temps, pvr_dev_addr_t sr_addr, struct pvr_pds_upload *const pds_upload_out) pvr_pds_compute_ctx_sr_program_create_and_upload() argument
450 pvr_ctx_sr_programs_setup(struct pvr_device *device, enum pvr_ctx_sr_program_target target, struct rogue_sr_programs *sr_programs) pvr_ctx_sr_programs_setup() argument
600 pvr_ctx_sr_programs_cleanup(struct pvr_device *device, struct rogue_sr_programs *sr_programs) pvr_ctx_sr_programs_cleanup() argument
611 pvr_render_ctx_switch_programs_setup(struct pvr_device *device, struct pvr_render_ctx_programs *programs) pvr_render_ctx_switch_programs_setup() argument
635 pvr_render_ctx_switch_programs_cleanup(struct pvr_device *device, struct pvr_render_ctx_programs *programs) pvr_render_ctx_switch_programs_cleanup() argument
642 pvr_render_ctx_switch_init(struct pvr_device *device, struct pvr_render_ctx *ctx) pvr_render_ctx_switch_init() argument
692 pvr_render_ctx_switch_fini(struct pvr_device *device, struct pvr_render_ctx *ctx) pvr_render_ctx_switch_fini() argument
844 pvr_render_ctx_create(struct pvr_device *device, enum pvr_winsys_ctx_priority priority, struct pvr_render_ctx **const ctx_out) pvr_render_ctx_create() argument
912 struct pvr_device *device = ctx->device; pvr_render_ctx_destroy() local
922 pvr_pds_sr_fence_terminate_program_create_and_upload( struct pvr_device *device, struct pvr_pds_upload *const pds_upload_out) pvr_pds_sr_fence_terminate_program_create_and_upload() argument
1094 pvr_compute_ctx_create(struct pvr_device *const device, enum pvr_winsys_ctx_priority priority, struct pvr_compute_ctx **const ctx_out) pvr_compute_ctx_create() argument
1181 struct pvr_device *device = ctx->device; pvr_compute_ctx_destroy() local
1203 pvr_transfer_ctx_setup_shaders(struct pvr_device *device, struct pvr_transfer_ctx *ctx) pvr_transfer_ctx_setup_shaders() argument
1232 pvr_transfer_ctx_fini_shaders(struct pvr_device *device, struct pvr_transfer_ctx *ctx) pvr_transfer_ctx_fini_shaders() argument
1238 pvr_transfer_ctx_create(struct pvr_device *const device, enum pvr_winsys_ctx_priority priority, struct pvr_transfer_ctx **const ctx_out) pvr_transfer_ctx_create() argument
1319 struct pvr_device *device = ctx->device; pvr_transfer_ctx_destroy() local
[all...]
H A Dpvr_queue.c57 static VkResult pvr_queue_init(struct pvr_device *device, in pvr_queue_init() argument
68 vk_queue_init(&queue->vk, &device->vk, pCreateInfo, index_in_family); in pvr_queue_init()
72 result = pvr_transfer_ctx_create(device, in pvr_queue_init()
78 result = pvr_compute_ctx_create(device, in pvr_queue_init()
85 pvr_render_ctx_create(device, PVR_WINSYS_CTX_PRIORITY_MEDIUM, &gfx_ctx); in pvr_queue_init()
89 queue->device = device; in pvr_queue_init()
111 VkResult pvr_queues_create(struct pvr_device *device, in pvr_queues_create() argument
124 device->queues = vk_alloc(&device in pvr_queues_create()
162 pvr_queues_destroy(struct pvr_device *device) pvr_queues_destroy() argument
193 pvr_process_graphics_cmd(struct pvr_device *device, struct pvr_queue *queue, struct pvr_cmd_buffer *cmd_buffer, struct pvr_sub_cmd_gfx *sub_cmd, struct vk_sync **waits, uint32_t wait_count, uint32_t *stage_flags, struct vk_sync *completions[static PVR_JOB_TYPE_MAX]) pvr_process_graphics_cmd() argument
282 pvr_process_compute_cmd(struct pvr_device *device, struct pvr_queue *queue, struct pvr_sub_cmd_compute *sub_cmd, struct vk_sync **waits, uint32_t wait_count, uint32_t *stage_flags, struct vk_sync *completions[static PVR_JOB_TYPE_MAX]) pvr_process_compute_cmd() argument
323 pvr_process_transfer_cmds(struct pvr_device *device, struct pvr_queue *queue, struct pvr_sub_cmd_transfer *sub_cmd, struct vk_sync **waits, uint32_t wait_count, uint32_t *stage_flags, struct vk_sync *completions[static PVR_JOB_TYPE_MAX]) pvr_process_transfer_cmds() argument
365 pvr_set_semaphore_payloads(struct pvr_device *device, struct vk_sync *completions[static PVR_JOB_TYPE_MAX], const VkSemaphore *signals, uint32_t signal_count) pvr_set_semaphore_payloads() argument
423 pvr_set_fence_payload(struct pvr_device *device, struct vk_sync *completions[static PVR_JOB_TYPE_MAX], VkFence _fence) pvr_set_fence_payload() argument
457 pvr_process_cmd_buffer(struct pvr_device *device, struct pvr_queue *queue, VkCommandBuffer commandBuffer, struct vk_sync **waits, uint32_t wait_count, uint32_t *stage_flags, struct vk_sync *completions[static PVR_JOB_TYPE_MAX]) pvr_process_cmd_buffer() argument
523 pvr_submit_null_job(struct pvr_device *device, struct vk_sync **waits, uint32_t wait_count, uint32_t *stage_flags, struct vk_sync *completions[static PVR_JOB_TYPE_MAX]) pvr_submit_null_job() argument
576 pvr_update_syncobjs(struct pvr_device *device, struct vk_sync *src[static PVR_JOB_TYPE_MAX], struct vk_sync *dst[static PVR_JOB_TYPE_MAX]) pvr_update_syncobjs() argument
597 struct pvr_device *device = queue->device; pvr_QueueSubmit() local
[all...]
H A Dpvr_device.c207 /* Be careful here. The device might not have been initialized. This can in pvr_physical_device_finish()
350 "Failed to open device %s", in pvr_physical_device_init()
411 "Unable to allocate memory to store device name"); in pvr_physical_device_init()
539 mesa_logd("Found compatible render device '%s'.", in pvr_enumerate_devices()
545 mesa_logd("Found compatible primary device '%s'.", in pvr_enumerate_devices()
1114 static VkResult pvr_device_init_compute_fence_program(struct pvr_device *device) in pvr_device_init_compute_fence_program() argument
1116 const struct pvr_device_info *dev_info = &device->pdevice->dev_info; in pvr_device_init_compute_fence_program()
1154 staging_buffer = vk_alloc(&device->vk.alloc, in pvr_device_init_compute_fence_program()
1159 return vk_error(device, VK_ERROR_OUT_OF_HOST_MEMORY); in pvr_device_init_compute_fence_program()
1168 result = pvr_gpu_upload_pds(device, in pvr_device_init_compute_fence_program()
1183 pvr_pds_idfwdf_programs_create_and_upload( struct pvr_device *device, pvr_dev_addr_t usc_addr, uint32_t shareds, uint32_t temps, pvr_dev_addr_t shareds_buffer_addr, struct pvr_pds_upload *const upload_out, struct pvr_pds_upload *const sw_compute_barrier_upload_out) pvr_pds_idfwdf_programs_create_and_upload() argument
1313 pvr_device_init_compute_idfwdf_state(struct pvr_device *device) pvr_device_init_compute_idfwdf_state() argument
1457 pvr_device_finish_compute_idfwdf_state(struct pvr_device *device) pvr_device_finish_compute_idfwdf_state() argument
1483 pvr_device_init_nop_program(struct pvr_device *device) pvr_device_init_nop_program() argument
1549 pvr_device_init_default_sampler_state(struct pvr_device *device) pvr_device_init_default_sampler_state() argument
1571 struct pvr_device *device; pvr_CreateDevice() local
1976 pvr_GetImageSparseMemoryRequirements2( VkDevice device, const VkImageSparseMemoryRequirementsInfo2 *pInfo, uint32_t *pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2 *pSparseMemoryRequirements) pvr_GetImageSparseMemoryRequirements2() argument
1985 pvr_GetDeviceMemoryCommitment(VkDevice device, VkDeviceMemory memory, VkDeviceSize *pCommittedMemoryInBytes) pvr_GetDeviceMemoryCommitment() argument
1992 pvr_bind_memory(struct pvr_device *device, struct pvr_device_memory *mem, VkDeviceSize offset, VkDeviceSize size, VkDeviceSize alignment, struct pvr_winsys_vma **const vma_out, pvr_dev_addr_t *const dev_addr_out) pvr_bind_memory() argument
2036 pvr_unbind_memory(struct pvr_device *device, struct pvr_winsys_vma *vma) pvr_unbind_memory() argument
2163 pvr_gpu_upload(struct pvr_device *device, struct pvr_winsys_heap *heap, const void *data, size_t size, uint64_t alignment, struct pvr_bo **const pvr_bo_out) pvr_gpu_upload() argument
2192 pvr_gpu_upload_usc(struct pvr_device *device, const void *code, size_t code_size, uint64_t code_alignment, struct pvr_bo **const pvr_bo_out) pvr_gpu_upload_usc() argument
2243 pvr_gpu_upload_pds(struct pvr_device *device, const uint32_t *data, uint32_t data_size_dwords, uint32_t data_alignment, const uint32_t *code, uint32_t code_size_dwords, uint32_t code_alignment, uint64_t min_alignment, struct pvr_pds_upload *const pds_upload_out) pvr_gpu_upload_pds() argument
2316 pvr_framebuffer_create_ppp_state(struct pvr_device *device, struct pvr_framebuffer *framebuffer) pvr_framebuffer_create_ppp_state() argument
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
H A DQueryValidationTests.cpp42 CreateQuerySet(device, wgpu::QueryType::Occlusion, 1); in TEST_F()
45 ASSERT_DEVICE_ERROR(CreateQuerySet(device, wgpu::QueryType::PipelineStatistics, 1, in TEST_F()
47 ASSERT_DEVICE_ERROR(CreateQuerySet(device, wgpu::QueryType::Timestamp, 1)); in TEST_F()
53 CreateQuerySet(device, wgpu::QueryType::Occlusion, kMaxQueryCount); in TEST_F()
56 ASSERT_DEVICE_ERROR(CreateQuerySet(device, wgpu::QueryType::Occlusion, kMaxQueryCount + 1)); in TEST_F()
61 ASSERT_DEVICE_ERROR(CreateQuerySet(device, static_cast<wgpu::QueryType>(0xFFFFFFFF), 1)); in TEST_F()
66 ASSERT_DEVICE_ERROR(CreateQuerySet(device, wgpu::QueryType::Occlusion, 1, in TEST_F()
75 wgpu::QuerySet querySet = device.CreateQuerySet(&descriptor); in TEST_F()
84 wgpu::QuerySet occlusionQuerySet = CreateQuerySet(device, wgpu::QueryType::Occlusion, 2); in TEST_F()
85 DummyRenderPass renderPass(device); in TEST_F()
[all...]
H A DResourceUsageTrackingTests.cpp29 return device.CreateBuffer(&descriptor); in CreateBuffer()
42 return device.CreateTexture(&descriptor); in CreateTexture()
50 wgpu::ShaderModule vsModule = utils::CreateShaderModule(device, R"( in CreateNoOpRenderPipeline()
55 wgpu::ShaderModule fsModule = utils::CreateShaderModule(device, R"( in CreateNoOpRenderPipeline()
62 pipelineDescriptor.layout = utils::MakeBasicPipelineLayout(device, nullptr); in CreateNoOpRenderPipeline()
63 return device.CreateRenderPipeline(&pipelineDescriptor); in CreateNoOpRenderPipeline()
67 wgpu::ShaderModule csModule = utils::CreateShaderModule(device, R"( in CreateNoOpComputePipeline()
71 pipelineDescriptor.layout = utils::MakePipelineLayout(device, std::move(bgls)); in CreateNoOpComputePipeline()
74 return device.CreateComputePipeline(&pipelineDescriptor); in CreateNoOpComputePipeline()
88 wgpu::CommandEncoder encoder = device in TEST_F()
[all...]
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_bo.c46 bo_dump_stats(struct v3dv_device *device) in bo_dump_stats() argument
48 struct v3dv_bo_cache *cache = &device->bo_cache; in bo_dump_stats()
50 fprintf(stderr, " BOs allocated: %d\n", device->bo_count); in bo_dump_stats()
51 fprintf(stderr, " BOs size: %dkb\n", device->bo_size / 1024); in bo_dump_stats()
95 bo_from_cache(struct v3dv_device *device, uint32_t size, const char *name) in bo_from_cache() argument
97 struct v3dv_bo_cache *cache = &device->bo_cache; in bo_from_cache()
114 if (!v3dv_bo_wait(device, bo, 0)) { in bo_from_cache()
128 bo_free(struct v3dv_device *device, in bo_free() argument
140 int ret = v3dv_ioctl(device->pdevice->render_fd, DRM_IOCTL_GEM_CLOSE, &c); in bo_free()
144 device in bo_free()
165 bo_cache_free_all(struct v3dv_device *device, bool with_lock) bo_cache_free_all() argument
204 v3dv_bo_alloc(struct v3dv_device *device, uint32_t size, const char *name, bool private) v3dv_bo_alloc() argument
267 v3dv_bo_map_unsynchronized(struct v3dv_device *device, struct v3dv_bo *bo, uint32_t size) v3dv_bo_map_unsynchronized() argument
301 v3dv_bo_wait(struct v3dv_device *device, struct v3dv_bo *bo, uint64_t timeout_ns) v3dv_bo_wait() argument
314 v3dv_bo_map(struct v3dv_device *device, struct v3dv_bo *bo, uint32_t size) v3dv_bo_map() argument
332 v3dv_bo_unmap(struct v3dv_device *device, struct v3dv_bo *bo) v3dv_bo_unmap() argument
343 reallocate_size_list(struct v3dv_bo_cache *cache, struct v3dv_device *device, uint32_t size) reallocate_size_list() argument
382 v3dv_bo_cache_init(struct v3dv_device *device) v3dv_bo_cache_init() argument
408 v3dv_bo_cache_destroy(struct v3dv_device *device) v3dv_bo_cache_destroy() argument
421 free_stale_bos(struct v3dv_device *device, time_t time) free_stale_bos() argument
451 v3dv_bo_free(struct v3dv_device *device, struct v3dv_bo *bo) v3dv_bo_free() argument
[all...]

Completed in 31 milliseconds

12345678910>>...112