Home
last modified time | relevance | path

Searched refs:device (Results 51 - 75 of 28097) sorted by relevance

12345678910>>...1124

/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/libinput/src/
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...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dnv04.c44 struct nvkm_device *device = fifo->engine.subdev.device; in nv04_chan_stop() local
45 struct nvkm_memory *fctx = device->imem->ramfc; in nv04_chan_stop()
53 nvkm_wr32(device, NV03_PFIFO_CACHES, 0); in nv04_chan_stop()
56 chid = nvkm_rd32(device, NV03_PFIFO_CACHE1_PUSH1) & fifo->chid->mask; in nv04_chan_stop()
58 nvkm_mask(device, NV04_PFIFO_CACHE1_DMA_PUSH, 0x00000001, 0); in nv04_chan_stop()
59 nvkm_wr32(device, NV03_PFIFO_CACHE1_PUSH0, 0); in nv04_chan_stop()
60 nvkm_mask(device, NV04_PFIFO_CACHE1_PULL0, 0x00000001, 0); in nv04_chan_stop()
67 u32 rv = (nvkm_rd32(device, c->regp) & rm) >> c->regs; in nv04_chan_stop()
75 nvkm_wr32(device, in nv04_chan_stop()
215 struct nvkm_device *device = fifo->engine.subdev.device; global() variable
250 struct nvkm_device *device = fifo->engine.subdev.device; global() variable
274 nv04_fifo_swmthd(struct nvkm_device *device, u32 chid, u32 addr, u32 data) nv04_fifo_swmthd() argument
306 struct nvkm_device *device = subdev->device; nv04_fifo_intr_cache_error() local
357 struct nvkm_device *device = subdev->device; nv04_fifo_intr_dma_pusher() local
410 struct nvkm_device *device = subdev->device; nv04_fifo_intr() local
468 struct nvkm_device *device = fifo->engine.subdev.device; nv04_fifo_init() local
539 nv04_fifo_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_fifo **pfifo) nv04_fifo_new() argument
[all...]
/kernel/linux/linux-5.10/drivers/s390/char/
H A Dtape_char.c3 * character device frontend for tape device driver
64 tapechar_setup_device(struct tape_device * device) in tapechar_setup_device() argument
68 sprintf(device_name, "ntibm%i", device->first_minor / 2); in tapechar_setup_device()
69 device->nt = register_tape_dev( in tapechar_setup_device()
70 &device->cdev->dev, in tapechar_setup_device()
71 MKDEV(tapechar_major, device->first_minor), in tapechar_setup_device()
77 device->rt = register_tape_dev( in tapechar_setup_device()
78 &device->cdev->dev, in tapechar_setup_device()
79 MKDEV(tapechar_major, device in tapechar_setup_device()
89 tapechar_cleanup_device(struct tape_device *device) tapechar_cleanup_device() argument
98 tapechar_check_idalbuffer(struct tape_device *device, size_t block_size) tapechar_check_idalbuffer() argument
131 struct tape_device *device; tapechar_read() local
189 struct tape_device *device; tapechar_write() local
273 struct tape_device *device; tapechar_open() local
307 struct tape_device *device; tapechar_release() local
343 __tapechar_ioctl(struct tape_device *device, unsigned int no, void __user *data) __tapechar_ioctl() argument
436 struct tape_device *device; tapechar_ioctl() local
452 struct tape_device *device = filp->private_data; tapechar_compat_ioctl() local
[all...]
H A Dtape_std.c3 * standard tape device functions for ibm tapes.
39 struct tape_device * device = request->device; in tape_std_assign_timeout() local
42 BUG_ON(!device); in tape_std_assign_timeout()
45 device->cdev_id); in tape_std_assign_timeout()
46 rc = tape_cancel_io(device, request); in tape_std_assign_timeout()
49 "%i\n", device->cdev_id, rc); in tape_std_assign_timeout()
53 tape_std_assign(struct tape_device *device) in tape_std_assign() argument
67 * The assign command sometimes blocks if the device is assigned in tape_std_assign()
74 rc = tape_do_io_interruptible(device, reques in tape_std_assign()
92 tape_std_unassign(struct tape_device *device) tape_std_unassign() argument
124 tape_std_display(struct tape_device *device, struct display_struct *disp) tape_std_display() argument
154 tape_std_read_block_id(struct tape_device *device, __u64 *id) tape_std_read_block_id() argument
177 tape_std_terminate_write(struct tape_device *device) tape_std_terminate_write() argument
201 tape_std_mtload(struct tape_device *device, int count) tape_std_mtload() argument
211 tape_std_mtsetblk(struct tape_device *device, int count) tape_std_mtsetblk() argument
254 tape_std_mtreset(struct tape_device *device, int count) tape_std_mtreset() argument
266 tape_std_mtfsf(struct tape_device *device, int mt_count) tape_std_mtfsf() argument
290 tape_std_mtfsr(struct tape_device *device, int mt_count) tape_std_mtfsr() argument
322 tape_std_mtbsr(struct tape_device *device, int mt_count) tape_std_mtbsr() argument
353 tape_std_mtweof(struct tape_device *device, int mt_count) tape_std_mtweof() argument
378 tape_std_mtbsfm(struct tape_device *device, int mt_count) tape_std_mtbsfm() argument
402 tape_std_mtbsf(struct tape_device *device, int mt_count) tape_std_mtbsf() argument
433 tape_std_mtfsfm(struct tape_device *device, int mt_count) tape_std_mtfsfm() argument
463 tape_std_mtrew(struct tape_device *device, int mt_count) tape_std_mtrew() argument
486 tape_std_mtoffl(struct tape_device *device, int mt_count) tape_std_mtoffl() argument
507 tape_std_mtnop(struct tape_device *device, int mt_count) tape_std_mtnop() argument
528 tape_std_mteom(struct tape_device *device, int mt_count) tape_std_mteom() argument
558 tape_std_mtreten(struct tape_device *device, int mt_count) tape_std_mtreten() argument
581 tape_std_mterase(struct tape_device *device, int mt_count) tape_std_mterase() argument
605 tape_std_mtunload(struct tape_device *device, int mt_count) tape_std_mtunload() argument
615 tape_std_mtcompression(struct tape_device *device, int mt_count) tape_std_mtcompression() argument
642 tape_std_read_block(struct tape_device *device, size_t count) tape_std_read_block() argument
667 tape_std_read_backward(struct tape_device *device, struct tape_request *request) tape_std_read_backward() argument
686 tape_std_write_block(struct tape_device *device, size_t count) tape_std_write_block() argument
707 tape_std_process_eov(struct tape_device *device) tape_std_process_eov() argument
[all...]
/kernel/linux/linux-6.6/drivers/s390/char/
H A Dtape_char.c3 * character device frontend for tape device driver
64 tapechar_setup_device(struct tape_device * device) in tapechar_setup_device() argument
68 sprintf(device_name, "ntibm%i", device->first_minor / 2); in tapechar_setup_device()
69 device->nt = register_tape_dev( in tapechar_setup_device()
70 &device->cdev->dev, in tapechar_setup_device()
71 MKDEV(tapechar_major, device->first_minor), in tapechar_setup_device()
77 device->rt = register_tape_dev( in tapechar_setup_device()
78 &device->cdev->dev, in tapechar_setup_device()
79 MKDEV(tapechar_major, device in tapechar_setup_device()
89 tapechar_cleanup_device(struct tape_device *device) tapechar_cleanup_device() argument
98 tapechar_check_idalbuffer(struct tape_device *device, size_t block_size) tapechar_check_idalbuffer() argument
131 struct tape_device *device; tapechar_read() local
189 struct tape_device *device; tapechar_write() local
273 struct tape_device *device; tapechar_open() local
307 struct tape_device *device; tapechar_release() local
343 __tapechar_ioctl(struct tape_device *device, unsigned int no, void __user *data) __tapechar_ioctl() argument
434 struct tape_device *device; tapechar_ioctl() local
450 struct tape_device *device = filp->private_data; tapechar_compat_ioctl() local
[all...]
H A Dtape_std.c3 * standard tape device functions for ibm tapes.
39 struct tape_device * device = request->device; in tape_std_assign_timeout() local
42 BUG_ON(!device); in tape_std_assign_timeout()
45 device->cdev_id); in tape_std_assign_timeout()
46 rc = tape_cancel_io(device, request); in tape_std_assign_timeout()
49 "%i\n", device->cdev_id, rc); in tape_std_assign_timeout()
53 tape_std_assign(struct tape_device *device) in tape_std_assign() argument
67 * The assign command sometimes blocks if the device is assigned in tape_std_assign()
74 rc = tape_do_io_interruptible(device, reques in tape_std_assign()
92 tape_std_unassign(struct tape_device *device) tape_std_unassign() argument
124 tape_std_display(struct tape_device *device, struct display_struct *disp) tape_std_display() argument
154 tape_std_read_block_id(struct tape_device *device, __u64 *id) tape_std_read_block_id() argument
177 tape_std_terminate_write(struct tape_device *device) tape_std_terminate_write() argument
201 tape_std_mtload(struct tape_device *device, int count) tape_std_mtload() argument
211 tape_std_mtsetblk(struct tape_device *device, int count) tape_std_mtsetblk() argument
254 tape_std_mtreset(struct tape_device *device, int count) tape_std_mtreset() argument
266 tape_std_mtfsf(struct tape_device *device, int mt_count) tape_std_mtfsf() argument
290 tape_std_mtfsr(struct tape_device *device, int mt_count) tape_std_mtfsr() argument
322 tape_std_mtbsr(struct tape_device *device, int mt_count) tape_std_mtbsr() argument
353 tape_std_mtweof(struct tape_device *device, int mt_count) tape_std_mtweof() argument
378 tape_std_mtbsfm(struct tape_device *device, int mt_count) tape_std_mtbsfm() argument
402 tape_std_mtbsf(struct tape_device *device, int mt_count) tape_std_mtbsf() argument
433 tape_std_mtfsfm(struct tape_device *device, int mt_count) tape_std_mtfsfm() argument
463 tape_std_mtrew(struct tape_device *device, int mt_count) tape_std_mtrew() argument
486 tape_std_mtoffl(struct tape_device *device, int mt_count) tape_std_mtoffl() argument
507 tape_std_mtnop(struct tape_device *device, int mt_count) tape_std_mtnop() argument
528 tape_std_mteom(struct tape_device *device, int mt_count) tape_std_mteom() argument
558 tape_std_mtreten(struct tape_device *device, int mt_count) tape_std_mtreten() argument
581 tape_std_mterase(struct tape_device *device, int mt_count) tape_std_mterase() argument
605 tape_std_mtunload(struct tape_device *device, int mt_count) tape_std_mtunload() argument
615 tape_std_mtcompression(struct tape_device *device, int mt_count) tape_std_mtcompression() argument
642 tape_std_read_block(struct tape_device *device, size_t count) tape_std_read_block() argument
667 tape_std_read_backward(struct tape_device *device, struct tape_request *request) tape_std_read_backward() argument
686 tape_std_write_block(struct tape_device *device, size_t count) tape_std_write_block() argument
707 tape_std_process_eov(struct tape_device *device) tape_std_process_eov() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/gasket/
H A Dgasket_sysfs.c7 #include <linux/device.h>
11 * Pair of kernel device and user-specified pointer. Used in lookups in sysfs
17 * The device bound to this mapping. If this is NULL, then this mapping
20 struct device *device; member
22 /* The Gasket descriptor for this device. */
25 /* This device's set of sysfs attributes/nodes. */
56 /* Look up mapping information for the given device. */
57 static struct gasket_sysfs_mapping *get_mapping(struct device *device) in get_mapping() argument
82 struct device *device; put_mapping() local
152 gasket_sysfs_create_mapping(struct device *device, struct gasket_dev *gasket_dev) gasket_sysfs_create_mapping() argument
217 gasket_sysfs_create_entries(struct device *device, const struct gasket_sysfs_attribute *attrs) gasket_sysfs_create_entries() argument
258 gasket_sysfs_remove_mapping(struct device *device) gasket_sysfs_remove_mapping() argument
271 gasket_sysfs_get_device_data(struct device *device) gasket_sysfs_get_device_data() argument
284 gasket_sysfs_put_device_data(struct device *device, struct gasket_dev *dev) gasket_sysfs_put_device_data() argument
297 gasket_sysfs_get_attr(struct device *device, struct device_attribute *attr) gasket_sysfs_get_attr() argument
320 gasket_sysfs_put_attr(struct device *device, struct gasket_sysfs_attribute *attr) gasket_sysfs_put_attr() argument
346 gasket_sysfs_register_store(struct device *device, struct device_attribute *attr, const char *buf, size_t count) gasket_sysfs_register_store() argument
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dattribute_container.h14 struct device;
22 int (*match)(struct attribute_container *, struct device *);
41 void attribute_container_create_device(struct device *dev,
43 struct device *,
44 struct device *));
45 void attribute_container_add_device(struct device *dev,
47 struct device *,
48 struct device *));
49 void attribute_container_remove_device(struct device *dev,
51 struct device *,
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dattribute_container.h14 struct device;
22 int (*match)(struct attribute_container *, struct device *);
41 void attribute_container_create_device(struct device *dev,
43 struct device *,
44 struct device *));
45 void attribute_container_add_device(struct device *dev,
47 struct device *,
48 struct device *));
49 void attribute_container_remove_device(struct device *dev,
51 struct device *,
[all...]
H A Dpm_domain.h3 * pm_domain.h - Definitions and headers related to device power domains.
11 #include <linux/device.h>
87 bool (*suspend_ok)(struct device *dev);
91 int (*start)(struct device *dev);
92 int (*stop)(struct device *dev);
120 struct device dev;
135 unsigned int suspended_count; /* System suspend device counter */
150 struct device *dev);
152 struct device *dev);
199 struct device *de
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dgv100.c34 struct nvkm_device *device = disp->engine.subdev.device; in gv100_disp_wndw_cnt() local
35 *pmask = nvkm_rd32(device, 0x610064); in gv100_disp_wndw_cnt()
36 return (nvkm_rd32(device, 0x610074) & 0x03f00000) >> 20; in gv100_disp_wndw_cnt()
45 struct nvkm_device *device = subdev->device; in gv100_disp_super() local
47 u32 stat = nvkm_rd32(device, 0x6107a8); in gv100_disp_super()
52 mask[head->id] = nvkm_rd32(device, 0x6107ac + (head->id * 4)); in gv100_disp_super()
92 nvkm_wr32(device, 0x6107ac + (head->id * 4), 0x00000000); in gv100_disp_super()
93 nvkm_wr32(device, in gv100_disp_super()
100 struct nvkm_device *device = subdev->device; gv100_disp_exception() local
142 struct nvkm_device *device = subdev->device; gv100_disp_intr_ctrl_disp() local
190 struct nvkm_device *device = subdev->device; gv100_disp_intr_exc_other() local
219 struct nvkm_device *device = subdev->device; gv100_disp_intr_exc_winim() local
239 struct nvkm_device *device = subdev->device; gv100_disp_intr_exc_win() local
259 struct nvkm_device *device = subdev->device; gv100_disp_intr_head_timing() local
284 struct nvkm_device *device = subdev->device; gv100_disp_intr() local
323 struct nvkm_device *device = disp->base.engine.subdev.device; gv100_disp_fini() local
330 struct nvkm_device *device = disp->base.engine.subdev.device; gv100_disp_init() local
444 gv100_disp_new(struct nvkm_device *device, int index, struct nvkm_disp **pdisp) gv100_disp_new() argument
[all...]
/kernel/linux/linux-6.6/drivers/block/drbd/
H A Ddrbd_bitmap.c113 static void __bm_print_lock_info(struct drbd_device *device, const char *func) in __bm_print_lock_info() argument
115 struct drbd_bitmap *b = device->bitmap; in __bm_print_lock_info()
118 drbd_err(device, "FIXME %s[%d] in %s, bitmap locked for '%s' by %s[%d]\n", in __bm_print_lock_info()
124 void drbd_bm_lock(struct drbd_device *device, char *why, enum bm_flag flags) in drbd_bm_lock() argument
126 struct drbd_bitmap *b = device->bitmap; in drbd_bm_lock()
130 drbd_err(device, "FIXME no bitmap in drbd_bm_lock!?\n"); in drbd_bm_lock()
137 drbd_warn(device, "%s[%d] going to '%s' but bitmap already locked for '%s' by %s[%d]\n", in drbd_bm_lock()
144 drbd_err(device, "FIXME bitmap already locked in bm_lock\n"); in drbd_bm_lock()
151 void drbd_bm_unlock(struct drbd_device *device) in drbd_bm_unlock() argument
153 struct drbd_bitmap *b = device in drbd_bm_unlock()
211 bm_page_lock_io(struct drbd_device *device, int page_nr) bm_page_lock_io() argument
218 bm_page_unlock_io(struct drbd_device *device, int page_nr) bm_page_unlock_io() argument
240 drbd_bm_reset_al_hints(struct drbd_device *device) drbd_bm_reset_al_hints() argument
254 drbd_bm_mark_for_writeout(struct drbd_device *device, int page_nr) drbd_bm_mark_for_writeout() argument
433 drbd_bm_init(struct drbd_device *device) drbd_bm_init() argument
449 drbd_bm_capacity(struct drbd_device *device) drbd_bm_capacity() argument
458 drbd_bm_cleanup(struct drbd_device *device) drbd_bm_cleanup() argument
630 drbd_bm_resize(struct drbd_device *device, sector_t capacity, int set_new_bits) drbd_bm_resize() argument
754 _drbd_bm_total_weight(struct drbd_device *device) _drbd_bm_total_weight() argument
772 drbd_bm_total_weight(struct drbd_device *device) drbd_bm_total_weight() argument
783 drbd_bm_words(struct drbd_device *device) drbd_bm_words() argument
794 drbd_bm_bits(struct drbd_device *device) drbd_bm_bits() argument
808 drbd_bm_merge_lel(struct drbd_device *device, size_t offset, size_t number, unsigned long *buffer) drbd_bm_merge_lel() argument
857 drbd_bm_get_lel(struct drbd_device *device, size_t offset, size_t number, unsigned long *buffer) drbd_bm_get_lel() argument
894 drbd_bm_set_all(struct drbd_device *device) drbd_bm_set_all() argument
910 drbd_bm_clear_all(struct drbd_device *device) drbd_bm_clear_all() argument
940 struct drbd_device *device = ctx->device; drbd_bm_endio() local
992 struct drbd_device *device = ctx->device; __must_hold() local
1292 __bm_find_next(struct drbd_device *device, unsigned long bm_fo, const int find_zero_bit) __bm_find_next() argument
1332 bm_find_next(struct drbd_device *device, unsigned long bm_fo, const int find_zero_bit) bm_find_next() argument
1353 drbd_bm_find_next(struct drbd_device *device, unsigned long bm_fo) drbd_bm_find_next() argument
1368 _drbd_bm_find_next(struct drbd_device *device, unsigned long bm_fo) _drbd_bm_find_next() argument
1374 _drbd_bm_find_next_zero(struct drbd_device *device, unsigned long bm_fo) _drbd_bm_find_next_zero() argument
1386 __bm_change_bits_to(struct drbd_device *device, const unsigned long s, unsigned long e, int val) __bm_change_bits_to() argument
1435 bm_change_bits_to(struct drbd_device *device, const unsigned long s, const unsigned long e, int val) bm_change_bits_to() argument
1458 drbd_bm_set_bits(struct drbd_device *device, const unsigned long s, const unsigned long e) drbd_bm_set_bits() argument
1464 drbd_bm_clear_bits(struct drbd_device *device, const unsigned long s, const unsigned long e) drbd_bm_clear_bits() argument
1501 _drbd_bm_set_bits(struct drbd_device *device, const unsigned long s, const unsigned long e) _drbd_bm_set_bits() argument
1581 drbd_bm_test_bit(struct drbd_device *device, const unsigned long bitnr) drbd_bm_test_bit() argument
1612 drbd_bm_count_bits(struct drbd_device *device, const unsigned long s, const unsigned long e) drbd_bm_count_bits() argument
1667 drbd_bm_e_weight(struct drbd_device *device, unsigned long enr) drbd_bm_e_weight() argument
[all...]
H A Ddrbd_main.c103 /* in 2.6.x, our device mapping and config info contains our virtual gendisks
144 int _get_ldev_if_state(struct drbd_device *device, enum drbd_disk_state mins) in _get_ldev_if_state() argument
148 atomic_inc(&device->local_cnt); in _get_ldev_if_state()
149 io_allowed = (device->state.disk >= mins); in _get_ldev_if_state()
151 if (atomic_dec_and_test(&device->local_cnt)) in _get_ldev_if_state()
152 wake_up(&device->misc_wait); in _get_ldev_if_state()
236 peer_device = conn_peer_device(connection, req->device->vnr); in tl_release()
264 peer_device = conn_peer_device(connection, req->device->vnr); in _tl_restart()
290 * tl_abort_disk_io() - Abort disk I/O for all requests for a certain device in the TL
291 * @device
293 tl_abort_disk_io(struct drbd_device *device) tl_abort_disk_io() argument
824 struct drbd_device *device = peer_device->device; _drbd_send_uuids() local
866 drbd_print_uuids(struct drbd_device *device, const char *text) drbd_print_uuids() argument
886 struct drbd_device *device = peer_device->device; drbd_gen_and_send_sync_uuid() local
912 struct drbd_device *device = peer_device->device; drbd_send_sizes() local
1101 fill_bitmap_rle_bits(struct drbd_device *device, struct p_compressed_bm *p, unsigned int size, struct bm_xfer_ctx *c) fill_bitmap_rle_bits() argument
1207 struct drbd_device *device = peer_device->device; send_bitmap_rle_or_plain() local
1263 _drbd_send_bitmap(struct drbd_device *device, struct drbd_peer_device *peer_device) _drbd_send_bitmap() argument
1301 drbd_send_bitmap(struct drbd_device *device, struct drbd_peer_device *peer_device) drbd_send_bitmap() argument
1667 struct drbd_device *device = peer_device->device; drbd_send_dblock() local
1760 struct drbd_device *device = peer_device->device; drbd_send_block() local
1891 struct drbd_device *device = disk->private_data; drbd_open() local
1917 struct drbd_device *device = gd->private_data; drbd_release() local
1925 drbd_queue_unplug(struct drbd_device *device) drbd_queue_unplug() argument
1937 drbd_set_defaults(struct drbd_device *device) drbd_set_defaults() argument
1950 drbd_init_set_defaults(struct drbd_device *device) drbd_init_set_defaults() argument
2009 drbd_set_my_capacity(struct drbd_device *device, sector_t size) drbd_set_my_capacity() argument
2019 drbd_device_cleanup(struct drbd_device *device) drbd_device_cleanup() argument
2167 drbd_release_all_peer_reqs(struct drbd_device *device) drbd_release_all_peer_reqs() argument
2195 struct drbd_device *device = container_of(kref, struct drbd_device, kref); drbd_destroy_device() local
2260 struct drbd_device *device = req->device; do_retry() local
2344 struct drbd_device *device; drbd_cleanup() local
2669 init_submitter(struct drbd_device *device) init_submitter() argument
2687 struct drbd_device *device; drbd_create_device() local
2830 drbd_delete_device(struct drbd_device *device) drbd_delete_device() argument
2960 struct drbd_device *device = peer_device->device; conn_md_sync() local
2996 drbd_md_write(struct drbd_device *device, void *b) drbd_md_write() argument
3036 drbd_md_sync(struct drbd_device *device) drbd_md_sync() argument
3069 check_activity_log_stripe_size(struct drbd_device *device, struct meta_data_on_disk *on_disk, struct drbd_md *in_core) check_activity_log_stripe_size() argument
3114 check_offsets_and_sizes(struct drbd_device *device, struct drbd_backing_dev *bdev) check_offsets_and_sizes() argument
3205 drbd_md_read(struct drbd_device *device, struct drbd_backing_dev *bdev) drbd_md_read() argument
3314 drbd_md_mark_dirty(struct drbd_device *device) drbd_md_mark_dirty() argument
3458 struct drbd_device *device = w_bitmap_io() local
3506 drbd_queue_bitmap_io(struct drbd_device *device, int (*io_fn)(struct drbd_device *, struct drbd_peer_device *), void (*done)(struct drbd_device *, int), char *why, enum bm_flag flags, struct drbd_peer_device *peer_device) drbd_queue_bitmap_io() argument
3549 drbd_bitmap_io(struct drbd_device *device, int (*io_fn)(struct drbd_device *, struct drbd_peer_device *), char *why, enum bm_flag flags, struct drbd_peer_device *peer_device) drbd_bitmap_io() argument
3595 struct drbd_device *device = from_timer(device, t, md_sync_timer); md_sync_timer_fn() local
3679 drbd_wait_misc(struct drbd_device *device, struct drbd_interval *i) drbd_wait_misc() argument
3778 _drbd_insert_fault(struct drbd_device *device, unsigned int type) _drbd_insert_fault() argument
[all...]
/kernel/linux/linux-6.6/drivers/vfio/
H A Dvfio.h10 #include <linux/device.h>
20 struct vfio_device *device; member
30 void vfio_device_put_registration(struct vfio_device *device);
31 bool vfio_device_try_get_registration(struct vfio_device *device);
35 vfio_allocate_device_file(struct vfio_device *device);
47 * Physical device with IOMMU backing.
52 * Virtual device without IOMMU backing. The VFIO core fakes up an
60 * Physical device without IOMMU backing. The VFIO core fakes up an
62 * userspace ABI. Users can trigger unmediated DMA by the device,
71 struct device de
124 vfio_device_block_group(struct vfio_device *device) vfio_device_block_group() argument
129 vfio_device_unblock_group(struct vfio_device *device) vfio_device_unblock_group() argument
133 vfio_device_set_group(struct vfio_device *device, enum vfio_group_type type) vfio_device_set_group() argument
139 vfio_device_remove_group(struct vfio_device *device) vfio_device_remove_group() argument
143 vfio_device_group_register(struct vfio_device *device) vfio_device_group_register() argument
147 vfio_device_group_unregister(struct vfio_device *device) vfio_device_group_unregister() argument
151 vfio_device_group_use_iommu(struct vfio_device *device) vfio_device_group_use_iommu() argument
156 vfio_device_group_unuse_iommu(struct vfio_device *device) vfio_device_group_unuse_iommu() argument
178 vfio_device_has_container(struct vfio_device *device) vfio_device_has_container() argument
284 vfio_device_container_register(struct vfio_device *device) vfio_device_container_register() argument
288 vfio_device_container_unregister(struct vfio_device *device) vfio_device_container_unregister() argument
292 vfio_device_container_pin_pages(struct vfio_device *device, dma_addr_t iova, int npage, int prot, struct page **pages) vfio_device_container_pin_pages() argument
299 vfio_device_container_unpin_pages(struct vfio_device *device, dma_addr_t iova, int npage) vfio_device_container_unpin_pages() argument
304 vfio_device_container_dma_rw(struct vfio_device *device, dma_addr_t iova, void *data, size_t len, bool write) vfio_device_container_dma_rw() argument
345 vfio_iommufd_compat_attach_ioas(struct vfio_device *device, struct iommufd_ctx *ictx) vfio_iommufd_compat_attach_ioas() argument
360 vfio_device_add(struct vfio_device *device) vfio_device_add() argument
369 vfio_device_del(struct vfio_device *device) vfio_device_del() argument
384 vfio_init_device_cdev(struct vfio_device *device) vfio_init_device_cdev() argument
388 vfio_device_add(struct vfio_device *device) vfio_device_add() argument
393 vfio_device_del(struct vfio_device *device) vfio_device_del() argument
441 vfio_device_get_kvm_safe(struct vfio_device *device, struct kvm *kvm) vfio_device_get_kvm_safe() argument
446 vfio_device_put_kvm(struct vfio_device *device) vfio_device_put_kvm() argument
[all...]
/kernel/linux/linux-5.10/drivers/block/drbd/
H A Ddrbd_main.c104 /* in 2.6.x, our device mapping and config info contains our virtual gendisks
158 int _get_ldev_if_state(struct drbd_device *device, enum drbd_disk_state mins) in _get_ldev_if_state() argument
162 atomic_inc(&device->local_cnt); in _get_ldev_if_state()
163 io_allowed = (device->state.disk >= mins); in _get_ldev_if_state()
165 if (atomic_dec_and_test(&device->local_cnt)) in _get_ldev_if_state()
166 wake_up(&device->misc_wait); in _get_ldev_if_state()
287 * @device: DRBD device.
299 * tl_abort_disk_io() - Abort disk I/O for all requests for a certain device in the TL
300 * @device
302 tl_abort_disk_io(struct drbd_device *device) tl_abort_disk_io() argument
833 struct drbd_device *device = peer_device->device; _drbd_send_uuids() local
875 drbd_print_uuids(struct drbd_device *device, const char *text) drbd_print_uuids() argument
895 struct drbd_device *device = peer_device->device; drbd_gen_and_send_sync_uuid() local
921 assign_p_sizes_qlim(struct drbd_device *device, struct p_sizes *p, struct request_queue *q) assign_p_sizes_qlim() argument
946 struct drbd_device *device = peer_device->device; drbd_send_sizes() local
1115 fill_bitmap_rle_bits(struct drbd_device *device, struct p_compressed_bm *p, unsigned int size, struct bm_xfer_ctx *c) fill_bitmap_rle_bits() argument
1219 send_bitmap_rle_or_plain(struct drbd_device *device, struct bm_xfer_ctx *c) send_bitmap_rle_or_plain() argument
1275 _drbd_send_bitmap(struct drbd_device *device) _drbd_send_bitmap() argument
1312 drbd_send_bitmap(struct drbd_device *device) drbd_send_bitmap() argument
1681 struct drbd_device *device = peer_device->device; drbd_send_dblock() local
1790 struct drbd_device *device = peer_device->device; drbd_send_block() local
1921 struct drbd_device *device = bdev->bd_disk->private_data; drbd_open() local
1947 struct drbd_device *device = gd->private_data; drbd_release() local
1954 drbd_queue_unplug(struct drbd_device *device) drbd_queue_unplug() argument
1966 drbd_set_defaults(struct drbd_device *device) drbd_set_defaults() argument
1979 drbd_init_set_defaults(struct drbd_device *device) drbd_init_set_defaults() argument
2038 drbd_set_my_capacity(struct drbd_device *device, sector_t size) drbd_set_my_capacity() argument
2049 drbd_device_cleanup(struct drbd_device *device) drbd_device_cleanup() argument
2201 drbd_release_all_peer_reqs(struct drbd_device *device) drbd_release_all_peer_reqs() argument
2229 struct drbd_device *device = container_of(kref, struct drbd_device, kref); drbd_destroy_device() local
2294 struct drbd_device *device = req->device; do_retry() local
2380 struct drbd_device *device; drbd_cleanup() local
2706 init_submitter(struct drbd_device *device) init_submitter() argument
2724 struct drbd_device *device; drbd_create_device() local
2867 drbd_delete_device(struct drbd_device *device) drbd_delete_device() argument
2997 struct drbd_device *device = peer_device->device; conn_md_sync() local
3033 drbd_md_write(struct drbd_device *device, void *b) drbd_md_write() argument
3073 drbd_md_sync(struct drbd_device *device) drbd_md_sync() argument
3106 check_activity_log_stripe_size(struct drbd_device *device, struct meta_data_on_disk *on_disk, struct drbd_md *in_core) check_activity_log_stripe_size() argument
3151 check_offsets_and_sizes(struct drbd_device *device, struct drbd_backing_dev *bdev) check_offsets_and_sizes() argument
3242 drbd_md_read(struct drbd_device *device, struct drbd_backing_dev *bdev) drbd_md_read() argument
3351 drbd_md_mark_dirty(struct drbd_device *device) drbd_md_mark_dirty() argument
3491 struct drbd_device *device = w_bitmap_io() local
3538 drbd_queue_bitmap_io(struct drbd_device *device, int (*io_fn)(struct drbd_device *), void (*done)(struct drbd_device *, int), char *why, enum bm_flag flags) drbd_queue_bitmap_io() argument
3578 drbd_bitmap_io(struct drbd_device *device, int (*io_fn)(struct drbd_device *), char *why, enum bm_flag flags) drbd_bitmap_io() argument
3622 struct drbd_device *device = from_timer(device, t, md_sync_timer); md_sync_timer_fn() local
3707 drbd_wait_misc(struct drbd_device *device, struct drbd_interval *i) drbd_wait_misc() argument
3806 _drbd_insert_fault(struct drbd_device *device, unsigned int type) _drbd_insert_fault() argument
[all...]
/kernel/linux/linux-5.10/drivers/s390/block/
H A Ddasd_devmap.c39 * between device number and device index. To find a dasd_devmap_t
40 * that corresponds to a device number of a device index each
42 * the device number and one to search by the device index. As
43 * soon as big minor numbers are available the device index list
44 * can be removed since the device number will then be identical
45 * to the device index.
52 struct dasd_device *device; member
500 struct dasd_device *device; dasd_device_from_devindex() local
544 struct dasd_device *device; dasd_create_device() local
592 dasd_delete_device(struct dasd_device *device) dasd_delete_device() argument
641 dasd_put_device_wake(struct dasd_device *device) dasd_put_device_wake() argument
655 struct dasd_device *device = dev_get_drvdata(&cdev->dev); dasd_device_from_cdev_locked() local
669 struct dasd_device *device; dasd_device_from_cdev() local
678 dasd_add_link_to_gendisk(struct gendisk *gdp, struct dasd_device *device) dasd_add_link_to_gendisk() argument
692 struct dasd_device *device; dasd_device_from_gendisk() local
752 struct dasd_device *device; dasd_ro_show() local
776 struct dasd_device *device; dasd_ro_store() local
953 struct dasd_device *device; dasd_safe_offline_store() local
991 struct dasd_device *device; dasd_access_show() local
1018 struct dasd_device *device; dasd_discipline_show() local
1044 struct dasd_device *device; dasd_device_status_show() local
1083 struct dasd_device *device; dasd_alias_show() local
1108 struct dasd_device *device; dasd_vendor_show() local
1135 struct dasd_device *device; dasd_uid_show() local
1203 struct dasd_device *device; dasd_eer_store() local
1232 struct dasd_device *device; dasd_expires_show() local
1247 struct dasd_device *device; dasd_expires_store() local
1272 struct dasd_device *device; dasd_retries_show() local
1287 struct dasd_device *device; dasd_retries_store() local
1313 struct dasd_device *device; dasd_timeout_show() local
1328 struct dasd_device *device; dasd_timeout_store() local
1363 struct dasd_device *device; dasd_path_reset_store() local
1385 struct dasd_device *device; dasd_hpf_show() local
1447 struct dasd_device *device; dasd_reservation_state_show() local
1468 struct dasd_device *device; dasd_reservation_state_store() local
1492 struct dasd_device *device; dasd_pm_show() local
1520 struct dasd_device *device; dasd_path_threshold_show() local
1535 struct dasd_device *device; dasd_path_threshold_store() local
1605 struct dasd_device *device; dasd_path_interval_show() local
1620 struct dasd_device *device; dasd_path_interval_store() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dgf100.c51 struct nvkm_device *device = gr->base.engine.subdev.device; in gf100_gr_zbc_clear_color() local
53 nvkm_wr32(device, 0x405804, gr->zbc_color[zbc].ds[0]); in gf100_gr_zbc_clear_color()
54 nvkm_wr32(device, 0x405808, gr->zbc_color[zbc].ds[1]); in gf100_gr_zbc_clear_color()
55 nvkm_wr32(device, 0x40580c, gr->zbc_color[zbc].ds[2]); in gf100_gr_zbc_clear_color()
56 nvkm_wr32(device, 0x405810, gr->zbc_color[zbc].ds[3]); in gf100_gr_zbc_clear_color()
58 nvkm_wr32(device, 0x405814, gr->zbc_color[zbc].format); in gf100_gr_zbc_clear_color()
59 nvkm_wr32(device, 0x405820, zbc); in gf100_gr_zbc_clear_color()
60 nvkm_wr32(device, 0x405824, 0x00000004); /* TRIGGER | WRITE | COLOR */ in gf100_gr_zbc_clear_color()
67 struct nvkm_ltc *ltc = gr->base.engine.subdev.device in gf100_gr_zbc_color_get()
102 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_zbc_clear_depth() local
251 gf100_gr_mthd_set_shader_exceptions(struct nvkm_device *device, u32 data) gf100_gr_mthd_set_shader_exceptions() argument
258 gf100_gr_mthd_sw(struct nvkm_device *device, u16 class, u32 mthd, u32 data) gf100_gr_mthd_sw() argument
387 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_chan_new() local
727 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_fecs_ctrl_ctxsw() local
777 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_fecs_bind_pointer() local
796 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_fecs_set_reglist_virtual_address() local
813 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_fecs_set_reglist_bind_instance() local
830 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_fecs_discover_reglist_image_size() local
868 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_fecs_discover_pm_image_size() local
884 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_fecs_discover_zcull_image_size() local
900 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_fecs_discover_image_size() local
916 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_fecs_set_watchdog_timeout() local
942 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_rops() local
994 struct nvkm_device *device = subdev->device; gf100_gr_wait_idle() local
1022 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_mmio() local
1039 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_icmd() local
1077 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_mthd() local
1177 struct nvkm_device *device = subdev->device; gf100_gr_trap_gpc_rop() local
1238 struct nvkm_device *device = subdev->device; gf100_gr_trap_mp() local
1259 struct nvkm_device *device = subdev->device; gf100_gr_trap_tpc() local
1304 struct nvkm_device *device = subdev->device; gf100_gr_trap_gpc() local
1352 struct nvkm_device *device = subdev->device; gf100_gr_trap_intr() local
1478 struct nvkm_device *device = subdev->device; gf100_gr_ctxctl_debug_unit() local
1496 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_ctxctl_debug() local
1509 struct nvkm_device *device = subdev->device; gf100_gr_ctxctl_isr() local
1550 struct nvkm_device *device = subdev->device; gf100_gr_intr() local
1650 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_init_csdata() local
1692 struct nvkm_device *device = subdev->device; gf100_gr_init_ctxctl_ext() local
1783 struct nvkm_device *device = subdev->device; gf100_gr_init_ctxctl_int() local
1946 struct nvkm_device *device = subdev->device; gf100_gr_oneinit() local
1984 struct nvkm_device *device = subdev->device; gf100_gr_init_() local
2090 gf100_gr_new_(const struct gf100_gr_fwif *fwif, struct nvkm_device *device, int index, struct nvkm_gr **pgr) gf100_gr_new_() argument
2128 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_init_num_tpc_per_gpc() local
2151 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_init_shader_exceptions() local
2159 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_init_tex_hww_esr() local
2166 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_init_419eb4() local
2173 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_init_419cc0() local
2200 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_init_gpc_mmu() local
2216 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_init_num_active_ltcs() local
2223 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_init_zcull() local
2251 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_init_vsc_stream_master() local
2258 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_init() local
2438 struct nvkm_device *device = subdev->device; gf100_gr_load_fw() local
2463 struct nvkm_device *device = gr->base.engine.subdev.device; gf100_gr_load() local
2486 gf100_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) gf100_gr_new() argument
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Ddevice.c81 * The devices_rwsem also protects the device name list, any change or
82 * assignment of device name must also hold the write side to guarantee unique
89 * status need to call ib_device_try_get() on the device to ensure it is
130 "Share device among net namespaces; default=1 (shared)");
132 * rdma_dev_access_netns() - Return whether an rdma device can be accessed
134 * @dev: Pointer to rdma device which needs to be checked
137 * When the rdma device is in shared mode, it ignores the net namespace.
138 * When the rdma device is exclusive to a net namespace, rdma device net
188 static void __ib_unregister_device(struct ib_device *device);
267 ib_device_check_mandatory(struct ib_device *device) ib_device_check_mandatory() argument
310 struct ib_device *device; ib_device_get_by_index() local
335 ib_device_put(struct ib_device *device) ib_device_put() argument
344 struct ib_device *device; __ib_device_get_by_name() local
365 struct ib_device *device; ib_device_get_by_name() local
382 rename_compat_devs(struct ib_device *device) rename_compat_devs() argument
455 struct ib_device *device; alloc_name() local
489 ib_device_release(struct device *device) ib_device_release() argument
514 ib_device_uevent(const struct device *device, struct kobj_uevent_env *env) ib_device_uevent() argument
575 struct ib_device *device; _ib_alloc_device() local
654 ib_dealloc_device(struct ib_device *device) ib_dealloc_device() argument
690 add_client_context(struct ib_device *device, struct ib_client *client) add_client_context() argument
749 remove_client_context(struct ib_device *device, unsigned int client_id) remove_client_context() argument
783 alloc_port_data(struct ib_device *device) alloc_port_data() argument
836 setup_port_data(struct ib_device *device) setup_port_data() argument
920 add_one_compat_dev(struct ib_device *device, struct rdma_dev_net *rnet) add_one_compat_dev() argument
994 remove_one_compat_dev(struct ib_device *device, u32 id) remove_one_compat_dev() argument
1008 remove_compat_devs(struct ib_device *device) remove_compat_devs() argument
1017 add_compat_devs(struct ib_device *device) add_compat_devs() argument
1202 assign_name(struct ib_device *device, const char *name) assign_name() argument
1237 setup_device(struct ib_device *device) setup_device() argument
1261 disable_device(struct ib_device *device) disable_device() argument
1304 enable_device_and_get(struct ib_device *device) enable_device_and_get() argument
1366 ib_register_device(struct ib_device *device, const char *name, struct device *dma_device) ib_register_device() argument
1616 rdma_dev_change_netns(struct ib_device *device, struct net *cur_net, struct net *net) rdma_dev_change_netns() argument
1774 struct ib_device *device; ib_register_client() local
1821 struct ib_device *device; ib_unregister_client() local
1961 ib_set_client_data(struct ib_device *device, struct ib_client *client, void *data) ib_set_client_data() argument
2020 iw_query_port(struct ib_device *device, u32 port_num, struct ib_port_attr *port_attr) iw_query_port() argument
2059 __ib_query_port(struct ib_device *device, u32 port_num, struct ib_port_attr *port_attr) __ib_query_port() argument
2089 ib_query_port(struct ib_device *device, u32 port_num, struct ib_port_attr *port_attr) ib_query_port() argument
2382 ib_query_pkey(struct ib_device *device, u32 port_num, u16 index, u16 *pkey) ib_query_pkey() argument
2404 ib_modify_device(struct ib_device *device, int device_modify_mask, struct ib_device_modify *device_modify) ib_modify_device() argument
2427 ib_modify_port(struct ib_device *device, u32 port_num, int port_modify_mask, struct ib_port_modify *port_modify) ib_modify_port() argument
2459 ib_find_gid(struct ib_device *device, union ib_gid *gid, u32 *port_num, u16 *index) ib_find_gid() argument
2497 ib_find_pkey(struct ib_device *device, u32 port_num, u16 pkey, u16 *index) ib_find_pkey() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/host1x/
H A Dbus.c34 * host1x_subdev_add() - add a new subdevice with an associated device node
35 * @device: host1x device to add the subdevice to
37 * @np: device node
39 static int host1x_subdev_add(struct host1x_device *device, in host1x_subdev_add() argument
54 mutex_lock(&device->subdevs_lock); in host1x_subdev_add()
55 list_add_tail(&subdev->list, &device->subdevs); in host1x_subdev_add()
56 mutex_unlock(&device->subdevs_lock); in host1x_subdev_add()
62 err = host1x_subdev_add(device, driver, child); in host1x_subdev_add()
86 * host1x_device_parse_dt() - scan device tre
90 host1x_device_parse_dt(struct host1x_device *device, struct host1x_driver *driver) host1x_device_parse_dt() argument
110 host1x_subdev_register(struct host1x_device *device, struct host1x_subdev *subdev, struct host1x_client *client) host1x_subdev_register() argument
139 __host1x_subdev_unregister(struct host1x_device *device, struct host1x_subdev *subdev) __host1x_subdev_unregister() argument
175 host1x_subdev_unregister(struct host1x_device *device, struct host1x_subdev *subdev) host1x_subdev_unregister() argument
193 host1x_device_init(struct host1x_device *device) host1x_device_init() argument
254 host1x_device_exit(struct host1x_device *device) host1x_device_exit() argument
295 struct host1x_device *device; host1x_add_client() local
317 struct host1x_device *device, *dt; host1x_del_client() local
376 __host1x_device_del(struct host1x_device *device) __host1x_device_del() argument
426 struct host1x_device *device = to_host1x_device(dev); host1x_device_release() local
437 struct host1x_device *device; host1x_device_add() local
496 host1x_device_del(struct host1x *host1x, struct host1x_device *device) host1x_device_del() argument
510 struct host1x_device *device; host1x_attach_driver() local
532 struct host1x_device *device, *tmp; host1x_detach_driver() local
546 struct host1x_device *device; host1x_devices_show() local
630 struct host1x_device *device = to_host1x_device(dev); host1x_device_probe() local
641 struct host1x_device *device = to_host1x_device(dev); host1x_device_remove() local
652 struct host1x_device *device = to_host1x_device(dev); host1x_device_shutdown() local
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Ddevice.c80 * The devices_rwsem also protects the device name list, any change or
81 * assignment of device name must also hold the write side to guarantee unique
88 * status need to call ib_device_try_get() on the device to ensure it is
129 "Share device among net namespaces; default=1 (shared)");
131 * rdma_dev_access_netns() - Return whether an rdma device can be accessed
133 * @dev: Pointer to rdma device which needs to be checked
136 * When the rdma device is in shared mode, it ignores the net namespace.
137 * When the rdma device is exclusive to a net namespace, rdma device net
187 static void __ib_unregister_device(struct ib_device *device);
266 ib_device_check_mandatory(struct ib_device *device) ib_device_check_mandatory() argument
308 struct ib_device *device; ib_device_get_by_index() local
333 ib_device_put(struct ib_device *device) ib_device_put() argument
342 struct ib_device *device; __ib_device_get_by_name() local
363 struct ib_device *device; ib_device_get_by_name() local
380 rename_compat_devs(struct ib_device *device) rename_compat_devs() argument
453 struct ib_device *device; alloc_name() local
487 ib_device_release(struct device *device) ib_device_release() argument
510 ib_device_uevent(struct device *device, struct kobj_uevent_env *env) ib_device_uevent() argument
571 struct ib_device *device; _ib_alloc_device() local
624 ib_dealloc_device(struct ib_device *device) ib_dealloc_device() argument
660 add_client_context(struct ib_device *device, struct ib_client *client) add_client_context() argument
719 remove_client_context(struct ib_device *device, unsigned int client_id) remove_client_context() argument
753 alloc_port_data(struct ib_device *device) alloc_port_data() argument
802 setup_port_data(struct ib_device *device) setup_port_data() argument
879 add_one_compat_dev(struct ib_device *device, struct rdma_dev_net *rnet) add_one_compat_dev() argument
953 remove_one_compat_dev(struct ib_device *device, u32 id) remove_one_compat_dev() argument
967 remove_compat_devs(struct ib_device *device) remove_compat_devs() argument
976 add_compat_devs(struct ib_device *device) add_compat_devs() argument
1161 assign_name(struct ib_device *device, const char *name) assign_name() argument
1196 setup_device(struct ib_device *device) setup_device() argument
1220 disable_device(struct ib_device *device) disable_device() argument
1263 enable_device_and_get(struct ib_device *device) enable_device_and_get() argument
1327 ib_register_device(struct ib_device *device, const char *name, struct device *dma_device) ib_register_device() argument
1570 rdma_dev_change_netns(struct ib_device *device, struct net *cur_net, struct net *net) rdma_dev_change_netns() argument
1733 struct ib_device *device; ib_register_client() local
1770 struct ib_device *device; ib_unregister_client() local
1910 ib_set_client_data(struct ib_device *device, struct ib_client *client, void *data) ib_set_client_data() argument
1969 iw_query_port(struct ib_device *device, u8 port_num, struct ib_port_attr *port_attr) iw_query_port() argument
2008 __ib_query_port(struct ib_device *device, u8 port_num, struct ib_port_attr *port_attr) __ib_query_port() argument
2042 ib_query_port(struct ib_device *device, u8 port_num, struct ib_port_attr *port_attr) ib_query_port() argument
2333 ib_query_pkey(struct ib_device *device, u8 port_num, u16 index, u16 *pkey) ib_query_pkey() argument
2355 ib_modify_device(struct ib_device *device, int device_modify_mask, struct ib_device_modify *device_modify) ib_modify_device() argument
2378 ib_modify_port(struct ib_device *device, u8 port_num, int port_modify_mask, struct ib_port_modify *port_modify) ib_modify_port() argument
2410 ib_find_gid(struct ib_device *device, union ib_gid *gid, u8 *port_num, u16 *index) ib_find_gid() argument
2448 ib_find_pkey(struct ib_device *device, u8 port_num, u16 pkey, u16 *index) ib_find_pkey() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/
H A Dgm107.c32 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_cbc_clear() local
33 nvkm_wr32(device, 0x17e270, start); in gm107_ltc_cbc_clear()
34 nvkm_wr32(device, 0x17e274, limit); in gm107_ltc_cbc_clear()
35 nvkm_mask(device, 0x17e26c, 0x00000000, 0x00000004); in gm107_ltc_cbc_clear()
41 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_cbc_wait() local
46 nvkm_wait_msec(device, 2000, addr, in gm107_ltc_cbc_wait()
55 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_zbc_clear_color() local
66 struct nvkm_device *device = ltc->subdev.device; gm107_ltc_zbc_clear_depth() local
75 struct nvkm_device *device = subdev->device; gm107_ltc_intr_lts() local
92 struct nvkm_device *device = ltc->subdev.device; gm107_ltc_intr() local
107 struct nvkm_device *device = ltc->subdev.device; gm107_ltc_oneinit() local
125 struct nvkm_device *device = ltc->subdev.device; gm107_ltc_init() local
148 gm107_ltc_new(struct nvkm_device *device, int index, struct nvkm_ltc **pltc) gm107_ltc_new() argument
[all...]
/kernel/linux/linux-5.10/include/linux/device/
H A Dbus.h25 * struct bus_type - The bus type of the device
29 * @dev_root: Default device to use as the parent.
32 * @drv_groups: Default attributes of the device drivers on the bus.
33 * @match: Called, perhaps multiple times, whenever a new device or driver
35 * given device can be handled by the given driver and zero
37 * the driver supports the device is not possible. In case of
38 * -EPROBE_DEFER it will queue the device for deferred probing.
39 * @uevent: Called when a device is added, removed, or a few other things
41 * @probe: Called when a new device or driver add to this bus, and callback
42 * the specific driver's probe to initial the matched device
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/
H A Dgm107.c32 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_cbc_clear() local
33 nvkm_wr32(device, 0x17e270, start); in gm107_ltc_cbc_clear()
34 nvkm_wr32(device, 0x17e274, limit); in gm107_ltc_cbc_clear()
35 nvkm_mask(device, 0x17e26c, 0x00000000, 0x00000004); in gm107_ltc_cbc_clear()
41 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_cbc_wait() local
46 nvkm_wait_msec(device, 2000, addr, in gm107_ltc_cbc_wait()
55 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_zbc_clear_color() local
66 struct nvkm_device *device = ltc->subdev.device; gm107_ltc_zbc_clear_depth() local
75 struct nvkm_device *device = subdev->device; gm107_ltc_intr_lts() local
92 struct nvkm_device *device = ltc->subdev.device; gm107_ltc_intr() local
107 struct nvkm_device *device = ltc->subdev.device; gm107_ltc_oneinit() local
125 struct nvkm_device *device = ltc->subdev.device; gm107_ltc_init() local
149 gm107_ltc_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_ltc **pltc) gm107_ltc_new() argument
[all...]

Completed in 28 milliseconds

12345678910>>...1124