Lines Matching refs:hw_bank
129 ci->hw_bank.regmap[i] = in hw_alloc_regmap()
130 (i <= CAP_LAST ? ci->hw_bank.cap : ci->hw_bank.op) + in hw_alloc_regmap()
134 ci->hw_bank.regmap[i] = ci->hw_bank.op + in hw_alloc_regmap()
225 enum ci_hw_regs reg = ci->hw_bank.lpm ? OP_DEVLC : OP_PORTSC; in ci_hdrc_enter_lpm()
226 bool lpm = !!(hw_read(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm))); in ci_hdrc_enter_lpm()
229 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm()
230 PORTSC_PHCD(ci->hw_bank.lpm)); in ci_hdrc_enter_lpm()
232 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm()
241 ci->hw_bank.abs = base; in hw_device_init()
243 ci->hw_bank.cap = ci->hw_bank.abs; in hw_device_init()
244 ci->hw_bank.cap += ci->platdata->capoffset; in hw_device_init()
245 ci->hw_bank.op = ci->hw_bank.cap + (ioread32(ci->hw_bank.cap) & 0xff); in hw_device_init()
250 ci->hw_bank.lpm = reg; in hw_device_init()
253 ci->hw_bank.size = ci->hw_bank.op - ci->hw_bank.abs; in hw_device_init()
254 ci->hw_bank.size += OP_LAST; in hw_device_init()
255 ci->hw_bank.size /= sizeof(u32); in hw_device_init()
276 ci->rev, ci->hw_bank.lpm, ci->hw_bank.cap, ci->hw_bank.op); in hw_device_init()
317 if (ci->hw_bank.lpm) { in hw_phymode_configure()
445 if (ci->hw_bank.lpm) in ci_platform_configure()
528 dev_err(ci->dev, "lpm = %i\n", ci->hw_bank.lpm); in hw_device_reset()
1072 ci->hw_bank.phys = res->start; in ci_hdrc_probe()