Searched refs:hw_bank (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/drivers/usb/chipidea/ |
A D | ci.h | 154 struct hw_bank { struct 215 struct hw_bank hw_bank; member 329 return ioread32(ci->hw_bank.abs + offset) & mask; in hw_read_id_reg() 343 data = (ioread32(ci->hw_bank.abs + offset) & ~mask) in hw_write_id_reg() 346 iowrite32(data, ci->hw_bank.abs + offset); in hw_write_id_reg() 359 return ioread32(ci->hw_bank.regmap[reg]) & mask; in hw_read() 393 data = (ioread32(ci->hw_bank.regmap[reg]) & ~mask) in hw_write() 396 __hw_write(ci, data, ci->hw_bank.regmap[reg]); in hw_write() 410 u32 val = ioread32(ci->hw_bank.regmap[reg]) & mask; in hw_test_and_clear() 412 __hw_write(ci, val, ci->hw_bank.regmap[reg]); in hw_test_and_clear()
|
A D | core.c | 105 ci->hw_bank.regmap[i] = in hw_alloc_regmap() 106 (i <= CAP_LAST ? ci->hw_bank.cap : ci->hw_bank.op) + in hw_alloc_regmap() 110 ci->hw_bank.regmap[i] = ci->hw_bank.op + in hw_alloc_regmap() 223 ci->hw_bank.abs = base; in hw_device_init() 225 ci->hw_bank.cap = ci->hw_bank.abs; in hw_device_init() 227 ci->hw_bank.op = ci->hw_bank.cap + (ioread32(ci->hw_bank.cap) & 0xff); in hw_device_init() 232 ci->hw_bank.lpm = reg; in hw_device_init() 235 ci->hw_bank.size = ci->hw_bank.op - ci->hw_bank.abs; in hw_device_init() 258 ci->rev, ci->hw_bank.lpm, ci->hw_bank.cap, ci->hw_bank.op); in hw_device_init() 299 if (ci->hw_bank.lpm) { in hw_phymode_configure() [all …]
|
A D | host.c | 136 hcd->rsrc_start = ci->hw_bank.phys; in host_start() 137 hcd->rsrc_len = ci->hw_bank.size; in host_start() 138 hcd->regs = ci->hw_bank.abs; in host_start() 150 ehci->caps = ci->hw_bank.cap; in host_start() 151 ehci->has_hostpc = ci->hw_bank.lpm; in host_start() 152 ehci->has_tdi_phy_lpm = ci->hw_bank.lpm; in host_start()
|
A D | udc.c | 250 return ci->hw_bank.lpm ? hw_read(ci, OP_DEVLC, DEVLC_PSPD) : in hw_port_is_high_speed()
|
Completed in 11 milliseconds