Home
last modified time | relevance | path

Searched refs:device (Results 1 – 25 of 8269) sorted by relevance

12345678910>>...331

/openbmc/linux/drivers/gpu/drm/mediatek/
H A Dmtk_disp_drv.h15 int mtk_aal_clk_enable(struct device *dev);
21 void mtk_aal_start(struct device *dev);
22 void mtk_aal_stop(struct device *dev);
30 void mtk_ccorr_start(struct device *dev);
31 void mtk_ccorr_stop(struct device *dev);
45 void mtk_dpi_start(struct device *dev);
46 void mtk_dpi_stop(struct device *dev);
93 void mtk_ovl_stop(struct device *dev);
106 void mtk_ovl_adaptor_connect(struct device *dev, struct device *mmsys_dev,
108 void mtk_ovl_adaptor_disconnect(struct device *dev, struct device *mmsys_dev,
[all …]
/openbmc/linux/drivers/block/drbd/
H A Ddrbd_actlog.c95 device->md_io.submit_jif = device->md_io.start_jif - 1; in drbd_md_get_buffer()
181 D_ASSERT(device, atomic_read(&device->md_io.in_use) == 1); in drbd_md_sync_page_io()
249 D_ASSERT(device, atomic_read(&device->local_cnt) > 0); in drbd_al_begin_io_fastpath()
268 D_ASSERT(device, atomic_read(&device->local_cnt) > 0); in drbd_al_begin_io_prepare()
363 device->act_log->nr_elements - device->al_tr_cycle); in __al_write_transaction()
657 D_ASSERT(device, atomic_read(&device->local_cnt)); in update_rs_extent()
740 struct drbd_device *device = peer_device->device; in drbd_advance_rs_marks() local
851 struct drbd_device *device = peer_device->device; in __drbd_change_sync() local
1016 struct drbd_device *device = peer_device->device; in drbd_try_rs_begin_io() local
1047 e = lc_find(device->resync, device->resync_wenr); in drbd_try_rs_begin_io()
[all …]
H A Ddrbd_worker.c85 struct drbd_device *device = peer_device->device; in drbd_endio_read_sec_final() local
201 device->minor, device->resource->name, device->vnr); in drbd_panic_after_delayed_completion_of_aborted_request()
210 struct drbd_device *device = req->device; in drbd_request_endio() local
822 struct drbd_device *device = dw->device; in w_ov_finished() local
834 struct drbd_device *device = dw->device; in w_resync_finished() local
876 dw->device = device; in drbd_resync_finished()
1427 struct drbd_device *device = req->device; in w_send_out_of_sync() local
1458 struct drbd_device *device = req->device; in w_send_dblock() local
1491 struct drbd_device *device = req->device; in w_send_read_req() local
1521 struct drbd_device *device = req->device; in w_restart_disk_io() local
[all …]
/openbmc/linux/drivers/s390/char/
H A Dtape_core.c197 if (device->tape_state < TS_SIZE && device->tape_state >=0 ) in tape_state_set()
225 struct tape_device *device = p->device; in tape_med_state_work_handler() local
256 p->device = tape_get_device(device); in tape_med_state_work()
413 device->discipline->cleanup_device(device); in tape_generic_online()
424 device->discipline->cleanup_device(device); in tape_cleanup_device()
443 if (!device) { in tape_generic_offline()
448 device->cdev_id, device); in tape_generic_offline()
504 return device; in tape_alloc_device()
663 if (device) { in tape_generic_remove()
913 request->device = tape_get_device(device); in __tape_start_request()
[all …]
H A Dtape_char.c70 &device->cdev->dev, in tapechar_setup_device()
78 &device->cdev->dev, in tapechar_setup_device()
91 unregister_tape_dev(&device->cdev->dev, device->rt); in tapechar_cleanup_device()
92 device->rt = NULL; in tapechar_cleanup_device()
93 unregister_tape_dev(&device->cdev->dev, device->nt); in tapechar_cleanup_device()
94 device->nt = NULL; in tapechar_cleanup_device()
166 request = device->discipline->read_block(device, block_size); in tapechar_read()
219 request = device->discipline->write_block(device, block_size); in tapechar_write()
248 device->discipline->process_eov(device); in tapechar_write()
285 if (IS_ERR(device)) { in tapechar_open()
[all …]
/openbmc/linux/include/linux/
H A Dpm_runtime.h70 extern int pm_runtime_force_resume(struct device *dev);
78 extern int pm_runtime_barrier(struct device *dev);
79 extern void pm_runtime_enable(struct device *dev);
81 extern void pm_runtime_allow(struct device *dev);
82 extern void pm_runtime_forbid(struct device *dev);
84 extern void pm_runtime_irq_safe(struct device *dev);
91 extern void pm_runtime_new_link(struct device *dev);
95 extern int devm_pm_runtime_enable(struct device *dev);
312 struct device *dev) { return 0; } in pm_runtime_autosuspend_expiration()
406 static inline int pm_runtime_get(struct device *dev) in pm_runtime_get()
[all …]
H A Dpm_opp.h21 struct device;
60 typedef int (*config_regulators_t)(struct device *dev,
92 struct device ***virt_devs;
115 int dev_pm_opp_get_opp_count(struct device *dev);
174 int dev_pm_opp_config_clks_simple(struct device *dev,
184 void dev_pm_opp_remove_table(struct device *dev);
186 int dev_pm_opp_sync_regulators(struct device *dev);
433 int dev_pm_opp_of_add_table(struct device *dev);
437 int devm_pm_opp_of_add_table(struct device *dev);
623 struct device ***virt_devs) in dev_pm_opp_attach_genpd()
[all …]
H A Ddevice.h36 struct device;
259 int device_create_file(struct device *device,
705 struct device { struct
707 struct device *parent; argument
829 struct device link_dev;
1010 DEFINE_GUARD(device, struct device *, device_lock(_T), device_unlock(_T)) in DEFINE_GUARD() argument
1066 struct device *device_find_child(struct device *dev, void *data,
1068 struct device *device_find_child_by_name(struct device *parent,
1070 struct device *device_find_any_child(struct device *parent);
1073 int device_move(struct device *dev, struct device *new_parent,
[all …]
H A Dattribute_container.h14 struct device;
43 struct device *,
44 struct device *));
47 struct device *,
51 struct device *,
52 struct device *));
55 struct device *,
56 struct device *));
62 struct device *,
63 struct device *));
[all …]
/openbmc/linux/drivers/base/power/
H A Dpower.h21 extern void pm_runtime_init(struct device *dev);
22 extern void pm_runtime_reinit(struct device *dev);
23 extern void pm_runtime_remove(struct device *dev);
35 struct device *dev;
70 extern int dpm_sysfs_add(struct device *dev);
115 extern void device_pm_add(struct device *);
116 extern void device_pm_remove(struct device *);
117 extern void device_pm_move_before(struct device *, struct device *);
118 extern void device_pm_move_after(struct device *, struct device *);
146 struct device *devb) {} in device_pm_move_before()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A 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
389 vramsz = device->func->resource_size(device, 1) - 1; in nv40_gr_init()
392 nvkm_wr32(device, 0x4009A4, nvkm_rd32(device, 0x100200)); in nv40_gr_init()
393 nvkm_wr32(device, 0x4009A8, nvkm_rd32(device, 0x100204)); in nv40_gr_init()
394 nvkm_wr32(device, 0x4069A4, nvkm_rd32(device, 0x100200)); in nv40_gr_init()
395 nvkm_wr32(device, 0x4069A8, nvkm_rd32(device, 0x100204)); in nv40_gr_init()
418 nvkm_wr32(device, 0x4069F0, nvkm_rd32(device, 0x100200)); in nv40_gr_init()
[all …]
H A Dnv50.c243 struct nvkm_device *device = subdev->device; in nv50_gr_prop_trap() local
285 struct nvkm_device *device = subdev->device; in nv50_gr_mp_trap() local
294 if (device->chipset < 0xa0) in nv50_gr_mp_trap()
329 struct nvkm_device *device = subdev->device; in nv50_gr_tp_trap() local
338 if (device->chipset < 0xa0) in nv50_gr_tp_trap()
352 nvkm_rd32(device, r)); in nv50_gr_tp_trap()
399 struct nvkm_device *device = subdev->device; in nv50_gr_trap_handler() local
444 nvkm_wr32(device, 0x4008e8, nvkm_rd32(device, 0x4008e8) & 3); in nv50_gr_trap_handler()
624 struct nvkm_device *device = subdev->device; in nv50_gr_intr() local
673 nvkm_wr32(device, 0x400824, nvkm_rd32(device, 0x400824) & ~(1 << 31)); in nv50_gr_intr()
[all …]
H A Dnv20.c34 struct nvkm_device *device = gr->base.engine.subdev.device; in nv20_gr_chan_fini() local
152 struct nvkm_device *device = gr->base.engine.subdev.device; in nv20_gr_tile() local
184 struct nvkm_device *device = subdev->device; in nv20_gr_intr() local
232 struct nvkm_device *device = gr->base.engine.subdev.device; in nv20_gr_init() local
287 nvkm_wr32(device, 0x4009a0, nvkm_rd32(device, 0x100324)); in nv20_gr_init()
289 nvkm_wr32(device, NV10_PGRAPH_RDI_DATA, nvkm_rd32(device, 0x100324)); in nv20_gr_init()
300 vramsz = device->func->resource_size(device, 1) - 1; in nv20_gr_init()
301 nvkm_wr32(device, 0x4009A4, nvkm_rd32(device, 0x100200)); in nv20_gr_init()
302 nvkm_wr32(device, 0x4009A8, nvkm_rd32(device, 0x100204)); in nv20_gr_init()
304 nvkm_wr32(device, NV10_PGRAPH_RDI_DATA , nvkm_rd32(device, 0x100200)); in nv20_gr_init()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dvga.c29 if (device->card_type >= NV_50) in nvkm_rdport()
40 if (device->card_type < NV_40) in nvkm_rdport()
51 if (device->card_type >= NV_50) in nvkm_wrport()
62 if (device->card_type < NV_40) in nvkm_wrport()
132 if (device->card_type < NV_50) in nvkm_lockvgac()
136 if (device->chipset == 0x11) { in nvkm_lockvgac()
165 if (device->chipset == 0x11) { in nvkm_rdvgaowner()
192 if (device->chipset == 0x11) { in nvkm_wrvgaowner()
194 nvkm_rdvgac(device, 0, 0x1f); in nvkm_wrvgaowner()
195 nvkm_rdvgac(device, 1, 0x1f); in nvkm_wrvgaowner()
[all …]
H A Dgf119.c39 struct nvkm_device *device = ior->disp->engine.subdev.device; in gf119_sor_hda_device_entry() local
48 struct nvkm_device *device = ior->disp->engine.subdev.device; in gf119_sor_hda_eld() local
520 struct nvkm_device *device = subdev->device; in gf119_disp_pioc_fini() local
539 struct nvkm_device *device = subdev->device; in gf119_disp_pioc_init() local
577 struct nvkm_device *device = subdev->device; in gf119_disp_dmac_fini() local
599 struct nvkm_device *device = subdev->device; in gf119_disp_dmac_init() local
948 struct nvkm_device *device = subdev->device; in gf119_disp_core_fini() local
968 struct nvkm_device *device = subdev->device; in gf119_disp_core_init() local
1014 struct nvkm_device *device = subdev->device; in gf119_disp_super() local
1072 struct nvkm_device *device = subdev->device; in gf119_disp_intr_error() local
[all …]
H A Dgv100.c375 struct nvkm_device *device = subdev->device; in gv100_disp_dmac_init() local
589 struct nvkm_device *device = subdev->device; in gv100_disp_curs_init() local
762 struct nvkm_device *device = subdev->device; in gv100_disp_core_init() local
838 struct nvkm_device *device = subdev->device; in gv100_disp_super() local
897 struct nvkm_device *device = subdev->device; in gv100_disp_exception() local
939 struct nvkm_device *device = subdev->device; in gv100_disp_intr_ctrl_disp() local
987 struct nvkm_device *device = subdev->device; in gv100_disp_intr_exc_other() local
1016 struct nvkm_device *device = subdev->device; in gv100_disp_intr_exc_winim() local
1036 struct nvkm_device *device = subdev->device; in gv100_disp_intr_exc_win() local
1056 struct nvkm_device *device = subdev->device; in gv100_disp_intr_head_timing() local
[all …]
/openbmc/linux/drivers/firewire/
H A Dcore-device.c709 unit->device.parent = &device->device; in create_units()
710 dev_set_name(&unit->device, "%s.%d", dev_name(&device->device), i++); in create_units()
803 device_unregister(&device->device); in fw_device_shutdown()
1005 fw_device_release(&device->device); in fw_device_init()
1014 fw_device_release(&device->device); in fw_device_init()
1019 device_initialize(&device->device); in fw_device_init()
1030 device->device.bus = &fw_bus_type; in fw_device_init()
1031 device->device.type = &fw_device_type; in fw_device_init()
1032 device->device.parent = card->device; in fw_device_init()
1043 if (device_add(&device->device)) { in fw_device_init()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
H A Dgt215.c34 struct nvkm_device *device = subdev->device; in gt215_pmu_send() local
40 if (nvkm_msec(device, 2000, in gt215_pmu_send()
90 struct nvkm_device *device = subdev->device; in gt215_pmu_recv() local
142 struct nvkm_device *device = subdev->device; in gt215_pmu_intr() local
187 struct nvkm_device *device = pmu->subdev.device; in gt215_pmu_reset() local
191 nvkm_rd32(device, 0x022210); in gt215_pmu_reset()
203 struct nvkm_device *device = pmu->subdev.device; in gt215_pmu_init() local
209 nvkm_msec(device, 2000, in gt215_pmu_init()
218 nvkm_msec(device, 2000, in gt215_pmu_init()
242 if (nvkm_msec(device, 2000, in gt215_pmu_init()
[all …]
H A Dgk104.c39 nvkm_msec(device, 2000, in magic_()
59 struct nvkm_device *device = pmu->subdev.device; in gk104_pmu_pgob() local
65 nvkm_rd32(device, 0x000200); in gk104_pmu_pgob()
82 nvkm_rd32(device, 0x000200); in gk104_pmu_pgob()
85 switch (device->chipset) { in gk104_pmu_pgob()
87 magic(device, 0x04000000); in gk104_pmu_pgob()
88 magic(device, 0x06000000); in gk104_pmu_pgob()
89 magic(device, 0x0c000000); in gk104_pmu_pgob()
90 magic(device, 0x0e000000); in gk104_pmu_pgob()
93 magic(device, 0x02000000); in gk104_pmu_pgob()
[all …]
/openbmc/linux/drivers/s390/block/
H A Ddasd.c513 if (device->state == device->target) in dasd_change_state()
516 if (device->state < device->target) in dasd_change_state()
523 device->target = device->state; in dasd_change_state()
528 if (device->state == device->target) in dasd_change_state()
565 device->discipline->reload(device); in do_reload_device()
593 if (device->state != device->target) in dasd_set_target_state()
604 return (device->state == device->target); in _wait_for_device()
618 device->discipline->kick_validate(device); in dasd_enable_device()
1493 device = from_timer(device, t, timer); in dasd_device_timeout()
1595 if (!device->discipline->is_ese(device)) in dasd_ese_needs_format()
[all …]
H A Ddasd_devmap.c523 device = devmap->device; in dasd_device_from_devindex()
569 devmap->device = device; in dasd_create_device()
749 if (copy->entry[i].device == device) in dasd_devmap_delete_copy_relation_device()
774 device = devmap->device; in dasd_devmap_set_device_copy_relation()
821 copy->entry[i].device = device; in dasd_devmap_set_device_copy_relation()
849 if (devmap->device != device) { in dasd_delete_device()
954 device = devmap->device; in dasd_device_from_gendisk()
1015 device = devmap->device; in dasd_ro_show()
1703 if (IS_ERR(device) || !device->block) in dasd_timeout_store()
2297 device = prim_devmap->device; in dasd_copy_pair_store()
[all …]
/openbmc/linux/drivers/hid/
H A Dhid-roccat.c77 struct roccat_device *device = reader->device; in roccat_read() local
123 len = device->report_size > count ? count : device->report_size; in roccat_read()
163 if (!device) { in roccat_open()
187 reader->device = device; in roccat_open()
212 if (!device) { in roccat_release()
262 report = &device->cbuf[device->cbuf_end]; in roccat_report_event()
268 device->cbuf_end = (device->cbuf_end + 1) % ROCCAT_CBUF_SIZE; in roccat_report_event()
305 if (!device) in roccat_connect()
320 kfree(device); in roccat_connect()
332 kfree(device); in roccat_connect()
[all …]
/openbmc/linux/drivers/vfio/
H A Dvfio_main.c187 device->ops->release(device); in vfio_device_release()
256 device_initialize(&device->device); in vfio_init_device()
259 device->device.parent = device->dev; in vfio_init_device()
287 ret = dev_set_name(&device->device, "vfio%d", device->index); in __vfio_register_dev()
362 device->ops->request(device, i++); in vfio_unregister_group_dev()
429 device->put_kvm(device->kvm); in vfio_device_put_kvm()
453 df->device = device; in vfio_allocate_device_file()
502 device->ops->close_device(device); in vfio_df_device_last_close()
552 struct device *dev = device->dev; in vfio_device_pm_runtime_get()
573 struct device *dev = device->dev; in vfio_device_pm_runtime_put()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dnv04.c44 struct nvkm_device *device = fifo->engine.subdev.device; in nv04_chan_stop() local
215 struct nvkm_device *device = fifo->engine.subdev.device; in nv04_fifo_pause() local
233 nvkm_msec(device, 2000, in nv04_fifo_pause()
250 struct nvkm_device *device = fifo->engine.subdev.device; in nv04_fifo_start() local
276 struct nvkm_sw *sw = device->sw; in nv04_fifo_swmthd()
306 struct nvkm_device *device = subdev->device; in nv04_fifo_intr_cache_error() local
320 if (device->card_type < NV_40) { in nv04_fifo_intr_cache_error()
357 struct nvkm_device *device = subdev->device; in nv04_fifo_intr_dma_pusher() local
368 if (device->card_type == NV_50) { in nv04_fifo_intr_dma_pusher()
410 struct nvkm_device *device = subdev->device; in nv04_fifo_intr() local
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/ltc/
H A 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
141 struct nvkm_device *device = ltc->subdev.device; in gf100_ltc_flush() local
156 struct nvkm_device *device = ltc->subdev.device; in gf100_ltc_oneinit_tag_ram() local
210 struct nvkm_device *device = ltc->subdev.device; in gf100_ltc_oneinit() local
[all …]

12345678910>>...331