Home
last modified time | relevance | path

Searched refs:qdev (Results 1 – 25 of 29) sorted by relevance

12

/linux/drivers/net/ethernet/qlogic/
A Dqla3xxx.c644 netif_warn(qdev, link, qdev->ndev, TIMED_OUT_MSG); in ql_mii_write_reg_ex()
655 netif_warn(qdev, link, qdev->ndev, TIMED_OUT_MSG); in ql_mii_write_reg_ex()
676 netif_warn(qdev, link, qdev->ndev, TIMED_OUT_MSG); in ql_mii_read_reg_ex()
1018 qdev->phyType = getPhyType(qdev, reg1, reg2); in PHY_Setup()
1314 netif_printk(qdev, link, KERN_DEBUG, qdev->ndev, in ql_this_adapter_controls_port()
1492 netif_info(qdev, link, qdev->ndev, in ql_finish_auto_neg()
1529 netif_info(qdev, link, qdev->ndev, in ql_link_state_machine_work()
2165 qdev->rsp_current = qdev->rsp_q_virt_addr; in ql_tx_rx_clean()
2902 qdev->rsp_current = qdev->rsp_q_virt_addr; in ql_alloc_mem_resources()
3043 qdev->rsp_current = qdev->rsp_q_virt_addr; in ql_adapter_initialize()
[all …]
/linux/drivers/gpu/drm/qxl/
A Dqxl_kms.c64 qxl_io_memslot_add(qdev, qdev->rom->slots_start + slot->index); in setup_hw_slot()
98 setup_hw_slot(qdev, &qdev->main_slot); in qxl_reinit_memslots()
99 setup_hw_slot(qdev, &qdev->surfaces_slot); in qxl_reinit_memslots()
120 qxl_gem_init(qdev); in qxl_device_init()
168 qdev->rom = ioremap(qdev->rom_base, qdev->rom_size); in qxl_device_init()
169 if (!qdev->rom) { in qxl_device_init()
186 qdev->ram_header = ioremap(qdev->vram_base + in qxl_device_init()
257 setup_slot(qdev, &qdev->main_slot, 0, "main", in qxl_device_init()
260 setup_slot(qdev, &qdev->surfaces_slot, 1, "surfaces", in qxl_device_init()
277 qxl_bo_fini(qdev); in qxl_device_init()
[all …]
A Dqxl_cmd.c212 schedule_work(&qdev->gc_work); in qxl_queue_garbage_collect()
214 flush_work(&qdev->gc_work); in qxl_queue_garbage_collect()
252 qxl_release_free(qdev, release); in qxl_garbage_collect()
257 wake_up_all(&qdev->release_event); in qxl_garbage_collect()
291 long addr = qdev->io_base + port; in wait_for_io_cmd_user()
382 qdev->primary_bo = NULL; in qxl_io_destroy_primary()
389 if (WARN_ON(qdev->primary_bo)) in qxl_io_create_primary()
392 DRM_DEBUG_DRIVER("qdev %p, ram_header %p\n", qdev, qdev->ram_header); in qxl_io_create_primary()
406 qdev->primary_bo = bo; in qxl_io_create_primary()
448 qxl_reap_surface_id(qdev, 2); in qxl_surface_id_alloc()
[all …]
A Dqxl_display.c210 if (size > qdev->vram_size) in qxl_check_mode()
253 if (!qdev->monitors_config) in qxl_add_monitors_config_modes()
309 qxl_io_monitors_config(qdev); in qxl_send_monitors_config()
321 if (!qdev->primary_bo) { in qxl_crtc_update_monitors_config()
342 if (qdev->primary_bo == qdev->dumb_shadow_bo) in qxl_crtc_update_monitors_config()
654 if (qdev->primary_bo) in qxl_primary_atomic_update()
1203 qdev->monitors_config = qdev->monitors_config_bo->kptr; in qxl_create_monitors_object()
1205 qxl_bo_physical_address(qdev, qdev->monitors_config_bo, 0); in qxl_create_monitors_object()
1208 qdev->dumb_heads = kcalloc(qxl_num_crtc, sizeof(qdev->dumb_heads[0]), in qxl_create_monitors_object()
1210 if (!qdev->dumb_heads) { in qxl_create_monitors_object()
[all …]
A Dqxl_irq.c35 struct qxl_device *qdev = to_qxl(dev); in qxl_irq_handler() local
43 atomic_inc(&qdev->irq_received); in qxl_irq_handler()
47 wake_up_all(&qdev->display_event); in qxl_irq_handler()
48 qxl_queue_garbage_collect(qdev, false); in qxl_irq_handler()
51 atomic_inc(&qdev->irq_received_cursor); in qxl_irq_handler()
52 wake_up_all(&qdev->cursor_event); in qxl_irq_handler()
56 wake_up_all(&qdev->io_cmd_event); in qxl_irq_handler()
63 qdev->irq_received_error++; in qxl_irq_handler()
84 struct drm_device *ddev = &qdev->ddev; in qxl_irq_init()
94 atomic_set(&qdev->irq_received, 0); in qxl_irq_init()
[all …]
A Dqxl_drv.h273 int qxl_bo_init(struct qxl_device *qdev);
274 void qxl_bo_fini(struct qxl_device *qdev);
277 int qxl_surf_evict(struct qxl_device *qdev);
296 ? &qdev->main_slot : &qdev->surfaces_slot; in qxl_bo_physical_address()
309 void qxl_gem_init(struct qxl_device *qdev);
310 void qxl_gem_fini(struct qxl_device *qdev);
335 int qxl_ttm_init(struct qxl_device *qdev);
336 void qxl_ttm_fini(struct qxl_device *qdev);
342 int qxl_image_init(struct qxl_device *qdev,
368 void qxl_io_reset(struct qxl_device *qdev);
[all …]
A Dqxl_release.c60 struct qxl_device *qdev; in qxl_fence_wait() local
67 (qxl_io_notify_oom(qdev), 0)), in qxl_fence_wait()
103 spin_lock(&qdev->release_idr_lock); in qxl_release_alloc()
145 spin_lock(&qdev->release_idr_lock); in qxl_release_free()
159 atomic_dec(&qdev->release_count); in qxl_release_free()
314 atomic_inc(&qdev->release_count); in qxl_alloc_release_reserved()
316 mutex_lock(&qdev->release_mutex); in qxl_alloc_release_reserved()
323 ret = qxl_release_bo_alloc(qdev, &qdev->current_release_bo[cur_idx], priority); in qxl_alloc_release_reserved()
330 qxl_release_free(qdev, *release); in qxl_alloc_release_reserved()
353 qxl_release_free(qdev, *release); in qxl_alloc_release_reserved()
[all …]
A Dqxl_ttm.c43 struct qxl_device *qdev; in qxl_get_qdev() local
47 return qdev; in qxl_get_qdev()
90 qdev->surfaceram_base; in qxl_ttm_io_mem_reserve()
127 struct qxl_device *qdev; in qxl_bo_move_notify() local
132 qdev = to_qxl(qbo->tbo.base.dev); in qxl_bo_move_notify()
181 int qxl_ttm_init(struct qxl_device *qdev) in qxl_ttm_init() argument
188 qdev->ddev.anon_inode->i_mapping, in qxl_ttm_init()
189 qdev->ddev.vma_offset_manager, in qxl_ttm_init()
203 qdev->surfaceram_size / PAGE_SIZE); in qxl_ttm_init()
217 void qxl_ttm_fini(struct qxl_device *qdev) in qxl_ttm_fini() argument
[all …]
A Dqxl_debugfs.c42 struct qxl_device *qdev = to_qxl(node->minor->dev); in qxl_debugfs_irq_received() local
48 seq_printf(m, "%d\n", qdev->irq_received_error); in qxl_debugfs_irq_received()
95 void qxl_debugfs_add_files(struct qxl_device *qdev, in qxl_debugfs_add_files() argument
101 for (i = 0; i < qdev->debugfs_count; i++) { in qxl_debugfs_add_files()
102 if (qdev->debugfs[i].files == files) { in qxl_debugfs_add_files()
108 i = qdev->debugfs_count + 1; in qxl_debugfs_add_files()
114 qdev->debugfs[qdev->debugfs_count].files = files; in qxl_debugfs_add_files()
115 qdev->debugfs[qdev->debugfs_count].num_files = nfiles; in qxl_debugfs_add_files()
116 qdev->debugfs_count = i; in qxl_debugfs_add_files()
119 qdev->ddev.primary->debugfs_root, in qxl_debugfs_add_files()
[all …]
A Dqxl_drv.c78 struct qxl_device *qdev; in qxl_pci_probe() local
89 if (IS_ERR(qdev)) { in qxl_pci_probe()
114 ret = qxl_modeset_init(qdev); in qxl_pci_probe()
129 qxl_modeset_fini(qdev); in qxl_pci_probe()
131 qxl_device_fini(qdev); in qxl_pci_probe()
150 qxl_modeset_fini(qdev); in qxl_drm_release()
151 qxl_device_fini(qdev); in qxl_drm_release()
178 qxl_surf_evict(qdev); in qxl_drm_freeze()
179 qxl_vram_evict(qdev); in qxl_drm_freeze()
196 qxl_reinit_memslots(qdev); in qxl_drm_resume()
[all …]
A Dqxl_object.c38 struct qxl_device *qdev; in qxl_ttm_bo_destroy() local
41 qdev = to_qxl(bo->tbo.base.dev); in qxl_ttm_bo_destroy()
43 qxl_surface_evict(qdev, bo, false); in qxl_ttm_bo_destroy()
45 mutex_lock(&qdev->gem.mutex); in qxl_ttm_bo_destroy()
47 mutex_unlock(&qdev->gem.mutex); in qxl_ttm_bo_destroy()
149 dev_err(qdev->ddev.dev, in qxl_bo_create()
216 map = qdev->vram_mapping; in qxl_bo_kmap_atomic_page()
218 map = qdev->surface_mapping; in qxl_bo_kmap_atomic_page()
365 mutex_lock(&qdev->gem.mutex); in qxl_bo_force_delete()
375 return qxl_ttm_init(qdev); in qxl_bo_init()
[all …]
A Dqxl_draw.c30 static int alloc_clips(struct qxl_device *qdev, in alloc_clips() argument
37 return qxl_alloc_bo_reserved(qdev, release, size, clips_bo); in alloc_clips()
73 qxl_release_free(qdev, release); in free_drawable()
113 drawable->mm_time = qdev->rom->mm_clock; in make_drawable()
125 void qxl_draw_dirty_fb(struct qxl_device *qdev, in qxl_draw_dirty_fb() argument
156 ret = alloc_drawable(qdev, &release); in qxl_draw_dirty_fb()
180 ret = alloc_clips(qdev, release, num_clips, &clips_bo); in qxl_draw_dirty_fb()
184 ret = qxl_image_alloc_objects(qdev, release, in qxl_draw_dirty_fb()
225 drawable->clip.data = qxl_bo_physical_address(qdev, in qxl_draw_dirty_fb()
259 qxl_image_free_objects(qdev, dimage); in qxl_draw_dirty_fb()
[all …]
A Dqxl_ioctl.c39 struct qxl_device *qdev = to_qxl(dev); in qxl_alloc_ioctl() local
67 struct qxl_device *qdev = to_qxl(dev); in qxl_map_ioctl() local
177 ret = qxl_alloc_release_reserved(qdev, in qxl_process_single_command()
195 draw->mm_time = qdev->rom->mm_clock; in qxl_process_single_command()
258 apply_reloc(qdev, &reloc_info[i]); in qxl_process_single_command()
269 qxl_release_free(qdev, release); in qxl_process_single_command()
278 struct qxl_device *qdev = to_qxl(dev); in qxl_execbuffer_ioctl() local
303 struct qxl_device *qdev = to_qxl(dev); in qxl_update_area_ioctl() local
335 ret = qxl_bo_check_id(qdev, qobj); in qxl_update_area_ioctl()
353 struct qxl_device *qdev = to_qxl(dev); in qxl_getparam_ioctl() local
[all …]
A Dqxl_gem.c34 struct qxl_device *qdev; in qxl_gem_object_free() local
37 qdev = to_qxl(gobj->dev); in qxl_gem_object_free()
39 qxl_surface_evict(qdev, qobj, false); in qxl_gem_object_free()
68 mutex_lock(&qdev->gem.mutex); in qxl_gem_object_create()
69 list_add_tail(&qbo->list, &qdev->gem.objects); in qxl_gem_object_create()
70 mutex_unlock(&qdev->gem.mutex); in qxl_gem_object_create()
89 r = qxl_gem_object_create(qdev, size, 0, in qxl_gem_object_create_with_handle()
114 void qxl_gem_init(struct qxl_device *qdev) in qxl_gem_init() argument
116 INIT_LIST_HEAD(&qdev->gem.objects); in qxl_gem_init()
119 void qxl_gem_fini(struct qxl_device *qdev) in qxl_gem_fini() argument
[all …]
A Dqxl_image.c33 qxl_allocate_chunk(struct qxl_device *qdev, in qxl_allocate_chunk() argument
56 qxl_image_alloc_objects(struct qxl_device *qdev, in qxl_image_alloc_objects() argument
100 qxl_image_init_helper(struct qxl_device *qdev, in qxl_image_init_helper() argument
127 ptr = qxl_bo_kmap_atomic_page(qdev, chunk_bo, 0); in qxl_image_init_helper()
132 qxl_bo_kunmap_atomic_page(qdev, chunk_bo, ptr); in qxl_image_init_helper()
160 qxl_bo_kunmap_atomic_page(qdev, chunk_bo, ptr); in qxl_image_init_helper()
181 qxl_bo_kunmap_atomic_page(qdev, chunk_bo, ptr); in qxl_image_init_helper()
192 ptr = qxl_bo_kmap_atomic_page(qdev, image_bo, 0); in qxl_image_init_helper()
215 qxl_bo_kunmap_atomic_page(qdev, image_bo, ptr); in qxl_image_init_helper()
225 qxl_bo_kunmap_atomic_page(qdev, image_bo, ptr); in qxl_image_init_helper()
[all …]
A Dqxl_object.h56 extern int qxl_bo_create(struct qxl_device *qdev,
66 void *qxl_bo_kmap_atomic_page(struct qxl_device *qdev, struct qxl_bo *bo, int page_offset);
67 void qxl_bo_kunmap_atomic_page(struct qxl_device *qdev, struct qxl_bo *bo, void *map);
A Dqxl_dumb.c35 struct qxl_device *qdev = to_qxl(dev); in qxl_mode_dumb_create() local
63 r = qxl_gem_object_create_with_handle(qdev, file_priv, in qxl_mode_dumb_create()
/linux/drivers/staging/qlge/
A Dqlge_mpi.c107 if (qdev->func < qdev->alt_func) in qlge_own_firmware()
214 netif_err(qdev, drv, qdev->ndev, in qlge_idc_req_aen()
239 netif_err(qdev, drv, qdev->ndev, in qlge_idc_cmplt_aen()
259 netif_err(qdev, drv, qdev->ndev, in qlge_link_up()
273 netif_err(qdev, ifup, qdev->ndev, in qlge_link_up()
399 netif_err(qdev, drv, qdev->ndev, in qlge_mpi_handler()
488 netif_err(qdev, drv, qdev->ndev, in qlge_mpi_handler()
508 netif_err(qdev, drv, qdev->ndev, in qlge_mpi_handler()
583 netif_err(qdev, drv, qdev->ndev, in qlge_mailbox_command()
630 netif_err(qdev, drv, qdev->ndev, in qlge_mb_about_fw()
[all …]
A Dqlge_main.c182 netif_alert(qdev, probe, qdev->ndev, in qlge_wait_reg_rdy()
235 netif_err(qdev, ifup, qdev->ndev, in qlge_write_cfg()
314 netif_crit(qdev, ifup, qdev->ndev, in qlge_get_mac_addr_reg()
449 netif_err(qdev, ifup, qdev->ndev, in qlge_set_mac_addr()
574 netif_err(qdev, ifup, qdev->ndev, in qlge_set_routing_reg()
3262 intr_context->qdev = qdev; in qlge_resolve_queues_to_irqs()
3307 intr_context->qdev = qdev; in qlge_resolve_queues_to_irqs()
3937 tx_ring->qdev = qdev; in qlge_configure_rings()
3953 rx_ring->qdev = qdev; in qlge_configure_rings()
4323 qdev->port = (qdev->func < qdev->alt_func) ? 0 : 1; in qlge_get_board_info()
[all …]
A Dqlge_ethtool.c211 netif_err(qdev, ifup, qdev->ndev, in qlge_update_ring_coalescing()
232 netif_err(qdev, ifup, qdev->ndev, in qlge_update_ring_coalescing()
250 netif_err(qdev, drv, qdev->ndev, in qlge_update_stats()
259 netif_err(qdev, drv, qdev->ndev, in qlge_update_stats()
274 netif_err(qdev, drv, qdev->ndev, in qlge_update_stats()
292 netif_err(qdev, drv, qdev->ndev, in qlge_update_stats()
307 netif_err(qdev, drv, qdev->ndev, in qlge_update_stats()
321 netif_err(qdev, drv, qdev->ndev, in qlge_update_stats()
451 netif_info(qdev, drv, qdev->ndev, in qlge_set_wol()
459 netif_info(qdev, drv, qdev->ndev, "Set wol option 0x%x\n", qdev->wol); in qlge_set_wol()
[all …]
A Dqlge_dbg.c426 netif_err(qdev, drv, qdev->ndev, in qlge_get_cam_entries()
438 netif_err(qdev, drv, qdev->ndev, in qlge_get_cam_entries()
462 netif_err(qdev, drv, qdev->ndev, in qlge_get_routing_entries()
730 netif_err(qdev, drv, qdev->ndev, in qlge_core_dump()
892 netif_err(qdev, drv, qdev->ndev, in qlge_core_dump()
1158 netif_err(qdev, drv, qdev->ndev, in qlge_core_dump()
1166 netif_err(qdev, drv, qdev->ndev, in qlge_core_dump()
1179 netif_err(qdev, drv, qdev->ndev, in qlge_core_dump()
1194 netif_err(qdev, drv, qdev->ndev, in qlge_core_dump()
1212 netif_err(qdev, ifup, qdev->ndev, in qlge_get_core_dump()
[all …]
A Dqlge.h1368 #define QL_TXQ_IDX(qdev, skb) (smp_processor_id() % (qdev->tx_ring_count)) argument
1391 struct qlge_adapter *qdev; member
1490 struct qlge_adapter *qdev; member
1994 struct qlge_adapter *qdev; member
2059 int (*get_flash)(struct qlge_adapter *qdev);
2064 struct qlge_adapter *qdev; member
2073 return ndev_priv->qdev; in netdev_to_qdev()
2182 return readl(qdev->reg_base + reg); in qlge_read32()
2190 writel(val, qdev->reg_base + reg); in qlge_write32()
2280 void qlge_link_on(struct qlge_adapter *qdev);
[all …]
A Dqlge_devlink.c57 struct qlge_adapter *qdev = devlink_health_reporter_priv(reporter); in qlge_reporter_coredump() local
61 if (!netif_running(qdev->ndev)) in qlge_reporter_coredump()
64 if (test_bit(QL_FRC_COREDUMP, &qdev->flags)) { in qlge_reporter_coredump()
65 if (qlge_own_firmware(qdev)) { in qlge_reporter_coredump()
66 qlge_queue_fw_error(qdev); in qlge_reporter_coredump()
70 netif_err(qdev, ifup, qdev->ndev, in qlge_reporter_coredump()
80 err = qlge_core_dump(qdev, dump); in qlge_reporter_coredump()
86 qlge_soft_reset_mpi_risc(qdev); in qlge_reporter_coredump()
/linux/net/qrtr/
A Dsmd.c26 if (!qdev) in qcom_smd_qrtr_callback()
29 rc = qrtr_endpoint_post(&qdev->ep, data, len); in qcom_smd_qrtr_callback()
31 dev_err(qdev->dev, "invalid ipcrouter packet\n"); in qcom_smd_qrtr_callback()
61 struct qrtr_smd_dev *qdev; in qcom_smd_qrtr_probe() local
64 qdev = devm_kzalloc(&rpdev->dev, sizeof(*qdev), GFP_KERNEL); in qcom_smd_qrtr_probe()
65 if (!qdev) in qcom_smd_qrtr_probe()
68 qdev->channel = rpdev->ept; in qcom_smd_qrtr_probe()
69 qdev->dev = &rpdev->dev; in qcom_smd_qrtr_probe()
70 qdev->ep.xmit = qcom_smd_qrtr_send; in qcom_smd_qrtr_probe()
76 dev_set_drvdata(&rpdev->dev, qdev); in qcom_smd_qrtr_probe()
[all …]
A Dmhi.c27 if (!qdev || mhi_res->transaction_status) in qcom_mhi_qrtr_dl_callback()
30 rc = qrtr_endpoint_post(&qdev->ep, mhi_res->buf_addr, in qcom_mhi_qrtr_dl_callback()
33 dev_err(qdev->dev, "invalid ipcrouter packet\n"); in qcom_mhi_qrtr_dl_callback()
78 struct qrtr_mhi_dev *qdev; in qcom_mhi_qrtr_probe() local
86 qdev = devm_kzalloc(&mhi_dev->dev, sizeof(*qdev), GFP_KERNEL); in qcom_mhi_qrtr_probe()
87 if (!qdev) in qcom_mhi_qrtr_probe()
90 qdev->mhi_dev = mhi_dev; in qcom_mhi_qrtr_probe()
91 qdev->dev = &mhi_dev->dev; in qcom_mhi_qrtr_probe()
92 qdev->ep.xmit = qcom_mhi_qrtr_send; in qcom_mhi_qrtr_probe()
94 dev_set_drvdata(&mhi_dev->dev, qdev); in qcom_mhi_qrtr_probe()
[all …]

Completed in 98 milliseconds

12