Lines Matching +full:0 +full:x49c
18 #define RG_PE1_PIPE_REG 0x02c
22 #define RG_P0_TO_P1_WIDTH 0x100
23 #define RG_PE1_H_LCDDS_REG 0x49c
24 #define RG_PE1_H_LCDDS_PCW GENMASK(30, 0)
26 #define RG_PE1_FRC_H_XTAL_REG 0x400
30 #define RG_PE1_FRC_PHY_REG 0x000
34 #define RG_PE1_H_PLL_REG 0x490
42 #define RG_PE1_H_PLL_FBKSEL_REG 0x4bc
45 #define RG_PE1_H_LCDDS_SSC_PRD_REG 0x4a4
46 #define RG_PE1_H_LCDDS_SSC_PRD GENMASK(15, 0)
48 #define RG_PE1_H_LCDDS_SSC_DELTA_REG 0x4a8
49 #define RG_PE1_H_LCDDS_SSC_DELTA GENMASK(11, 0)
52 #define RG_PE1_LCDDS_CLK_PH_INV_REG 0x4a0
55 #define RG_PE1_H_PLL_BR_REG 0x4ac
58 #define RG_PE1_MSTCKDIV_REG 0x414
106 mt7621_phy_rmw(phy, RG_PE1_PIPE_REG, 0, RG_PE1_PIPE_RST); in mt7621_bypass_pipe_rst()
107 mt7621_phy_rmw(phy, RG_PE1_PIPE_REG, 0, RG_PE1_PIPE_CMD_FRC); in mt7621_bypass_pipe_rst()
111 0, RG_PE1_PIPE_RST); in mt7621_bypass_pipe_rst()
113 0, RG_PE1_PIPE_CMD_FRC); in mt7621_bypass_pipe_rst()
131 FIELD_PREP(RG_PE1_H_XTAL_TYPE, 0x00)); in mt7621_set_phy_for_ssc()
145 FIELD_PREP(RG_PE1_H_PLL_PREDIV, 0x01)); in mt7621_set_phy_for_ssc()
150 FIELD_PREP(RG_PE1_H_PLL_PREDIV, 0x00)); in mt7621_set_phy_for_ssc()
155 FIELD_PREP(RG_PE1_H_PLL_FBKSEL, 0x01)); in mt7621_set_phy_for_ssc()
160 FIELD_PREP(RG_PE1_H_LCDDS_SSC_PRD, 0x00)); in mt7621_set_phy_for_ssc()
165 FIELD_PREP(RG_PE1_H_LCDDS_SSC_PRD, 0x18d)); in mt7621_set_phy_for_ssc()
171 FIELD_PREP(RG_PE1_H_LCDDS_SSC_DELTA, 0x4a) | in mt7621_set_phy_for_ssc()
172 FIELD_PREP(RG_PE1_H_LCDDS_SSC_DELTA1, 0x4a)); in mt7621_set_phy_for_ssc()
177 FIELD_PREP(RG_PE1_H_PLL_PREDIV, 0x00)); in mt7621_set_phy_for_ssc()
190 FIELD_PREP(RG_PE1_H_PLL_BC, 0x02) | in mt7621_set_phy_for_ssc()
191 FIELD_PREP(RG_PE1_H_PLL_BP, 0x06) | in mt7621_set_phy_for_ssc()
192 FIELD_PREP(RG_PE1_H_PLL_IR, 0x02) | in mt7621_set_phy_for_ssc()
193 FIELD_PREP(RG_PE1_H_PLL_IC, 0x01) | in mt7621_set_phy_for_ssc()
194 FIELD_PREP(RG_PE1_PLL_DIVEN, 0x02)); in mt7621_set_phy_for_ssc()
197 FIELD_PREP(RG_PE1_H_PLL_BR, 0x00)); in mt7621_set_phy_for_ssc()
203 FIELD_PREP(RG_PE1_MSTCKDIV, 0x01) | in mt7621_set_phy_for_ssc()
207 return 0; in mt7621_set_phy_for_ssc()
233 return 0; in mt7621_pci_phy_power_on()
249 return 0; in mt7621_pci_phy_power_off()
254 return 0; in mt7621_pci_phy_exit()
270 if (WARN_ON(args->args[0] >= MAX_PHYS)) in mt7621_pcie_phy_of_xlate()
273 mt7621_phy->has_dual_port = args->args[0]; in mt7621_pcie_phy_of_xlate()
275 dev_dbg(dev, "PHY for 0x%px (dual port = %d)\n", in mt7621_pcie_phy_of_xlate()
290 .max_register = 0x700,
311 phy->port_base = devm_platform_ioremap_resource(pdev, 0); in mt7621_pci_phy_probe()