Home
last modified time | relevance | path

Searched defs:device (Results 1 – 200 of 1325) sorted by relevance

1234567

/linux-4.4.14/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 …]
Dtape_char.c63 tapechar_setup_device(struct tape_device * device) in tapechar_setup_device()
88 tapechar_cleanup_device(struct tape_device *device) in tapechar_cleanup_device()
97 tapechar_check_idalbuffer(struct tape_device *device, size_t block_size) in tapechar_check_idalbuffer()
130 struct tape_device *device; in tapechar_read() local
188 struct tape_device *device; in tapechar_write() local
272 struct tape_device *device; in tapechar_open() local
306 struct tape_device *device; in tapechar_release() local
342 __tapechar_ioctl(struct tape_device *device, in __tapechar_ioctl()
440 struct tape_device *device; in tapechar_ioctl() local
456 struct tape_device *device = filp->private_data; in tapechar_compat_ioctl() local
/linux-4.4.14/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 …]
Dgf100.c46 struct nvkm_device *device = gr->base.engine.subdev.device; in gf100_gr_zbc_clear_color() local
97 struct nvkm_device *device = gr->base.engine.subdev.device; in gf100_gr_zbc_clear_depth() local
233 gf100_gr_mthd_set_shader_exceptions(struct nvkm_device *device, u32 data) in gf100_gr_mthd_set_shader_exceptions()
240 gf100_gr_mthd_sw(struct nvkm_device *device, u16 class, u32 mthd, u32 data) in gf100_gr_mthd_sw()
351 struct nvkm_device *device = gr->base.engine.subdev.device; in gf100_gr_chan_new() local
711 struct nvkm_device *device = subdev->device; in gf100_gr_wait_idle() local
739 struct nvkm_device *device = gr->base.engine.subdev.device; in gf100_gr_mmio() local
756 struct nvkm_device *device = gr->base.engine.subdev.device; in gf100_gr_icmd() local
794 struct nvkm_device *device = gr->base.engine.subdev.device; in gf100_gr_mthd() local
858 struct nvkm_device *device = subdev->device; in gf100_gr_trap_gpc_rop() local
[all …]
Dnv10.c433 struct nvkm_device *device = chan->object.engine->subdev.device; in nv17_gr_mthd_lma_window() local
506 struct nvkm_device *device = chan->object.engine->subdev.device; in nv17_gr_mthd_lma_enable() local
549 struct nvkm_device *device = gr->base.engine.subdev.device; in nv10_gr_channel() local
564 struct nvkm_device *device = gr->base.engine.subdev.device; in nv10_gr_save_pipe() local
583 struct nvkm_device *device = gr->base.engine.subdev.device; in nv10_gr_load_pipe() local
815 struct nvkm_device *device = gr->base.engine.subdev.device; in nv10_gr_load_dma_vtxbuf() local
886 struct nvkm_device *device = gr->base.engine.subdev.device; in nv10_gr_load_context() local
913 struct nvkm_device *device = gr->base.engine.subdev.device; in nv10_gr_unload_context() local
934 struct nvkm_device *device = gr->base.engine.subdev.device; in nv10_gr_context_switch() local
958 struct nvkm_device *device = gr->base.engine.subdev.device; in nv10_gr_chan_fini() local
[all …]
Dgm20b.c32 struct nvkm_device *device = gr->base.engine.subdev.device; in gm20b_gr_init_gpc_mmu() local
57 struct nvkm_device *device = gr->base.engine.subdev.device; in gm20b_gr_set_hww_esr_report_mask() local
80 gm20b_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) in gm20b_gr_new()
Dnv20.c33 struct nvkm_device *device = gr->base.engine.subdev.device; in nv20_gr_chan_fini() local
151 struct nvkm_device *device = gr->base.engine.subdev.device; in nv20_gr_tile() local
183 struct nvkm_device *device = subdev->device; in nv20_gr_intr() local
231 struct nvkm_device *device = gr->base.engine.subdev.device; in nv20_gr_init() local
331 nv20_gr_new_(const struct nvkm_gr_func *func, struct nvkm_device *device, in nv20_gr_new_()
372 nv20_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) in nv20_gr_new()
Dctxnv40.c120 nv40_gr_vs_count(struct nvkm_device *device) in nv40_gr_vs_count()
161 struct nvkm_device *device = ctx->device; in nv40_gr_construct_general() local
267 struct nvkm_device *device = ctx->device; in nv40_gr_construct_state3d() local
372 struct nvkm_device *device = ctx->device; in nv40_gr_construct_state3d_2() local
551 struct nvkm_device *device = ctx->device; in nv40_gr_construct_shader() local
661 nv40_grctx_fill(struct nvkm_device *device, struct nvkm_gpuobj *mem) in nv40_grctx_fill()
671 nv40_grctx_init(struct nvkm_device *device, u32 *size) in nv40_grctx_init()
Dctxgf100.c1007 struct nvkm_device *device = info->gr->base.engine.subdev.device; in gf100_grctx_mmio_item() local
1088 struct nvkm_device *device = gr->base.engine.subdev.device; in gf100_grctx_generate_tpcid() local
1110 struct nvkm_device *device = gr->base.engine.subdev.device; in gf100_grctx_generate_r406028() local
1123 struct nvkm_device *device = gr->base.engine.subdev.device; in gf100_grctx_generate_r4060a8() local
1146 struct nvkm_device *device = gr->base.engine.subdev.device; in gf100_grctx_generate_r418bb8() local
1205 struct nvkm_device *device = gr->base.engine.subdev.device; in gf100_grctx_generate_r406800() local
1239 struct nvkm_device *device = gr->base.engine.subdev.device; in gf100_grctx_generate_main() local
1274 struct nvkm_device *device = subdev->device; in gf100_grctx_generate() local
Dnv40.c97 struct nvkm_device *device = subdev->device; in nv40_gr_chan_fini() local
176 struct nvkm_device *device = gr->base.engine.subdev.device; in nv40_gr_tile() local
237 struct nvkm_device *device = subdev->device; in nv40_gr_intr() local
290 struct nvkm_device *device = gr->base.engine.subdev.device; in nv40_gr_init() local
431 nv40_gr_new_(const struct nvkm_gr_func *func, struct nvkm_device *device, in nv40_gr_new_()
473 nv40_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) in nv40_gr_new()
Dgk20a.c153 struct nvkm_device *device = subdev->device; in gk20a_gr_wait_mem_scrubbing() local
177 struct nvkm_device *device = gr->base.engine.subdev.device; in gk20a_gr_set_hww_esr_report_mask() local
185 struct nvkm_device *device = gr->base.engine.subdev.device; in gk20a_gr_init() local
286 gk20a_gr_new_(const struct gf100_gr_func *func, struct nvkm_device *device, in gk20a_gr_new_()
353 gk20a_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) in gk20a_gr_new()
Dctxgm204.c924 struct nvkm_device *device = gr->base.engine.subdev.device; in gm204_grctx_generate_tpcid() local
942 struct nvkm_device *device = gr->base.engine.subdev.device; in gm204_grctx_generate_rop_active_fbps() local
951 struct nvkm_device *device = gr->base.engine.subdev.device; in gm204_grctx_generate_405b60() local
983 struct nvkm_device *device = gr->base.engine.subdev.device; in gm204_grctx_generate_main() local
Dnv50.c241 struct nvkm_device *device = subdev->device; in nv50_gr_prop_trap() local
283 struct nvkm_device *device = subdev->device; in nv50_gr_mp_trap() local
327 struct nvkm_device *device = subdev->device; in nv50_gr_tp_trap() local
397 struct nvkm_device *device = subdev->device; in nv50_gr_trap_handler() local
622 struct nvkm_device *device = subdev->device; in nv50_gr_intr() local
680 struct nvkm_device *device = gr->base.engine.subdev.device; in nv50_gr_init() local
761 nv50_gr_new_(const struct nvkm_gr_func *func, struct nvkm_device *device, in nv50_gr_new_()
791 nv50_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) in nv50_gr_new()
Dctxgk104.c877 struct nvkm_device *device = gr->base.engine.subdev.device; in gk104_grctx_generate_unkn() local
889 struct nvkm_device *device = gr->base.engine.subdev.device; in gk104_grctx_generate_r418bb8() local
948 struct nvkm_device *device = gr->base.engine.subdev.device; in gk104_grctx_generate_rop_active_fbps() local
957 struct nvkm_device *device = gr->base.engine.subdev.device; in gk104_grctx_generate_main() local
/linux-4.4.14/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()
414 static int read_unit_address_configuration(struct dasd_device *device, in read_unit_address_configuration()
481 struct dasd_device *device, *tempdev; in _lcu_update() local
539 struct dasd_device *device; in lcu_update_work() local
567 struct dasd_device *device) in _schedule_lcu_update()
609 int dasd_alias_add_device(struct dasd_device *device) in dasd_alias_add_device()
637 int dasd_alias_update_add_device(struct dasd_device *device) in dasd_alias_update_add_device()
[all …]
Ddasd_eckd.c107 struct dasd_device *device; member
119 struct dasd_device *device; member
213 struct dasd_device *device) in check_XRC()
238 unsigned int totrk, int cmd, struct dasd_device *device) in define_extent()
323 struct dasd_device *device) in check_XRC_on_prefix()
346 struct dasd_device *device, unsigned int reclen, in fill_LRE_data()
632 struct dasd_device * device, int reclen) in locate_record()
801 static int dasd_eckd_generate_uid(struct dasd_device *device) in dasd_eckd_generate_uid()
817 static int dasd_eckd_get_uid(struct dasd_device *device, struct dasd_uid *uid) in dasd_eckd_get_uid()
836 static int dasd_eckd_compare_path_uid(struct dasd_device *device, in dasd_eckd_compare_path_uid()
[all …]
Ddasd_erp.c27 struct dasd_device * device) in dasd_alloc_erp_request()
72 dasd_free_erp_request(struct dasd_ccw_req *cqr, struct dasd_device * device) in dasd_free_erp_request()
89 struct dasd_device *device; in dasd_default_erp_action() local
167 struct dasd_device *device; in dasd_log_sense() local
188 struct dasd_device *device; in dasd_log_sense_dbf() local
Ddasd_devmap.c50 struct dasd_device *device; member
498 struct dasd_device *device; in dasd_device_from_devindex() local
542 struct dasd_device *device; in dasd_create_device() local
590 dasd_delete_device(struct dasd_device *device) in dasd_delete_device()
638 dasd_put_device_wake(struct dasd_device *device) in dasd_put_device_wake()
652 struct dasd_device *device = dev_get_drvdata(&cdev->dev); in dasd_device_from_cdev_locked() local
666 struct dasd_device *device; in dasd_device_from_cdev() local
675 void dasd_add_link_to_gendisk(struct gendisk *gdp, struct dasd_device *device) in dasd_add_link_to_gendisk()
689 struct dasd_device *device; in dasd_device_from_gendisk() local
776 struct dasd_device *device; in dasd_ro_store() local
[all …]
Ddasd_diag.c104 mdsk_init_io(struct dasd_device *device, unsigned int blocksize, in mdsk_init_io()
131 mdsk_term_io(struct dasd_device * device) in mdsk_term_io()
148 dasd_diag_erp(struct dasd_device *device) in dasd_diag_erp()
171 struct dasd_device *device; in dasd_start_diag() local
226 struct dasd_device *device; in dasd_diag_term_IO() local
242 struct dasd_device *device; in dasd_ext_handler() local
321 dasd_diag_check_device(struct dasd_device *device) in dasd_diag_check_device()
601 dasd_diag_fill_info(struct dasd_device * device, in dasd_diag_fill_info()
619 dasd_diag_dump_sense(struct dasd_device *device, struct dasd_ccw_req * req, in dasd_diag_dump_sense()
/linux-4.4.14/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 …]
Dgf119.c36 struct nvkm_device *device = disp->base.engine.subdev.device; in gf119_disp_vblank_init() local
43 struct nvkm_device *device = disp->base.engine.subdev.device; in gf119_disp_vblank_fini() local
98 struct nvkm_device *device = subdev->device; in exec_script() local
136 struct nvkm_device *device = subdev->device; in exec_clkcmp() local
228 struct nvkm_device *device = disp->base.engine.subdev.device; in gf119_disp_intr_unk2_1() local
240 struct nvkm_device *device = disp->base.engine.subdev.device; in gf119_disp_intr_unk2_2_tu() local
301 struct nvkm_device *device = disp->base.engine.subdev.device; in gf119_disp_intr_unk2_2() local
355 struct nvkm_device *device = disp->base.engine.subdev.device; in gf119_disp_intr_unk4_0() local
368 struct nvkm_device *device = subdev->device; in gf119_disp_intr_supervisor() local
425 struct nvkm_device *device = subdev->device; in gf119_disp_intr_error() local
[all …]
Dnv04.c35 struct nvkm_device *device = disp->engine.subdev.device; in nv04_disp_vblank_init() local
42 struct nvkm_device *device = disp->engine.subdev.device; in nv04_disp_vblank_fini() local
50 struct nvkm_device *device = subdev->device; in nv04_disp_intr() local
82 nv04_disp_new(struct nvkm_device *device, int index, struct nvkm_disp **pdisp) in nv04_disp_new()
Dsorgm204.c44 struct nvkm_device *device = outp->disp->engine.subdev.device; in gm204_sor_magic() local
54 gm204_sor_dp_lane_map(struct nvkm_device *device, u8 lane) in gm204_sor_dp_lane_map()
62 struct nvkm_device *device = outp->base.disp->engine.subdev.device; in gm204_sor_dp_pattern() local
75 struct nvkm_device *device = outp->base.disp->engine.subdev.device; in gm204_sor_dp_lnk_pwr() local
96 struct nvkm_device *device = outp->base.disp->engine.subdev.device; in gm204_sor_dp_drv_ctl() local
Dnv50.c144 nv50_disp_new_(const struct nv50_disp_func *func, struct nvkm_device *device, in nv50_disp_new_()
166 struct nvkm_device *device = disp->base.engine.subdev.device; in nv50_disp_vblank_fini() local
173 struct nvkm_device *device = disp->base.engine.subdev.device; in nv50_disp_vblank_init() local
196 struct nvkm_device *device = subdev->device; in nv50_disp_intr_error() local
288 struct nvkm_device *device = subdev->device; in exec_script() local
347 struct nvkm_device *device = subdev->device; in exec_clkcmp() local
477 struct nvkm_device *device = disp->base.engine.subdev.device; in nv50_disp_intr_unk20_1() local
489 struct nvkm_device *device = subdev->device; in nv50_disp_intr_unk20_2_dp() local
608 struct nvkm_device *device = disp->base.engine.subdev.device; in nv50_disp_intr_unk20_2() local
700 struct nvkm_device *device = disp->base.engine.subdev.device; in nv50_disp_intr_unk40_0_tmds() local
[all …]
Dsorg94.c60 g94_sor_dp_lane_map(struct nvkm_device *device, u8 lane) in g94_sor_dp_lane_map()
75 struct nvkm_device *device = outp->base.disp->engine.subdev.device; in g94_sor_dp_pattern() local
84 struct nvkm_device *device = outp->base.disp->engine.subdev.device; in g94_sor_dp_lnk_pwr() local
104 struct nvkm_device *device = outp->base.disp->engine.subdev.device; in g94_sor_dp_lnk_ctl() local
124 struct nvkm_device *device = outp->base.disp->engine.subdev.device; in g94_sor_dp_drv_ctl() local
Ddmacnv50.c60 struct nvkm_device *device = root->disp->base.engine.subdev.device; in nv50_disp_dmac_child_new_() local
89 struct nvkm_device *device = disp->base.engine.subdev.device; in nv50_disp_dmac_child_get_() local
140 struct nvkm_device *device = root->disp->base.engine.subdev.device; in nv50_disp_dmac_new_() local
192 struct nvkm_device *device = subdev->device; in nv50_disp_dmac_fini() local
215 struct nvkm_device *device = subdev->device; in nv50_disp_dmac_init() local
Drootgf119.c37 struct nvkm_device *device = disp->base.engine.subdev.device; in gf119_disp_root_scanoutpos() local
71 struct nvkm_device *device = root->disp->base.engine.subdev.device; in gf119_disp_root_fini() local
80 struct nvkm_device *device = disp->base.engine.subdev.device; in gf119_disp_root_init() local
/linux-4.4.14/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()
635 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 …]
Ddrbd_receiver.c155 static struct page *__drbd_alloc_pages(struct drbd_device *device, in __drbd_alloc_pages()
201 static void reclaim_finished_net_peer_reqs(struct drbd_device *device, in reclaim_finished_net_peer_reqs()
218 static void drbd_kick_lo_and_reclaim_net(struct drbd_device *device) in drbd_kick_lo_and_reclaim_net()
254 struct drbd_device *device = peer_device->device; in drbd_alloc_pages() local
301 static void drbd_free_pages(struct drbd_device *device, struct page *page, int is_net) in drbd_free_pages()
344 struct drbd_device *device = peer_device->device; in drbd_alloc_peer_req() local
387 void __drbd_free_peer_req(struct drbd_device *device, struct drbd_peer_request *peer_req, in __drbd_free_peer_req()
403 int drbd_free_peer_reqs(struct drbd_device *device, struct list_head *list) in drbd_free_peer_reqs()
424 static int drbd_finish_peer_reqs(struct drbd_device *device) in drbd_finish_peer_reqs()
457 static void _drbd_wait_ee_list_empty(struct drbd_device *device, in _drbd_wait_ee_list_empty()
[all …]
Ddrbd_nl.c324 int drbd_khelper(struct drbd_device *device, char *cmd) in drbd_khelper()
417 struct drbd_device *device = peer_device->device; in highest_fencing_policy() local
563 drbd_set_role(struct drbd_device *const device, enum drbd_role new_role, int force) in drbd_set_role()
772 static void drbd_md_set_sector_offsets(struct drbd_device *device, in drbd_md_set_sector_offsets()
850 void drbd_suspend_io(struct drbd_device *device) in drbd_suspend_io()
858 void drbd_resume_io(struct drbd_device *device) in drbd_resume_io()
872 drbd_determine_dev_size(struct drbd_device *device, enum dds_flags flags, struct resize_parms *rs) … in drbd_determine_dev_size()
1026 drbd_new_dev_size(struct drbd_device *device, struct drbd_backing_dev *bdev, in drbd_new_dev_size()
1080 static int drbd_check_al_size(struct drbd_device *device, struct disk_conf *dc) in drbd_check_al_size()
1125 static void drbd_setup_queue_param(struct drbd_device *device, struct drbd_backing_dev *bdev, in drbd_setup_queue_param()
[all …]
Ddrbd_main.c166 int _get_ldev_if_state(struct drbd_device *device, enum drbd_disk_state mins) in _get_ldev_if_state()
307 void tl_abort_disk_io(struct drbd_device *device) in tl_abort_disk_io()
836 struct drbd_device *device = peer_device->device; in _drbd_send_uuids() local
878 void drbd_print_uuids(struct drbd_device *device, const char *text) in drbd_print_uuids()
898 struct drbd_device *device = peer_device->device; in drbd_gen_and_send_sync_uuid() local
924 struct drbd_device *device = peer_device->device; in drbd_send_sizes() local
1081 static int fill_bitmap_rle_bits(struct drbd_device *device, in fill_bitmap_rle_bits()
1185 send_bitmap_rle_or_plain(struct drbd_device *device, struct bm_xfer_ctx *c) in send_bitmap_rle_or_plain()
1241 static int _drbd_send_bitmap(struct drbd_device *device) in _drbd_send_bitmap()
1278 int drbd_send_bitmap(struct drbd_device *device) in drbd_send_bitmap()
[all …]
Ddrbd_debugfs.c129 struct drbd_device *device; in seq_print_resource_pending_meta_io() local
157 struct drbd_device *device; in seq_print_waiting_for_AL() local
190 static void seq_print_device_bitmap_io(struct seq_file *m, struct drbd_device *device, unsigned lon… in seq_print_device_bitmap_io()
217 struct drbd_device *device; in seq_print_resource_pending_bitmap_io() local
252 struct drbd_device *device, struct list_head *lh, in seq_print_peer_request()
277 struct drbd_device *device, unsigned long now) in seq_print_device_peer_requests()
295 struct drbd_device *device; in seq_print_resource_pending_peer_requests() local
699 struct drbd_device *device = m->private; in device_resync_extents_show() local
714 struct drbd_device *device = m->private; in device_act_log_extents_show() local
729 struct drbd_device *device = m->private; in device_oldest_requests_show() local
[all …]
Ddrbd_int.h103 #define __drbd_printk_device(level, device, fmt, args...) \ argument
147 #define dynamic_drbd_dbg(device, fmt, args...) \ argument
150 #define D_ASSERT(device, exp) do { \ argument
188 drbd_insert_fault(struct drbd_device *device, unsigned int type) { in drbd_insert_fault()
288 struct drbd_device *device; member
297 struct drbd_device *device; member
812 struct drbd_device *device; member
977 struct drbd_device *device; member
1008 struct drbd_device *device; member
1018 static inline struct drbd_peer_device *first_peer_device(struct drbd_device *device) in first_peer_device()
[all …]
/linux-4.4.14/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 …]
/linux-4.4.14/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 …]
Dagent.c57 __ib_get_agent_port(const struct ib_device *device, int port_num) in __ib_get_agent_port()
70 ib_get_agent_port(const struct ib_device *device, int port_num) in ib_get_agent_port()
82 const struct ib_wc *wc, const struct ib_device *device, in agent_send_response()
150 int ib_agent_port_open(struct ib_device *device, int port_num) in ib_agent_port_open()
201 int ib_agent_port_close(struct ib_device *device, int port_num) in ib_agent_port_close()
Dopa_smi.h54 struct ib_device *device) in opa_smi_check_local_smp()
69 struct ib_device *device) in opa_smi_check_local_returning_smp()
Dsysfs.c503 static int add_port(struct ib_device *device, int port_num, in add_port()
597 static ssize_t show_node_type(struct device *device, in show_node_type()
613 static ssize_t show_sys_image_guid(struct device *device, in show_sys_image_guid()
631 static ssize_t show_node_guid(struct device *device, in show_node_guid()
643 static ssize_t show_node_desc(struct device *device, in show_node_desc()
651 static ssize_t set_node_desc(struct device *device, in set_node_desc()
683 static ssize_t show_protocol_stat(const struct device *device, in show_protocol_stat()
796 static void free_port_list_attributes(struct ib_device *device) in free_port_list_attributes()
812 int ib_device_register_sysfs(struct ib_device *device, in ib_device_register_sysfs()
872 void ib_device_unregister_sysfs(struct ib_device *device) in ib_device_unregister_sysfs()
/linux-4.4.14/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 …]
/linux-4.4.14/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 …]
Dtopstar-laptop.c60 static void acpi_topstar_notify(struct acpi_device *device, u32 event) in acpi_topstar_notify()
80 static int acpi_topstar_fncx_switch(struct acpi_device *device, bool state) in acpi_topstar_fncx_switch()
129 static int acpi_topstar_add(struct acpi_device *device) in acpi_topstar_add()
154 static int acpi_topstar_remove(struct acpi_device *device) in acpi_topstar_remove()
Dsurfacepro3_button.c70 static void surface_button_notify(struct acpi_device *device, u32 event) in surface_button_notify()
125 struct acpi_device *device = to_acpi_device(dev); in surface_button_suspend() local
134 struct acpi_device *device = to_acpi_device(dev); in surface_button_resume() local
142 static int surface_button_add(struct acpi_device *device) in surface_button_add()
192 static int surface_button_remove(struct acpi_device *device) in surface_button_remove()
Dxo15-ebook.c49 static int ebook_send_state(struct acpi_device *device) in ebook_send_state()
65 static void ebook_switch_notify(struct acpi_device *device, u32 event) in ebook_switch_notify()
88 static int ebook_switch_add(struct acpi_device *device) in ebook_switch_add()
152 static int ebook_switch_remove(struct acpi_device *device) in ebook_switch_remove()
Dtoshiba_haps.c142 static void toshiba_haps_notify(struct acpi_device *device, u32 event) in toshiba_haps_notify()
151 static int toshiba_haps_remove(struct acpi_device *device) in toshiba_haps_remove()
218 static int toshiba_haps_suspend(struct device *device) in toshiba_haps_suspend()
231 static int toshiba_haps_resume(struct device *device) in toshiba_haps_resume()
/linux-4.4.14/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()
Dgk104.c29 struct nvkm_device *device = ltc->subdev.device; in gk104_ltc_init() local
53 gk104_ltc_new(struct nvkm_device *device, int index, struct nvkm_ltc **pltc) in gk104_ltc_new()
/linux-4.4.14/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 …]
Dnv04.c52 struct nvkm_device *device = fifo->base.engine.subdev.device; in nv04_fifo_pause() local
88 struct nvkm_device *device = fifo->base.engine.subdev.device; in nv04_fifo_start() local
108 nv04_fifo_swmthd(struct nvkm_device *device, u32 chid, u32 addr, u32 data) in nv04_fifo_swmthd()
138 struct nvkm_device *device = subdev->device; in nv04_fifo_cache_error() local
189 struct nvkm_device *device = subdev->device; in nv04_fifo_dma_pusher() local
242 struct nvkm_device *device = subdev->device; in nv04_fifo_intr() local
300 struct nvkm_device *device = fifo->base.engine.subdev.device; in nv04_fifo_init() local
326 nv04_fifo_new_(const struct nvkm_fifo_func *func, struct nvkm_device *device, in nv04_fifo_new_()
359 nv04_fifo_new(struct nvkm_device *device, int index, struct nvkm_fifo **pfifo) in nv04_fifo_new()
Dnv50.c32 struct nvkm_device *device = fifo->base.engine.subdev.device; in nv50_fifo_runlist_update_locked() local
63 struct nvkm_device *device = fifo->base.engine.subdev.device; in nv50_fifo_oneinit() local
79 struct nvkm_device *device = fifo->base.engine.subdev.device; in nv50_fifo_init() local
109 nv50_fifo_new_(const struct nvkm_fifo_func *func, struct nvkm_device *device, in nv50_fifo_new_()
144 nv50_fifo_new(struct nvkm_device *device, int index, struct nvkm_fifo **pfifo) in nv50_fifo_new()
Dg84.c30 struct nvkm_device *device = fifo->engine.subdev.device; in g84_fifo_uevent_fini() local
37 struct nvkm_device *device = fifo->engine.subdev.device; in g84_fifo_uevent_init() local
59 g84_fifo_new(struct nvkm_device *device, int index, struct nvkm_fifo **pfifo) in g84_fifo_new()
Dgpfifogf100.c58 struct nvkm_device *device = subdev->device; in gf100_fifo_gpfifo_engine_fini() local
137 struct nvkm_device *device = fifo->base.engine.subdev.device; in gf100_fifo_gpfifo_fini() local
156 struct nvkm_device *device = fifo->base.engine.subdev.device; in gf100_fifo_gpfifo_init() local
198 struct nvkm_device *device = fifo->base.engine.subdev.device; in gf100_fifo_gpfifo_new() local
/linux-4.4.14/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()
269 struct acpi_device *device = ACPI_COMPANION(dev); in acpi_processor_start() local
279 struct acpi_device *device = ACPI_COMPANION(dev); in acpi_processor_stop() local
Dscan.c28 #define ACPI_IS_ROOT_DEVICE(device) (!(device)->parent) argument
145 struct acpi_device *device = NULL; in acpi_bus_offline() local
193 struct acpi_device *device = NULL; in acpi_bus_online() local
212 static int acpi_scan_try_to_offline(struct acpi_device *device) in acpi_scan_try_to_offline()
258 static int acpi_scan_hot_remove(struct acpi_device *device) in acpi_scan_hot_remove()
446 static void acpi_free_power_resources_lists(struct acpi_device *device) in acpi_free_power_resources_lists()
472 static void acpi_device_del(struct acpi_device *device) in acpi_device_del()
559 static int acpi_get_device_data(acpi_handle handle, struct acpi_device **device, in acpi_get_device_data()
577 int acpi_bus_get_device(acpi_handle handle, struct acpi_device **device) in acpi_bus_get_device()
602 int acpi_device_add(struct acpi_device *device, in acpi_device_add()
[all …]
Dfan.c97 struct acpi_device *device = cdev->devdata; in fan_get_max_state() local
107 static int fan_get_state_acpi4(struct acpi_device *device, unsigned long *state) in fan_get_state_acpi4()
148 static int fan_get_state(struct acpi_device *device, unsigned long *state) in fan_get_state()
166 struct acpi_device *device = cdev->devdata; in fan_get_cur_state() local
175 static int fan_set_state(struct acpi_device *device, unsigned long state) in fan_set_state()
184 static int fan_set_state_acpi4(struct acpi_device *device, unsigned long state) in fan_set_state_acpi4()
205 struct acpi_device *device = cdev->devdata; in fan_set_cur_state() local
225 static bool acpi_fan_is_acpi4(struct acpi_device *device) in acpi_fan_is_acpi4()
233 static int acpi_fan_get_fif(struct acpi_device *device) in acpi_fan_get_fif()
271 static int acpi_fan_get_fps(struct acpi_device *device) in acpi_fan_get_fps()
[all …]
Dbutton.c118 struct acpi_device *device = seq->private; in acpi_button_state_seq_show() local
142 static int acpi_button_add_fs(struct acpi_device *device) in acpi_button_add_fs()
199 static int acpi_button_remove_fs(struct acpi_device *device) in acpi_button_remove_fs()
249 static int acpi_lid_send_state(struct acpi_device *device) in acpi_lid_send_state()
281 static void acpi_button_notify(struct acpi_device *device, u32 event) in acpi_button_notify()
324 struct acpi_device *device = to_acpi_device(dev); in acpi_button_suspend() local
333 struct acpi_device *device = to_acpi_device(dev); in acpi_button_resume() local
343 static int acpi_button_add(struct acpi_device *device) in acpi_button_add()
439 static int acpi_button_remove(struct acpi_device *device) in acpi_button_remove()
Dacpi_video.c151 struct acpi_device *device; member
274 struct acpi_device *device = cooling_dev->devdata; in video_get_max_state() local
284 struct acpi_device *device = cooling_dev->devdata; in video_get_cur_state() local
303 struct acpi_device *device = cooling_dev->devdata; in video_set_cur_state() local
328 acpi_video_device_lcd_query_levels(struct acpi_video_device *device, in acpi_video_device_lcd_query_levels()
359 acpi_video_device_lcd_set_level(struct acpi_video_device *device, int level) in acpi_video_device_lcd_set_level()
525 acpi_video_bqc_value_to_level(struct acpi_video_device *device, in acpi_video_bqc_value_to_level()
550 acpi_video_device_lcd_get_level_current(struct acpi_video_device *device, in acpi_video_device_lcd_get_level_current()
605 acpi_video_device_EDID(struct acpi_video_device *device, in acpi_video_device_EDID()
702 static int acpi_video_bqc_quirk(struct acpi_video_device *device, in acpi_video_bqc_quirk()
[all …]
Dhed.c53 static void acpi_hed_notify(struct acpi_device *device, u32 event) in acpi_hed_notify()
58 static int acpi_hed_add(struct acpi_device *device) in acpi_hed_add()
67 static int acpi_hed_remove(struct acpi_device *device) in acpi_hed_remove()
Ddevice_pm.c63 int acpi_device_get_power(struct acpi_device *device, int *state) in acpi_device_get_power()
149 int acpi_device_set_power(struct acpi_device *device, int state) in acpi_device_set_power()
243 struct acpi_device *device; in acpi_bus_set_power() local
254 int acpi_bus_init_power(struct acpi_device *device) in acpi_bus_init_power()
310 int acpi_device_fix_up_power(struct acpi_device *device) in acpi_device_fix_up_power()
322 int acpi_device_update_power(struct acpi_device *device, int *state_p) in acpi_device_update_power()
365 struct acpi_device *device; in acpi_bus_update_power() local
375 struct acpi_device *device; in acpi_bus_power_manageable() local
486 struct acpi_device *device; in acpi_bus_can_wakeup() local
Dpower.c59 struct acpi_device device; member
82 struct acpi_power_resource *to_power_resource(struct acpi_device *device) in to_power_resource()
89 struct acpi_device *device; in acpi_power_get_context() local
657 int acpi_power_get_inferred_state(struct acpi_device *device, int *state) in acpi_power_get_inferred_state()
691 int acpi_power_on_resources(struct acpi_device *device, int state) in acpi_power_on_resources()
699 int acpi_power_transition(struct acpi_device *device, int state) in acpi_power_transition()
734 struct acpi_device *device = to_acpi_device(dev); in acpi_release_power_resource() local
757 static void acpi_power_sysfs_remove(struct acpi_device *device) in acpi_power_sysfs_remove()
784 struct acpi_device *device = NULL; in acpi_add_power_resource() local
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/timer/
Dnv04.c31 struct nvkm_device *device = subdev->device; in nv04_timer_time() local
45 struct nvkm_device *device = tmr->subdev.device; in nv04_timer_read() local
59 struct nvkm_device *device = tmr->subdev.device; in nv04_timer_alarm_fini() local
66 struct nvkm_device *device = tmr->subdev.device; in nv04_timer_alarm_init() local
75 struct nvkm_device *device = subdev->device; in nv04_timer_intr() local
94 struct nvkm_device *device = subdev->device; in nv04_timer_init() local
148 nv04_timer_new(struct nvkm_device *device, int index, struct nvkm_timer **ptmr) in nv04_timer_new()
Dnv40.c31 struct nvkm_device *device = subdev->device; in nv40_timer_init() local
85 nv40_timer_new(struct nvkm_device *device, int index, struct nvkm_timer **ptmr) in nv40_timer_new()
/linux-4.4.14/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 …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
Dgf119.c30 struct nvkm_device *device = subdev->device; in pwm_info() local
55 struct nvkm_device *device = therm->subdev.device; in gf119_fan_pwm_ctrl() local
69 struct nvkm_device *device = therm->subdev.device; in gf119_fan_pwm_get() local
91 struct nvkm_device *device = therm->subdev.device; in gf119_fan_pwm_set() local
108 struct nvkm_device *device = therm->subdev.device; in gf119_fan_pwm_clock() local
121 struct nvkm_device *device = therm->subdev.device; in gf119_therm_init() local
149 gf119_therm_new(struct nvkm_device *device, int index, in gf119_therm_new()
Dg84.c32 struct nvkm_device *device = therm->subdev.device; in g84_temp_get() local
43 struct nvkm_device *device = therm->subdev.device; in g84_sensor_setup() local
58 struct nvkm_device *device = subdev->device; in g84_therm_program_alarms() local
100 struct nvkm_device *device = therm->subdev.device; in g84_therm_threshold_hyst_emulation() local
142 struct nvkm_device *device = subdev->device; in g84_therm_intr() local
196 struct nvkm_device *device = therm->subdev.device; in g84_therm_fini() local
226 g84_therm_new(struct nvkm_device *device, int index, struct nvkm_therm **ptherm) in g84_therm_new()
Dnv40.c55 struct nvkm_device *device = therm->subdev.device; in nv40_sensor_setup() local
75 struct nvkm_device *device = therm->subdev.device; in nv40_temp_get() local
109 struct nvkm_device *device = subdev->device; in nv40_fan_pwm_ctrl() local
124 struct nvkm_device *device = subdev->device; in nv40_fan_pwm_get() local
152 struct nvkm_device *device = subdev->device; in nv40_fan_pwm_set() local
171 struct nvkm_device *device = subdev->device; in nv40_therm_intr() local
200 nv40_therm_new(struct nvkm_device *device, int index, in nv40_therm_new()
Dnv50.c57 struct nvkm_device *device = therm->subdev.device; in nv50_fan_pwm_ctrl() local
68 struct nvkm_device *device = therm->subdev.device; in nv50_fan_pwm_get() local
85 struct nvkm_device *device = therm->subdev.device; in nv50_fan_pwm_set() local
98 struct nvkm_device *device = therm->subdev.device; in nv50_fan_pwm_clock() local
123 struct nvkm_device *device = therm->subdev.device; in nv50_sensor_setup() local
131 struct nvkm_device *device = therm->subdev.device; in nv50_temp_get() local
172 nv50_therm_new(struct nvkm_device *device, int index, in nv50_therm_new()
Dgt215.c31 struct nvkm_device *device = therm->subdev.device; in gt215_therm_fan_sense() local
42 struct nvkm_device *device = therm->subdev.device; in gt215_therm_init() local
71 gt215_therm_new(struct nvkm_device *device, int index, in gt215_therm_new()
Dgm107.c36 struct nvkm_device *device = therm->subdev.device; in gm107_fan_pwm_get() local
45 struct nvkm_device *device = therm->subdev.device; in gm107_fan_pwm_set() local
71 gm107_therm_new(struct nvkm_device *device, int index, in gm107_therm_new()
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_backlight.c43 struct nvif_object *device = &drm->device.object; in nv40_get_intensity() local
54 struct nvif_object *device = &drm->device.object; in nv40_set_intensity() local
74 struct nvif_object *device = &drm->device.object; in nv40_backlight_init() local
100 struct nvif_object *device = &drm->device.object; in nv50_get_intensity() local
115 struct nvif_object *device = &drm->device.object; in nv50_set_intensity() local
136 struct nvif_object *device = &drm->device.object; in nva3_get_intensity() local
154 struct nvif_object *device = &drm->device.object; in nva3_set_intensity() local
180 struct nvif_object *device = &drm->device.object; in nv50_backlight_init() local
221 struct nvif_device *device = &drm->device; in nouveau_backlight_init() local
Dnouveau_chan.c89 nouveau_channel_prep(struct nouveau_drm *drm, struct nvif_device *device, in nouveau_channel_prep()
186 nouveau_channel_ind(struct nouveau_drm *drm, struct nvif_device *device, in nouveau_channel_ind()
255 nouveau_channel_dma(struct nouveau_drm *drm, struct nvif_device *device, in nouveau_channel_dma()
295 struct nvif_device *device = chan->device; in nouveau_channel_init() local
400 nouveau_channel_new(struct nouveau_drm *drm, struct nvif_device *device, in nouveau_channel_new()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/ibus/
Dgf100.c29 struct nvkm_device *device = ibus->device; in gf100_ibus_intr_hub() local
40 struct nvkm_device *device = ibus->device; in gf100_ibus_intr_rop() local
51 struct nvkm_device *device = ibus->device; in gf100_ibus_intr_gpc() local
62 struct nvkm_device *device = ibus->device; in gf100_ibus_intr() local
98 struct nvkm_device *device = ibus->device; in gf100_ibus_init() local
114 gf100_ibus_new(struct nvkm_device *device, int index, in gf100_ibus_new()
Dgk104.c29 struct nvkm_device *device = ibus->device; in gk104_ibus_intr_hub() local
40 struct nvkm_device *device = ibus->device; in gk104_ibus_intr_rop() local
51 struct nvkm_device *device = ibus->device; in gk104_ibus_intr_gpc() local
62 struct nvkm_device *device = ibus->device; in gk104_ibus_intr() local
98 struct nvkm_device *device = ibus->device; in gk104_ibus_init() local
117 gk104_ibus_new(struct nvkm_device *device, int index, in gk104_ibus_new()
Dgk20a.c28 struct nvkm_device *device = ibus->device; in gk20a_ibus_init_ibus_ring() local
51 struct nvkm_device *device = ibus->device; in gk20a_ibus_intr() local
81 gk20a_ibus_new(struct nvkm_device *device, int index, in gk20a_ibus_new()
Dgf117.c29 struct nvkm_device *device = ibus->device; in gf117_ibus_init() local
43 gf117_ibus_new(struct nvkm_device *device, int index, in gf117_ibus_new()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/pm/
Dgf100.c131 struct nvkm_device *device = pm->engine.subdev.device; in gf100_perfctr_init() local
149 struct nvkm_device *device = pm->engine.subdev.device; in gf100_perfctr_read() local
163 struct nvkm_device *device = pm->engine.subdev.device; in gf100_perfctr_next() local
178 struct nvkm_device *device = pm->engine.subdev.device; in gf100_pm_fini() local
189 gf100_pm_new_(const struct gf100_pm_func *func, struct nvkm_device *device, in gf100_pm_new_()
240 gf100_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) in gf100_pm_new()
Dnv40.c30 struct nvkm_device *device = pm->engine.subdev.device; in nv40_perfctr_init() local
47 struct nvkm_device *device = pm->engine.subdev.device; in nv40_perfctr_read() local
61 struct nvkm_device *device = pm->engine.subdev.device; in nv40_perfctr_next() local
80 nv40_pm_new_(const struct nvkm_specdom *doms, struct nvkm_device *device, in nv40_pm_new_()
118 nv40_pm_new(struct nvkm_device *device, int index, struct nvkm_pm **ppm) in nv40_pm_new()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dgk104.c52 struct nvkm_device *device = clk->base.subdev.device; in read_vco() local
62 struct nvkm_device *device = clk->base.subdev.device; in read_pll() local
108 struct nvkm_device *device = clk->base.subdev.device; in read_div() local
135 struct nvkm_device *device = clk->base.subdev.device; in read_mem() local
147 struct nvkm_device *device = clk->base.subdev.device; in read_clk() local
193 struct nvkm_device *device = subdev->device; in gk104_clk_read() local
360 struct nvkm_device *device = clk->base.subdev.device; in gk104_clk_prog_0() local
370 struct nvkm_device *device = clk->base.subdev.device; in gk104_clk_prog_1_0() local
381 struct nvkm_device *device = clk->base.subdev.device; in gk104_clk_prog_1_1() local
389 struct nvkm_device *device = clk->base.subdev.device; in gk104_clk_prog_2() local
[all …]
Dgt215.c45 struct nvkm_device *device = clk->base.subdev.device; in read_vco() local
63 struct nvkm_device *device = clk->base.subdev.device; in read_clk() local
110 struct nvkm_device *device = clk->base.subdev.device; in read_pll() local
144 struct nvkm_device *device = subdev->device; in gt215_clk_read() local
306 struct nvkm_device *device = clk->subdev.device; in gt215_clk_pre() local
341 struct nvkm_device *device = clk->subdev.device; in gt215_clk_post() local
354 struct nvkm_device *device = clk->base.subdev.device; in disable_clk_src() local
363 struct nvkm_device *device = clk->base.subdev.device; in prog_pll() local
407 struct nvkm_device *device = clk->base.subdev.device; in prog_clk() local
415 struct nvkm_device *device = clk->base.subdev.device; in prog_host() local
[all …]
Dgf100.c51 struct nvkm_device *device = clk->base.subdev.device; in read_vco() local
61 struct nvkm_device *device = clk->base.subdev.device; in read_pll() local
100 struct nvkm_device *device = clk->base.subdev.device; in read_div() local
127 struct nvkm_device *device = clk->base.subdev.device; in read_clk() local
154 struct nvkm_device *device = subdev->device; in gf100_clk_read() local
339 struct nvkm_device *device = clk->base.subdev.device; in gf100_clk_prog_0() local
349 struct nvkm_device *device = clk->base.subdev.device; in gf100_clk_prog_1() local
361 struct nvkm_device *device = clk->base.subdev.device; in gf100_clk_prog_2() local
382 struct nvkm_device *device = clk->base.subdev.device; in gf100_clk_prog_3() local
397 struct nvkm_device *device = clk->base.subdev.device; in gf100_clk_prog_4() local
[all …]
Dnv50.c34 struct nvkm_device *device = clk->base.subdev.device; in read_div() local
55 struct nvkm_device *device = subdev->device; in read_pll_src() local
128 struct nvkm_device *device = subdev->device; in read_pll_ref() local
160 struct nvkm_device *device = clk->base.subdev.device; in read_pll() local
196 struct nvkm_device *device = subdev->device; in nv50_clk_read() local
373 struct nvkm_device *device = subdev->device; in nv50_clk_calc() local
509 nv50_clk_new_(const struct nvkm_clk_func *func, struct nvkm_device *device, in nv50_clk_new_()
558 nv50_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) in nv50_clk_new()
Dnv40.c42 struct nvkm_device *device = clk->base.subdev.device; in read_pll_1() local
58 struct nvkm_device *device = clk->base.subdev.device; in read_pll_2() local
101 struct nvkm_device *device = subdev->device; in nv40_clk_read() local
189 struct nvkm_device *device = clk->base.subdev.device; in nv40_clk_prog() local
221 nv40_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) in nv40_clk_new()
Dgk20a.c127 struct nvkm_device *device = clk->base.subdev.device; in gk20a_pllg_read_mnp() local
271 struct nvkm_device *device = subdev->device; in gk20a_pllg_slide() local
329 struct nvkm_device *device = clk->base.subdev.device; in _gk20a_pllg_enable() local
337 struct nvkm_device *device = clk->base.subdev.device; in _gk20a_pllg_disable() local
346 struct nvkm_device *device = subdev->device; in _gk20a_pllg_program_mnp() local
445 struct nvkm_device *device = clk->base.subdev.device; in gk20a_pllg_disable() local
567 struct nvkm_device *device = subdev->device; in gk20a_clk_read() local
615 struct nvkm_device *device = subdev->device; in gk20a_clk_init() local
647 gk20a_clk_new(struct nvkm_device *device, int index, struct nvkm_clk **pclk) in gk20a_clk_new()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dgf100.c41 struct nvkm_device *device = subdev->device; in gf100_fb_intr() local
53 struct nvkm_device *device = fb->base.subdev.device; in gf100_fb_init() local
65 struct nvkm_device *device = fb->base.subdev.device; in gf100_fb_dtor() local
77 gf100_fb_new_(const struct nvkm_fb_func *func, struct nvkm_device *device, in gf100_fb_new_()
108 gf100_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) in gf100_fb_new()
Dnv50.c157 struct nvkm_device *device = subdev->device; in nv50_fb_intr() local
217 struct nvkm_device *device = fb->base.subdev.device; in nv50_fb_init() local
234 struct nvkm_device *device = fb->base.subdev.device; in nv50_fb_dtor() local
255 nv50_fb_new_(const struct nv50_fb_func *func, struct nvkm_device *device, in nv50_fb_new_()
286 nv50_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) in nv50_fb_new()
Dnv44.c42 struct nvkm_device *device = fb->subdev.device; in nv44_fb_tile_prog() local
52 struct nvkm_device *device = fb->subdev.device; in nv44_fb_init() local
69 nv44_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) in nv44_fb_new()
Dbase.c54 struct nvkm_device *device = fb->subdev.device; in nvkm_fb_tile_prog() local
68 struct nvkm_device *device = subdev->device; in nvkm_fb_bios_memtype() local
156 nvkm_fb_ctor(const struct nvkm_fb_func *func, struct nvkm_device *device, in nvkm_fb_ctor()
165 nvkm_fb_new_(const struct nvkm_fb_func *func, struct nvkm_device *device, in nvkm_fb_new_()
Dgk20a.c27 struct nvkm_device *device = fb->subdev.device; in gk20a_fb_init() local
38 gk20a_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) in gk20a_fb_new()
Dnv04.c39 struct nvkm_device *device = fb->subdev.device; in nv04_fb_init() local
56 nv04_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) in nv04_fb_new()
Dnv41.c32 struct nvkm_device *device = fb->subdev.device; in nv41_fb_tile_prog() local
59 nv41_fb_new(struct nvkm_device *device, int index, struct nvkm_fb **pfb) in nv41_fb_new()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
Dnv04.c44 struct nvkm_device *device = mc->subdev.device; in nv04_mc_intr_unarm() local
52 struct nvkm_device *device = mc->subdev.device; in nv04_mc_intr_rearm() local
65 struct nvkm_device *device = mc->subdev.device; in nv04_mc_init() local
80 nv04_mc_new(struct nvkm_device *device, int index, struct nvkm_mc **pmc) in nv04_mc_new()
Dgf100.c54 struct nvkm_device *device = mc->subdev.device; in gf100_mc_intr_unarm() local
63 struct nvkm_device *device = mc->subdev.device; in gf100_mc_intr_rearm() local
71 struct nvkm_device *device = mc->subdev.device; in gf100_mc_intr_mask() local
94 gf100_mc_new(struct nvkm_device *device, int index, struct nvkm_mc **pmc) in gf100_mc_new()
Dnv44.c29 struct nvkm_device *device = mc->subdev.device; in nv44_mc_init() local
50 nv44_mc_new(struct nvkm_device *device, int index, struct nvkm_mc **pmc) in nv44_mc_new()
Dnv50.c47 struct nvkm_device *device = mc->subdev.device; in nv50_mc_init() local
61 nv50_mc_new(struct nvkm_device *device, int index, struct nvkm_mc **pmc) in nv50_mc_new()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
Dnv10.c31 struct nvkm_device *device = gpio->subdev.device; in nv10_gpio_sense() local
54 struct nvkm_device *device = gpio->subdev.device; in nv10_gpio_drive() local
85 struct nvkm_device *device = gpio->subdev.device; in nv10_gpio_intr_stat() local
96 struct nvkm_device *device = gpio->subdev.device; in nv10_gpio_intr_mask() local
115 nv10_gpio_new(struct nvkm_device *device, int index, struct nvkm_gpio **pgpio) in nv10_gpio_new()
Dnv50.c29 struct nvkm_device *device = gpio->subdev.device; in nv50_gpio_reset() local
73 struct nvkm_device *device = gpio->subdev.device; in nv50_gpio_drive() local
86 struct nvkm_device *device = gpio->subdev.device; in nv50_gpio_sense() local
98 struct nvkm_device *device = gpio->subdev.device; in nv50_gpio_intr_stat() local
109 struct nvkm_device *device = gpio->subdev.device; in nv50_gpio_intr_mask() local
129 nv50_gpio_new(struct nvkm_device *device, int index, struct nvkm_gpio **pgpio) in nv50_gpio_new()
Dgf119.c29 struct nvkm_device *device = gpio->subdev.device; in gf119_gpio_reset() local
58 struct nvkm_device *device = gpio->subdev.device; in gf119_gpio_drive() local
68 struct nvkm_device *device = gpio->subdev.device; in gf119_gpio_sense() local
83 gf119_gpio_new(struct nvkm_device *device, int index, struct nvkm_gpio **pgpio) in gf119_gpio_new()
Dg94.c29 struct nvkm_device *device = gpio->subdev.device; in g94_gpio_intr_stat() local
43 struct nvkm_device *device = gpio->subdev.device; in g94_gpio_intr_mask() local
71 g94_gpio_new(struct nvkm_device *device, int index, struct nvkm_gpio **pgpio) in g94_gpio_new()
Dgk104.c29 struct nvkm_device *device = gpio->subdev.device; in gk104_gpio_intr_stat() local
43 struct nvkm_device *device = gpio->subdev.device; in gk104_gpio_intr_mask() local
71 gk104_gpio_new(struct nvkm_device *device, int index, struct nvkm_gpio **pgpio) in gk104_gpio_new()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
Dgk104.c34 magic_(struct nvkm_device *device, u32 ctrl, int size) in magic_()
50 magic(struct nvkm_device *device, u32 ctrl) in magic()
59 struct nvkm_device *device = pmu->subdev.device; in gk104_pmu_pgob() local
116 gk104_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) in gk104_pmu_new()
Dbase.c40 struct nvkm_device *device = subdev->device; in nvkm_pmu_send() local
95 struct nvkm_device *device = subdev->device; in nvkm_pmu_recv() local
147 struct nvkm_device *device = pmu->subdev.device; in nvkm_pmu_intr() local
186 struct nvkm_device *device = pmu->subdev.device; in nvkm_pmu_fini() local
197 struct nvkm_device *device = pmu->subdev.device; in nvkm_pmu_init() local
269 nvkm_pmu_new_(const struct nvkm_pmu_func *func, struct nvkm_device *device, in nvkm_pmu_new_()
Dgt215.c30 struct nvkm_device *device = pmu->subdev.device; in gt215_pmu_reset() local
45 gt215_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) in gt215_pmu_new()
Dmemx.c19 struct nvkm_device *device = memx->pmu->subdev.device; in memx_out() local
45 struct nvkm_device *device = pmu->subdev.device; in nvkm_memx_init() local
76 struct nvkm_device *device = subdev->device; in nvkm_memx_fini() local
127 struct nvkm_device *device = subdev->device; in nvkm_memx_wait_vblank() local
167 struct nvkm_device *device = pmu->subdev.device; in nvkm_memx_train_result() local
Dgk20a.c103 struct nvkm_device *device = pmu->base.subdev.device; in gk20a_pmu_dvfs_get_dev_status() local
112 struct nvkm_device *device = pmu->base.subdev.device; in gk20a_pmu_dvfs_reset_dev_status() local
125 struct nvkm_device *device = subdev->device; in gk20a_pmu_dvfs_work() local
187 struct nvkm_device *device = pmu->base.subdev.device; in gk20a_pmu_init() local
213 gk20a_pmu_new(struct nvkm_device *device, int index, struct nvkm_pmu **ppmu) in gk20a_pmu_new()
/linux-4.4.14/drivers/firewire/
Dcore-device.c243 int fw_device_enable_phys_dma(struct fw_device *device) in fw_device_enable_phys_dma()
385 struct fw_device *device = fw_device(dev->parent); in rom_index_show() local
401 struct fw_device *device = fw_device(dev); in config_rom_show() local
415 struct fw_device *device = fw_device(dev); in guid_show() local
429 struct fw_device *device = fw_device(dev); in is_local_show() local
459 struct fw_device *device = fw_device(dev); in units_show() local
488 static int read_rom(struct fw_device *device, in read_rom()
520 static int read_config_rom(struct fw_device *device, int generation) in read_config_rom()
702 static void create_units(struct fw_device *device) in create_units()
746 static int shutdown_unit(struct device *device, void *data) in shutdown_unit()
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
Dnv04.c29 struct nvkm_device *device = pci->subdev.device; in nv04_pci_rd32() local
36 struct nvkm_device *device = pci->subdev.device; in nv04_pci_wr08() local
43 struct nvkm_device *device = pci->subdev.device; in nv04_pci_wr32() local
55 nv04_pci_new(struct nvkm_device *device, int index, struct nvkm_pci **ppci) in nv04_pci_new()
Dnv40.c29 struct nvkm_device *device = pci->subdev.device; in nv40_pci_rd32() local
36 struct nvkm_device *device = pci->subdev.device; in nv40_pci_wr08() local
43 struct nvkm_device *device = pci->subdev.device; in nv40_pci_wr32() local
62 nv40_pci_new(struct nvkm_device *device, int index, struct nvkm_pci **ppci) in nv40_pci_new()
Dnv46.c34 struct nvkm_device *device = pci->subdev.device; in nv46_pci_msi_rearm() local
48 nv46_pci_new(struct nvkm_device *device, int index, struct nvkm_pci **ppci) in nv46_pci_new()
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/
Dhw.h63 struct nvif_object *device = &nouveau_drm(dev)->device.object; in NVReadCRTC() local
74 struct nvif_object *device = &nouveau_drm(dev)->device.object; in NVWriteCRTC() local
83 struct nvif_object *device = &nouveau_drm(dev)->device.object; in NVReadRAMDAC() local
94 struct nvif_object *device = &nouveau_drm(dev)->device.object; in NVWriteRAMDAC() local
123 struct nvif_object *device = &nouveau_drm(dev)->device.object; in NVWriteVgaCrtc() local
131 struct nvif_object *device = &nouveau_drm(dev)->device.object; in NVReadVgaCrtc() local
168 struct nvif_object *device = &nouveau_drm(dev)->device.object; in NVReadPRMVIO() local
184 struct nvif_object *device = &nouveau_drm(dev)->device.object; in NVWritePRMVIO() local
197 struct nvif_object *device = &nouveau_drm(dev)->device.object; in NVSetEnablePalette() local
204 struct nvif_object *device = &nouveau_drm(dev)->device.object; in NVGetEnablePalette() local
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dtegra.c154 nvkm_device_tegra(struct nvkm_device *device) in nvkm_device_tegra()
160 nvkm_device_tegra_resource(struct nvkm_device *device, unsigned bar) in nvkm_device_tegra_resource()
167 nvkm_device_tegra_resource_addr(struct nvkm_device *device, unsigned bar) in nvkm_device_tegra_resource_addr()
174 nvkm_device_tegra_resource_size(struct nvkm_device *device, unsigned bar) in nvkm_device_tegra_resource_size()
195 nvkm_device_tegra_fini(struct nvkm_device *device, bool suspend) in nvkm_device_tegra_fini()
205 nvkm_device_tegra_init(struct nvkm_device *device) in nvkm_device_tegra_init()
224 nvkm_device_tegra_dtor(struct nvkm_device *device) in nvkm_device_tegra_dtor()
Dacpi.c32 struct nvkm_device *device = in nvkm_acpi_ntfy() local
44 nvkm_acpi_fini(struct nvkm_device *device) in nvkm_acpi_fini()
52 nvkm_acpi_init(struct nvkm_device *device) in nvkm_acpi_init()
Dpci.c28 u16 device; member
35 u16 device; member
1558 nvkm_device_pci(struct nvkm_device *device) in nvkm_device_pci()
1564 nvkm_device_pci_resource_addr(struct nvkm_device *device, unsigned bar) in nvkm_device_pci_resource_addr()
1571 nvkm_device_pci_resource_size(struct nvkm_device *device, unsigned bar) in nvkm_device_pci_resource_size()
1578 nvkm_device_pci_fini(struct nvkm_device *device, bool suspend) in nvkm_device_pci_fini()
1588 nvkm_device_pci_preinit(struct nvkm_device *device) in nvkm_device_pci_preinit()
1602 nvkm_device_pci_dtor(struct nvkm_device *device) in nvkm_device_pci_dtor()
Dbase.c38 struct nvkm_device *device; in nvkm_device_find_locked() local
49 struct nvkm_device *device; in nvkm_device_find() local
59 struct nvkm_device *device; in nvkm_device_list() local
2066 nvkm_device_subdev(struct nvkm_device *device, int index) in nvkm_device_subdev()
2106 nvkm_device_engine(struct nvkm_device *device, int index) in nvkm_device_engine()
2143 nvkm_device_fini(struct nvkm_device *device, bool suspend) in nvkm_device_fini()
2185 nvkm_device_preinit(struct nvkm_device *device) in nvkm_device_preinit()
2222 nvkm_device_init(struct nvkm_device *device) in nvkm_device_init()
2271 struct nvkm_device *device = *pdevice; in nvkm_device_del() local
2303 struct nvkm_device *device)
Duser.c38 struct nvkm_device *device; member
45 struct nvkm_device *device = udev->device; in nvkm_udevice_info() local
126 struct nvkm_device *device = udev->device; in nvkm_udevice_time() local
206 struct nvkm_device *device = udev->device; in nvkm_udevice_map() local
216 struct nvkm_device *device = udev->device; in nvkm_udevice_fini() local
237 struct nvkm_device *device = udev->device; in nvkm_udevice_init() local
268 struct nvkm_device *device = udev->device; in nvkm_udevice_child_get() local
/linux-4.4.14/drivers/dma/
Ddmaengine.c179 #define dma_device_satisfies_mask(device, mask) \ argument
182 __dma_device_satisfies_mask(struct dma_device *device, in __dma_device_satisfies_mask()
366 struct dma_device *device; in dma_issue_pending_all() local
402 struct dma_device *device; in min_chan() local
443 struct dma_device *device; in dma_channel_rebalance() local
473 struct dma_device *device; in dma_get_slave_caps() local
557 struct dma_device *device = chan->device; in dma_get_slave_channel() local
579 struct dma_chan *dma_get_any_slave_channel(struct dma_device *device) in dma_get_any_slave_channel()
622 struct dma_device *device, *_d; in __dma_request_channel() local
726 struct dma_device *device, *_d; in dmaengine_get() local
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
Dnv50.c38 struct nvkm_device *device = subdev->device; in nv50_devinit_pll_set() local
83 struct nvkm_device *device = init->subdev.device; in nv50_devinit_disable() local
98 struct nvkm_device *device = subdev->device; in nv50_devinit_preinit() local
127 struct nvkm_device *device = subdev->device; in nv50_devinit_init() local
158 struct nvkm_device *device, int index, in nv50_devinit_new_()
181 nv50_devinit_new(struct nvkm_device *device, int index, in nv50_devinit_new()
Dgm204.c33 struct nvkm_device *device = init->base.subdev.device; in pmu_code() local
53 struct nvkm_device *device = init->base.subdev.device; in pmu_data() local
65 struct nvkm_device *device = init->base.subdev.device; in pmu_args() local
74 struct nvkm_device *device = init->base.subdev.device; in pmu_exec() local
114 struct nvkm_device *device = subdev->device; in gm204_devinit_post() local
177 gm204_devinit_new(struct nvkm_device *device, int index, in gm204_devinit_new()
Dgt215.c35 struct nvkm_device *device = subdev->device; in gt215_devinit_pll_set() local
68 struct nvkm_device *device = init->subdev.device; in gt215_devinit_disable() local
105 struct nvkm_device *device = init->base.subdev.device; in gt215_devinit_mmio() local
149 gt215_devinit_new(struct nvkm_device *device, int index, in gt215_devinit_new()
Dnv04.c39 struct nvkm_device *device = subdev->device; in nv04_devinit_meminit() local
146 struct nvkm_device *device = init->subdev.device; in setPLL_single() local
201 struct nvkm_device *device = init->subdev.device; in setPLL_double_highregs() local
286 struct nvkm_device *device = init->subdev.device; in setPLL_double_lowregs() local
404 struct nvkm_device *device = subdev->device; in nv04_devinit_preinit() local
438 struct nvkm_device *device, int index, in nv04_devinit_new_()
462 nv04_devinit_new(struct nvkm_device *device, int index, in nv04_devinit_new()
Dgf100.c35 struct nvkm_device *device = subdev->device; in gf100_devinit_pll_set() local
69 struct nvkm_device *device = init->subdev.device; in gf100_devinit_disable() local
103 gf100_devinit_new(struct nvkm_device *device, int index, in gf100_devinit_new()
Dg84.c32 struct nvkm_device *device = init->subdev.device; in g84_devinit_disable() local
64 g84_devinit_new(struct nvkm_device *device, int index, in g84_devinit_new()
Dmcp89.c32 struct nvkm_device *device = init->subdev.device; in mcp89_devinit_disable() local
64 mcp89_devinit_new(struct nvkm_device *device, int index, in mcp89_devinit_new()
Dg98.c32 struct nvkm_device *device = init->subdev.device; in g98_devinit_disable() local
63 g98_devinit_new(struct nvkm_device *device, int index, in g98_devinit_new()
Dgm107.c32 struct nvkm_device *device = init->subdev.device; in gm107_devinit_disable() local
57 gm107_devinit_new(struct nvkm_device *device, int index, in gm107_devinit_new()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
Dbusgf119.c36 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in gf119_i2c_bus_drive_scl() local
44 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in gf119_i2c_bus_drive_sda() local
52 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in gf119_i2c_bus_sense_scl() local
60 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in gf119_i2c_bus_sense_sda() local
68 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in gf119_i2c_bus_init() local
Dbusnv50.c39 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv50_i2c_bus_drive_scl() local
49 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv50_i2c_bus_drive_sda() local
59 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv50_i2c_bus_sense_scl() local
67 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv50_i2c_bus_sense_sda() local
75 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv50_i2c_bus_init() local
Dbusnv4e.c36 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv4e_i2c_bus_drive_scl() local
44 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv4e_i2c_bus_drive_sda() local
52 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv4e_i2c_bus_sense_scl() local
60 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv4e_i2c_bus_sense_sda() local
Dbusnv04.c39 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv04_i2c_bus_drive_scl() local
50 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv04_i2c_bus_drive_sda() local
61 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv04_i2c_bus_sense_scl() local
69 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv04_i2c_bus_sense_sda() local
Dgk104.c30 struct nvkm_device *device = i2c->subdev.device; in gk104_aux_stat() local
45 struct nvkm_device *device = i2c->subdev.device; in gk104_aux_mask() local
69 gk104_i2c_new(struct nvkm_device *device, int index, struct nvkm_i2c **pi2c) in gk104_i2c_new()
Dg94.c30 struct nvkm_device *device = i2c->subdev.device; in g94_aux_stat() local
45 struct nvkm_device *device = i2c->subdev.device; in g94_aux_mask() local
69 g94_i2c_new(struct nvkm_device *device, int index, struct nvkm_i2c **pi2c) in g94_i2c_new()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/
Dnv31.c117 struct nvkm_device *device = mpeg->engine.subdev.device; in nv31_mpeg_tile() local
125 nv31_mpeg_mthd_dma(struct nvkm_device *device, u32 mthd, u32 data) in nv31_mpeg_mthd_dma()
166 struct nvkm_device *device = mpeg->engine.subdev.device; in nv31_mpeg_mthd() local
183 struct nvkm_device *device = subdev->device; in nv31_mpeg_intr() local
223 struct nvkm_device *device = subdev->device; in nv31_mpeg_init() local
271 nv31_mpeg_new_(const struct nv31_mpeg_func *func, struct nvkm_device *device, in nv31_mpeg_new_()
291 nv31_mpeg_new(struct nvkm_device *device, int index, struct nvkm_engine **pmpeg) in nv31_mpeg_new()
Dnv50.c63 struct nvkm_device *device = subdev->device; in nv50_mpeg_intr() local
91 struct nvkm_device *device = subdev->device; in nv50_mpeg_init() local
131 nv50_mpeg_new(struct nvkm_device *device, int index, struct nvkm_engine **pmpeg) in nv50_mpeg_new()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
Dnv50.c33 struct nvkm_device *device = bus->subdev.device; in nv50_bus_hwsq_exec() local
56 struct nvkm_device *device = subdev->device; in nv50_bus_intr() local
88 struct nvkm_device *device = bus->subdev.device; in nv50_bus_init() local
102 nv50_bus_new(struct nvkm_device *device, int index, struct nvkm_bus **pbus) in nv50_bus_new()
Dnv04.c35 struct nvkm_device *device = subdev->device; in nv04_bus_intr() local
61 struct nvkm_device *device = bus->subdev.device; in nv04_bus_init() local
73 nv04_bus_new(struct nvkm_device *device, int index, struct nvkm_bus **pbus) in nv04_bus_new()
Dgf100.c31 struct nvkm_device *device = subdev->device; in gf100_bus_intr() local
60 struct nvkm_device *device = bus->subdev.device; in gf100_bus_init() local
72 gf100_bus_new(struct nvkm_device *device, int index, struct nvkm_bus **pbus) in gf100_bus_new()
Dnv31.c34 struct nvkm_device *device = subdev->device; in nv31_bus_intr() local
73 struct nvkm_device *device = bus->subdev.device; in nv31_bus_init() local
85 nv31_bus_new(struct nvkm_device *device, int index, struct nvkm_bus **pbus) in nv31_bus_new()
Dg94.c32 struct nvkm_device *device = bus->subdev.device; in g94_bus_hwsq_exec() local
61 g94_bus_new(struct nvkm_device *device, int index, struct nvkm_bus **pbus) in g94_bus_new()
/linux-4.4.14/sound/i2c/
Di2c.c51 struct snd_i2c_device *device; in snd_i2c_bus_free() local
73 static int snd_i2c_bus_dev_free(struct snd_device *device) in snd_i2c_bus_dev_free()
116 struct snd_i2c_device *device; in snd_i2c_device_create() local
134 int snd_i2c_device_free(struct snd_i2c_device *device) in snd_i2c_device_free()
146 int snd_i2c_sendbytes(struct snd_i2c_device *device, unsigned char *bytes, int count) in snd_i2c_sendbytes()
153 int snd_i2c_readbytes(struct snd_i2c_device *device, unsigned char *bytes, int count) in snd_i2c_readbytes()
275 static int snd_i2c_bit_sendbytes(struct snd_i2c_device *device, in snd_i2c_bit_sendbytes()
301 static int snd_i2c_bit_readbytes(struct snd_i2c_device *device, in snd_i2c_bit_readbytes()
Dcs8427.c60 int snd_cs8427_reg_write(struct snd_i2c_device *device, unsigned char reg, in snd_cs8427_reg_write()
78 static int snd_cs8427_reg_read(struct snd_i2c_device *device, unsigned char reg) in snd_cs8427_reg_read()
96 static int snd_cs8427_select_corudata(struct snd_i2c_device *device, int udata) in snd_cs8427_select_corudata()
113 static int snd_cs8427_send_corudata(struct snd_i2c_device *device, in snd_cs8427_send_corudata()
148 static void snd_cs8427_free(struct snd_i2c_device *device) in snd_cs8427_free()
154 struct snd_i2c_device *device) in snd_cs8427_init()
271 struct snd_i2c_device *device; in snd_cs8427_create() local
373 struct snd_i2c_device *device = snd_kcontrol_chip(kcontrol); in snd_cs8427_in_status_get() local
396 struct snd_i2c_device *device = snd_kcontrol_chip(kcontrol); in snd_cs8427_qsubcode_get() local
429 struct snd_i2c_device *device = snd_kcontrol_chip(kcontrol); in snd_cs8427_spdif_get() local
[all …]
/linux-4.4.14/drivers/net/hyperv/
Dnetvsc.c37 static struct netvsc_device *alloc_net_device(struct hv_device *device) in alloc_net_device()
74 static struct netvsc_device *get_outbound_net_device(struct hv_device *device) in get_outbound_net_device()
85 static struct netvsc_device *get_inbound_net_device(struct hv_device *device) in get_inbound_net_device()
224 static int netvsc_init_buf(struct hv_device *device) in netvsc_init_buf()
421 static int negotiate_nvsp_ver(struct hv_device *device, in negotiate_nvsp_ver()
474 static int netvsc_connect_vsp(struct hv_device *device) in netvsc_connect_vsp()
552 int netvsc_device_remove(struct hv_device *device) in netvsc_device_remove()
613 struct hv_device *device, in netvsc_send_completion()
842 int netvsc_send(struct hv_device *device, in netvsc_send()
954 static void netvsc_send_recv_completion(struct hv_device *device, in netvsc_send_recv_completion()
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bar/
Dnv50.c48 struct nvkm_device *device = bar->base.subdev.device; in nv50_bar_flush() local
63 struct nvkm_device *device = bar->base.subdev.device; in nv50_bar_oneinit() local
151 struct nvkm_device *device = bar->base.subdev.device; in nv50_bar_init() local
190 nv50_bar_new_(const struct nvkm_bar_func *func, struct nvkm_device *device, in nv50_bar_new_()
213 nv50_bar_new(struct nvkm_device *device, int index, struct nvkm_bar **pbar) in nv50_bar_new()
Dgf100.c47 struct nvkm_device *device = bar->base.subdev.device; in gf100_bar_ctor_vm() local
121 struct nvkm_device *device = bar->base.subdev.device; in gf100_bar_init() local
157 gf100_bar_new_(const struct nvkm_bar_func *func, struct nvkm_device *device, in gf100_bar_new_()
179 gf100_bar_new(struct nvkm_device *device, int index, struct nvkm_bar **pbar) in gf100_bar_new()
Dg84.c31 struct nvkm_device *device = bar->subdev.device; in g84_bar_flush() local
53 g84_bar_new(struct nvkm_device *device, int index, struct nvkm_bar **pbar) in g84_bar_new()
/linux-4.4.14/include/linux/
Ddevice.h764 struct device { struct
765 struct device *parent; argument
767 struct device_private *p; argument
770 const char *init_name; /* initial name of the device */ argument
771 const struct device_type *type; argument
777 struct bus_type *bus; /* type of bus device is on */ argument
778 struct device_driver *driver; /* which driver has allocated this argument
780 void *platform_data; /* Platform specific data, device argument
798 int numa_node; /* NUMA node this device is close to */ argument
800 u64 *dma_mask; /* dma mask (if dma'able device) */ argument
[all …]
/linux-4.4.14/drivers/hid/
Dhid-roccat.c65 struct roccat_device *device; member
80 struct roccat_device *device = reader->device; in roccat_read() local
155 struct roccat_device *device; in roccat_open() local
210 struct roccat_device *device; in roccat_release() local
252 struct roccat_device *device; in roccat_report_event() local
300 struct roccat_device *device; in roccat_connect() local
356 struct roccat_device *device; in roccat_disconnect() local
382 struct roccat_device *device; in roccat_ioctl() local
/linux-4.4.14/drivers/base/
Dattribute_container.c142 attribute_container_add_device(struct device *dev, in attribute_container_add_device()
207 attribute_container_remove_device(struct device *dev, in attribute_container_remove_device()
251 attribute_container_device_trigger(struct device *dev, in attribute_container_device_trigger()
292 attribute_container_trigger(struct device *dev, in attribute_container_trigger()
/linux-4.4.14/drivers/infiniband/hw/usnic/
Dusnic_ib_sysfs.c48 static ssize_t usnic_ib_show_fw_ver(struct device *device, in usnic_ib_show_fw_ver()
63 static ssize_t usnic_ib_show_board(struct device *device, in usnic_ib_show_board()
82 usnic_ib_show_config(struct device *device, struct device_attribute *attr, in usnic_ib_show_config()
145 usnic_ib_show_iface(struct device *device, struct device_attribute *attr, in usnic_ib_show_iface()
157 usnic_ib_show_max_vf(struct device *device, struct device_attribute *attr, in usnic_ib_show_max_vf()
169 usnic_ib_show_qp_per_vf(struct device *device, struct device_attribute *attr, in usnic_ib_show_qp_per_vf()
184 usnic_ib_show_cq_per_vf(struct device *device, struct device_attribute *attr, in usnic_ib_show_cq_per_vf()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvif/
Ddevice.c28 nvif_device_time(struct nvif_device *device) in nvif_device_time()
38 nvif_device_fini(struct nvif_device *device) in nvif_device_fini()
45 void *data, u32 size, struct nvif_device *device) in nvif_device_init()
/linux-4.4.14/arch/powerpc/sysdev/
Daxonram.c62 struct platform_device *device; member
74 struct platform_device *device = to_platform_device(dev); in axon_ram_sysfs_ecc() local
92 struct platform_device *device = dev; in axon_ram_irq_handler() local
144 axon_ram_direct_access(struct block_device *device, sector_t sector, in axon_ram_direct_access()
166 static int axon_ram_probe(struct platform_device *device) in axon_ram_probe()
295 axon_ram_remove(struct platform_device *device) in axon_ram_remove()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dshadowrom.c30 struct nvkm_device *device = data; in prom_read() local
43 struct nvkm_device *device = data; in prom_fini() local
50 struct nvkm_device *device = bios->subdev.device; in prom_init() local
Dshadowramin.c33 struct nvkm_device *device = bios->subdev.device; in pramin_read() local
48 struct nvkm_device *device = priv->bios->subdev.device; in pramin_fini() local
58 struct nvkm_device *device = subdev->device; in pramin_init() local
/linux-4.4.14/drivers/misc/mei/
Dpci-txe.c242 static int mei_txe_pci_suspend(struct device *device) in mei_txe_pci_suspend()
262 static int mei_txe_pci_resume(struct device *device) in mei_txe_pci_resume()
300 static int mei_txe_pm_runtime_idle(struct device *device) in mei_txe_pm_runtime_idle()
315 static int mei_txe_pm_runtime_suspend(struct device *device) in mei_txe_pm_runtime_suspend()
350 static int mei_txe_pm_runtime_resume(struct device *device) in mei_txe_pm_runtime_resume()
Dpci-me.c299 static int mei_me_pci_suspend(struct device *device) in mei_me_pci_suspend()
319 static int mei_me_pci_resume(struct device *device) in mei_me_pci_resume()
358 static int mei_me_pm_runtime_idle(struct device *device) in mei_me_pm_runtime_idle()
374 static int mei_me_pm_runtime_suspend(struct device *device) in mei_me_pm_runtime_suspend()
400 static int mei_me_pm_runtime_resume(struct device *device) in mei_me_pm_runtime_resume()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
Dnv41.c72 struct nvkm_device *device = mmu->base.subdev.device; in nv41_vm_flush() local
92 struct nvkm_device *device = mmu->base.subdev.device; in nv41_mmu_oneinit() local
111 struct nvkm_device *device = mmu->base.subdev.device; in nv41_mmu_init() local
134 nv41_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) in nv41_mmu_new()
Dnv04.c79 struct nvkm_device *device = mmu->base.subdev.device; in nv04_mmu_oneinit() local
107 struct nvkm_device *device = mmu->base.subdev.device; in nv04_mmu_dtor() local
120 nv04_mmu_new_(const struct nvkm_mmu_func *func, struct nvkm_device *device, in nv04_mmu_new_()
146 nv04_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) in nv04_mmu_new()
Dnv44.c147 struct nvkm_device *device = mmu->base.subdev.device; in nv44_vm_flush() local
165 struct nvkm_device *device = mmu->base.subdev.device; in nv44_mmu_oneinit() local
192 struct nvkm_device *device = mmu->base.subdev.device; in nv44_mmu_init() local
229 nv44_mmu_new(struct nvkm_device *device, int index, struct nvkm_mmu **pmmu) in nv44_mmu_new()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/
Dfalcon.c62 struct nvkm_device *device = subdev->device; in nvkm_falcon_intr() local
98 struct nvkm_device *device = falcon->engine.subdev.device; in nvkm_falcon_fini() local
130 struct nvkm_device *device = subdev->device; in nvkm_falcon_oneinit() local
161 struct nvkm_device *device = subdev->device; in nvkm_falcon_init() local
336 struct nvkm_device *device, int index, bool enable, in nvkm_falcon_new_()
Dxtensa.c61 struct nvkm_device *device = subdev->device; in nvkm_xtensa_intr() local
82 struct nvkm_device *device = xtensa->engine.subdev.device; in nvkm_xtensa_fini() local
98 struct nvkm_device *device = subdev->device; in nvkm_xtensa_init() local
179 struct nvkm_device *device, int index, bool enable, in nvkm_xtensa_new_()
/linux-4.4.14/drivers/vfio/
Dvfio.c369 struct vfio_device *device; in vfio_group_create_device() local
394 struct vfio_device *device = container_of(kref, in vfio_device_release() local
410 void vfio_device_put(struct vfio_device *device) in vfio_device_put()
418 static void vfio_device_get(struct vfio_device *device) in vfio_device_get()
427 struct vfio_device *device; in vfio_group_get_device() local
494 struct vfio_device *device; in vfio_dev_viable() local
525 struct vfio_device *device; in vfio_group_nb_add_dev() local
635 struct vfio_device *device; in vfio_add_group_dev() local
693 struct vfio_device *device; in vfio_device_get_from_dev() local
714 struct vfio_device *it, *device = NULL; in vfio_device_get_from_name() local
[all …]
/linux-4.4.14/drivers/gpu/drm/
Ddrm_sysfs.c164 static ssize_t status_store(struct device *device, in status_store()
218 static ssize_t status_show(struct device *device, in status_show()
228 static ssize_t dpms_show(struct device *device, in dpms_show()
241 static ssize_t enabled_show(struct device *device, in enabled_show()
278 static ssize_t modes_show(struct device *device, in modes_show()
294 static ssize_t tv_subconnector_show(struct device *device, in tv_subconnector_show()
318 static ssize_t tv_select_subconnector_show(struct device *device, in tv_select_subconnector_show()
342 static ssize_t dvii_subconnector_show(struct device *device, in dvii_subconnector_show()
366 static ssize_t dvii_select_subconnector_show(struct device *device, in dvii_select_subconnector_show()
/linux-4.4.14/sound/core/
Dhwdep.c46 static struct snd_hwdep *snd_hwdep_search(struct snd_card *card, int device) in snd_hwdep_search()
277 int device; in snd_hwdep_control_ioctl() local
305 int device, err; in snd_hwdep_control_ioctl() local
365 int snd_hwdep_new(struct snd_card *card, char *id, int device, in snd_hwdep_new()
410 static int snd_hwdep_dev_free(struct snd_device *device) in snd_hwdep_dev_free()
421 static int snd_hwdep_dev_register(struct snd_device *device) in snd_hwdep_dev_register()
463 static int snd_hwdep_dev_disconnect(struct snd_device *device) in snd_hwdep_dev_disconnect()
/linux-4.4.14/sound/usb/6fire/
Dfirmware.c162 static int usb6fire_fw_ezusb_write(struct usb_device *device, in usb6fire_fw_ezusb_write()
177 static int usb6fire_fw_ezusb_read(struct usb_device *device, in usb6fire_fw_ezusb_read()
190 static int usb6fire_fw_fpga_write(struct usb_device *device, in usb6fire_fw_fpga_write()
211 struct usb_device *device = interface_to_usbdev(intf); in usb6fire_fw_ezusb_upload() local
288 struct usb_device *device = interface_to_usbdev(intf); in usb6fire_fw_fpga_upload() local
364 struct usb_device *device = interface_to_usbdev(intf); in usb6fire_fw_init() local
/linux-4.4.14/drivers/infiniband/ulp/iser/
Diser_initiator.c164 struct iser_device *device = iser_conn->ib_conn.device; in iser_create_send_desc() local
176 struct iser_device *device = iser_conn->ib_conn.device; in iser_free_login_buf() local
201 struct iser_device *device = iser_conn->ib_conn.device; in iser_alloc_login_buf() local
255 struct iser_device *device = ib_conn->device; in iser_alloc_rx_descriptors() local
314 struct iser_device *device = ib_conn->device; in iser_free_rx_descriptors() local
512 struct iser_device *device; in iser_send_control() local
624 struct iser_device *device = ib_conn->device; in iser_snd_completion() local
Diser_memory.c70 int iser_assign_reg_ops(struct iser_device *device) in iser_assign_reg_ops()
248 iser_reg_dma(struct iser_device *device, struct iser_data_buf *mem, in iser_reg_dma()
277 struct iser_device *device = ib_conn->device; in iser_fast_reg_fmr() local
343 struct iser_device *device = iser_task->iser_conn->ib_conn.device; in iser_unreg_mem_fastreg() local
533 struct iser_device *device = task->iser_conn->ib_conn.device; in iser_reg_prot_sg() local
548 struct iser_device *device = task->iser_conn->ib_conn.device; in iser_reg_data_sg() local
560 struct iser_device *device = ib_conn->device; in iser_reg_rdma_mem() local
616 struct iser_device *device = task->iser_conn->ib_conn.device; in iser_unreg_rdma_mem() local
Diser_verbs.c79 static int iser_create_device_ib_res(struct iser_device *device) in iser_create_device_ib_res()
178 static void iser_free_device_ib_res(struct iser_device *device) in iser_free_device_ib_res()
211 struct iser_device *device = ib_conn->device; in iser_alloc_fmr_pool() local
402 struct iser_device *device = ib_conn->device; in iser_alloc_fastreg_pool() local
466 struct iser_device *device; in iser_create_ib_conn_res() local
545 struct iser_device *device; in iser_device_find_by_ib_device() local
576 static void iser_device_try_release(struct iser_device *device) in iser_device_try_release()
638 struct iser_device *device = ib_conn->device; in iser_free_ib_conn_res() local
754 struct iser_device *device = iser_conn->ib_conn.device; in iser_calc_scsi_params() local
780 struct iser_device *device; in iser_addr_handler() local
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dnv04.c68 struct nvkm_device *device = iobj->imem->base.subdev.device; in nv04_instobj_acquire() local
81 struct nvkm_device *device = iobj->imem->base.subdev.device; in nv04_instobj_rd32() local
89 struct nvkm_device *device = iobj->imem->base.subdev.device; in nv04_instobj_wr32() local
157 struct nvkm_device *device = imem->base.subdev.device; in nv04_instmem_oneinit() local
217 nv04_instmem_new(struct nvkm_device *device, int index, in nv04_instmem_new()
/linux-4.4.14/drivers/xen/
Dxen-acpi-cpuhotplug.c43 static int xen_acpi_processor_enable(struct acpi_device *device) in xen_acpi_processor_enable()
85 static int xen_acpi_processor_add(struct acpi_device *device) in xen_acpi_processor_add()
109 static int xen_acpi_processor_remove(struct acpi_device *device) in xen_acpi_processor_remove()
235 static int acpi_processor_device_remove(struct acpi_device *device) in acpi_processor_device_remove()
246 struct acpi_device *device = NULL; in acpi_processor_hotplug_notify() local
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/sw/
Dgf100.c44 struct nvkm_device *device = sw->engine.subdev.device; in gf100_sw_chan_vblsem_release() local
61 struct nvkm_device *device = engine->subdev.device; in gf100_sw_chan_mthd() local
152 gf100_sw_new(struct nvkm_device *device, int index, struct nvkm_sw **psw) in gf100_sw_new()
Dnv50.c44 struct nvkm_device *device = sw->engine.subdev.device; in nv50_sw_chan_vblsem_release() local
66 struct nvkm_device *device = engine->subdev.device; in nv50_sw_chan_mthd() local
145 nv50_sw_new(struct nvkm_device *device, int index, struct nvkm_sw **psw) in nv50_sw_new()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dsysfs.c445 static ssize_t show_rev(struct device *device, struct device_attribute *attr, in show_rev()
454 static ssize_t show_hfi(struct device *device, struct device_attribute *attr, in show_hfi()
469 static ssize_t show_boardversion(struct device *device, in show_boardversion()
481 static ssize_t show_nctxts(struct device *device, in show_nctxts()
499 static ssize_t show_nfreectxts(struct device *device, in show_nfreectxts()
510 static ssize_t show_serial(struct device *device, in show_serial()
521 static ssize_t store_chip_reset(struct device *device, in store_chip_reset()
551 static ssize_t show_tempsense(struct device *device, in show_tempsense()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/msvld/
Dg98.c31 struct nvkm_device *device = msvld->engine.subdev.device; in g98_msvld_init() local
47 g98_msvld_new(struct nvkm_device *device, int index, in g98_msvld_new()
Dgf100.c31 struct nvkm_device *device = msvld->engine.subdev.device; in gf100_msvld_init() local
47 gf100_msvld_new(struct nvkm_device *device, int index, in gf100_msvld_new()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/mspdec/
Dg98.c31 struct nvkm_device *device = mspdec->engine.subdev.device; in g98_mspdec_init() local
47 g98_mspdec_new(struct nvkm_device *device, int index, in g98_mspdec_new()
Dgf100.c31 struct nvkm_device *device = mspdec->engine.subdev.device; in gf100_mspdec_init() local
47 gf100_mspdec_new(struct nvkm_device *device, int index, in gf100_mspdec_new()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/msppp/
Dgf100.c31 struct nvkm_device *device = msppp->engine.subdev.device; in gf100_msppp_init() local
47 gf100_msppp_new(struct nvkm_device *device, int index, in gf100_msppp_new()
Dg98.c31 struct nvkm_device *device = msppp->engine.subdev.device; in g98_msppp_init() local
47 g98_msppp_new(struct nvkm_device *device, int index, in g98_msppp_new()
/linux-4.4.14/drivers/tty/serial/8250/
D8250_early.c97 struct earlycon_device *device = console->data; in early_serial8250_write() local
115 static void __init init_port(struct earlycon_device *device) in init_port()
136 int __init early_serial8250_setup(struct earlycon_device *device, in early_serial8250_setup()
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_sysfs.c501 static ssize_t show_rev(struct device *device, struct device_attribute *attr, in show_rev()
510 static ssize_t show_hca(struct device *device, struct device_attribute *attr, in show_hca()
525 static ssize_t show_version(struct device *device, in show_version()
532 static ssize_t show_boardversion(struct device *device, in show_boardversion()
544 static ssize_t show_localbus_info(struct device *device, in show_localbus_info()
556 static ssize_t show_nctxts(struct device *device, in show_nctxts()
571 static ssize_t show_nfreectxts(struct device *device, in show_nfreectxts()
582 static ssize_t show_serial(struct device *device, in show_serial()
595 static ssize_t store_chip_reset(struct device *device, in store_chip_reset()
617 static ssize_t show_tempsense(struct device *device, in show_tempsense()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/fuse/
Dgm107.c29 struct nvkm_device *device = fuse->subdev.device; in gm107_fuse_read() local
39 gm107_fuse_new(struct nvkm_device *device, int index, struct nvkm_fuse **pfuse) in gm107_fuse_new()
Dnv50.c29 struct nvkm_device *device = fuse->subdev.device; in nv50_fuse_read() local
48 nv50_fuse_new(struct nvkm_device *device, int index, struct nvkm_fuse **pfuse) in nv50_fuse_new()
/linux-4.4.14/drivers/infiniband/ulp/isert/
Dib_isert.c118 struct isert_device *device = isert_conn->device; in isert_comp_get() local
150 struct isert_device *device = isert_conn->device; in isert_create_qp() local
207 struct isert_device *device = isert_conn->device; in isert_alloc_rx_descriptors() local
275 isert_free_comps(struct isert_device *device) in isert_free_comps()
291 isert_alloc_comps(struct isert_device *device, in isert_alloc_comps()
346 isert_create_device_ib_res(struct isert_device *device) in isert_create_device_ib_res()
392 isert_free_device_ib_res(struct isert_device *device) in isert_free_device_ib_res()
401 isert_device_put(struct isert_device *device) in isert_device_put()
417 struct isert_device *device; in isert_device_get() local
487 struct ib_device *device, in isert_create_pi_ctx()
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/cipher/
Dg84.c83 struct nvkm_device *device = subdev->device; in g84_cipher_intr() local
111 struct nvkm_device *device = cipher->subdev.device; in g84_cipher_init() local
130 g84_cipher_new(struct nvkm_device *device, int index, in g84_cipher_new()
/linux-4.4.14/drivers/scsi/aacraid/
Dlinit.c773 static ssize_t aac_show_model(struct device *device, in aac_show_model()
792 static ssize_t aac_show_vendor(struct device *device, in aac_show_vendor()
837 static ssize_t aac_show_kernel_version(struct device *device, in aac_show_kernel_version()
851 static ssize_t aac_show_monitor_version(struct device *device, in aac_show_monitor_version()
865 static ssize_t aac_show_bios_version(struct device *device, in aac_show_bios_version()
879 static ssize_t aac_show_serial_number(struct device *device, in aac_show_serial_number()
899 static ssize_t aac_show_max_channel(struct device *device, in aac_show_max_channel()
906 static ssize_t aac_show_max_id(struct device *device, in aac_show_max_id()
913 static ssize_t aac_store_reset_adapter(struct device *device, in aac_store_reset_adapter()
927 static ssize_t aac_show_reset_adapter(struct device *device, in aac_show_reset_adapter()
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/ce/
Dgf100.c32 struct nvkm_device *device = ce->engine.subdev.device; in gf100_ce_init() local
68 gf100_ce_new(struct nvkm_device *device, int index, in gf100_ce_new()
Dgk104.c33 struct nvkm_device *device = subdev->device; in gk104_ce_intr() local
51 gk104_ce_new(struct nvkm_device *device, int index, in gk104_ce_new()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
Dgk104.c41 struct nvkm_device *device = base->subdev.device; in gk104_volt_get() local
54 struct nvkm_device *device = base->subdev.device; in gk104_volt_set() local
77 gk104_volt_new(struct nvkm_device *device, int index, struct nvkm_volt **pvolt) in gk104_volt_new()
/linux-4.4.14/drivers/staging/fbtft/
Dfbtft-sysfs.c114 static ssize_t store_gamma_curve(struct device *device, in store_gamma_curve()
139 static ssize_t show_gamma_curve(struct device *device, in show_gamma_curve()
179 static ssize_t store_debug(struct device *device, in store_debug()
195 static ssize_t show_debug(struct device *device, in show_debug()
/linux-4.4.14/fs/btrfs/
Dvolumes.c181 struct btrfs_device *device; in free_fs_devices() local
329 static noinline void run_scheduled_bios(struct btrfs_device *device) in run_scheduled_bios()
521 struct btrfs_device *device; in pending_bios_fn() local
594 struct btrfs_device *device; in device_list_add() local
711 struct btrfs_device *device; in clone_fs_devices() local
757 struct btrfs_device *device, *next; in btrfs_close_extra_devices() local
817 struct btrfs_device *device; in __free_device() local
830 struct btrfs_device *device; in free_device() local
840 struct btrfs_device *device, *tmp; in __btrfs_close_devices() local
893 struct btrfs_device *device; in __btrfs_open_devices() local
[all …]
/linux-4.4.14/sound/core/seq/
Dseq_device.c158 static int snd_seq_device_dev_free(struct snd_device *device) in snd_seq_device_dev_free()
166 static int snd_seq_device_dev_register(struct snd_device *device) in snd_seq_device_dev_register()
179 static int snd_seq_device_dev_disconnect(struct snd_device *device) in snd_seq_device_dev_disconnect()
203 int snd_seq_device_new(struct snd_card *card, int device, const char *id, in snd_seq_device_new()

1234567