Home
last modified time | relevance | path

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

12345678910>>...1159

/kernel/linux/linux-6.6/drivers/gpu/drm/mediatek/
H A Dmtk_disp_drv.h15 int mtk_aal_clk_enable(struct device *dev);
16 void mtk_aal_clk_disable(struct device *dev);
17 void mtk_aal_config(struct device *dev, unsigned int w,
20 void mtk_aal_gamma_set(struct device *dev, struct drm_crtc_state *state);
21 void mtk_aal_start(struct device *dev);
22 void mtk_aal_stop(struct device *dev);
24 void mtk_ccorr_ctm_set(struct device *dev, struct drm_crtc_state *state);
25 int mtk_ccorr_clk_enable(struct device *dev);
26 void mtk_ccorr_clk_disable(struct device *dev);
27 void mtk_ccorr_config(struct device *de
[all...]
/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...]
/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...]
/kernel/linux/linux-6.6/drivers/block/drbd/
H A Ddrbd_actlog.c57 * sectors-written since device creation, and other data generation tag
73 * allows to cover device sizes of up to 2**54 Byte (16 PiB) */
82 void *drbd_md_get_buffer(struct drbd_device *device, const char *intent) in drbd_md_get_buffer() argument
86 wait_event(device->misc_wait, in drbd_md_get_buffer()
87 (r = atomic_cmpxchg(&device->md_io.in_use, 0, 1)) == 0 || in drbd_md_get_buffer()
88 device->state.disk <= D_FAILED); in drbd_md_get_buffer()
93 device->md_io.current_use = intent; in drbd_md_get_buffer()
94 device->md_io.start_jif = jiffies; in drbd_md_get_buffer()
95 device->md_io.submit_jif = device in drbd_md_get_buffer()
99 drbd_md_put_buffer(struct drbd_device *device) drbd_md_put_buffer() argument
105 wait_until_done_or_force_detached(struct drbd_device *device, struct drbd_backing_dev *bdev, unsigned int *done) wait_until_done_or_force_detached() argument
125 _drbd_md_sync_page_io(struct drbd_device *device, struct drbd_backing_dev *bdev, sector_t sector, enum req_op op) _drbd_md_sync_page_io() argument
177 drbd_md_sync_page_io(struct drbd_device *device, struct drbd_backing_dev *bdev, sector_t sector, enum req_op op) drbd_md_sync_page_io() argument
206 find_active_resync_extent(struct drbd_device *device, unsigned int enr) find_active_resync_extent() argument
218 _al_get(struct drbd_device *device, unsigned int enr, bool nonblock) _al_get() argument
241 drbd_al_begin_io_fastpath(struct drbd_device *device, struct drbd_interval *i) drbd_al_begin_io_fastpath() argument
258 drbd_al_begin_io_prepare(struct drbd_device *device, struct drbd_interval *i) drbd_al_begin_io_prepare() argument
298 al_tr_number_to_on_disk_sector(struct drbd_device *device) al_tr_number_to_on_disk_sector() argument
316 __al_write_transaction(struct drbd_device *device, struct al_transaction_on_disk *buffer) __al_write_transaction() argument
402 al_write_transaction(struct drbd_device *device) al_write_transaction() argument
439 drbd_al_begin_io_commit(struct drbd_device *device) drbd_al_begin_io_commit() argument
478 drbd_al_begin_io(struct drbd_device *device, struct drbd_interval *i) drbd_al_begin_io() argument
484 drbd_al_begin_io_nonblock(struct drbd_device *device, struct drbd_interval *i) drbd_al_begin_io_nonblock() argument
544 drbd_al_complete_io(struct drbd_device *device, struct drbd_interval *i) drbd_al_complete_io() argument
569 _try_lc_del(struct drbd_device *device, struct lc_element *al_ext) _try_lc_del() argument
591 drbd_al_shrink(struct drbd_device *device) drbd_al_shrink() argument
608 drbd_al_initialize(struct drbd_device *device, void *buffer) drbd_al_initialize() argument
651 update_rs_extent(struct drbd_device *device, unsigned int enr, int count, enum update_sync_bits_mode mode) update_rs_extent() argument
740 struct drbd_device *device = peer_device->device; drbd_advance_rs_marks() local
756 lazy_bitmap_update_due(struct drbd_device *device) lazy_bitmap_update_due() argument
761 maybe_schedule_on_disk_bitmap_update(struct drbd_device *device, bool rs_done) maybe_schedule_on_disk_bitmap_update() argument
780 update_sync_bits(struct drbd_device *device, unsigned long sbnr, unsigned long ebnr, enum update_sync_bits_mode mode) update_sync_bits() argument
851 struct drbd_device *device = peer_device->device; __drbd_change_sync() local
904 _bme_get(struct drbd_device *device, unsigned int enr) _bme_get() argument
944 _is_in_al(struct drbd_device *device, unsigned int enr) _is_in_al() argument
962 drbd_rs_begin_io(struct drbd_device *device, sector_t sector) drbd_rs_begin_io() argument
1016 struct drbd_device *device = peer_device->device; drbd_try_rs_begin_io() local
1137 drbd_rs_complete_io(struct drbd_device *device, sector_t sector) drbd_rs_complete_io() argument
1175 drbd_rs_cancel_all(struct drbd_device *device) drbd_rs_cancel_all() argument
1196 drbd_rs_del_all(struct drbd_device *device) drbd_rs_del_all() argument
[all...]
H A Ddrbd_worker.c52 struct drbd_device *device; in drbd_md_endio() local
54 device = bio->bi_private; in drbd_md_endio()
55 device->md_io.error = blk_status_to_errno(bio->bi_status); in drbd_md_endio()
58 if (device->ldev) in drbd_md_endio()
59 put_ldev(device); in drbd_md_endio()
63 * to timeout on the lower level device, and eventually detach from it. in drbd_md_endio()
71 * ASSERT(atomic_read(&device->md_io_in_use) == 1) there. in drbd_md_endio()
73 drbd_md_put_buffer(device); in drbd_md_endio()
74 device->md_io.done = 1; in drbd_md_endio()
75 wake_up(&device in drbd_md_endio()
85 struct drbd_device *device = peer_device->device; __releases() local
106 struct drbd_device *device = peer_device->device; __releases() local
174 struct drbd_device *device = peer_req->peer_device->device; drbd_peer_request_endio() local
198 drbd_panic_after_delayed_completion_of_aborted_request(struct drbd_device *device) drbd_panic_after_delayed_completion_of_aborted_request() argument
210 struct drbd_device *device = req->device; drbd_request_endio() local
342 struct drbd_device *device = peer_device->device; w_e_send_csum() local
389 struct drbd_device *device = peer_device->device; read_for_csum() local
428 struct drbd_device *device = w_resync_timer() local
445 struct drbd_device *device = from_timer(device, t, resync_timer); resync_timer_fn() local
498 struct drbd_device *device = peer_device->device; drbd_rs_controller() local
551 struct drbd_device *device = peer_device->device; drbd_rs_number_requests() local
587 struct drbd_device *const device = peer_device->device; make_resync_request() local
767 struct drbd_device *device = peer_device->device; make_ov_request() local
822 struct drbd_device *device = dw->device; w_ov_finished() local
834 struct drbd_device *device = dw->device; w_resync_finished() local
842 ping_peer(struct drbd_device *device) ping_peer() argument
854 struct drbd_device *device = peer_device->device; drbd_resync_finished() local
1004 struct drbd_device *device = peer_device->device; drbd_resync_finished() local
1033 move_to_net_ee_or_free(struct drbd_device *device, struct drbd_peer_request *peer_req) move_to_net_ee_or_free() argument
1057 struct drbd_device *device = peer_device->device; w_e_end_data_req() local
1118 struct drbd_device *device = peer_device->device; w_e_end_rsdata_req() local
1171 struct drbd_device *device = peer_device->device; w_e_end_csum_rs_req() local
1235 struct drbd_device *device = peer_device->device; w_e_end_ov_req() local
1279 struct drbd_device *device = peer_device->device; drbd_ov_out_of_sync_found() local
1293 struct drbd_device *device = peer_device->device; w_e_end_ov_reply() local
1394 struct drbd_device *device = w_send_write_hint() local
1427 struct drbd_device *device = req->device; w_send_out_of_sync() local
1458 struct drbd_device *device = req->device; w_send_dblock() local
1491 struct drbd_device *device = req->device; w_send_read_req() local
1521 struct drbd_device *device = req->device; w_restart_disk_io() local
1536 _drbd_may_sync_now(struct drbd_device *device) _drbd_may_sync_now() argument
1566 drbd_pause_after(struct drbd_device *device) drbd_pause_after() argument
1592 drbd_resume_next(struct drbd_device *device) drbd_resume_next() argument
1613 resume_next_sg(struct drbd_device *device) resume_next_sg() argument
1620 suspend_other_sg(struct drbd_device *device) suspend_other_sg() argument
1628 drbd_resync_after_valid(struct drbd_device *device, int o_minor) drbd_resync_after_valid() argument
1666 drbd_resync_after_changed(struct drbd_device *device) drbd_resync_after_changed() argument
1678 struct drbd_device *device = peer_device->device; drbd_rs_controller_reset() local
1701 struct drbd_device *device = from_timer(device, t, start_resync_timer); start_resync_timer_fn() local
1705 do_start_resync(struct drbd_device *device) do_start_resync() argument
1718 use_checksum_based_resync(struct drbd_connection *connection, struct drbd_device *device) use_checksum_based_resync() argument
1738 drbd_start_resync(struct drbd_device *device, enum drbd_conns side) drbd_start_resync() argument
1920 struct drbd_device *device = peer_device->device; update_on_disk_bitmap() local
1937 drbd_ldev_destroy(struct drbd_device *device) drbd_ldev_destroy() argument
1953 go_diskless(struct drbd_device *device) go_diskless() argument
1992 do_md_sync(struct drbd_device *device) do_md_sync() argument
2022 do_device_work(struct drbd_device *device, const unsigned long todo) do_device_work() argument
2063 struct drbd_device *device = peer_device->device; do_unqueued_work() local
2230 struct drbd_device *device = peer_device->device; drbd_worker() local
[all...]
/kernel/linux/linux-5.10/drivers/base/power/
H A Dpower.h4 static inline void device_pm_init_common(struct device *dev) in device_pm_init_common()
15 static inline void pm_runtime_early_init(struct device *dev) in pm_runtime_early_init()
21 extern void pm_runtime_init(struct device *dev);
22 extern void pm_runtime_reinit(struct device *dev);
23 extern void pm_runtime_remove(struct device *dev);
24 extern u64 pm_runtime_active_time(struct device *dev);
35 struct device *dev;
43 extern void dev_pm_enable_wake_irq_check(struct device *dev,
45 extern void dev_pm_disable_wake_irq_check(struct device *dev, bool cond_disable);
46 extern void dev_pm_enable_wake_irq_complete(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/base/power/
H A Dpower.h4 static inline void device_pm_init_common(struct device *dev) in device_pm_init_common()
15 static inline void pm_runtime_early_init(struct device *dev) in pm_runtime_early_init()
21 extern void pm_runtime_init(struct device *dev);
22 extern void pm_runtime_reinit(struct device *dev);
23 extern void pm_runtime_remove(struct device *dev);
24 extern u64 pm_runtime_active_time(struct device *dev);
35 struct device *dev;
43 extern void dev_pm_enable_wake_irq_check(struct device *dev,
45 extern void dev_pm_disable_wake_irq_check(struct device *dev, bool cond_disable);
46 extern void dev_pm_enable_wake_irq_complete(struct device *de
[all...]
/kernel/linux/linux-5.10/drivers/block/drbd/
H A Ddrbd_actlog.c57 * sectors-written since device creation, and other data generation tag
73 * allows to cover device sizes of up to 2**54 Byte (16 PiB) */
82 void *drbd_md_get_buffer(struct drbd_device *device, const char *intent) in drbd_md_get_buffer() argument
86 wait_event(device->misc_wait, in drbd_md_get_buffer()
87 (r = atomic_cmpxchg(&device->md_io.in_use, 0, 1)) == 0 || in drbd_md_get_buffer()
88 device->state.disk <= D_FAILED); in drbd_md_get_buffer()
93 device->md_io.current_use = intent; in drbd_md_get_buffer()
94 device->md_io.start_jif = jiffies; in drbd_md_get_buffer()
95 device->md_io.submit_jif = device in drbd_md_get_buffer()
99 drbd_md_put_buffer(struct drbd_device *device) drbd_md_put_buffer() argument
105 wait_until_done_or_force_detached(struct drbd_device *device, struct drbd_backing_dev *bdev, unsigned int *done) wait_until_done_or_force_detached() argument
125 _drbd_md_sync_page_io(struct drbd_device *device, struct drbd_backing_dev *bdev, sector_t sector, int op) _drbd_md_sync_page_io() argument
177 drbd_md_sync_page_io(struct drbd_device *device, struct drbd_backing_dev *bdev, sector_t sector, int op) drbd_md_sync_page_io() argument
206 find_active_resync_extent(struct drbd_device *device, unsigned int enr) find_active_resync_extent() argument
218 _al_get(struct drbd_device *device, unsigned int enr, bool nonblock) _al_get() argument
241 drbd_al_begin_io_fastpath(struct drbd_device *device, struct drbd_interval *i) drbd_al_begin_io_fastpath() argument
258 drbd_al_begin_io_prepare(struct drbd_device *device, struct drbd_interval *i) drbd_al_begin_io_prepare() argument
298 al_tr_number_to_on_disk_sector(struct drbd_device *device) al_tr_number_to_on_disk_sector() argument
316 __al_write_transaction(struct drbd_device *device, struct al_transaction_on_disk *buffer) __al_write_transaction() argument
402 al_write_transaction(struct drbd_device *device) al_write_transaction() argument
439 drbd_al_begin_io_commit(struct drbd_device *device) drbd_al_begin_io_commit() argument
478 drbd_al_begin_io(struct drbd_device *device, struct drbd_interval *i) drbd_al_begin_io() argument
484 drbd_al_begin_io_nonblock(struct drbd_device *device, struct drbd_interval *i) drbd_al_begin_io_nonblock() argument
544 drbd_al_complete_io(struct drbd_device *device, struct drbd_interval *i) drbd_al_complete_io() argument
569 _try_lc_del(struct drbd_device *device, struct lc_element *al_ext) _try_lc_del() argument
591 drbd_al_shrink(struct drbd_device *device) drbd_al_shrink() argument
608 drbd_al_initialize(struct drbd_device *device, void *buffer) drbd_al_initialize() argument
651 update_rs_extent(struct drbd_device *device, unsigned int enr, int count, enum update_sync_bits_mode mode) update_rs_extent() argument
738 drbd_advance_rs_marks(struct drbd_device *device, unsigned long still_to_go) drbd_advance_rs_marks() argument
755 lazy_bitmap_update_due(struct drbd_device *device) lazy_bitmap_update_due() argument
760 maybe_schedule_on_disk_bitmap_update(struct drbd_device *device, bool rs_done) maybe_schedule_on_disk_bitmap_update() argument
779 update_sync_bits(struct drbd_device *device, unsigned long sbnr, unsigned long ebnr, enum update_sync_bits_mode mode) update_sync_bits() argument
846 __drbd_change_sync(struct drbd_device *device, sector_t sector, int size, enum update_sync_bits_mode mode) __drbd_change_sync() argument
902 _bme_get(struct drbd_device *device, unsigned int enr) _bme_get() argument
942 _is_in_al(struct drbd_device *device, unsigned int enr) _is_in_al() argument
960 drbd_rs_begin_io(struct drbd_device *device, sector_t sector) drbd_rs_begin_io() argument
1012 drbd_try_rs_begin_io(struct drbd_device *device, sector_t sector) drbd_try_rs_begin_io() argument
1134 drbd_rs_complete_io(struct drbd_device *device, sector_t sector) drbd_rs_complete_io() argument
1172 drbd_rs_cancel_all(struct drbd_device *device) drbd_rs_cancel_all() argument
1193 drbd_rs_del_all(struct drbd_device *device) drbd_rs_del_all() argument
[all...]
H A Ddrbd_worker.c52 struct drbd_device *device; in drbd_md_endio() local
54 device = bio->bi_private; in drbd_md_endio()
55 device->md_io.error = blk_status_to_errno(bio->bi_status); in drbd_md_endio()
58 if (device->ldev) in drbd_md_endio()
59 put_ldev(device); in drbd_md_endio()
63 * to timeout on the lower level device, and eventually detach from it. in drbd_md_endio()
71 * ASSERT(atomic_read(&device->md_io_in_use) == 1) there. in drbd_md_endio()
73 drbd_md_put_buffer(device); in drbd_md_endio()
74 device->md_io.done = 1; in drbd_md_endio()
75 wake_up(&device in drbd_md_endio()
85 struct drbd_device *device = peer_device->device; __releases() local
106 struct drbd_device *device = peer_device->device; __releases() local
174 struct drbd_device *device = peer_req->peer_device->device; drbd_peer_request_endio() local
198 drbd_panic_after_delayed_completion_of_aborted_request(struct drbd_device *device) drbd_panic_after_delayed_completion_of_aborted_request() argument
210 struct drbd_device *device = req->device; drbd_request_endio() local
347 struct drbd_device *device = peer_device->device; w_e_send_csum() local
394 struct drbd_device *device = peer_device->device; read_for_csum() local
433 struct drbd_device *device = w_resync_timer() local
450 struct drbd_device *device = from_timer(device, t, resync_timer); resync_timer_fn() local
501 drbd_rs_controller(struct drbd_device *device, unsigned int sect_in) drbd_rs_controller() argument
553 drbd_rs_number_requests(struct drbd_device *device) drbd_rs_number_requests() argument
588 make_resync_request(struct drbd_device *const device, int cancel) make_resync_request() argument
768 make_ov_request(struct drbd_device *device, int cancel) make_ov_request() argument
824 struct drbd_device *device = dw->device; w_ov_finished() local
836 struct drbd_device *device = dw->device; w_resync_finished() local
844 ping_peer(struct drbd_device *device) ping_peer() argument
854 drbd_resync_finished(struct drbd_device *device) drbd_resync_finished() argument
1005 struct drbd_device *device = peer_device->device; drbd_resync_finished() local
1034 move_to_net_ee_or_free(struct drbd_device *device, struct drbd_peer_request *peer_req) move_to_net_ee_or_free() argument
1058 struct drbd_device *device = peer_device->device; w_e_end_data_req() local
1119 struct drbd_device *device = peer_device->device; w_e_end_rsdata_req() local
1172 struct drbd_device *device = peer_device->device; w_e_end_csum_rs_req() local
1236 struct drbd_device *device = peer_device->device; w_e_end_ov_req() local
1278 drbd_ov_out_of_sync_found(struct drbd_device *device, sector_t sector, int size) drbd_ov_out_of_sync_found() argument
1293 struct drbd_device *device = peer_device->device; w_e_end_ov_reply() local
1394 struct drbd_device *device = w_send_write_hint() local
1427 struct drbd_device *device = req->device; w_send_out_of_sync() local
1458 struct drbd_device *device = req->device; w_send_dblock() local
1491 struct drbd_device *device = req->device; w_send_read_req() local
1521 struct drbd_device *device = req->device; w_restart_disk_io() local
1533 _drbd_may_sync_now(struct drbd_device *device) _drbd_may_sync_now() argument
1563 drbd_pause_after(struct drbd_device *device) drbd_pause_after() argument
1589 drbd_resume_next(struct drbd_device *device) drbd_resume_next() argument
1610 resume_next_sg(struct drbd_device *device) resume_next_sg() argument
1617 suspend_other_sg(struct drbd_device *device) suspend_other_sg() argument
1625 drbd_resync_after_valid(struct drbd_device *device, int o_minor) drbd_resync_after_valid() argument
1663 drbd_resync_after_changed(struct drbd_device *device) drbd_resync_after_changed() argument
1673 drbd_rs_controller_reset(struct drbd_device *device) drbd_rs_controller_reset() argument
1696 struct drbd_device *device = from_timer(device, t, start_resync_timer); start_resync_timer_fn() local
1700 do_start_resync(struct drbd_device *device) do_start_resync() argument
1713 use_checksum_based_resync(struct drbd_connection *connection, struct drbd_device *device) use_checksum_based_resync() argument
1733 drbd_start_resync(struct drbd_device *device, enum drbd_conns side) drbd_start_resync() argument
1913 update_on_disk_bitmap(struct drbd_device *device, bool resync_done) update_on_disk_bitmap() argument
1931 drbd_ldev_destroy(struct drbd_device *device) drbd_ldev_destroy() argument
1947 go_diskless(struct drbd_device *device) go_diskless() argument
1985 do_md_sync(struct drbd_device *device) do_md_sync() argument
2015 do_device_work(struct drbd_device *device, const unsigned long todo) do_device_work() argument
2056 struct drbd_device *device = peer_device->device; do_unqueued_work() local
2223 struct drbd_device *device = peer_device->device; drbd_worker() local
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dpm_runtime.h11 #include <linux/device.h>
33 extern int pm_generic_runtime_suspend(struct device *dev);
34 extern int pm_generic_runtime_resume(struct device *dev);
35 extern int pm_runtime_force_suspend(struct device *dev);
36 extern int pm_runtime_force_resume(struct device *dev);
38 extern int __pm_runtime_idle(struct device *dev, int rpmflags);
39 extern int __pm_runtime_suspend(struct device *dev, int rpmflags);
40 extern int __pm_runtime_resume(struct device *dev, int rpmflags);
41 extern int pm_runtime_get_if_active(struct device *dev, bool ign_usage_count);
42 extern int pm_schedule_suspend(struct device *de
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dpm_runtime.h11 #include <linux/device.h>
67 extern int pm_generic_runtime_suspend(struct device *dev);
68 extern int pm_generic_runtime_resume(struct device *dev);
69 extern int pm_runtime_force_suspend(struct device *dev);
70 extern int pm_runtime_force_resume(struct device *dev);
72 extern int __pm_runtime_idle(struct device *dev, int rpmflags);
73 extern int __pm_runtime_suspend(struct device *dev, int rpmflags);
74 extern int __pm_runtime_resume(struct device *dev, int rpmflags);
75 extern int pm_runtime_get_if_active(struct device *dev, bool ign_usage_count);
76 extern int pm_schedule_suspend(struct device *de
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dnv40.c36 return nvkm_rd32(gr->engine.subdev.device, 0x1540); in nv40_gr_units()
47 int ret = nvkm_gpuobj_new(object->engine->subdev.device, 20, align, in nv40_gr_object_bind()
79 int ret = nvkm_gpuobj_new(gr->base.engine.subdev.device, gr->size, in nv40_gr_chan_bind()
84 nv40_grctx_fill(gr->base.engine.subdev.device, *pgpuobj); in nv40_gr_chan_bind()
97 struct nvkm_device *device = subdev->device; in nv40_gr_chan_fini() local
101 nvkm_mask(device, 0x400720, 0x00000001, 0x00000000); in nv40_gr_chan_fini()
103 if (nvkm_rd32(device, 0x40032c) == inst) { in nv40_gr_chan_fini()
105 nvkm_wr32(device, 0x400720, 0x00000000); in nv40_gr_chan_fini()
106 nvkm_wr32(device, in nv40_gr_chan_fini()
176 struct nvkm_device *device = gr->base.engine.subdev.device; nv40_gr_tile() local
237 struct nvkm_device *device = subdev->device; nv40_gr_intr() local
290 struct nvkm_device *device = gr->base.engine.subdev.device; nv40_gr_init() local
431 nv40_gr_new_(const struct nvkm_gr_func *func, struct nvkm_device *device, int index, struct nvkm_gr **pgr) nv40_gr_new_() argument
473 nv40_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) nv40_gr_new() argument
[all...]
H A Dnv20.c34 struct nvkm_device *device = gr->base.engine.subdev.device; in nv20_gr_chan_fini() local
38 nvkm_mask(device, 0x400720, 0x00000001, 0x00000000); in nv20_gr_chan_fini()
39 if (nvkm_rd32(device, 0x400144) & 0x00010000) in nv20_gr_chan_fini()
40 chid = (nvkm_rd32(device, 0x400148) & 0x1f000000) >> 24; in nv20_gr_chan_fini()
42 nvkm_wr32(device, 0x400784, inst >> 4); in nv20_gr_chan_fini()
43 nvkm_wr32(device, 0x400788, 0x00000002); in nv20_gr_chan_fini()
44 nvkm_msec(device, 2000, in nv20_gr_chan_fini()
45 if (!nvkm_rd32(device, 0x400700)) in nv20_gr_chan_fini()
48 nvkm_wr32(device, in nv20_gr_chan_fini()
152 struct nvkm_device *device = gr->base.engine.subdev.device; nv20_gr_tile() local
184 struct nvkm_device *device = subdev->device; nv20_gr_intr() local
232 struct nvkm_device *device = gr->base.engine.subdev.device; nv20_gr_init() local
332 nv20_gr_new_(const struct nvkm_gr_func *func, struct nvkm_device *device, int index, struct nvkm_gr **pgr) nv20_gr_new_() argument
373 nv20_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) nv20_gr_new() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dnv40.c36 return nvkm_rd32(gr->engine.subdev.device, 0x1540); in nv40_gr_units()
47 int ret = nvkm_gpuobj_new(object->engine->subdev.device, 20, align, in nv40_gr_object_bind()
79 int ret = nvkm_gpuobj_new(gr->base.engine.subdev.device, gr->size, in nv40_gr_chan_bind()
84 nv40_grctx_fill(gr->base.engine.subdev.device, *pgpuobj); in nv40_gr_chan_bind()
97 struct nvkm_device *device = subdev->device; in nv40_gr_chan_fini() local
101 nvkm_mask(device, 0x400720, 0x00000001, 0x00000000); in nv40_gr_chan_fini()
103 if (nvkm_rd32(device, 0x40032c) == inst) { in nv40_gr_chan_fini()
105 nvkm_wr32(device, 0x400720, 0x00000000); in nv40_gr_chan_fini()
106 nvkm_wr32(device, in nv40_gr_chan_fini()
176 struct nvkm_device *device = gr->base.engine.subdev.device; nv40_gr_tile() local
237 struct nvkm_device *device = subdev->device; nv40_gr_intr() local
290 struct nvkm_device *device = gr->base.engine.subdev.device; nv40_gr_init() local
431 nv40_gr_new_(const struct nvkm_gr_func *func, struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_gr **pgr) nv40_gr_new_() argument
473 nv40_gr_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_gr **pgr) nv40_gr_new() argument
[all...]
/kernel/linux/linux-5.10/drivers/s390/block/
H A Ddasd.c64 MODULE_DESCRIPTION("Linux on S/390 DASD device driver,"
91 * SECTION: Operations on the device structure.
99 * Allocate memory for a new device structure.
103 struct dasd_device *device; in dasd_alloc_device() local
105 device = kzalloc(sizeof(struct dasd_device), GFP_ATOMIC); in dasd_alloc_device()
106 if (!device) in dasd_alloc_device()
109 /* Get two pages for normal block device operations. */ in dasd_alloc_device()
110 device->ccw_mem = (void *) __get_free_pages(GFP_ATOMIC | GFP_DMA, 1); in dasd_alloc_device()
111 if (!device->ccw_mem) { in dasd_alloc_device()
112 kfree(device); in dasd_alloc_device()
154 dasd_free_device(struct dasd_device *device) dasd_free_device() argument
202 dasd_state_new_to_known(struct dasd_device *device) dasd_state_new_to_known() argument
226 dasd_state_known_to_new(struct dasd_device *device) dasd_state_known_to_new() argument
256 dasd_state_known_to_basic(struct dasd_device *device) dasd_state_known_to_basic() argument
294 dasd_state_basic_to_known(struct dasd_device *device) dasd_state_basic_to_known() argument
340 dasd_state_basic_to_ready(struct dasd_device *device) dasd_state_basic_to_ready() argument
382 _wait_for_empty_queues(struct dasd_device *device) _wait_for_empty_queues() argument
396 dasd_state_ready_to_basic(struct dasd_device *device) dasd_state_ready_to_basic() argument
419 dasd_state_unfmt_to_basic(struct dasd_device *device) dasd_state_unfmt_to_basic() argument
431 dasd_state_ready_to_online(struct dasd_device * device) dasd_state_ready_to_online() argument
457 dasd_state_online_to_ready(struct dasd_device *device) dasd_state_online_to_ready() argument
484 dasd_increase_state(struct dasd_device *device) dasd_increase_state() argument
519 dasd_decrease_state(struct dasd_device *device) dasd_decrease_state() argument
554 dasd_change_state(struct dasd_device *device) dasd_change_state() argument
585 struct dasd_device *device = container_of(work, struct dasd_device, kick_work); do_kick_device() local
593 dasd_kick_device(struct dasd_device *device) dasd_kick_device() argument
608 struct dasd_device *device = container_of(work, struct dasd_device, do_reload_device() local
614 dasd_reload_device(struct dasd_device *device) dasd_reload_device() argument
629 struct dasd_device *device = container_of(work, struct dasd_device, do_restore_device() local
635 dasd_restore_device(struct dasd_device *device) dasd_restore_device() argument
646 dasd_set_target_state(struct dasd_device *device, int target) dasd_set_target_state() argument
668 _wait_for_device(struct dasd_device *device) _wait_for_device() argument
673 dasd_enable_device(struct dasd_device *device) dasd_enable_device() argument
709 struct dasd_device *device; dasd_profile_start() local
821 struct dasd_device *device; dasd_profile_end() local
1196 struct dasd_device *device; dasd_hosts_show() local
1211 dasd_hosts_exit(struct dasd_device *device) dasd_hosts_exit() argument
1217 dasd_hosts_init(struct dentry *base_dentry, struct dasd_device *device) dasd_hosts_init() argument
1233 dasd_smalloc_request(int magic, int cplength, int datasize, struct dasd_device *device, struct dasd_ccw_req *cqr) dasd_smalloc_request() argument
1275 dasd_fmalloc_request(int magic, int cplength, int datasize, struct dasd_device *device) dasd_fmalloc_request() argument
1318 dasd_sfree_request(struct dasd_ccw_req *cqr, struct dasd_device *device) dasd_sfree_request() argument
1329 dasd_ffree_request(struct dasd_ccw_req *cqr, struct dasd_device *device) dasd_ffree_request() argument
1345 struct dasd_device *device; dasd_check_cqr() local
1369 struct dasd_device *device; dasd_term_IO() local
1430 struct dasd_device *device; dasd_start_IO() local
1556 struct dasd_device *device; dasd_device_timeout() local
1569 dasd_device_set_timer(struct dasd_device *device, int expires) dasd_device_set_timer() argument
1581 dasd_device_clear_timer(struct dasd_device *device) dasd_device_clear_timer() argument
1591 struct dasd_device *device; dasd_handle_killed_request() local
1628 dasd_generic_handle_state_change(struct dasd_device *device) dasd_generic_handle_state_change() argument
1653 struct dasd_device *device = NULL; dasd_ese_needs_format() local
1688 struct dasd_device *device; dasd_int_handler() local
1898 struct dasd_device *device; dasd_generic_uc_handler() local
1923 __dasd_device_recovery(struct dasd_device *device, struct dasd_ccw_req *ref_cqr) __dasd_device_recovery() argument
1948 __dasd_device_process_ccw_queue(struct dasd_device *device, struct list_head *final_queue) __dasd_device_process_ccw_queue() argument
1971 __dasd_process_cqr(struct dasd_device *device, struct dasd_ccw_req *cqr) __dasd_process_cqr() argument
2002 __dasd_device_process_final_queue(struct dasd_device *device, struct list_head *final_queue) __dasd_device_process_final_queue() argument
2027 __dasd_device_check_expire(struct dasd_device *device) __dasd_device_check_expire() argument
2063 __dasd_device_is_unusable(struct dasd_device *device, struct dasd_ccw_req *cqr) __dasd_device_is_unusable() argument
2095 __dasd_device_start_head(struct dasd_device *device) __dasd_device_start_head() argument
2123 __dasd_device_check_path_events(struct dasd_device *device) __dasd_device_check_path_events() argument
2151 dasd_flush_device_queue(struct dasd_device *device) dasd_flush_device_queue() argument
2207 struct dasd_device *device = (struct dasd_device *) data; dasd_device_tasklet() local
2233 dasd_schedule_device_bh(struct dasd_device *device) dasd_schedule_device_bh() argument
2243 dasd_device_set_stop_bits(struct dasd_device *device, int bits) dasd_device_set_stop_bits() argument
2249 dasd_device_remove_stop_bits(struct dasd_device *device, int bits) dasd_device_remove_stop_bits() argument
2263 struct dasd_device *device; dasd_add_request_head() local
2282 struct dasd_device *device; dasd_add_request_tail() local
2309 struct dasd_device *device; _wait_for_wakeup() local
2324 struct dasd_device *device; __dasd_sleep_on_erp() local
2363 struct dasd_device *device; _dasd_sleep_on() local
2467 struct dasd_device *device; _dasd_sleep_on_queue() local
2592 _dasd_term_running_cqr(struct dasd_device *device) _dasd_term_running_cqr() argument
2613 struct dasd_device *device; dasd_sleep_on_immediatly() local
2672 struct dasd_device *device = cqr->startdev; __dasd_cancel_req() local
2700 struct dasd_device *device = cqr->startdev; dasd_cancel_req() local
2757 __dasd_process_erp(struct dasd_device *device, struct dasd_ccw_req *cqr) __dasd_process_erp() argument
3197 struct dasd_device *device; dasd_times_out() local
3461 dasd_device_is_ro(struct dasd_device *device) dasd_device_is_ro() argument
3525 dasd_generic_free_discipline(struct dasd_device *device) dasd_generic_free_discipline() argument
3547 struct dasd_device *device; dasd_generic_remove() local
3592 struct dasd_device *device; dasd_generic_set_online() local
3671 struct dasd_device *device; dasd_generic_set_offline() local
3789 dasd_generic_last_path_gone(struct dasd_device *device) dasd_generic_last_path_gone() argument
3815 dasd_generic_path_operational(struct dasd_device *device) dasd_generic_path_operational() argument
3843 struct dasd_device *device; dasd_generic_notify() local
3870 struct dasd_device *device; dasd_generic_path_event() local
3939 dasd_generic_verify_path(struct dasd_device *device, __u8 lpm) dasd_generic_verify_path() argument
3950 dasd_generic_space_exhaust(struct dasd_device *device, struct dasd_ccw_req *cqr) dasd_generic_space_exhaust() argument
3969 dasd_generic_space_avail(struct dasd_device *device) dasd_generic_space_avail() argument
3990 dasd_generic_requeue_all_requests(struct dasd_device *device) dasd_generic_requeue_all_requests() argument
4028 struct dasd_device *device = container_of(work, struct dasd_device, do_requeue_requests() local
4037 dasd_schedule_requeue(struct dasd_device *device) dasd_schedule_requeue() argument
4048 struct dasd_device *device = dasd_device_from_cdev(cdev); dasd_generic_pm_freeze() local
4068 struct dasd_device *device = dasd_device_from_cdev(cdev); dasd_generic_restore_device() local
4106 dasd_generic_build_rdc(struct dasd_device *device, int rdc_buffer_size, int magic) dasd_generic_build_rdc() argument
4139 dasd_generic_read_dev_chars(struct dasd_device *device, int magic, void *rdc_buffer, int rdc_buffer_size) dasd_generic_read_dev_chars() argument
4193 struct dasd_device *device; dasd_generic_shutdown() local
[all...]
/kernel/linux/linux-6.6/drivers/s390/block/
H A Ddasd_devmap.c38 * between device number and device index. To find a dasd_devmap_t
39 * that corresponds to a device number of a device index each
41 * the device number and one to search by the device index. As
42 * soon as big minor numbers are available the device index list
43 * can be removed since the device number will then be identical
44 * to the device index.
51 struct dasd_device *device; member
510 struct dasd_device *device; dasd_device_from_devindex() local
554 struct dasd_device *device; dasd_create_device() local
600 dasd_devmap_get_pprc_status(struct dasd_device *device, struct dasd_pprc_data_sc4 **data) dasd_devmap_get_pprc_status() argument
659 dasd_devmap_check_copy_relation(struct dasd_device *device, struct dasd_copy_entry *entry, struct dasd_pprc_data_sc4 *data, struct dasd_copy_relation *copy) dasd_devmap_check_copy_relation() argument
739 dasd_devmap_delete_copy_relation_device(struct dasd_device *device) dasd_devmap_delete_copy_relation_device() argument
767 struct dasd_device *device; dasd_devmap_set_device_copy_relation() local
839 dasd_delete_device(struct dasd_device *device) dasd_delete_device() argument
893 dasd_put_device_wake(struct dasd_device *device) dasd_put_device_wake() argument
907 struct dasd_device *device = dev_get_drvdata(&cdev->dev); dasd_device_from_cdev_locked() local
921 struct dasd_device *device; dasd_device_from_cdev() local
930 dasd_add_link_to_gendisk(struct gendisk *gdp, struct dasd_device *device) dasd_add_link_to_gendisk() argument
945 struct dasd_device *device; dasd_device_from_gendisk() local
1005 struct dasd_device *device; dasd_ro_show() local
1029 struct dasd_device *device; dasd_ro_store() local
1206 struct dasd_device *device; dasd_safe_offline_store() local
1244 struct dasd_device *device; dasd_access_show() local
1271 struct dasd_device *device; dasd_discipline_show() local
1297 struct dasd_device *device; dasd_device_status_show() local
1336 struct dasd_device *device; dasd_alias_show() local
1361 struct dasd_device *device; dasd_vendor_show() local
1385 struct dasd_device *device; dasd_uid_show() local
1452 struct dasd_device *device; dasd_eer_store() local
1559 struct dasd_device *device; dasd_aq_timeouts_show() local
1574 struct dasd_device *device; dasd_aq_timeouts_store() local
1603 struct dasd_device *device; dasd_expires_show() local
1618 struct dasd_device *device; dasd_expires_store() local
1643 struct dasd_device *device; dasd_retries_show() local
1658 struct dasd_device *device; dasd_retries_store() local
1684 struct dasd_device *device; dasd_timeout_show() local
1699 struct dasd_device *device; dasd_timeout_store() local
1731 struct dasd_device *device; dasd_path_reset_store() local
1753 struct dasd_device *device; dasd_hpf_show() local
1815 struct dasd_device *device; dasd_reservation_state_show() local
1836 struct dasd_device *device; dasd_reservation_state_store() local
1860 struct dasd_device *device; dasd_pm_show() local
1888 struct dasd_device *device; dasd_path_threshold_show() local
1903 struct dasd_device *device; dasd_path_threshold_store() local
1973 struct dasd_device *device; dasd_path_interval_show() local
1988 struct dasd_device *device; dasd_path_interval_store() local
2016 struct dasd_device *device; dasd_device_fcs_show() local
2241 struct dasd_device *device; dasd_copy_pair_store() local
2322 struct dasd_device *device; dasd_copy_role_show() local
2357 struct dasd_device *device; dasd_device_ping() local
2542 dasd_path_init_kobj(struct dasd_device *device, int chp) dasd_path_init_kobj() argument
2548 dasd_path_create_kobj(struct dasd_device *device, int chp) dasd_path_create_kobj() argument
2573 dasd_path_create_kobjects(struct dasd_device *device) dasd_path_create_kobjects() argument
2586 dasd_path_remove_kobj(struct dasd_device *device, int chp) dasd_path_remove_kobj() argument
2598 dasd_path_remove_kobjects(struct dasd_device *device) dasd_path_remove_kobjects() argument
[all...]
H A Ddasd.c52 MODULE_DESCRIPTION("Linux on S/390 DASD device driver,"
76 * SECTION: Operations on the device structure.
84 * Allocate memory for a new device structure.
88 struct dasd_device *device; in dasd_alloc_device() local
90 device = kzalloc(sizeof(struct dasd_device), GFP_ATOMIC); in dasd_alloc_device()
91 if (!device) in dasd_alloc_device()
94 /* Get two pages for normal block device operations. */ in dasd_alloc_device()
95 device->ccw_mem = (void *) __get_free_pages(GFP_ATOMIC | GFP_DMA, 1); in dasd_alloc_device()
96 if (!device->ccw_mem) { in dasd_alloc_device()
97 kfree(device); in dasd_alloc_device()
138 dasd_free_device(struct dasd_device *device) dasd_free_device() argument
186 dasd_state_new_to_known(struct dasd_device *device) dasd_state_new_to_known() argument
200 dasd_state_known_to_new(struct dasd_device *device) dasd_state_known_to_new() argument
227 dasd_state_known_to_basic(struct dasd_device *device) dasd_state_known_to_basic() argument
265 dasd_state_basic_to_known(struct dasd_device *device) dasd_state_basic_to_known() argument
311 dasd_state_basic_to_ready(struct dasd_device *device) dasd_state_basic_to_ready() argument
353 _wait_for_empty_queues(struct dasd_device *device) _wait_for_empty_queues() argument
367 dasd_state_ready_to_basic(struct dasd_device *device) dasd_state_ready_to_basic() argument
390 dasd_state_unfmt_to_basic(struct dasd_device *device) dasd_state_unfmt_to_basic() argument
402 dasd_state_ready_to_online(struct dasd_device * device) dasd_state_ready_to_online() argument
420 dasd_state_online_to_ready(struct dasd_device *device) dasd_state_online_to_ready() argument
439 dasd_increase_state(struct dasd_device *device) dasd_increase_state() argument
474 dasd_decrease_state(struct dasd_device *device) dasd_decrease_state() argument
509 dasd_change_state(struct dasd_device *device) dasd_change_state() argument
540 struct dasd_device *device = container_of(work, struct dasd_device, kick_work); do_kick_device() local
548 dasd_kick_device(struct dasd_device *device) dasd_kick_device() argument
563 struct dasd_device *device = container_of(work, struct dasd_device, do_reload_device() local
569 dasd_reload_device(struct dasd_device *device) dasd_reload_device() argument
581 dasd_set_target_state(struct dasd_device *device, int target) dasd_set_target_state() argument
602 _wait_for_device(struct dasd_device *device) _wait_for_device() argument
607 dasd_enable_device(struct dasd_device *device) dasd_enable_device() argument
643 struct dasd_device *device; dasd_profile_start() local
755 struct dasd_device *device; dasd_profile_end() local
1130 struct dasd_device *device; dasd_hosts_show() local
1145 dasd_hosts_exit(struct dasd_device *device) dasd_hosts_exit() argument
1151 dasd_hosts_init(struct dentry *base_dentry, struct dasd_device *device) dasd_hosts_init() argument
1167 dasd_smalloc_request(int magic, int cplength, int datasize, struct dasd_device *device, struct dasd_ccw_req *cqr) dasd_smalloc_request() argument
1209 dasd_fmalloc_request(int magic, int cplength, int datasize, struct dasd_device *device) dasd_fmalloc_request() argument
1252 dasd_sfree_request(struct dasd_ccw_req *cqr, struct dasd_device *device) dasd_sfree_request() argument
1263 dasd_ffree_request(struct dasd_ccw_req *cqr, struct dasd_device *device) dasd_ffree_request() argument
1279 struct dasd_device *device; dasd_check_cqr() local
1303 struct dasd_device *device; dasd_term_IO() local
1364 struct dasd_device *device; dasd_start_IO() local
1491 struct dasd_device *device; dasd_device_timeout() local
1504 dasd_device_set_timer(struct dasd_device *device, int expires) dasd_device_set_timer() argument
1516 dasd_device_clear_timer(struct dasd_device *device) dasd_device_clear_timer() argument
1526 struct dasd_device *device; dasd_handle_killed_request() local
1563 dasd_generic_handle_state_change(struct dasd_device *device) dasd_generic_handle_state_change() argument
1587 struct dasd_device *device = NULL; dasd_ese_needs_format() local
1622 struct dasd_device *device; dasd_int_handler() local
1832 struct dasd_device *device; dasd_generic_uc_handler() local
1857 __dasd_device_recovery(struct dasd_device *device, struct dasd_ccw_req *ref_cqr) __dasd_device_recovery() argument
1882 __dasd_device_process_ccw_queue(struct dasd_device *device, struct list_head *final_queue) __dasd_device_process_ccw_queue() argument
1905 __dasd_process_cqr(struct dasd_device *device, struct dasd_ccw_req *cqr) __dasd_process_cqr() argument
1936 __dasd_device_process_final_queue(struct dasd_device *device, struct list_head *final_queue) __dasd_device_process_final_queue() argument
1960 __dasd_device_check_autoquiesce_timeout(struct dasd_device *device, struct dasd_ccw_req *cqr) __dasd_device_check_autoquiesce_timeout() argument
1971 __dasd_device_check_expire(struct dasd_device *device) __dasd_device_check_expire() argument
2008 __dasd_device_is_unusable(struct dasd_device *device, struct dasd_ccw_req *cqr) __dasd_device_is_unusable() argument
2040 __dasd_device_start_head(struct dasd_device *device) __dasd_device_start_head() argument
2068 __dasd_device_check_path_events(struct dasd_device *device) __dasd_device_check_path_events() argument
2103 dasd_flush_device_queue(struct dasd_device *device) dasd_flush_device_queue() argument
2159 struct dasd_device *device = (struct dasd_device *) data; dasd_device_tasklet() local
2185 dasd_schedule_device_bh(struct dasd_device *device) dasd_schedule_device_bh() argument
2195 dasd_device_set_stop_bits(struct dasd_device *device, int bits) dasd_device_set_stop_bits() argument
2201 dasd_device_remove_stop_bits(struct dasd_device *device, int bits) dasd_device_remove_stop_bits() argument
2215 struct dasd_device *device; dasd_add_request_head() local
2234 struct dasd_device *device; dasd_add_request_tail() local
2261 struct dasd_device *device; _wait_for_wakeup() local
2276 struct dasd_device *device; __dasd_sleep_on_erp() local
2315 struct dasd_device *device; _dasd_sleep_on() local
2419 struct dasd_device *device; _dasd_sleep_on_queue() local
2544 _dasd_term_running_cqr(struct dasd_device *device) _dasd_term_running_cqr() argument
2565 struct dasd_device *device; dasd_sleep_on_immediatly() local
2624 struct dasd_device *device = cqr->startdev; __dasd_cancel_req() local
2652 struct dasd_device *device = cqr->startdev; dasd_cancel_req() local
2709 __dasd_process_erp(struct dasd_device *device, struct dasd_ccw_req *cqr) __dasd_process_erp() argument
3152 struct dasd_device *device; dasd_times_out() local
3376 dasd_device_is_ro(struct dasd_device *device) dasd_device_is_ro() argument
3429 dasd_generic_free_discipline(struct dasd_device *device) dasd_generic_free_discipline() argument
3451 struct dasd_device *device; dasd_generic_remove() local
3492 struct dasd_device *device; dasd_generic_set_online() local
3569 struct dasd_device *device; dasd_generic_set_offline() local
3685 dasd_generic_last_path_gone(struct dasd_device *device) dasd_generic_last_path_gone() argument
3711 dasd_generic_path_operational(struct dasd_device *device) dasd_generic_path_operational() argument
3733 struct dasd_device *device; dasd_generic_notify() local
3760 struct dasd_device *device; dasd_generic_path_event() local
3834 dasd_generic_verify_path(struct dasd_device *device, __u8 lpm) dasd_generic_verify_path() argument
3845 dasd_generic_space_exhaust(struct dasd_device *device, struct dasd_ccw_req *cqr) dasd_generic_space_exhaust() argument
3865 dasd_generic_space_avail(struct dasd_device *device) dasd_generic_space_avail() argument
3886 dasd_generic_requeue_all_requests(struct dasd_device *device) dasd_generic_requeue_all_requests() argument
3925 struct dasd_device *device = container_of(work, struct dasd_device, do_requeue_requests() local
3934 dasd_schedule_requeue(struct dasd_device *device) dasd_schedule_requeue() argument
3943 dasd_handle_autoquiesce(struct dasd_device *device, struct dasd_ccw_req *cqr, unsigned int reason) dasd_handle_autoquiesce() argument
3968 dasd_generic_build_rdc(struct dasd_device *device, int rdc_buffer_size, int magic) dasd_generic_build_rdc() argument
4001 dasd_generic_read_dev_chars(struct dasd_device *device, int magic, void *rdc_buffer, int rdc_buffer_size) dasd_generic_read_dev_chars() argument
4054 struct dasd_device *device; dasd_generic_shutdown() local
[all...]
/kernel/linux/linux-5.10/drivers/s390/char/
H A Dtape_core.c3 * basic function of the tape device driver
94 tape_medium_state_show(struct device *dev, struct device_attribute *attr, char *buf) in tape_medium_state_show()
106 tape_first_minor_show(struct device *dev, struct device_attribute *attr, char *buf) in tape_first_minor_show()
118 tape_state_show(struct device *dev, struct device_attribute *attr, char *buf) in tape_state_show()
131 tape_operation_show(struct device *dev, struct device_attribute *attr, char *buf) in tape_operation_show()
158 tape_blocksize_show(struct device *dev, struct device_attribute *attr, char *buf) in tape_blocksize_show()
187 tape_state_set(struct tape_device *device, enum tape_state newstate) in tape_state_set() argument
191 if (device->tape_state == TS_NOT_OPER) { in tape_state_set()
195 DBF_EVENT(4, "ts. dev: %x\n", device->first_minor); in tape_state_set()
197 if (device in tape_state_set()
213 struct tape_device *device; global() member
225 struct tape_device *device = p->device; tape_med_state_work_handler() local
249 tape_med_state_work(struct tape_device *device, enum tape_medium_state state) tape_med_state_work() argument
263 tape_med_state_set(struct tape_device *device, enum tape_medium_state newstate) tape_med_state_set() argument
292 __tape_cancel_io(struct tape_device *device, struct tape_request *request) __tape_cancel_io() argument
332 tape_assign_minor(struct tape_device *device) tape_assign_minor() argument
356 tape_remove_minor(struct tape_device *device) tape_remove_minor() argument
373 tape_generic_online(struct tape_device *device, struct tape_discipline *discipline) tape_generic_online() argument
421 tape_cleanup_device(struct tape_device *device) tape_cleanup_device() argument
445 struct tape_device *device; tape_generic_pm_suspend() local
489 struct tape_device *device; tape_generic_offline() local
528 struct tape_device *device; tape_alloc_device() local
561 tape_get_device(struct tape_device *device) tape_get_device() argument
577 tape_put_device(struct tape_device *device) tape_put_device() argument
596 struct tape_device *device, *tmp; tape_find_device() local
616 struct tape_device *device; tape_generic_probe() local
639 __tape_discard_requests(struct tape_device *device) __tape_discard_requests() argument
668 struct tape_device * device; tape_generic_remove() local
778 __tape_start_io(struct tape_device *device, struct tape_request *request) __tape_start_io() argument
804 __tape_start_next_request(struct tape_device *device) __tape_start_next_request() argument
862 struct tape_device *device = tape_delayed_next_request() local
873 struct tape_device *device = from_timer(device, t, lb_timeout); tape_long_busy_timeout() local
886 __tape_end_request( struct tape_device * device, struct tape_request * request, int rc) __tape_end_request() argument
913 tape_dump_sense_dbf(struct tape_device *device, struct tape_request *request, struct irb *irb) tape_dump_sense_dbf() argument
939 __tape_start_request(struct tape_device *device, struct tape_request *request) __tape_start_request() argument
985 tape_do_io_async(struct tape_device *device, struct tape_request *request) tape_do_io_async() argument
1011 tape_do_io(struct tape_device *device, struct tape_request *request) tape_do_io() argument
1043 tape_do_io_interruptible(struct tape_device *device, struct tape_request *request) tape_do_io_interruptible() argument
1086 tape_cancel_io(struct tape_device *device, struct tape_request *request) tape_cancel_io() argument
1102 struct tape_device *device; __tape_do_irq() local
1246 tape_open(struct tape_device *device) tape_open() argument
1276 tape_release(struct tape_device *device) tape_release() argument
1290 tape_mtop(struct tape_device *device, int mt_op, int mt_count) tape_mtop() argument
[all...]
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-roccat.c12 * Module roccat is a char device used to report special events of roccat
15 * not stored in device. The information in these events depends on hid device
45 struct device *dev;
62 struct roccat_device *device; member
77 struct roccat_device *device = reader->device; in roccat_read() local
82 mutex_lock(&device->cbuf_lock); in roccat_read()
85 if (reader->cbuf_start == device->cbuf_end) { in roccat_read()
86 add_wait_queue(&device in roccat_read()
152 struct roccat_device *device; roccat_open() local
207 struct roccat_device *device; roccat_release() local
249 struct roccat_device *device; roccat_report_event() local
301 struct roccat_device *device; roccat_connect() local
357 struct roccat_device *device; roccat_disconnect() local
383 struct roccat_device *device; roccat_ioctl() local
[all...]
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-roccat.c12 * Module roccat is a char device used to report special events of roccat
15 * not stored in device. The information in these events depends on hid device
45 struct device *dev;
62 struct roccat_device *device; member
77 struct roccat_device *device = reader->device; in roccat_read() local
82 mutex_lock(&device->cbuf_lock); in roccat_read()
85 if (reader->cbuf_start == device->cbuf_end) { in roccat_read()
86 add_wait_queue(&device in roccat_read()
152 struct roccat_device *device; roccat_open() local
207 struct roccat_device *device; roccat_release() local
249 struct roccat_device *device; roccat_report_event() local
301 struct roccat_device *device; roccat_connect() local
357 struct roccat_device *device; roccat_disconnect() local
383 struct roccat_device *device; roccat_ioctl() local
[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...]
/kernel/linux/linux-6.6/drivers/s390/char/
H A Dtape_core.c3 * basic function of the tape device driver
94 tape_medium_state_show(struct device *dev, struct device_attribute *attr, char *buf) in tape_medium_state_show()
106 tape_first_minor_show(struct device *dev, struct device_attribute *attr, char *buf) in tape_first_minor_show()
118 tape_state_show(struct device *dev, struct device_attribute *attr, char *buf) in tape_state_show()
131 tape_operation_show(struct device *dev, struct device_attribute *attr, char *buf) in tape_operation_show()
158 tape_blocksize_show(struct device *dev, struct device_attribute *attr, char *buf) in tape_blocksize_show()
187 tape_state_set(struct tape_device *device, enum tape_state newstate) in tape_state_set() argument
191 if (device->tape_state == TS_NOT_OPER) { in tape_state_set()
195 DBF_EVENT(4, "ts. dev: %x\n", device->first_minor); in tape_state_set()
197 if (device in tape_state_set()
213 struct tape_device *device; global() member
225 struct tape_device *device = p->device; tape_med_state_work_handler() local
249 tape_med_state_work(struct tape_device *device, enum tape_medium_state state) tape_med_state_work() argument
263 tape_med_state_set(struct tape_device *device, enum tape_medium_state newstate) tape_med_state_set() argument
292 __tape_cancel_io(struct tape_device *device, struct tape_request *request) __tape_cancel_io() argument
332 tape_assign_minor(struct tape_device *device) tape_assign_minor() argument
356 tape_remove_minor(struct tape_device *device) tape_remove_minor() argument
373 tape_generic_online(struct tape_device *device, struct tape_discipline *discipline) tape_generic_online() argument
421 tape_cleanup_device(struct tape_device *device) tape_cleanup_device() argument
440 struct tape_device *device; tape_generic_offline() local
479 struct tape_device *device; tape_alloc_device() local
512 tape_get_device(struct tape_device *device) tape_get_device() argument
528 tape_put_device(struct tape_device *device) tape_put_device() argument
547 struct tape_device *device, *tmp; tape_find_device() local
567 struct tape_device *device; tape_generic_probe() local
590 __tape_discard_requests(struct tape_device *device) __tape_discard_requests() argument
619 struct tape_device * device; tape_generic_remove() local
729 __tape_start_io(struct tape_device *device, struct tape_request *request) __tape_start_io() argument
755 __tape_start_next_request(struct tape_device *device) __tape_start_next_request() argument
813 struct tape_device *device = tape_delayed_next_request() local
824 struct tape_device *device = from_timer(device, t, lb_timeout); tape_long_busy_timeout() local
837 __tape_end_request( struct tape_device * device, struct tape_request * request, int rc) __tape_end_request() argument
864 tape_dump_sense_dbf(struct tape_device *device, struct tape_request *request, struct irb *irb) tape_dump_sense_dbf() argument
890 __tape_start_request(struct tape_device *device, struct tape_request *request) __tape_start_request() argument
936 tape_do_io_async(struct tape_device *device, struct tape_request *request) tape_do_io_async() argument
962 tape_do_io(struct tape_device *device, struct tape_request *request) tape_do_io() argument
994 tape_do_io_interruptible(struct tape_device *device, struct tape_request *request) tape_do_io_interruptible() argument
1037 tape_cancel_io(struct tape_device *device, struct tape_request *request) tape_cancel_io() argument
1053 struct tape_device *device; __tape_do_irq() local
1197 tape_open(struct tape_device *device) tape_open() argument
1227 tape_release(struct tape_device *device) tape_release() argument
1241 tape_mtop(struct tape_device *device, int mt_op, int mt_count) tape_mtop() argument
[all...]

Completed in 23 milliseconds

12345678910>>...1159