Lines Matching refs:vio_dev
46 static int ibmvtpm_send_crq_word(struct vio_dev *vdev, u64 w1) in ibmvtpm_send_crq_word()
87 static int ibmvtpm_send_crq(struct vio_dev *vdev, in ibmvtpm_send_crq()
343 static void tpm_ibmvtpm_remove(struct vio_dev *vdev) in tpm_ibmvtpm_remove()
381 static unsigned long tpm_ibmvtpm_get_desired_dma(struct vio_dev *vdev) in tpm_ibmvtpm_get_desired_dma()
598 static int tpm_ibmvtpm_probe(struct vio_dev *vio_dev, in tpm_ibmvtpm_probe() argument
602 struct device *dev = &vio_dev->dev; in tpm_ibmvtpm_probe()
618 ibmvtpm->vdev = vio_dev; in tpm_ibmvtpm_probe()
638 rc = plpar_hcall_norets(H_REG_CRQ, vio_dev->unit_address, in tpm_ibmvtpm_probe()
648 rc = request_irq(vio_dev->irq, ibmvtpm_interrupt, 0, in tpm_ibmvtpm_probe()
651 dev_err(dev, "Error %d register irq 0x%x\n", rc, vio_dev->irq); in tpm_ibmvtpm_probe()
655 rc = vio_enable_interrupts(vio_dev); in tpm_ibmvtpm_probe()
706 rc1 = plpar_hcall_norets(H_FREE_CRQ, vio_dev->unit_address); in tpm_ibmvtpm_probe()