Home
last modified time | relevance | path

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

12345678910>>...1013

/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...]
/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-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/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...]
H A Dpm_opp.h21 struct device;
34 * @u_amp: Maximum current drawn by the device in microamperes
76 * @dev: Pointer to the struct device
87 struct device *dev;
92 struct opp_table *dev_pm_opp_get_opp_table(struct device *dev);
93 struct opp_table *dev_pm_opp_get_opp_table_indexed(struct device *dev, int index);
104 int dev_pm_opp_get_opp_count(struct device *dev);
105 unsigned long dev_pm_opp_get_max_clock_latency(struct device *dev);
106 unsigned long dev_pm_opp_get_max_volt_latency(struct device *dev);
107 unsigned long dev_pm_opp_get_max_transition_latency(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...]
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, enum nvkm_subdev_type type, int inst, struct nvkm_gr **pgr) nv20_gr_new_() argument
373 nv20_gr_new(struct nvkm_device *device, enum nvkm_subdev_type type, int inst, struct nvkm_gr **pgr) nv20_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/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...]
/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-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...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dvga.c27 nvkm_rdport(struct nvkm_device *device, int head, u16 port) in nvkm_rdport() argument
29 if (device->card_type >= NV_50) in nvkm_rdport()
30 return nvkm_rd08(device, 0x601000 + port); in nvkm_rdport()
35 return nvkm_rd08(device, 0x601000 + (head * 0x2000) + port); in nvkm_rdport()
40 if (device->card_type < NV_40) in nvkm_rdport()
42 return nvkm_rd08(device, 0x0c0000 + (head * 0x2000) + port); in nvkm_rdport()
49 nvkm_wrport(struct nvkm_device *device, int head, u16 port, u8 data) in nvkm_wrport() argument
51 if (device->card_type >= NV_50) in nvkm_wrport()
52 nvkm_wr08(device, 0x601000 + port, data); in nvkm_wrport()
57 nvkm_wr08(device, in nvkm_wrport()
69 nvkm_rdvgas(struct nvkm_device *device, int head, u8 index) nvkm_rdvgas() argument
76 nvkm_wrvgas(struct nvkm_device *device, int head, u8 index, u8 value) nvkm_wrvgas() argument
83 nvkm_rdvgag(struct nvkm_device *device, int head, u8 index) nvkm_rdvgag() argument
90 nvkm_wrvgag(struct nvkm_device *device, int head, u8 index, u8 value) nvkm_wrvgag() argument
97 nvkm_rdvgac(struct nvkm_device *device, int head, u8 index) nvkm_rdvgac() argument
104 nvkm_wrvgac(struct nvkm_device *device, int head, u8 index, u8 value) nvkm_wrvgac() argument
111 nvkm_rdvgai(struct nvkm_device *device, int head, u16 port, u8 index) nvkm_rdvgai() argument
120 nvkm_wrvgai(struct nvkm_device *device, int head, u16 port, u8 index, u8 value) nvkm_wrvgai() argument
128 nvkm_lockvgac(struct nvkm_device *device, bool lock) nvkm_lockvgac() argument
162 nvkm_rdvgaowner(struct nvkm_device *device) nvkm_rdvgaowner() argument
188 nvkm_wrvgaowner(struct nvkm_device *device, u8 select) nvkm_wrvgaowner() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dvga.c27 nvkm_rdport(struct nvkm_device *device, int head, u16 port) in nvkm_rdport() argument
29 if (device->card_type >= NV_50) in nvkm_rdport()
30 return nvkm_rd08(device, 0x601000 + port); in nvkm_rdport()
35 return nvkm_rd08(device, 0x601000 + (head * 0x2000) + port); in nvkm_rdport()
40 if (device->card_type < NV_40) in nvkm_rdport()
42 return nvkm_rd08(device, 0x0c0000 + (head * 0x2000) + port); in nvkm_rdport()
49 nvkm_wrport(struct nvkm_device *device, int head, u16 port, u8 data) in nvkm_wrport() argument
51 if (device->card_type >= NV_50) in nvkm_wrport()
52 nvkm_wr08(device, 0x601000 + port, data); in nvkm_wrport()
57 nvkm_wr08(device, in nvkm_wrport()
69 nvkm_rdvgas(struct nvkm_device *device, int head, u8 index) nvkm_rdvgas() argument
76 nvkm_wrvgas(struct nvkm_device *device, int head, u8 index, u8 value) nvkm_wrvgas() argument
83 nvkm_rdvgag(struct nvkm_device *device, int head, u8 index) nvkm_rdvgag() argument
90 nvkm_wrvgag(struct nvkm_device *device, int head, u8 index, u8 value) nvkm_wrvgag() argument
97 nvkm_rdvgac(struct nvkm_device *device, int head, u8 index) nvkm_rdvgac() argument
104 nvkm_wrvgac(struct nvkm_device *device, int head, u8 index, u8 value) nvkm_wrvgac() argument
111 nvkm_rdvgai(struct nvkm_device *device, int head, u16 port, u8 index) nvkm_rdvgai() argument
120 nvkm_wrvgai(struct nvkm_device *device, int head, u16 port, u8 index, u8 value) nvkm_wrvgai() argument
128 nvkm_lockvgac(struct nvkm_device *device, bool lock) nvkm_lockvgac() argument
162 nvkm_rdvgaowner(struct nvkm_device *device) nvkm_rdvgaowner() argument
188 nvkm_wrvgaowner(struct nvkm_device *device, u8 select) nvkm_wrvgaowner() argument
[all...]
/kernel/linux/linux-5.10/drivers/firewire/
H A Dcore-device.c11 #include <linux/device.h>
157 static const struct ieee1394_device_id *unit_match(struct device *dev, in unit_match()
173 static bool is_fw_unit(struct device *dev);
175 static int fw_unit_match(struct device *dev, struct device_driver *drv) in fw_unit_match()
181 static int fw_unit_probe(struct device *dev) in fw_unit_probe()
189 static int fw_unit_remove(struct device *dev) in fw_unit_remove()
208 static int fw_unit_uevent(struct device *dev, struct kobj_uevent_env *env) in fw_unit_uevent()
229 int fw_device_enable_phys_dma(struct fw_device *device) in fw_device_enable_phys_dma() argument
231 int generation = device->generation; in fw_device_enable_phys_dma()
233 /* device in fw_device_enable_phys_dma()
371 struct fw_device *device = fw_device(dev->parent); rom_index_show() local
387 struct fw_device *device = fw_device(dev); config_rom_show() local
401 struct fw_device *device = fw_device(dev); guid_show() local
415 struct fw_device *device = fw_device(dev); is_local_show() local
445 struct fw_device *device = fw_device(dev); units_show() local
474 read_rom(struct fw_device *device, int generation, int index, u32 *data) read_rom() argument
506 read_config_rom(struct fw_device *device, int generation) read_config_rom() argument
688 create_units(struct fw_device *device) create_units() argument
729 shutdown_unit(struct device *device, void *data) shutdown_unit() argument
749 struct fw_device *device; fw_device_get_by_devt() local
763 fw_schedule_device_work(struct fw_device *device, unsigned long delay) fw_schedule_device_work() argument
787 struct fw_device *device = fw_device_shutdown() local
816 struct fw_device *device = fw_device(dev); fw_device_release() local
860 struct fw_device *device = fw_device_update() local
922 set_broadcast_channel(struct fw_device *device, int generation) set_broadcast_channel() argument
982 struct fw_device *device = fw_device_init() local
1100 reread_config_rom(struct fw_device *device, int generation, bool *changed) reread_config_rom() argument
1127 struct fw_device *device = fw_device_refresh() local
1194 struct fw_device *device = container_of(to_delayed_work(work), fw_device_workfn() local
1201 struct fw_device *device; fw_node_event() local
[all...]
/kernel/linux/linux-6.6/drivers/firewire/
H A Dcore-device.c11 #include <linux/device.h>
157 static const struct ieee1394_device_id *unit_match(struct device *dev, in unit_match()
173 static bool is_fw_unit(struct device *dev);
175 static int fw_unit_match(struct device *dev, struct device_driver *drv) in fw_unit_match()
181 static int fw_unit_probe(struct device *dev) in fw_unit_probe()
189 static void fw_unit_remove(struct device *dev) in fw_unit_remove()
208 static int fw_unit_uevent(const struct device *dev, struct kobj_uevent_env *env) in fw_unit_uevent()
229 int fw_device_enable_phys_dma(struct fw_device *device) in fw_device_enable_phys_dma() argument
231 int generation = device->generation; in fw_device_enable_phys_dma()
233 /* device in fw_device_enable_phys_dma()
371 struct fw_device *device = fw_device(dev->parent); rom_index_show() local
386 struct fw_device *device = fw_device(dev); config_rom_show() local
400 struct fw_device *device = fw_device(dev); guid_show() local
413 struct fw_device *device = fw_device(dev); is_local_show() local
443 struct fw_device *device = fw_device(dev); units_show() local
472 read_rom(struct fw_device *device, int generation, int index, u32 *data) read_rom() argument
504 read_config_rom(struct fw_device *device, int generation) read_config_rom() argument
686 create_units(struct fw_device *device) create_units() argument
727 shutdown_unit(struct device *device, void *data) shutdown_unit() argument
747 struct fw_device *device; fw_device_get_by_devt() local
761 fw_schedule_device_work(struct fw_device *device, unsigned long delay) fw_schedule_device_work() argument
785 struct fw_device *device = fw_device_shutdown() local
814 struct fw_device *device = fw_device(dev); fw_device_release() local
858 struct fw_device *device = fw_device_update() local
920 set_broadcast_channel(struct fw_device *device, int generation) set_broadcast_channel() argument
980 struct fw_device *device = fw_device_init() local
1098 reread_config_rom(struct fw_device *device, int generation, bool *changed) reread_config_rom() argument
1125 struct fw_device *device = fw_device_refresh() local
1192 struct fw_device *device = container_of(to_delayed_work(work), fw_device_workfn() local
1199 struct fw_device *device; fw_node_event() local
[all...]

Completed in 23 milliseconds

12345678910>>...1013