Searched refs:smn_dev (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/sound/soc/amd/acp/ |
D | acp63.c | 165 struct pci_dev *smn_dev; in acp63_i2s_master_clock_generate() local 167 smn_dev = pci_get_device(PCI_VENDOR_ID_AMD, 0x14E8, NULL); in acp63_i2s_master_clock_generate() 168 if (!smn_dev) in acp63_i2s_master_clock_generate() 176 data = smn_read(smn_dev, CLK_PLL_PWR_REQ_N0); in acp63_i2s_master_clock_generate() 177 smn_write(smn_dev, CLK_PLL_PWR_REQ_N0, data | PLL_AUTO_STOP_REQ); in acp63_i2s_master_clock_generate() 179 data = smn_read(smn_dev, CLK_SPLL_FIELD_2_N0); in acp63_i2s_master_clock_generate() 181 smn_write(smn_dev, CLK_SPLL_FIELD_2_N0, data | PLL_FRANCE_EN); in acp63_i2s_master_clock_generate() 183 smn_write(smn_dev, CLK_PLL_REQ_N0, clk_pll.clk_pll_req_no_reg); in acp63_i2s_master_clock_generate() 185 data = smn_read(smn_dev, CLK_PLL_PWR_REQ_N0); in acp63_i2s_master_clock_generate() 186 smn_write(smn_dev, CLK_PLL_PWR_REQ_N0, data | PLL_AUTO_START_REQ); in acp63_i2s_master_clock_generate() [all …]
|
D | acp-rembrandt.c | 170 struct pci_dev *smn_dev; in acp6x_master_clock_generate() local 172 smn_dev = pci_get_device(PCI_VENDOR_ID_AMD, HOST_BRIDGE_ID, NULL); in acp6x_master_clock_generate() 173 if (!smn_dev) { in acp6x_master_clock_generate() 178 smn_write(smn_dev, MP1_C2PMSG_93, 0); in acp6x_master_clock_generate() 179 smn_write(smn_dev, MP1_C2PMSG_85, 0xC4); in acp6x_master_clock_generate() 180 smn_write(smn_dev, MP1_C2PMSG_69, 0x4); in acp6x_master_clock_generate() 182 ACP_TIMEOUT, false, smn_dev, MP1_C2PMSG_93); in acp6x_master_clock_generate()
|
D | acp70.c | 142 struct pci_dev *smn_dev; in acp70_i2s_master_clock_generate() local 152 smn_dev = pci_get_device(PCI_VENDOR_ID_AMD, device_id, NULL); in acp70_i2s_master_clock_generate() 154 if (!smn_dev) in acp70_i2s_master_clock_generate() 158 smn_write(smn_dev, CLK7_CLK0_DFS_CNTL_N1, CLK0_DIVIDER); in acp70_i2s_master_clock_generate()
|
/linux-6.12.1/sound/soc/sof/amd/ |
D | acp.c | 215 ACP_PSP_TIMEOUT_US, false, adata->smn_dev, MP0_C2PMSG_114_REG); in psp_mbox_ready() 244 adata->smn_dev, MP0_C2PMSG_73_REG); in psp_send_cmd() 256 smn_write(adata->smn_dev, MP0_C2PMSG_114_REG, cmd); in psp_send_cmd() 259 smn_write(adata->smn_dev, MP0_C2PMSG_73_REG, data); in psp_send_cmd() 772 adata->smn_dev = pci_get_device(PCI_VENDOR_ID_AMD, chip->host_bridge_id, NULL); in amd_sof_acp_probe() 773 if (!adata->smn_dev) { in amd_sof_acp_probe() 802 pci_dev_put(adata->smn_dev); in amd_sof_acp_probe() 849 pci_dev_put(adata->smn_dev); in amd_sof_acp_probe() 860 if (adata->smn_dev) in amd_sof_acp_remove() 861 pci_dev_put(adata->smn_dev); in amd_sof_acp_remove()
|
D | acp.h | 258 struct pci_dev *smn_dev; member
|