/linux-6.3-rc2/drivers/net/ethernet/qlogic/ |
A D | qla3xxx.c | 644 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() 2903 qdev->rsp_current = qdev->rsp_q_virt_addr; in ql_alloc_mem_resources() 3044 qdev->rsp_current = qdev->rsp_q_virt_addr; in ql_adapter_initialize() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/qxl/ |
A D | qxl_kms.c | 62 qxl_io_memslot_add(qdev, qdev->rom->slots_start + slot->index); in setup_hw_slot() 96 setup_hw_slot(qdev, &qdev->main_slot); in qxl_reinit_memslots() 97 setup_hw_slot(qdev, &qdev->surfaces_slot); in qxl_reinit_memslots() 118 qxl_gem_init(qdev); in qxl_device_init() 166 qdev->rom = ioremap_wc(qdev->rom_base, qdev->rom_size); in qxl_device_init() 167 if (!qdev->rom) { in qxl_device_init() 184 qdev->ram_header = ioremap_wc(qdev->vram_base + in qxl_device_init() 253 setup_slot(qdev, &qdev->main_slot, 0, "main", in qxl_device_init() 256 setup_slot(qdev, &qdev->surfaces_slot, 1, "surfaces", in qxl_device_init() 273 qxl_bo_fini(qdev); in qxl_device_init() [all …]
|
A D | qxl_cmd.c | 204 schedule_work(&qdev->gc_work); in qxl_queue_garbage_collect() 206 flush_work(&qdev->gc_work); in qxl_queue_garbage_collect() 244 qxl_release_free(qdev, release); in qxl_garbage_collect() 249 wake_up_all(&qdev->release_event); in qxl_garbage_collect() 283 long addr = qdev->io_base + port; in wait_for_io_cmd_user() 374 qdev->primary_bo = NULL; in qxl_io_destroy_primary() 381 if (WARN_ON(qdev->primary_bo)) in qxl_io_create_primary() 384 DRM_DEBUG_DRIVER("qdev %p, ram_header %p\n", qdev, qdev->ram_header); in qxl_io_create_primary() 398 qdev->primary_bo = bo; in qxl_io_create_primary() 440 qxl_reap_surface_id(qdev, 2); in qxl_surface_id_alloc() [all …]
|
A D | qxl_display.c | 213 if (size > qdev->vram_size) in qxl_check_mode() 256 if (!qdev->monitors_config) in qxl_add_monitors_config_modes() 312 qxl_io_monitors_config(qdev); in qxl_send_monitors_config() 324 if (!qdev->primary_bo) { in qxl_crtc_update_monitors_config() 345 if (qdev->primary_bo == qdev->dumb_shadow_bo) in qxl_crtc_update_monitors_config() 657 if (qdev->primary_bo) in qxl_primary_atomic_update() 1211 qdev->monitors_config = qdev->monitors_config_bo->kptr; in qxl_create_monitors_object() 1213 qxl_bo_physical_address(qdev, qdev->monitors_config_bo, 0); in qxl_create_monitors_object() 1216 qdev->dumb_heads = kcalloc(qxl_num_crtc, sizeof(qdev->dumb_heads[0]), in qxl_create_monitors_object() 1218 if (!qdev->dumb_heads) { in qxl_create_monitors_object() [all …]
|
A D | qxl_irq.c | 35 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 D | qxl_drv.h | 267 int qxl_bo_init(struct qxl_device *qdev); 268 void qxl_bo_fini(struct qxl_device *qdev); 271 int qxl_surf_evict(struct qxl_device *qdev); 288 ? &qdev->main_slot : &qdev->surfaces_slot; in qxl_bo_physical_address() 301 void qxl_gem_init(struct qxl_device *qdev); 302 void qxl_gem_fini(struct qxl_device *qdev); 327 int qxl_ttm_init(struct qxl_device *qdev); 328 void qxl_ttm_fini(struct qxl_device *qdev); 334 int qxl_image_init(struct qxl_device *qdev, 360 void qxl_io_reset(struct qxl_device *qdev); [all …]
|
A D | qxl_release.c | 60 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 D | qxl_ttm.c | 43 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 D | qxl_debugfs.c | 42 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() 56 struct qxl_device *qdev = to_qxl(node->minor->dev); in qxl_debugfs_buffers_info() local 105 for (i = 0; i < qdev->debugfs_count; i++) { in qxl_debugfs_add_files() 106 if (qdev->debugfs[i].files == files) { in qxl_debugfs_add_files() 112 i = qdev->debugfs_count + 1; in qxl_debugfs_add_files() 118 qdev->debugfs[qdev->debugfs_count].files = files; in qxl_debugfs_add_files() 119 qdev->debugfs[qdev->debugfs_count].num_files = nfiles; in qxl_debugfs_add_files() 120 qdev->debugfs_count = i; in qxl_debugfs_add_files() 123 qdev->ddev.primary->debugfs_root, in qxl_debugfs_add_files() [all …]
|
A D | qxl_drv.c | 79 struct qxl_device *qdev; in qxl_pci_probe() local 90 if (IS_ERR(qdev)) { in qxl_pci_probe() 130 qxl_modeset_fini(qdev); in qxl_pci_probe() 132 qxl_device_fini(qdev); in qxl_pci_probe() 151 qxl_modeset_fini(qdev); in qxl_drm_release() 152 qxl_device_fini(qdev); in qxl_drm_release() 179 qxl_surf_evict(qdev); in qxl_drm_freeze() 180 qxl_vram_evict(qdev); in qxl_drm_freeze() 197 qxl_reinit_memslots(qdev); in qxl_drm_resume() 231 qxl_io_reset(qdev); in qxl_pm_resume() [all …]
|
A D | qxl_gem.c | 34 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 D | qxl_draw.c | 31 static int alloc_clips(struct qxl_device *qdev, in alloc_clips() argument 38 return qxl_alloc_bo_reserved(qdev, release, size, clips_bo); in alloc_clips() 74 qxl_release_free(qdev, release); in free_drawable() 114 drawable->mm_time = qdev->rom->mm_clock; in make_drawable() 126 void qxl_draw_dirty_fb(struct qxl_device *qdev, in qxl_draw_dirty_fb() argument 157 ret = alloc_drawable(qdev, &release); in qxl_draw_dirty_fb() 181 ret = alloc_clips(qdev, release, num_clips, &clips_bo); in qxl_draw_dirty_fb() 185 ret = qxl_image_alloc_objects(qdev, release, in qxl_draw_dirty_fb() 226 drawable->clip.data = qxl_bo_physical_address(qdev, in qxl_draw_dirty_fb() 260 qxl_image_free_objects(qdev, dimage); in qxl_draw_dirty_fb() [all …]
|
A D | qxl_object.c | 38 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() 217 map = qdev->vram_mapping; in qxl_bo_kmap_atomic_page() 219 map = qdev->surface_mapping; in qxl_bo_kmap_atomic_page() 366 mutex_lock(&qdev->gem.mutex); in qxl_bo_force_delete() 376 return qxl_ttm_init(qdev); in qxl_bo_init() [all …]
|
A D | qxl_ioctl.c | 38 struct qxl_device *qdev = to_qxl(dev); in qxl_alloc_ioctl() local 65 struct qxl_device *qdev = to_qxl(dev); in qxl_map_ioctl() local 175 ret = qxl_alloc_release_reserved(qdev, in qxl_process_single_command() 193 draw->mm_time = qdev->rom->mm_clock; in qxl_process_single_command() 256 apply_reloc(qdev, &reloc_info[i]); in qxl_process_single_command() 267 qxl_release_free(qdev, release); in qxl_process_single_command() 275 struct qxl_device *qdev = to_qxl(dev); in qxl_execbuffer_ioctl() local 299 struct qxl_device *qdev = to_qxl(dev); in qxl_update_area_ioctl() local 331 ret = qxl_bo_check_id(qdev, qobj); in qxl_update_area_ioctl() 348 struct qxl_device *qdev = to_qxl(dev); in qxl_getparam_ioctl() local [all …]
|
A D | qxl_image.c | 33 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 D | qxl_object.h | 56 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 D | qxl_dumb.c | 35 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-6.3-rc2/drivers/staging/qlge/ |
A D | qlge_mpi.c | 107 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 D | qlge_main.c | 182 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 D | qlge_ethtool.c | 211 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 D | qlge_dbg.c | 426 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 D | qlge.h | 1368 #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() 2183 return readl(qdev->reg_base + reg); in qlge_read32() 2191 writel(val, qdev->reg_base + reg); in qlge_write32() 2281 void qlge_link_on(struct qlge_adapter *qdev); [all …]
|
A D | qlge_devlink.c | 57 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-6.3-rc2/net/qrtr/ |
A D | smd.c | 26 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 D | mhi.c | 27 if (!qdev || mhi_res->transaction_status) 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 81 qdev = devm_kzalloc(&mhi_dev->dev, sizeof(*qdev), GFP_KERNEL); in qcom_mhi_qrtr_probe() 82 if (!qdev) in qcom_mhi_qrtr_probe() 85 qdev->mhi_dev = mhi_dev; in qcom_mhi_qrtr_probe() 86 qdev->dev = &mhi_dev->dev; in qcom_mhi_qrtr_probe() 87 qdev->ep.xmit = qcom_mhi_qrtr_send; in qcom_mhi_qrtr_probe() 89 dev_set_drvdata(&mhi_dev->dev, qdev); in qcom_mhi_qrtr_probe() 97 qrtr_endpoint_unregister(&qdev->ep); in qcom_mhi_qrtr_probe() [all …]
|