/linux-6.3-rc2/drivers/block/drbd/ |
A D | drbd_actlog.c | 95 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() 373 if (device->al_tr_cycle >= device->act_log->nr_elements) in __al_write_transaction() 602 wait_event(device->al_wait, _try_lc_del(device, al_ext)); in drbd_al_shrink() 657 D_ASSERT(device, atomic_read(&device->local_cnt)); in update_rs_extent() 1044 e = lc_find(device->resync, device->resync_wenr); in drbd_try_rs_begin_io() 1079 if (device->resync_locked > device->resync->nr_elements-3) in drbd_try_rs_begin_io() [all …]
|
A D | drbd_worker.c | 85 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 819 struct drbd_device *device = dw->device; in w_ov_finished() local 831 struct drbd_device *device = dw->device; in w_resync_finished() local 872 dw->device = device; in drbd_resync_finished() 1422 struct drbd_device *device = req->device; in w_send_out_of_sync() local 1453 struct drbd_device *device = req->device; in w_send_dblock() local 1486 struct drbd_device *device = req->device; in w_send_read_req() local 1516 struct drbd_device *device = req->device; in w_restart_disk_io() local [all …]
|
/linux-6.3-rc2/drivers/s390/char/ |
A D | tape_core.c | 197 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 …]
|
A D | tape_char.c | 70 &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 …]
|
/linux-6.3-rc2/drivers/gpu/drm/mediatek/ |
A D | mtk_disp_drv.h | 13 int mtk_aal_clk_enable(struct device *dev); 14 void mtk_aal_clk_disable(struct device *dev); 19 void mtk_aal_start(struct device *dev); 20 void mtk_aal_stop(struct device *dev); 28 void mtk_ccorr_start(struct device *dev); 29 void mtk_ccorr_stop(struct device *dev); 37 void mtk_color_start(struct device *dev); 43 void mtk_dpi_start(struct device *dev); 44 void mtk_dpi_stop(struct device *dev); 57 void mtk_gamma_stop(struct device *dev); [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | pm_runtime.h | 69 extern int pm_runtime_force_suspend(struct device *dev); 70 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); 93 extern void pm_runtime_new_link(struct device *dev); 97 extern int devm_pm_runtime_enable(struct device *dev); 314 struct device *dev) { return 0; } in pm_runtime_autosuspend_expiration() [all …]
|
A D | device.h | 35 struct device; 154 int device_create_file(struct device *device, 555 struct device { struct 557 struct device *parent; argument 670 struct device *supplier; 674 struct device link_dev; 901 struct device *device_find_child(struct device *dev, void *data, 903 struct device *device_find_child_by_name(struct device *parent, 905 struct device *device_find_any_child(struct device *parent); 908 int device_move(struct device *dev, struct device *new_parent, [all …]
|
A D | pm_opp.h | 21 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); 162 int dev_pm_opp_config_clks_simple(struct device *dev, 172 void dev_pm_opp_remove_table(struct device *dev); 174 int dev_pm_opp_sync_regulators(struct device *dev); 402 int dev_pm_opp_of_add_table(struct device *dev); 406 int devm_pm_opp_of_add_table(struct device *dev); 592 struct device ***virt_devs) in dev_pm_opp_attach_genpd() [all …]
|
A D | attribute_container.h | 14 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 …]
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
A D | nv40.c | 97 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 …]
|
A D | nv50.c | 243 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 …]
|
A D | nv20.c | 34 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 …]
|
/linux-6.3-rc2/drivers/base/power/ |
A D | power.h | 21 extern void pm_runtime_init(struct device *dev); 22 extern void pm_runtime_reinit(struct device *dev); 23 extern void pm_runtime_remove(struct device *dev); 34 struct device *dev; 69 extern int dpm_sysfs_add(struct device *dev); 114 extern void device_pm_add(struct device *); 115 extern void device_pm_remove(struct device *); 116 extern void device_pm_move_before(struct device *, struct device *); 117 extern void device_pm_move_after(struct device *, struct device *); 145 struct device *devb) {} in device_pm_move_before() [all …]
|
/linux-6.3-rc2/drivers/firewire/ |
A D | core-device.c | 710 unit->device.parent = &device->device; in create_units() 711 dev_set_name(&unit->device, "%s.%d", dev_name(&device->device), i++); in create_units() 807 device_unregister(&device->device); in fw_device_shutdown() 1009 fw_device_release(&device->device); in fw_device_init() 1018 fw_device_release(&device->device); in fw_device_init() 1023 device_initialize(&device->device); in fw_device_init() 1034 device->device.bus = &fw_bus_type; in fw_device_init() 1035 device->device.type = &fw_device_type; in fw_device_init() 1036 device->device.parent = card->device; in fw_device_init() 1047 if (device_add(&device->device)) { in fw_device_init() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
A D | vga.c | 29 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 …]
|
A D | gf119.c | 39 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 …]
|
A D | gv100.c | 375 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 …]
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
A D | gt215.c | 34 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 …]
|
A D | gk104.c | 39 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 …]
|
/linux-6.3-rc2/drivers/s390/block/ |
A D | dasd.c | 515 if (device->state == device->target) in dasd_change_state() 518 if (device->state < device->target) in dasd_change_state() 525 device->target = device->state; in dasd_change_state() 530 if (device->state == device->target) in dasd_change_state() 567 device->discipline->reload(device); in do_reload_device() 595 if (device->state != device->target) in dasd_set_target_state() 606 return (device->state == device->target); in _wait_for_device() 620 device->discipline->kick_validate(device); in dasd_enable_device() 1491 device = from_timer(device, t, timer); in dasd_device_timeout() 1593 if (!device->discipline->is_ese(device)) in dasd_ese_needs_format() [all …]
|
A D | dasd_devmap.c | 522 device = devmap->device; in dasd_device_from_devindex() 568 devmap->device = device; in dasd_create_device() 748 if (copy->entry[i].device == device) in dasd_devmap_delete_copy_relation_device() 773 device = devmap->device; in dasd_devmap_set_device_copy_relation() 820 copy->entry[i].device = device; in dasd_devmap_set_device_copy_relation() 848 if (devmap->device != device) { in dasd_delete_device() 953 device = devmap->device; in dasd_device_from_gendisk() 1014 device = devmap->device; in dasd_ro_show() 1584 if (IS_ERR(device) || !device->block) in dasd_timeout_store() 2178 device = prim_devmap->device; in dasd_copy_pair_store() [all …]
|
/linux-6.3-rc2/drivers/hid/ |
A D | hid-roccat.c | 77 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 …]
|
/linux-6.3-rc2/drivers/vfio/ |
A D | vfio_main.c | 172 device->ops->release(device); in vfio_device_release() 241 device_initialize(&device->device); in vfio_init_device() 244 device->device.parent = device->dev; in vfio_init_device() 270 ret = dev_set_name(&device->device, "vfio%d", device->index); in __vfio_register_dev() 278 ret = device_add(&device->device); in __vfio_register_dev() 322 device->ops->request(device, i++); in vfio_unregister_group_dev() 344 device_del(&device->device); in vfio_unregister_group_dev() 391 device->put_kvm(device->kvm); in vfio_device_put_kvm() 446 device->ops->close_device(device); in vfio_device_last_close() 487 struct device *dev = device->dev; in vfio_device_pm_runtime_get() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
A D | nv04.c | 44 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 …]
|
/linux-6.3-rc2/drivers/staging/pi433/ |
A D | pi433_if.c | 778 device = instance->device; in pi433_read() 820 device = instance->device; in pi433_write() 896 device = instance->device; in pi433_ioctl() 964 instance->device = device; in pi433_open() 999 device->gpiod[i] = gpiod_get(&device->spi->dev, name, in setup_gpio() 1015 free_irq(device->irq_num[i], device); in setup_gpio() 1028 device->irq_num[i] = gpiod_to_irq(device->gpiod[i]); in setup_gpio() 1057 free_irq(device->irq_num[i], device); in free_gpio() 1196 device = kzalloc(sizeof(*device), GFP_KERNEL); in pi433_probe() 1263 device->devt = MKDEV(MAJOR(pi433_dev), device->minor); in pi433_probe() [all …]
|