Lines Matching full:lpm
202 enum ci_hw_regs reg = ci->hw_bank.lpm ? OP_DEVLC : OP_PORTSC; in ci_hdrc_enter_lpm_common()
203 bool lpm = !!(hw_read(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm))); in ci_hdrc_enter_lpm_common() local
205 if (enable && !lpm) in ci_hdrc_enter_lpm_common()
206 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm_common()
207 PORTSC_PHCD(ci->hw_bank.lpm)); in ci_hdrc_enter_lpm_common()
208 else if (!enable && lpm) in ci_hdrc_enter_lpm_common()
209 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm_common()
232 ci->hw_bank.lpm = reg; in hw_device_init()
257 "revision: %d, lpm: %d; cap: %px op: %px\n", in hw_device_init()
258 ci->rev, ci->hw_bank.lpm, ci->hw_bank.cap, ci->hw_bank.op); in hw_device_init()
271 u32 portsc, lpm, sts = 0; in hw_phymode_configure() local
276 lpm = DEVLC_PTS(PTS_UTMI); in hw_phymode_configure()
280 lpm = DEVLC_PTS(PTS_UTMI) | DEVLC_PTW; in hw_phymode_configure()
284 lpm = DEVLC_PTS(PTS_ULPI); in hw_phymode_configure()
288 lpm = DEVLC_PTS(PTS_SERIAL); in hw_phymode_configure()
293 lpm = DEVLC_PTS(PTS_HSIC); in hw_phymode_configure()
299 if (ci->hw_bank.lpm) { in hw_phymode_configure()
300 hw_write(ci, OP_DEVLC, DEVLC_PTS(7) | DEVLC_PTW, lpm); in hw_phymode_configure()
427 if (ci->hw_bank.lpm) in ci_platform_configure()
510 dev_err(ci->dev, "lpm = %i\n", ci->hw_bank.lpm); in hw_device_reset()