Lines Matching refs:dbc
174 if (qdev->dbc[i].usr && qdev->dbc[i].usr->handle == usr->handle) in qaic_postclose()
370 qdev->dbc = devm_kcalloc(dev, qdev->num_dbc, sizeof(*qdev->dbc), GFP_KERNEL); in create_qdev()
371 if (!qdev->dbc) in create_qdev()
415 spin_lock_init(&qdev->dbc[i].xfer_lock); in create_qdev()
416 qdev->dbc[i].qdev = qdev; in create_qdev()
417 qdev->dbc[i].id = i; in create_qdev()
418 INIT_LIST_HEAD(&qdev->dbc[i].xfer_list); in create_qdev()
419 ret = qaicm_srcu_init(drm, &qdev->dbc[i].ch_lock); in create_qdev()
422 init_waitqueue_head(&qdev->dbc[i].dbc_release); in create_qdev()
423 INIT_LIST_HEAD(&qdev->dbc[i].bo_lists); in create_qdev()
501 "qaic_dbc", &qdev->dbc[i]); in init_msi()
506 qdev->dbc[i].irq = pci_irq_vector(pdev, qdev->single_msi ? 0 : i + 1); in init_msi()
508 disable_irq_nosync(qdev->dbc[i].irq); in init_msi()
509 INIT_WORK(&qdev->dbc[i].poll_work, irq_polling_work); in init_msi()
532 qdev->dbc[i].dbc_base = qdev->bar_2 + QAIC_DBC_OFF(i); in qaic_pci_probe()