Home
last modified time | relevance | path

Searched refs:hreg1 (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/usb/
H A Dhcd-dwc2.h134 uint32_t hreg1[DWC2_HREG1_SIZE / sizeof(uint32_t)]; member
136 #define hcchar(_ch) hreg1[((_ch) << 3) + 0] /* 500, 520, ... */
137 #define hcsplt(_ch) hreg1[((_ch) << 3) + 1] /* 504, 524, ... */
138 #define hcint(_ch) hreg1[((_ch) << 3) + 2] /* 508, 528, ... */
139 #define hcintmsk(_ch) hreg1[((_ch) << 3) + 3] /* 50c, 52c, ... */
140 #define hctsiz(_ch) hreg1[((_ch) << 3) + 4] /* 510, 530, ... */
141 #define hcdma(_ch) hreg1[((_ch) << 3) + 5] /* 514, 534, ... */
142 #define hcdmab(_ch) hreg1[((_ch) << 3) + 7] /* 51c, 53c, ... */
H A Dhcd-dwc2.c126 if (s->hreg1[index + 2] & s->hreg1[index + 3]) { in dwc2_update_hc_irq()
227 uint32_t hcchar = s->hreg1[index]; in dwc2_handle_packet()
350 s->hreg1[index + 4] = hctsiz; in dwc2_handle_packet()
352 s->hreg1[index + 5] = hcdma; in dwc2_handle_packet()
379 s->hreg1[index] = hcchar; in dwc2_handle_packet()
384 s->hreg1[index + 2] |= intr; in dwc2_handle_packet()
622 hcchar = s->hreg1[index]; in dwc2_enable_chan()
623 hctsiz = s->hreg1[index + 4]; in dwc2_enable_chan()
980 val = s->hreg1[index]; in dwc2_hreg1_read()
1003 mmio = &s->hreg1[index]; in dwc2_hreg1_write()
[all …]