Searched refs:hw_bank (Results 1 – 5 of 5) sorted by relevance
/drivers/usb/chipidea/ |
D | ci.h | 147 struct hw_bank { struct 206 struct hw_bank hw_bank; member 297 return ioread32(ci->hw_bank.abs + offset) & mask; in hw_read_id_reg() 311 data = (ioread32(ci->hw_bank.abs + offset) & ~mask) in hw_write_id_reg() 314 iowrite32(data, ci->hw_bank.abs + offset); in hw_write_id_reg() 327 return ioread32(ci->hw_bank.regmap[reg]) & mask; in hw_read() 361 data = (ioread32(ci->hw_bank.regmap[reg]) & ~mask) in hw_write() 364 __hw_write(ci, data, ci->hw_bank.regmap[reg]); in hw_write() 378 u32 val = ioread32(ci->hw_bank.regmap[reg]) & mask; in hw_test_and_clear() 380 __hw_write(ci, val, ci->hw_bank.regmap[reg]); in hw_test_and_clear()
|
D | core.c | 130 ci->hw_bank.regmap[i] = in hw_alloc_regmap() 131 (i <= CAP_LAST ? ci->hw_bank.cap : ci->hw_bank.op) + in hw_alloc_regmap() 135 ci->hw_bank.regmap[i] = ci->hw_bank.op + in hw_alloc_regmap() 226 enum ci_hw_regs reg = ci->hw_bank.lpm ? OP_DEVLC : OP_PORTSC; in ci_hdrc_enter_lpm() 227 bool lpm = !!(hw_read(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm))); in ci_hdrc_enter_lpm() 230 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm() 231 PORTSC_PHCD(ci->hw_bank.lpm)); in ci_hdrc_enter_lpm() 233 hw_write(ci, reg, PORTSC_PHCD(ci->hw_bank.lpm), in ci_hdrc_enter_lpm() 242 ci->hw_bank.abs = base; in hw_device_init() 244 ci->hw_bank.cap = ci->hw_bank.abs; in hw_device_init() [all …]
|
D | host.c | 124 hcd->rsrc_start = ci->hw_bank.phys; in host_start() 125 hcd->rsrc_len = ci->hw_bank.size; in host_start() 126 hcd->regs = ci->hw_bank.abs; in host_start() 137 ehci->caps = ci->hw_bank.cap; in host_start() 138 ehci->has_hostpc = ci->hw_bank.lpm; in host_start() 139 ehci->has_tdi_phy_lpm = ci->hw_bank.lpm; in host_start()
|
D | ci_hdrc_msm.c | 18 #define MSM_USB_BASE (ci->hw_bank.abs)
|
D | udc.c | 241 return ci->hw_bank.lpm ? hw_read(ci, OP_DEVLC, DEVLC_PSPD) : in hw_port_is_high_speed()
|