Searched refs:smn_dev (Results 1 – 2 of 2) sorted by relevance
/sound/soc/sof/amd/ |
D | acp.c | 158 smn_read(adata->smn_dev, MP0_C2PMSG_114_REG, &data); in psp_mbox_ready() 189 smn_read(adata->smn_dev, MP0_C2PMSG_73_REG, &data); in psp_send_cmd() 204 smn_write(adata->smn_dev, MP0_C2PMSG_114_REG, cmd); in psp_send_cmd() 207 smn_write(adata->smn_dev, MP0_C2PMSG_73_REG, data); in psp_send_cmd() 492 adata->smn_dev = pci_get_device(PCI_VENDOR_ID_AMD, chip->host_bridge_id, NULL); in amd_sof_acp_probe() 493 if (!adata->smn_dev) { in amd_sof_acp_probe() 504 pci_dev_put(adata->smn_dev); in amd_sof_acp_probe() 511 pci_dev_put(adata->smn_dev); in amd_sof_acp_probe() 536 if (adata->smn_dev) in amd_sof_acp_remove() 537 pci_dev_put(adata->smn_dev); in amd_sof_acp_remove()
|
D | acp.h | 173 struct pci_dev *smn_dev; member
|