Lines Matching refs:property_enable

360 static inline int property_enable(struct regmap *base,  in property_enable()  function
473 ret = property_enable(base, &rphy->phy_cfg->clkout_ctl, true); in rockchip_usb2phy_clk480m_prepare()
494 property_enable(base, &rphy->phy_cfg->clkout_ctl, false); in rockchip_usb2phy_clk480m_unprepare()
626 ret = property_enable(rphy->grf, &rport->port_cfg->idfall_det_clr, true); in rockchip_usb2phy_enable_id_irq()
630 ret = property_enable(rphy->grf, &rport->port_cfg->idfall_det_en, en); in rockchip_usb2phy_enable_id_irq()
634 ret = property_enable(rphy->grf, &rport->port_cfg->idrise_det_clr, true); in rockchip_usb2phy_enable_id_irq()
638 ret = property_enable(rphy->grf, &rport->port_cfg->idrise_det_en, en); in rockchip_usb2phy_enable_id_irq()
650 ret = property_enable(rphy->grf, &rport->port_cfg->bvalid_det_clr, true); in rockchip_usb2phy_enable_vbus_irq()
654 ret = property_enable(rphy->grf, &rport->port_cfg->bvalid_det_en, en); in rockchip_usb2phy_enable_vbus_irq()
665 ret = property_enable(rphy->grf, &rport->port_cfg->ls_det_clr, true); in rockchip_usb2phy_enable_line_irq()
669 ret = property_enable(rphy->grf, &rport->port_cfg->ls_det_en, en); in rockchip_usb2phy_enable_line_irq()
680 ret = property_enable(rphy->grf, &rport->port_cfg->disfall_clr, true); in rockchip_usb2phy_enable_host_disc_irq()
684 ret = property_enable(rphy->grf, &rport->port_cfg->disfall_en, en); in rockchip_usb2phy_enable_host_disc_irq()
688 ret = property_enable(rphy->grf, &rport->port_cfg->disrise_clr, true); in rockchip_usb2phy_enable_host_disc_irq()
692 ret = property_enable(rphy->grf, &rport->port_cfg->disrise_en, en); in rockchip_usb2phy_enable_host_disc_irq()
727 ret |= property_enable(base, &rport->port_cfg->bypass_sel, in rockchip_usb_bypass_uart()
729 ret |= property_enable(base, &rport->port_cfg->bypass_dm_en, in rockchip_usb_bypass_uart()
734 ret |= property_enable(rphy->grf, iomux, true); in rockchip_usb_bypass_uart()
737 ret |= property_enable(base, &rport->port_cfg->bypass_sel, in rockchip_usb_bypass_uart()
739 ret |= property_enable(base, &rport->port_cfg->bypass_dm_en, in rockchip_usb_bypass_uart()
744 ret |= property_enable(rphy->grf, iomux, false); in rockchip_usb_bypass_uart()
800 property_enable(rphy->usbctrl_grf, in rockchip_usb2phy_init()
890 ret = property_enable(base, &rport->port_cfg->phy_sus, false); in rockchip_usb2phy_power_on()
941 ret = property_enable(base, &rport->port_cfg->phy_sus, true); in rockchip_usb2phy_power_off()
1061 ret = property_enable(rphy->grf, &rport->port_cfg->vbus_det_en, in rockchip_usb2phy_set_mode()
1165 property_enable(base, &rport->port_cfg->iddig_output, false); in otg_mode_store()
1166 property_enable(base, &rport->port_cfg->iddig_en, true); in otg_mode_store()
1170 property_enable(base, &rport->port_cfg->iddig_output, true); in otg_mode_store()
1171 property_enable(base, &rport->port_cfg->iddig_en, true); in otg_mode_store()
1175 property_enable(base, &rport->port_cfg->iddig_output, false); in otg_mode_store()
1176 property_enable(base, &rport->port_cfg->iddig_en, false); in otg_mode_store()
1391 property_enable(base, &rphy->phy_cfg->chg_det.rdm_pdwn_en, en); in rockchip_chg_enable_dcd()
1392 property_enable(base, &rphy->phy_cfg->chg_det.idp_src_en, en); in rockchip_chg_enable_dcd()
1400 property_enable(base, &rphy->phy_cfg->chg_det.vdp_src_en, en); in rockchip_chg_enable_primary_det()
1401 property_enable(base, &rphy->phy_cfg->chg_det.idm_sink_en, en); in rockchip_chg_enable_primary_det()
1409 property_enable(base, &rphy->phy_cfg->chg_det.vdm_src_en, en); in rockchip_chg_enable_secondary_det()
1410 property_enable(base, &rphy->phy_cfg->chg_det.idp_sink_en, en); in rockchip_chg_enable_secondary_det()
1456 property_enable(base, &rphy->phy_cfg->chg_det.chg_mode, true); in rockchip_chg_detect_work()
1534 property_enable(base, &rphy->phy_cfg->chg_det.chg_mode, false); in rockchip_chg_detect_work()
1739 property_enable(rphy->grf, &rport->port_cfg->bvalid_det_clr, true); in rockchip_usb2phy_bvalid_irq()
1768 property_enable(rphy->grf, &rport->port_cfg->idfall_det_clr, in rockchip_usb2phy_id_irq()
1774 property_enable(rphy->grf, &rport->port_cfg->idrise_det_clr, in rockchip_usb2phy_id_irq()
1805 property_enable(rphy->grf, &rport->port_cfg->disfall_clr, in rockchip_usb2phy_host_disc_irq()
1809 property_enable(rphy->grf, &rport->port_cfg->disrise_clr, in rockchip_usb2phy_host_disc_irq()
1998 property_enable(rphy->grf, &cfg->bvalid_phy_con, enable); in rockchip_usb2phy_usb_bvalid_enable()
2001 property_enable(rphy->grf, &cfg->bvalid_grf_con, enable); in rockchip_usb2phy_usb_bvalid_enable()
2074 ret = property_enable(base, &rport->port_cfg->phy_sus, true); in rockchip_usb2phy_host_port_init()
2203 property_enable(base, &rport->port_cfg->bvalid_grf_sel, true); in rockchip_usb2phy_otg_port_init()
2205 property_enable(base, &rport->port_cfg->bvalid_grf_sel, false); in rockchip_usb2phy_otg_port_init()
2243 ret = property_enable(base, &rport->port_cfg->phy_sus, true); in rockchip_usb2phy_otg_port_init()
2473 ret = property_enable(rphy->grf, &rport->port_cfg->bypass_bc, in rockchip_usb2phy_low_power_enable()
2478 ret = property_enable(rphy->grf, &rport->port_cfg->bypass_otg, in rockchip_usb2phy_low_power_enable()
2483 ret = property_enable(rphy->grf, &rport->port_cfg->vbus_det_en, in rockchip_usb2phy_low_power_enable()
2489 ret = property_enable(rphy->grf, &rport->port_cfg->bypass_host, in rockchip_usb2phy_low_power_enable()