Lines Matching refs:port_cfg

212 	const struct	rockchip_usb2phy_port_cfg *port_cfg;  member
402 &rport->port_cfg->idfall_det_clr, true); in rockchip_usb2phy_enable_id_irq()
406 ret = property_enable(rphy->grf, &rport->port_cfg->idfall_det_en, en); in rockchip_usb2phy_enable_id_irq()
411 &rport->port_cfg->idrise_det_clr, true); in rockchip_usb2phy_enable_id_irq()
415 ret = property_enable(rphy->grf, &rport->port_cfg->idrise_det_en, en); in rockchip_usb2phy_enable_id_irq()
428 &rport->port_cfg->bvalidfall_det_clr, true); in rockchip_usb2phy_enable_vbus_irq()
433 &rport->port_cfg->bvalidfall_det_en, en); in rockchip_usb2phy_enable_vbus_irq()
438 &rport->port_cfg->bvalidrise_det_clr, true); in rockchip_usb2phy_enable_vbus_irq()
443 &rport->port_cfg->bvalidrise_det_en, en); in rockchip_usb2phy_enable_vbus_irq()
454 ret = property_enable(rphy->grf, &rport->port_cfg->ls_det_clr, true); in rockchip_usb2phy_enable_line_irq()
458 ret = property_enable(rphy->grf, &rport->port_cfg->ls_det_en, en); in rockchip_usb2phy_enable_line_irq()
471 &rport->port_cfg->disconrise_det_clr, true); in rockchip_usb2phy_enable_disconn_irq()
476 &rport->port_cfg->disconrise_det_en, en); in rockchip_usb2phy_enable_disconn_irq()
557 &rport->port_cfg->utmi_bvalid); in rockchip_usb2phy_init()
592 ret = property_enable(rphy->grf, &rport->port_cfg->phy_sus, false); in rockchip_usb2phy_power_on()
622 ret = property_enable(rphy->grf, &rport->port_cfg->phy_sus, true); in rockchip_usb2phy_power_off()
862 if (!property_enabled(rphy->grf, &rport->port_cfg->disconrise_det_st)) in rockchip_usb2phy_disconnect_irq()
868 property_enable(rphy->grf, &rport->port_cfg->disconrise_det_clr, true); in rockchip_usb2phy_disconnect_irq()
874 if (!property_enabled(rphy->grf, &rport->port_cfg->utmi_hostdet)) in rockchip_usb2phy_disconnect_irq()
895 if (!property_enabled(rphy->grf, &rport->port_cfg->ls_det_st)) in rockchip_usb2phy_linestate_irq()
931 !property_enabled(rphy->grf, &rport->port_cfg->utmi_iddig)) in rockchip_usb2phy_otg_sm_work()
1082 property_enable(rphy->grf, &rport->port_cfg->idpullup, in otg_mode_store()
1084 property_enable(rphy->grf, &rport->port_cfg->iddig_output, in otg_mode_store()
1086 property_enable(rphy->grf, &rport->port_cfg->iddig_en, in otg_mode_store()
1091 property_enable(rphy->grf, &rport->port_cfg->idpullup, in otg_mode_store()
1093 property_enable(rphy->grf, &rport->port_cfg->iddig_output, in otg_mode_store()
1095 property_enable(rphy->grf, &rport->port_cfg->iddig_en, in otg_mode_store()
1100 property_enable(rphy->grf, &rport->port_cfg->iddig_output, in otg_mode_store()
1102 property_enable(rphy->grf, &rport->port_cfg->iddig_en, in otg_mode_store()
1112 &rport->port_cfg->utmi_bvalid)) { in otg_mode_store()
1141 if (!property_enabled(rphy->grf, &rport->port_cfg->bvalidfall_det_st) && in rockchip_usb2phy_bvalid_irq()
1142 !property_enabled(rphy->grf, &rport->port_cfg->bvalidrise_det_st)) in rockchip_usb2phy_bvalid_irq()
1148 if (property_enabled(rphy->grf, &rport->port_cfg->bvalidfall_det_st)) { in rockchip_usb2phy_bvalid_irq()
1149 property_enable(rphy->grf, &rport->port_cfg->bvalidfall_det_clr, in rockchip_usb2phy_bvalid_irq()
1153 &rport->port_cfg->bvalidrise_det_st)) { in rockchip_usb2phy_bvalid_irq()
1154 property_enable(rphy->grf, &rport->port_cfg->bvalidrise_det_clr, in rockchip_usb2phy_bvalid_irq()
1173 if (!property_enabled(rphy->grf, &rport->port_cfg->idfall_det_st) && in rockchip_usb2phy_id_irq()
1174 !property_enabled(rphy->grf, &rport->port_cfg->idrise_det_st)) in rockchip_usb2phy_id_irq()
1180 if (property_enabled(rphy->grf, &rport->port_cfg->idfall_det_st)) { in rockchip_usb2phy_id_irq()
1181 property_enable(rphy->grf, &rport->port_cfg->idfall_det_clr, in rockchip_usb2phy_id_irq()
1185 &rport->port_cfg->idrise_det_st)) { in rockchip_usb2phy_id_irq()
1186 property_enable(rphy->grf, &rport->port_cfg->idrise_det_clr, in rockchip_usb2phy_id_irq()
1216 rport->port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_OTG]; in rockchip_usb2phy_otg_port_init()
1245 property_enable(rphy->grf, &rport->port_cfg->bypass_otgsuspendm, in rockchip_usb2phy_otg_port_init()
1277 property_enable(rphy->grf, &rport->port_cfg->idpullup, false); in rockchip_usb2phy_otg_port_init()
1321 &rport->port_cfg->utmi_iddig); in rockchip_usb2phy_otg_port_init()
1363 ret = property_enable(rphy->grf, &rport->port_cfg->phy_sus, true); in rockchip_usb2phy_otg_port_init()
1383 rport->port_cfg = &rphy->phy_cfg->port_cfgs[USB2PHY_PORT_HOST]; in rockchip_usb2phy_host_port_init()
1422 ret = property_enable(rphy->grf, &rport->port_cfg->phy_sus, true); in rockchip_usb2phy_host_port_init()
1726 &rport->port_cfg->utmi_iddig); in rockchip_usb2phy_pm_suspend()
1786 &rport->port_cfg->utmi_iddig); in rockchip_usb2phy_pm_resume()