| /netbsd/src/sys/external/bsd/dwc2/dist/ |
| D | dwc2_core.c | 121 DWC2_WRITE_4(hsotg, HCFG, hr->hcfg); in dwc2_restore_host_registers() 122 DWC2_WRITE_4(hsotg, HAINTMSK, hr->haintmsk); in dwc2_restore_host_registers() 125 DWC2_WRITE_4(hsotg, HCINTMSK(i), hr->hcintmsk[i]); in dwc2_restore_host_registers() 127 DWC2_WRITE_4(hsotg, HPRT0, hr->hprt0); in dwc2_restore_host_registers() 128 DWC2_WRITE_4(hsotg, HFIR, hr->hfir); in dwc2_restore_host_registers() 219 DWC2_WRITE_4(hsotg, DCFG, dr->dcfg); in dwc2_restore_device_registers() 220 DWC2_WRITE_4(hsotg, DCTL, dr->dctl); in dwc2_restore_device_registers() 221 DWC2_WRITE_4(hsotg, DAINTMSK, dr->daintmsk); in dwc2_restore_device_registers() 222 DWC2_WRITE_4(hsotg, DIEPMSK, dr->diepmsk); in dwc2_restore_device_registers() 223 DWC2_WRITE_4(hsotg, DOEPMSK, dr->doepmsk); in dwc2_restore_device_registers() [all …]
|
| D | dwc2_coreintr.c | 101 DWC2_WRITE_4(hsotg, HPRT0, hprt0); in dwc2_handle_usb_port_intr() 113 DWC2_WRITE_4(hsotg, GINTSTS, GINTSTS_MODEMIS); in dwc2_handle_mode_mismatch_intr() 168 DWC2_WRITE_4(hsotg, GOTGCTL, gotgctl); in dwc2_handle_otg_intr() 184 DWC2_WRITE_4(hsotg, GOTGCTL, gotgctl); in dwc2_handle_otg_intr() 216 DWC2_WRITE_4(hsotg, GINTMSK, gintmsk); in dwc2_handle_otg_intr() 232 DWC2_WRITE_4(hsotg, GOTGCTL, gotgctl); in dwc2_handle_otg_intr() 260 DWC2_WRITE_4(hsotg, GINTMSK, gintmsk); in dwc2_handle_otg_intr() 275 DWC2_WRITE_4(hsotg, GOTGINT, gotgint); in dwc2_handle_otg_intr() 293 DWC2_WRITE_4(hsotg, GINTSTS, GINTSTS_CONIDSTSCHNG); in dwc2_handle_conn_id_status_change_intr() 298 DWC2_WRITE_4(hsotg, GINTMSK, gintmsk); in dwc2_handle_conn_id_status_change_intr() [all …]
|
| D | dwc2_hcd.c | 226 DWC2_WRITE_4(hsotg, HPRT0, hprt0); in dwc2_hcd_start() 251 DWC2_WRITE_4(hsotg, HCCHAR(i), hcchar); in dwc2_hcd_cleanup_channels() 264 DWC2_WRITE_4(hsotg, HCCHAR(i), hcchar); in dwc2_hcd_cleanup_channels() 326 DWC2_WRITE_4(hsotg, GINTMSK, intr); in dwc2_hcd_disconnect() 328 DWC2_WRITE_4(hsotg, GINTSTS, intr); in dwc2_hcd_disconnect() 338 DWC2_WRITE_4(hsotg, HPRT0, 0); in dwc2_hcd_disconnect() 414 DWC2_WRITE_4(hsotg, HPRT0, 0); in dwc2_hcd_stop() 1194 DWC2_WRITE_4(hsotg, GINTMSK, gintmsk); in dwc2_process_periodic_channels() 1205 DWC2_WRITE_4(hsotg, GINTMSK, gintmsk); in dwc2_process_periodic_channels() 1316 DWC2_WRITE_4(hsotg, GINTMSK, gintmsk); in dwc2_process_non_periodic_channels() [all …]
|
| D | dwc2_hcdintr.c | 139 DWC2_WRITE_4(hsotg, GINTSTS, GINTSTS_SOF); in dwc2_sof_intr() 267 DWC2_WRITE_4(hsotg, HFIR, hfir); in dwc2_hprt0_enable() 286 DWC2_WRITE_4(hsotg, GUSBCFG, usbcfg); in dwc2_hprt0_enable() 304 DWC2_WRITE_4(hsotg, HCFG, hcfg); in dwc2_hprt0_enable() 315 DWC2_WRITE_4(hsotg, HCFG, hcfg); in dwc2_hprt0_enable() 323 DWC2_WRITE_4(hsotg, GUSBCFG, usbcfg); in dwc2_hprt0_enable() 330 DWC2_WRITE_4(hsotg, HPRT0, *hprt0_modify); in dwc2_hprt0_enable() 368 DWC2_WRITE_4(hsotg, HPRT0, hprt0_modify | HPRT0_CONNDET); in dwc2_port_intr() 386 DWC2_WRITE_4(hsotg, HPRT0, hprt0_modify | HPRT0_ENACHG); in dwc2_port_intr() 402 DWC2_WRITE_4(hsotg, HCFG, hcfg); in dwc2_port_intr() [all …]
|
| D | dwc2_hcdqueue.c | 706 DWC2_WRITE_4(hsotg, GINTMSK, intr_mask); in dwc2_hcd_qh_add() 746 DWC2_WRITE_4(hsotg, GINTMSK, intr_mask); in dwc2_hcd_qh_unlink()
|
| D | dwc2_hcdddma.c | 198 DWC2_WRITE_4(hsotg, HFLBADDR, hsotg->frame_list_dma); in dwc2_per_sched_enable() 203 DWC2_WRITE_4(hsotg, HCFG, hcfg); in dwc2_per_sched_enable() 224 DWC2_WRITE_4(hsotg, HCFG, hcfg); in dwc2_per_sched_disable()
|
| D | dwc2_hcd.h | 405 DWC2_WRITE_4(hsotg, HCINTMSK(chnum), mask); in disable_hc_int()
|
| /netbsd/src/sys/external/bsd/dwc2/ |
| D | dwc2.h | 69 #define DWC2_WRITE_4(hsotg, reg, data) \ macro
|
| D | dwc2.c | 1154 DWC2_WRITE_4(hsotg, GINTSTS, intrs); in dwc2_intr()
|