Lines Matching refs:smn_dev
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()
188 data = smn_read(smn_dev, CLK_DFSBYPASS_CONTR); in acp63_i2s_master_clock_generate()
189 smn_write(smn_dev, CLK_DFSBYPASS_CONTR, data | EXIT_DPF_BYPASS_0); in acp63_i2s_master_clock_generate()
190 smn_write(smn_dev, CLK_DFSBYPASS_CONTR, data | EXIT_DPF_BYPASS_1); in acp63_i2s_master_clock_generate()
192 smn_write(smn_dev, CLK_DFS_CNTL_N0, CLK0_DIVIDER); in acp63_i2s_master_clock_generate()