Home
last modified time | relevance | path

Searched defs:device (Results 1 – 25 of 996) sorted by relevance

12345678910>>...40

/drivers/s390/char/
Dtape_3590.c102 static int crypt_supported(struct tape_device *device) in crypt_supported()
107 static int crypt_enabled(struct tape_device *device) in crypt_enabled()
200 static int tape_3592_kekl_query(struct tape_device *device, in tape_3592_kekl_query()
241 static int tape_3592_ioctl_kekl_query(struct tape_device *device, in tape_3592_ioctl_kekl_query()
273 static int tape_3592_kekl_set(struct tape_device *device, in tape_3592_kekl_set()
304 static int tape_3592_ioctl_kekl_set(struct tape_device *device, in tape_3592_ioctl_kekl_set()
331 static struct tape_request *__tape_3592_enable_crypt(struct tape_device *device) in __tape_3592_enable_crypt()
359 static int tape_3592_enable_crypt(struct tape_device *device) in tape_3592_enable_crypt()
369 static void tape_3592_enable_crypt_async(struct tape_device *device) in tape_3592_enable_crypt_async()
381 static struct tape_request *__tape_3592_disable_crypt(struct tape_device *device) in __tape_3592_disable_crypt()
[all …]
Dtape_std.c38 struct tape_device * device; in tape_std_assign_timeout() local
54 tape_std_assign(struct tape_device *device) in tape_std_assign()
98 tape_std_unassign (struct tape_device *device) in tape_std_unassign()
130 tape_std_display(struct tape_device *device, struct display_struct *disp) in tape_std_display()
160 tape_std_read_block_id(struct tape_device *device, __u64 *id) in tape_std_read_block_id()
183 tape_std_terminate_write(struct tape_device *device) in tape_std_terminate_write()
207 tape_std_mtload(struct tape_device *device, int count) in tape_std_mtload()
217 tape_std_mtsetblk(struct tape_device *device, int count) in tape_std_mtsetblk()
260 tape_std_mtreset(struct tape_device *device, int count) in tape_std_mtreset()
272 tape_std_mtfsf(struct tape_device *device, int mt_count) in tape_std_mtfsf()
[all …]
Dtape_core.c186 tape_state_set(struct tape_device *device, enum tape_state newstate) in tape_state_set()
212 struct tape_device *device; member
224 struct tape_device *device = p->device; in tape_med_state_work_handler() local
248 tape_med_state_work(struct tape_device *device, enum tape_medium_state state) in tape_med_state_work()
262 tape_med_state_set(struct tape_device *device, enum tape_medium_state newstate) in tape_med_state_set()
291 __tape_cancel_io(struct tape_device *device, struct tape_request *request) in __tape_cancel_io()
331 tape_assign_minor(struct tape_device *device) in tape_assign_minor()
355 tape_remove_minor(struct tape_device *device) in tape_remove_minor()
372 tape_generic_online(struct tape_device *device, in tape_generic_online()
421 tape_cleanup_device(struct tape_device *device) in tape_cleanup_device()
[all …]
Dtape_34xx.c57 struct tape_device *device = request->device; in __tape_34xx_medium_sense() local
84 static int tape_34xx_medium_sense(struct tape_device *device) in tape_34xx_medium_sense()
102 static void tape_34xx_medium_sense_async(struct tape_device *device) in tape_34xx_medium_sense_async()
120 struct tape_device *device; member
140 struct tape_device *device = p->device; in tape_34xx_work_handler() local
154 tape_34xx_schedule_work(struct tape_device *device, enum tape_op op) in tape_34xx_schedule_work()
221 tape_34xx_unsolicited_irq(struct tape_device *device, struct irb *irb) in tape_34xx_unsolicited_irq()
240 tape_34xx_erp_read_opposite(struct tape_device *device, in tape_34xx_erp_read_opposite()
261 tape_34xx_erp_bug(struct tape_device *device, struct tape_request *request, in tape_34xx_erp_bug()
277 tape_34xx_erp_overrun(struct tape_device *device, struct tape_request *request, in tape_34xx_erp_overrun()
[all …]
/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dnv04.c445 nv04_gr_set_ctx1(struct nvkm_device *device, u32 inst, u32 mask, u32 value) in nv04_gr_set_ctx1()
460 nv04_gr_set_ctx_val(struct nvkm_device *device, u32 inst, u32 mask, u32 value) in nv04_gr_set_ctx_val()
508 nv04_gr_mthd_set_operation(struct nvkm_device *device, u32 inst, u32 data) in nv04_gr_mthd_set_operation()
523 nv04_gr_mthd_surf3d_clip_h(struct nvkm_device *device, u32 inst, u32 data) in nv04_gr_mthd_surf3d_clip_h()
541 nv04_gr_mthd_surf3d_clip_v(struct nvkm_device *device, u32 inst, u32 data) in nv04_gr_mthd_surf3d_clip_v()
559 nv04_gr_mthd_bind_class(struct nvkm_device *device, u32 inst) in nv04_gr_mthd_bind_class()
565 nv04_gr_mthd_bind_surf2d(struct nvkm_device *device, u32 inst, u32 data) in nv04_gr_mthd_bind_surf2d()
581 nv04_gr_mthd_bind_surf2d_swzsurf(struct nvkm_device *device, u32 inst, u32 data) in nv04_gr_mthd_bind_surf2d_swzsurf()
601 nv01_gr_mthd_bind_patt(struct nvkm_device *device, u32 inst, u32 data) in nv01_gr_mthd_bind_patt()
615 nv04_gr_mthd_bind_patt(struct nvkm_device *device, u32 inst, u32 data) in nv04_gr_mthd_bind_patt()
[all …]
Dctxnv50.c255 nv50_grctx_fill(struct nvkm_device *device, struct nvkm_gpuobj *mem) in nv50_grctx_fill()
265 nv50_grctx_init(struct nvkm_device *device, u32 *size) in nv50_grctx_init()
298 struct nvkm_device *device = ctx->device; in nv50_gr_construct_mmio() local
796 struct nvkm_device *device = ctx->device; in nv50_gr_construct_mmio_ddata() local
1190 struct nvkm_device *device = ctx->device; in nv50_gr_construct_xfer1() local
1354 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_dispatch() local
1410 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_m2mf() local
1461 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_ccache() local
1529 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_unk10xx() local
1589 struct nvkm_device *device = ctx->device; in nv50_gr_construct_gene_unk34xx() local
[all …]
/drivers/s390/block/
Ddasd.c92 struct dasd_device *device; in dasd_alloc_device() local
136 void dasd_free_device(struct dasd_device *device) in dasd_free_device()
185 static int dasd_state_new_to_known(struct dasd_device *device) in dasd_state_new_to_known()
209 static int dasd_state_known_to_new(struct dasd_device *device) in dasd_state_known_to_new()
249 static int dasd_state_known_to_basic(struct dasd_device *device) in dasd_state_known_to_basic()
286 static int dasd_state_basic_to_known(struct dasd_device *device) in dasd_state_basic_to_known()
331 static int dasd_state_basic_to_ready(struct dasd_device *device) in dasd_state_basic_to_ready()
368 int _wait_for_empty_queues(struct dasd_device *device) in _wait_for_empty_queues()
382 static int dasd_state_ready_to_basic(struct dasd_device *device) in dasd_state_ready_to_basic()
406 static int dasd_state_unfmt_to_basic(struct dasd_device *device) in dasd_state_unfmt_to_basic()
[all …]
Ddasd_3990_erp.c73 struct dasd_device *device = erp->startdev; in dasd_3990_erp_block_queue() local
105 struct dasd_device *device = erp->startdev; in dasd_3990_erp_int_req() local
146 struct dasd_device *device = erp->startdev; in dasd_3990_erp_alternate_path() local
198 struct dasd_device *device = erp->startdev; in dasd_3990_erp_DCTL() local
304 struct dasd_device *device = erp->startdev; in dasd_3990_erp_action_4() local
397 struct dasd_device *device = erp->startdev; in dasd_3990_handle_env_data() local
1034 struct dasd_device *device = erp->startdev; in dasd_3990_erp_com_rej() local
1080 struct dasd_device *device = erp->startdev; in dasd_3990_erp_bus_out() local
1119 struct dasd_device *device = erp->startdev; in dasd_3990_erp_equip_check() local
1178 struct dasd_device *device = erp->startdev; in dasd_3990_erp_data_check() local
[all …]
Ddasd_alias.c186 int dasd_alias_make_device_known_to_lcu(struct dasd_device *device) in dasd_alias_make_device_known_to_lcu()
245 void dasd_alias_disconnect_device_from_lcu(struct dasd_device *device) in dasd_alias_disconnect_device_from_lcu()
315 struct dasd_device *device, in _add_device_to_lcu()
371 struct dasd_device *device) in _remove_device_from_lcu()
428 static int read_unit_address_configuration(struct dasd_device *device, in read_unit_address_configuration()
499 struct dasd_device *device, *tempdev; in _lcu_update() local
557 struct dasd_device *device; in lcu_update_work() local
585 struct dasd_device *device) in _schedule_lcu_update()
627 int dasd_alias_add_device(struct dasd_device *device) in dasd_alias_add_device()
656 int dasd_alias_update_add_device(struct dasd_device *device) in dasd_alias_update_add_device()
[all …]
/drivers/block/drbd/
Ddrbd_worker.c70 struct drbd_device *device; in drbd_md_endio() local
101 struct drbd_device *device = peer_device->device; in drbd_endio_read_sec_final() local
122 struct drbd_device *device = peer_device->device; in drbd_endio_write_sec_final() local
176 struct drbd_device *device = peer_req->peer_device->device; in drbd_peer_request_endio() local
204 struct drbd_device *device = req->device; in drbd_request_endio() local
324 struct drbd_device *device = peer_device->device; in w_e_send_csum() local
371 struct drbd_device *device = peer_device->device; in read_for_csum() local
409 struct drbd_device *device = in w_resync_timer() local
426 struct drbd_device *device = (struct drbd_device *) data; in resync_timer_fn() local
477 static int drbd_rs_controller(struct drbd_device *device, unsigned int sect_in) in drbd_rs_controller()
[all …]
Ddrbd_actlog.c95 void *drbd_md_get_buffer(struct drbd_device *device, const char *intent) in drbd_md_get_buffer()
112 void drbd_md_put_buffer(struct drbd_device *device) in drbd_md_put_buffer()
118 void wait_until_done_or_force_detached(struct drbd_device *device, struct drbd_backing_dev *bdev, in wait_until_done_or_force_detached()
138 static int _drbd_md_sync_page_io(struct drbd_device *device, in _drbd_md_sync_page_io()
190 int drbd_md_sync_page_io(struct drbd_device *device, struct drbd_backing_dev *bdev, in drbd_md_sync_page_io()
217 static struct bm_extent *find_active_resync_extent(struct drbd_device *device, unsigned int enr) in find_active_resync_extent()
229 static struct lc_element *_al_get(struct drbd_device *device, unsigned int enr, bool nonblock) in _al_get()
252 bool drbd_al_begin_io_fastpath(struct drbd_device *device, struct drbd_interval *i) in drbd_al_begin_io_fastpath()
269 bool drbd_al_begin_io_prepare(struct drbd_device *device, struct drbd_interval *i) in drbd_al_begin_io_prepare()
293 void drbd_al_begin_io_commit(struct drbd_device *device) in drbd_al_begin_io_commit()
[all …]
Ddrbd_req.c37 static void _drbd_start_io_acct(struct drbd_device *device, struct drbd_request *req) in _drbd_start_io_acct()
44 static void _drbd_end_io_acct(struct drbd_device *device, struct drbd_request *req) in _drbd_end_io_acct()
50 static struct drbd_request *drbd_req_new(struct drbd_device *device, in drbd_req_new()
87 struct drbd_device *device = req->device; in drbd_remove_request_interval() local
100 struct drbd_device *device = req->device; in drbd_req_destroy() local
201 void complete_master_bio(struct drbd_device *device, in complete_master_bio()
220 struct drbd_device *device = req->device; in drbd_req_complete() local
318 struct drbd_device *device = req->device; in drbd_req_put_completion_ref() local
419 struct drbd_device *device = req->device; in mod_rq_state() local
539 static void drbd_report_io_error(struct drbd_device *device, struct drbd_request *req) in drbd_report_io_error()
[all …]
Ddrbd_bitmap.c118 static void __bm_print_lock_info(struct drbd_device *device, const char *func) in __bm_print_lock_info()
129 void drbd_bm_lock(struct drbd_device *device, char *why, enum bm_flag flags) in drbd_bm_lock()
156 void drbd_bm_unlock(struct drbd_device *device) in drbd_bm_unlock()
216 static void bm_page_lock_io(struct drbd_device *device, int page_nr) in bm_page_lock_io()
223 static void bm_page_unlock_io(struct drbd_device *device, int page_nr) in bm_page_unlock_io()
254 void drbd_bm_mark_for_writeout(struct drbd_device *device, int page_nr) in drbd_bm_mark_for_writeout()
442 int drbd_bm_init(struct drbd_device *device) in drbd_bm_init()
458 sector_t drbd_bm_capacity(struct drbd_device *device) in drbd_bm_capacity()
467 void drbd_bm_cleanup(struct drbd_device *device) in drbd_bm_cleanup()
641 int drbd_bm_resize(struct drbd_device *device, sector_t capacity, int set_new_bits) in drbd_bm_resize()
[all …]
Ddrbd_state.c35 struct drbd_device *device; member
73 struct drbd_device *device = peer_device->device; in conn_all_vols_unconf() local
113 struct drbd_device *device = peer_device->device; in conn_highest_role() local
129 struct drbd_device *device = peer_device->device; in conn_highest_peer() local
145 struct drbd_device *device = peer_device->device; in conn_highest_disk() local
161 struct drbd_device *device = peer_device->device; in conn_lowest_disk() local
177 struct drbd_device *device = peer_device->device; in conn_highest_pdsk() local
193 struct drbd_device *device = peer_device->device; in conn_lowest_conn() local
237 static int cl_wide_st_chg(struct drbd_device *device, in cl_wide_st_chg()
259 drbd_change_state(struct drbd_device *device, enum chg_state_flags f, in drbd_change_state()
[all …]
/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dvga.c27 nvkm_rdport(struct nvkm_device *device, int head, u16 port) in nvkm_rdport()
49 nvkm_wrport(struct nvkm_device *device, int head, u16 port, u8 data) in nvkm_wrport()
69 nvkm_rdvgas(struct nvkm_device *device, int head, u8 index) in nvkm_rdvgas()
76 nvkm_wrvgas(struct nvkm_device *device, int head, u8 index, u8 value) in nvkm_wrvgas()
83 nvkm_rdvgag(struct nvkm_device *device, int head, u8 index) in nvkm_rdvgag()
90 nvkm_wrvgag(struct nvkm_device *device, int head, u8 index, u8 value) in nvkm_wrvgag()
97 nvkm_rdvgac(struct nvkm_device *device, int head, u8 index) in nvkm_rdvgac()
104 nvkm_wrvgac(struct nvkm_device *device, int head, u8 index, u8 value) in nvkm_wrvgac()
111 nvkm_rdvgai(struct nvkm_device *device, int head, u16 port, u8 index) in nvkm_rdvgai()
120 nvkm_wrvgai(struct nvkm_device *device, int head, u16 port, u8 index, u8 value) in nvkm_wrvgai()
[all …]
/drivers/gpu/host1x/
Dbus.c43 static int host1x_subdev_add(struct host1x_device *device, in host1x_subdev_add()
75 static int host1x_device_parse_dt(struct host1x_device *device, in host1x_device_parse_dt()
93 static void host1x_subdev_register(struct host1x_device *device, in host1x_subdev_register()
122 static void __host1x_subdev_unregister(struct host1x_device *device, in __host1x_subdev_unregister()
158 static void host1x_subdev_unregister(struct host1x_device *device, in host1x_subdev_unregister()
166 int host1x_device_init(struct host1x_device *device) in host1x_device_init()
192 int host1x_device_exit(struct host1x_device *device) in host1x_device_exit()
221 struct host1x_device *device; in host1x_add_client() local
243 struct host1x_device *device, *dt; in host1x_del_client() local
270 struct host1x_device *device = to_host1x_device(dev); in host1x_device_probe() local
[all …]
/drivers/infiniband/core/
Ddevice.c85 static int ib_device_check_mandatory(struct ib_device *device) in ib_device_check_mandatory()
128 struct ib_device *device; in __ib_device_get_by_name() local
142 struct ib_device *device; in alloc_name() local
170 static void ib_device_release(struct device *device) in ib_device_release()
179 static int ib_device_uevent(struct device *device, in ib_device_uevent()
212 struct ib_device *device; in ib_alloc_device() local
242 void ib_dealloc_device(struct ib_device *device) in ib_dealloc_device()
250 static int add_client_context(struct ib_device *device, struct ib_client *client) in add_client_context()
281 static int read_port_immutable(struct ib_device *device) in read_port_immutable()
322 int ib_register_device(struct ib_device *device, in ib_register_device()
[all …]
/drivers/video/fbdev/core/
Dfbsysfs.c127 static ssize_t store_mode(struct device *device, struct device_attribute *attr, in store_mode()
158 static ssize_t show_mode(struct device *device, struct device_attribute *attr, in show_mode()
169 static ssize_t store_modes(struct device *device, in store_modes()
201 static ssize_t show_modes(struct device *device, struct device_attribute *attr, in show_modes()
219 static ssize_t store_bpp(struct device *device, struct device_attribute *attr, in store_bpp()
234 static ssize_t show_bpp(struct device *device, struct device_attribute *attr, in show_bpp()
241 static ssize_t store_rotate(struct device *device, in store_rotate()
260 static ssize_t show_rotate(struct device *device, in show_rotate()
268 static ssize_t store_virtual(struct device *device, in store_virtual()
289 static ssize_t show_virtual(struct device *device, in show_virtual()
[all …]
/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dgk104.c38 struct nvkm_device *device = fifo->engine.subdev.device; in gk104_fifo_uevent_fini() local
45 struct nvkm_device *device = fifo->engine.subdev.device; in gk104_fifo_uevent_init() local
55 struct nvkm_device *device = subdev->device; in gk104_fifo_runlist_update() local
84 struct nvkm_device *device = fifo->base.engine.subdev.device; in gk104_fifo_engine() local
95 struct nvkm_device *device = fifo->base.engine.subdev.device; in gk104_fifo_recover_work() local
127 struct nvkm_device *device = subdev->device; in gk104_fifo_recover() local
157 struct nvkm_device *device = subdev->device; in gk104_fifo_intr_bind() local
175 struct nvkm_device *device = fifo->base.engine.subdev.device; in gk104_fifo_intr_sched_ctxsw() local
212 struct nvkm_device *device = subdev->device; in gk104_fifo_intr_sched() local
233 struct nvkm_device *device = subdev->device; in gk104_fifo_intr_chsw() local
[all …]
Dgf100.c38 struct nvkm_device *device = fifo->engine.subdev.device; in gf100_fifo_uevent_init() local
45 struct nvkm_device *device = fifo->engine.subdev.device; in gf100_fifo_uevent_fini() local
54 struct nvkm_device *device = subdev->device; in gf100_fifo_runlist_update() local
100 struct nvkm_device *device = fifo->base.engine.subdev.device; in gf100_fifo_engine() local
120 struct nvkm_device *device = fifo->base.engine.subdev.device; in gf100_fifo_recover_work() local
152 struct nvkm_device *device = subdev->device; in gf100_fifo_recover() local
176 struct nvkm_device *device = fifo->base.engine.subdev.device; in gf100_fifo_intr_sched_ctxsw() local
211 struct nvkm_device *device = subdev->device; in gf100_fifo_intr_sched() local
292 struct nvkm_device *device = subdev->device; in gf100_fifo_intr_fault() local
362 struct nvkm_device *device = subdev->device; in gf100_fifo_intr_pbdma() local
[all …]
/drivers/platform/x86/
Ddell-rbtn.c39 static enum rbtn_type rbtn_check(struct acpi_device *device) in rbtn_check()
60 static int rbtn_get(struct acpi_device *device) in rbtn_get()
72 static int rbtn_acquire(struct acpi_device *device, bool enable) in rbtn_acquire()
97 struct acpi_device *device = data; in rbtn_rfkill_query() local
118 static int rbtn_rfkill_init(struct acpi_device *device) in rbtn_rfkill_init()
146 static void rbtn_rfkill_exit(struct acpi_device *device) in rbtn_rfkill_exit()
158 static void rbtn_rfkill_event(struct acpi_device *device) in rbtn_rfkill_event()
234 struct acpi_device *device = to_acpi_device(dev); in rbtn_suspend() local
244 struct acpi_device *device = to_acpi_device(dev); in rbtn_resume() local
292 struct acpi_device *device = to_acpi_device(dev); in rbtn_inc_count() local
[all …]
/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/
Dgf100.c33 struct nvkm_device *device = ltc->subdev.device; in gf100_ltc_cbc_clear() local
42 struct nvkm_device *device = ltc->subdev.device; in gf100_ltc_cbc_wait() local
58 struct nvkm_device *device = ltc->subdev.device; in gf100_ltc_zbc_clear_color() local
69 struct nvkm_device *device = ltc->subdev.device; in gf100_ltc_zbc_clear_depth() local
96 struct nvkm_device *device = subdev->device; in gf100_ltc_lts_intr() local
113 struct nvkm_device *device = ltc->subdev.device; in gf100_ltc_intr() local
128 struct nvkm_device *device = ltc->subdev.device; in gf100_ltc_invalidate() local
143 struct nvkm_device *device = ltc->subdev.device; in gf100_ltc_flush() local
211 struct nvkm_device *device = ltc->subdev.device; in gf100_ltc_oneinit() local
229 struct nvkm_device *device = ltc->subdev.device; in gf100_ltc_init() local
[all …]
Dgm107.c32 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_cbc_clear() local
41 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_cbc_wait() local
57 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_zbc_clear_color() local
68 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_zbc_clear_depth() local
77 struct nvkm_device *device = subdev->device; in gm107_ltc_lts_isr() local
90 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_intr() local
105 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_oneinit() local
123 struct nvkm_device *device = ltc->subdev.device; in gm107_ltc_init() local
146 gm107_ltc_new(struct nvkm_device *device, int index, struct nvkm_ltc **pltc) in gm107_ltc_new()
/drivers/misc/cxl/
Dsysfs.c21 static ssize_t caia_version_show(struct device *device, in caia_version_show()
31 static ssize_t psl_revision_show(struct device *device, in psl_revision_show()
40 static ssize_t base_image_show(struct device *device, in base_image_show()
49 static ssize_t image_loaded_show(struct device *device, in image_loaded_show()
60 static ssize_t reset_adapter_store(struct device *device, in reset_adapter_store()
77 static ssize_t load_image_on_perst_show(struct device *device, in load_image_on_perst_show()
91 static ssize_t load_image_on_perst_store(struct device *device, in load_image_on_perst_store()
115 static ssize_t perst_reloads_same_image_show(struct device *device, in perst_reloads_same_image_show()
124 static ssize_t perst_reloads_same_image_store(struct device *device, in perst_reloads_same_image_store()
153 static ssize_t mmio_size_show_master(struct device *device, in mmio_size_show_master()
[all …]
/drivers/acpi/
Dprocessor_driver.c71 struct acpi_device *device = data; in acpi_processor_notify() local
118 struct acpi_device *device; in acpi_cpu_soft_notify() local
164 struct acpi_device *device) in acpi_pss_perf_init()
214 struct acpi_device *device) in acpi_pss_perf_exit()
225 struct acpi_device *device) in acpi_pss_perf_init()
231 struct acpi_device *device) {} in acpi_pss_perf_exit()
234 static int __acpi_processor_start(struct acpi_device *device) in __acpi_processor_start()
272 struct acpi_device *device = ACPI_COMPANION(dev); in acpi_processor_start() local
287 struct acpi_device *device = ACPI_COMPANION(dev); in acpi_processor_stop() local

12345678910>>...40