Lines Matching full:txp
142 #define TXP_READ(offset) readl(txp->regs + (offset))
143 #define TXP_WRITE(offset, val) writel(val, txp->regs + (offset))
181 struct vc4_txp *txp = vc4->txp; in vc4_txp_debugfs_regs() local
184 if (!txp) in vc4_txp_debugfs_regs()
292 struct vc4_txp *txp = connector_to_vc4_txp(conn); in vc4_txp_connector_atomic_commit() local
330 drm_writeback_queue_job(&txp->connector, conn_state->writeback_job); in vc4_txp_connector_atomic_commit()
363 struct vc4_txp *txp = encoder_to_vc4_txp(encoder); in vc4_txp_encoder_disable() local
386 struct vc4_txp *txp = data; in vc4_txp_interrupt() local
389 vc4_crtc_handle_vblank(to_vc4_crtc(txp->connector.base.state->crtc)); in vc4_txp_interrupt()
390 drm_writeback_signal_completion(&txp->connector, 0); in vc4_txp_interrupt()
400 struct vc4_txp *txp; in vc4_txp_bind() local
407 txp = devm_kzalloc(dev, sizeof(*txp), GFP_KERNEL); in vc4_txp_bind()
408 if (!txp) in vc4_txp_bind()
411 txp->pdev = pdev; in vc4_txp_bind()
413 txp->regs = vc4_ioremap_regs(pdev, 0); in vc4_txp_bind()
414 if (IS_ERR(txp->regs)) in vc4_txp_bind()
415 return PTR_ERR(txp->regs); in vc4_txp_bind()
417 drm_connector_helper_add(&txp->connector.base, in vc4_txp_bind()
419 ret = drm_writeback_connector_init(drm, &txp->connector, in vc4_txp_bind()
427 dev_name(dev), txp); in vc4_txp_bind()
431 dev_set_drvdata(dev, txp); in vc4_txp_bind()
432 vc4->txp = txp; in vc4_txp_bind()
442 struct vc4_txp *txp = dev_get_drvdata(dev); in vc4_txp_unbind() local
444 vc4_txp_connector_destroy(&txp->connector.base); in vc4_txp_unbind()
446 vc4->txp = NULL; in vc4_txp_unbind()
466 { .compatible = "brcm,bcm2835-txp" },