Lines Matching refs:hw_bank
103 ci->hw_bank.regmap[i] = in hw_alloc_regmap()
104 (i <= CAP_LAST ? ci->hw_bank.cap : ci->hw_bank.op) + in hw_alloc_regmap()
108 ci->hw_bank.regmap[i] = ci->hw_bank.op + in hw_alloc_regmap()
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()
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()
207 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm()
216 ci->hw_bank.abs = base; in hw_device_init()
218 ci->hw_bank.cap = ci->hw_bank.abs; in hw_device_init()
219 ci->hw_bank.cap += ci->platdata->capoffset; in hw_device_init()
220 ci->hw_bank.op = ci->hw_bank.cap + (ioread32(ci->hw_bank.cap) & 0xff); in hw_device_init()
225 ci->hw_bank.lpm = reg; in hw_device_init()
228 ci->hw_bank.size = ci->hw_bank.op - ci->hw_bank.abs; in hw_device_init()
229 ci->hw_bank.size += OP_LAST; in hw_device_init()
230 ci->hw_bank.size /= sizeof(u32); in hw_device_init()
251 ci->rev, ci->hw_bank.lpm, ci->hw_bank.cap, ci->hw_bank.op); in hw_device_init()
292 if (ci->hw_bank.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()
1103 ci->hw_bank.phys = res->start; in ci_hdrc_probe()