Home
last modified time | relevance | path

Searched refs:grfcfg (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/phy/rockchip/
H A Dphy-rockchip-inno-combphy.c73 const struct rockchip_combphy_grfcfg grfcfg; member
145 if (param_read(priv->usb_pcie_grf, &priv->cfg->grfcfg.u3_port_num, 0)) in u3phy_mode_show()
158 param_read(priv->usb_pcie_grf, &priv->cfg->grfcfg.u3_port_num, 0)) { in u3phy_mode_store()
164 &priv->cfg->grfcfg.pipe_l0rxterm_sel, false); in u3phy_mode_store()
167 &priv->cfg->grfcfg.u3_port_num, true); in u3phy_mode_store()
170 &priv->cfg->grfcfg.u3_port_disable, false); in u3phy_mode_store()
174 &priv->cfg->grfcfg.u3_port_num, 1)) { in u3phy_mode_store()
181 &priv->cfg->grfcfg.pipe_l0rxterm_set, false); in u3phy_mode_store()
183 &priv->cfg->grfcfg.pipe_l0rxterm_sel, true); in u3phy_mode_store()
186 &priv->cfg->grfcfg.u3_port_num, false); in u3phy_mode_store()
[all …]
H A Dphy-rockchip-inno-usb3.c117 const struct rockchip_u3phy_grfcfg grfcfg; member
209 if (param_exped(u3phy->u3phy_grf, &u3phy->cfgs->grfcfg.u2_only_ctrl, 1)) in rockchip_u3phy_usb2_only_show()
239 &u3phy->cfgs->grfcfg.u2_only_ctrl, 1)) { in rockchip_u3phy_usb2_only_write()
245 &u3phy->cfgs->grfcfg.u3_disable, false); in rockchip_u3phy_usb2_only_write()
247 &u3phy->cfgs->grfcfg.u2_only_ctrl, false); in rockchip_u3phy_usb2_only_write()
261 &u3phy->cfgs->grfcfg.u2_only_ctrl, 0)) { in rockchip_u3phy_usb2_only_write()
267 &u3phy->cfgs->grfcfg.u3_disable, true); in rockchip_u3phy_usb2_only_write()
269 &u3phy->cfgs->grfcfg.u2_only_ctrl, true); in rockchip_u3phy_usb2_only_write()
420 &u3phy->cfgs->grfcfg.um_suspend, false); in rockchip_u3phy_power_on()
424 &u3phy->cfgs->grfcfg.pp_pwr_st, PIPE_PWR_P2)) in rockchip_u3phy_power_on()
[all …]
H A Dphy-rockchip-naneng-combphy.c73 const struct rockchip_combphy_grfcfg *grfcfg; member
122 const struct rockchip_combphy_grfcfg *cfg = priv->cfg->grfcfg; in rockchip_combphy_is_ready()
162 ret = param_write(priv->pipe_grf, &phy_cfg->grfcfg->u3otg0_port_en, in rockchip_combphy_usb3_init()
166 ret = param_write(priv->pipe_grf, &phy_cfg->grfcfg->u3otg1_port_en, in rockchip_combphy_usb3_init()
238 const struct rockchip_combphy_grfcfg *cfg = priv->cfg->grfcfg; in rockchip_combphy_init()
279 const struct rockchip_combphy_grfcfg *cfg = priv->cfg->grfcfg; in rockchip_combphy_exit()
343 param_write(priv->pipe_grf, &phy_cfg->grfcfg->u3otg0_port_en, in rockchip_combphy_parse_dt()
346 param_write(priv->pipe_grf, &phy_cfg->grfcfg->u3otg1_port_en, in rockchip_combphy_parse_dt()
351 param_write(priv->pipe_grf, &phy_cfg->grfcfg->pipe_sgmii_mac_sel, in rockchip_combphy_parse_dt()
441 const struct rockchip_combphy_grfcfg *cfg = priv->cfg->grfcfg; in rk3528_combphy_cfg()
[all …]
H A Dphy-rockchip-usbdp.c89 struct udphy_grf_cfg grfcfg; member
461 preg = udphy->id ? &cfg->grfcfg.usb3otg1_cfg : &cfg->grfcfg.usb3otg0_cfg; in udphy_u3_port_disable()
469 grfreg_write(udphy->u2phygrf, &cfg->grfcfg.bvalid_phy_con, enable); in udphy_usb_bvalid_enable()
470 grfreg_write(udphy->u2phygrf, &cfg->grfcfg.bvalid_grf_con, enable); in udphy_usb_bvalid_enable()
1368 grfreg_write(udphy->udphygrf, &cfg->grfcfg.rx_lfps, true); in rk3588_udphy_init()
1371 grfreg_write(udphy->udphygrf, &cfg->grfcfg.low_pwrn, true); in rk3588_udphy_init()
1610 .grfcfg = {
/OK3568_Linux_fs/u-boot/drivers/phy/
H A Dphy-rockchip-naneng-combphy.c70 const struct rockchip_combphy_grfcfg *grfcfg; member
184 const struct rockchip_combphy_grfcfg *cfg = priv->cfg->grfcfg; in rockchip_combphy_init()
211 const struct rockchip_combphy_grfcfg *cfg = priv->cfg->grfcfg; in rockchip_combphy_exit()
307 const struct rockchip_combphy_grfcfg *cfg = priv->cfg->grfcfg; in rk3528_combphy_cfg()
386 .grfcfg = &rk3528_combphy_grfcfgs,
392 const struct rockchip_combphy_grfcfg *cfg = priv->cfg->grfcfg; in rk3562_combphy_cfg()
510 .grfcfg = &rk3562_combphy_grfcfgs,
516 const struct rockchip_combphy_grfcfg *cfg = priv->cfg->grfcfg; in rk3568_combphy_cfg()
647 .grfcfg = &rk3568_combphy_grfcfgs,
653 const struct rockchip_combphy_grfcfg *cfg = priv->cfg->grfcfg; in rk3588_combphy_cfg()
[all …]
H A Dphy-rockchip-usbdp.c94 struct udphy_grf_cfg grfcfg; member
404 preg = udphy->id ? &cfg->grfcfg.usb3otg1_cfg : &cfg->grfcfg.usb3otg0_cfg; in udphy_u3_port_disable()
413 grfreg_write(udphy->u2phygrf, &cfg->grfcfg.bvalid_phy_con, enable); in udphy_usb_bvalid_enable()
414 grfreg_write(udphy->u2phygrf, &cfg->grfcfg.bvalid_grf_con, enable); in udphy_usb_bvalid_enable()
1040 grfreg_write(udphy->udphygrf, &cfg->grfcfg.rx_lfps, true); in rk3588_udphy_init()
1043 grfreg_write(udphy->udphygrf, &cfg->grfcfg.low_pwrn, true); in rk3588_udphy_init()
1277 .grfcfg = {
H A Dphy-rockchip-inno-usb3.c102 const struct rockchip_u3phy_grfcfg grfcfg; member
537 .grfcfg = {