Lines Matching full:lpm
200 enum ci_hw_regs reg = ci->hw_bank.lpm ? OP_DEVLC : OP_PORTSC; in ci_hdrc_enter_lpm()
201 bool lpm = !!(hw_read(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm))); in ci_hdrc_enter_lpm() local
203 if (enable && !lpm) in ci_hdrc_enter_lpm()
204 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm()
205 PORTSC_PHCD(ci->hw_bank.lpm)); in ci_hdrc_enter_lpm()
206 else if (!enable && lpm) in ci_hdrc_enter_lpm()
207 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm()
225 ci->hw_bank.lpm = reg; in hw_device_init()
250 "revision: %d, lpm: %d; cap: %px op: %px\n", in hw_device_init()
251 ci->rev, ci->hw_bank.lpm, ci->hw_bank.cap, ci->hw_bank.op); in hw_device_init()
264 u32 portsc, lpm, sts = 0; in hw_phymode_configure() local
269 lpm = DEVLC_PTS(PTS_UTMI); in hw_phymode_configure()
273 lpm = DEVLC_PTS(PTS_UTMI) | DEVLC_PTW; in hw_phymode_configure()
277 lpm = DEVLC_PTS(PTS_ULPI); in hw_phymode_configure()
281 lpm = DEVLC_PTS(PTS_SERIAL); in hw_phymode_configure()
286 lpm = DEVLC_PTS(PTS_HSIC); in hw_phymode_configure()
292 if (ci->hw_bank.lpm) { in hw_phymode_configure()
293 hw_write(ci, OP_DEVLC, DEVLC_PTS(7) | DEVLC_PTW, lpm); in hw_phymode_configure()
420 if (ci->hw_bank.lpm) in ci_platform_configure()
503 dev_err(ci->dev, "lpm = %i\n", ci->hw_bank.lpm); in hw_device_reset()