/netbsd-src/sys/external/bsd/dwc2/dist/ |
H A D | dwc2_core.c | 77 static int dwc2_backup_host_registers(struct dwc2_hsotg *hsotg) in dwc2_backup_host_registers() 105 static int dwc2_restore_host_registers(struct dwc2_hsotg *hsotg) in dwc2_restore_host_registers() 134 static inline int dwc2_backup_host_registers(struct dwc2_hsotg *hsotg) in dwc2_backup_host_registers() 137 static inline int dwc2_restore_host_registers(struct dwc2_hsotg *hsotg) in dwc2_restore_host_registers() 150 static int dwc2_backup_device_registers(struct dwc2_hsotg *hsotg) in dwc2_backup_device_registers() 202 static int dwc2_restore_device_registers(struct dwc2_hsotg *hsotg) in dwc2_restore_device_registers() 245 static inline int dwc2_backup_device_registers(struct dwc2_hsotg *hsotg) in dwc2_backup_device_registers() 248 static inline int dwc2_restore_device_registers(struct dwc2_hsotg *hsotg) in dwc2_restore_device_registers() 259 static int dwc2_backup_global_registers(struct dwc2_hsotg *hsotg) in dwc2_backup_global_registers() 289 static int dwc2_restore_global_registers(struct dwc2_hsotg *hsotg) in dwc2_restore_global_registers() [all …]
|
H A D | dwc2_hcd.c | 80 static void dwc2_dump_channel_info(struct dwc2_hsotg *hsotg, in dwc2_dump_channel_info() 143 static void dwc2_kill_urbs_in_qh_list(struct dwc2_hsotg *hsotg, in dwc2_kill_urbs_in_qh_list() 158 static void dwc2_qh_list_free(struct dwc2_hsotg *hsotg, in dwc2_qh_list_free() 198 static void dwc2_kill_all_urbs(struct dwc2_hsotg *hsotg) in dwc2_kill_all_urbs() 214 void dwc2_hcd_start(struct dwc2_hsotg *hsotg) in dwc2_hcd_start() 234 static void dwc2_hcd_cleanup_channels(struct dwc2_hsotg *hsotg) in dwc2_hcd_cleanup_channels() 293 void dwc2_hcd_connect(struct dwc2_hsotg *hsotg) in dwc2_hcd_connect() 310 void dwc2_hcd_disconnect(struct dwc2_hsotg *hsotg, bool force) in dwc2_hcd_disconnect() 379 static void dwc2_hcd_rem_wakeup(struct dwc2_hsotg *hsotg) in dwc2_hcd_rem_wakeup() 399 void dwc2_hcd_stop(struct dwc2_hsotg *hsotg) in dwc2_hcd_stop() [all …]
|
H A D | dwc2_coreintr.c | 69 static const char *dwc2_op_state_str(struct dwc2_hsotg *hsotg) in dwc2_op_state_str() 95 static void dwc2_handle_usb_port_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_usb_port_intr() 110 static void dwc2_handle_mode_mismatch_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_mode_mismatch_intr() 125 static void dwc2_handle_otg_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_otg_intr() 288 static void dwc2_handle_conn_id_status_change_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_conn_id_status_change_intr() 326 static void dwc2_handle_session_req_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_session_req_intr() 359 static void dwc2_handle_wakeup_detected_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_wakeup_detected_intr() 408 static void dwc2_handle_disconnect_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_disconnect_intr() 428 static void dwc2_handle_usb_suspend_intr(struct dwc2_hsotg *hsotg) in dwc2_handle_usb_suspend_intr() 503 static u32 dwc2_read_common_intr(struct dwc2_hsotg *hsotg) in dwc2_read_common_intr() [all …]
|
H A D | dwc2_hcdintr.c | 74 static void dwc2_track_missed_sofs(struct dwc2_hsotg *hsotg) in dwc2_track_missed_sofs() 104 static void dwc2_hc_handle_tt_clear(struct dwc2_hsotg *hsotg, in dwc2_hc_handle_tt_clear() 132 static void dwc2_sof_intr(struct dwc2_hsotg *hsotg) in dwc2_sof_intr() 172 static void dwc2_rx_fifo_level_intr(struct dwc2_hsotg *hsotg) in dwc2_rx_fifo_level_intr() 230 static void dwc2_np_tx_fifo_empty_intr(struct dwc2_hsotg *hsotg) in dwc2_np_tx_fifo_empty_intr() 242 static void dwc2_perio_tx_fifo_empty_intr(struct dwc2_hsotg *hsotg) in dwc2_perio_tx_fifo_empty_intr() 249 static void dwc2_hprt0_enable(struct dwc2_hsotg *hsotg, u32 hprt0, in dwc2_hprt0_enable() 346 static void dwc2_port_intr(struct dwc2_hsotg *hsotg) in dwc2_port_intr() 431 static u32 dwc2_get_actual_xfer_length(struct dwc2_hsotg *hsotg, in dwc2_get_actual_xfer_length() 479 static int dwc2_update_urb_state(struct dwc2_hsotg *hsotg, in dwc2_update_urb_state() [all …]
|
H A D | dwc2_hcdqueue.c | 81 static void dwc2_qh_init(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, in dwc2_qh_init() 220 struct dwc2_qh *dwc2_hcd_qh_create(struct dwc2_hsotg *hsotg, in dwc2_hcd_qh_create() 258 void dwc2_hcd_qh_free(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) in dwc2_hcd_qh_free() 290 static int dwc2_periodic_channel_available(struct dwc2_hsotg *hsotg) in dwc2_periodic_channel_available() 328 static int dwc2_check_periodic_bandwidth(struct dwc2_hsotg *hsotg, in dwc2_check_periodic_bandwidth() 370 void dwc2_hcd_init_usecs(struct dwc2_hsotg *hsotg) in dwc2_hcd_init_usecs() 378 static int dwc2_find_single_uframe(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) in dwc2_find_single_uframe() 397 static int dwc2_find_multi_uframe(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) in dwc2_find_multi_uframe() 453 static int dwc2_find_uframe(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) in dwc2_find_uframe() 480 static int dwc2_check_max_xfer_size(struct dwc2_hsotg *hsotg, in dwc2_check_max_xfer_size() [all …]
|
H A D | dwc2_hcdddma.c | 97 static int dwc2_desc_list_alloc(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, in dwc2_desc_list_alloc() 128 static void dwc2_desc_list_free(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) in dwc2_desc_list_free() 140 static int dwc2_frame_list_alloc(struct dwc2_hsotg *hsotg, gfp_t mem_flags) in dwc2_frame_list_alloc() 164 static void dwc2_frame_list_free(struct dwc2_hsotg *hsotg) in dwc2_frame_list_free() 184 static void dwc2_per_sched_enable(struct dwc2_hsotg *hsotg, u32 fr_list_en) in dwc2_per_sched_enable() 208 static void dwc2_per_sched_disable(struct dwc2_hsotg *hsotg) in dwc2_per_sched_disable() 233 static void dwc2_update_frame_list(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, in dwc2_update_frame_list() 295 static void dwc2_release_channel_ddma(struct dwc2_hsotg *hsotg, in dwc2_release_channel_ddma() 342 int dwc2_hcd_qh_init_ddma(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, in dwc2_hcd_qh_init_ddma() 388 void dwc2_hcd_qh_free_ddma(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) in dwc2_hcd_qh_free_ddma() [all …]
|
H A D | dwc2_core.h | 1146 static inline int dwc2_is_host_mode(struct dwc2_hsotg *hsotg) in dwc2_is_host_mode() 1151 static inline int dwc2_is_device_mode(struct dwc2_hsotg *hsotg) in dwc2_is_device_mode() 1179 #define dwc2_is_device_connected(hsotg) (hsotg->connected) argument 1187 static inline int dwc2_gadget_init(struct dwc2_hsotg *hsotg, int irq) in dwc2_gadget_init() 1191 static inline void dwc2_hsotg_core_connect(struct dwc2_hsotg *hsotg) {} in dwc2_hsotg_core_connect() 1193 static inline int dwc2_hsotg_set_test_mode(struct dwc2_hsotg *hsotg, in dwc2_hsotg_set_test_mode() 1196 #define dwc2_is_device_connected(hsotg) (0) argument 1205 static inline int dwc2_hcd_get_frame_number(struct dwc2_hsotg *hsotg) in dwc2_hcd_get_frame_number() 1207 static inline void dwc2_hcd_connect(struct dwc2_hsotg *hsotg) {} in dwc2_hcd_connect() 1208 static inline void dwc2_hcd_disconnect(struct dwc2_hsotg *hsotg, bool force) {} in dwc2_hcd_disconnect() [all …]
|
H A D | dwc2_hcd.h | 279 struct dwc2_hsotg *hsotg; member 382 struct dwc2_hsotg *hsotg; member 388 static inline struct usb_hcd *dwc2_hsotg_to_hcd(struct dwc2_hsotg *hsotg) in dwc2_hsotg_to_hcd() 400 static inline void disable_hc_int(struct dwc2_hsotg *hsotg, int chnum, u32 intr) in disable_hc_int() 412 static inline u32 dwc2_read_hprt0(struct dwc2_hsotg *hsotg) in dwc2_read_hprt0() 600 static inline u32 dwc2_read_core_intr(struct dwc2_hsotg *hsotg) in dwc2_read_core_intr() 641 static inline int dwc2_hcd_is_bandwidth_allocated(struct dwc2_hsotg *hsotg, in dwc2_hcd_is_bandwidth_allocated() 653 static inline u16 dwc2_hcd_get_ep_bandwidth(struct dwc2_hsotg *hsotg, in dwc2_hcd_get_ep_bandwidth()
|
/netbsd-src/sys/external/bsd/dwc2/ |
H A D | dwc2.c | 164 dwc2_allocate_bus_bandwidth(struct dwc2_hsotg *hsotg, u16 bw, in dwc2_allocate_bus_bandwidth() 170 dwc2_free_bus_bandwidth(struct dwc2_hsotg *hsotg, u16 bw, in dwc2_free_bus_bandwidth() 323 struct dwc2_hsotg *hsotg = sc->sc_hsotg; in dwc2_softintr() local 437 struct dwc2_hsotg *hsotg = sc->sc_hsotg; in dwc2_poll() local 464 struct dwc2_hsotg *hsotg = sc->sc_hsotg; in dwc2_abortx() local 894 struct dwc2_hsotg *hsotg = sc->sc_hsotg; in dwc2_device_start() local 1138 struct dwc2_hsotg *hsotg; in dwc2_intr() local 1276 struct dwc2_hsotg *hsotg = sc->sc_hsotg; in dwc2_init() local 1362 void dwc2_host_hub_info(struct dwc2_hsotg *hsotg, void *context, int *hub_addr, in dwc2_host_hub_info() 1373 int dwc2_host_get_speed(struct dwc2_hsotg *hsotg, void *context) in dwc2_host_get_speed() [all …]
|
H A D | dwc2.h | 67 #define DWC2_READ_4(hsotg, reg) \ argument 69 #define DWC2_WRITE_4(hsotg, reg, data) \ argument
|
/netbsd-src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
H A D | s5pv210.dtsi | 408 hsotg: hsotg@ec000000 { label
|
H A D | exynos3250.dtsi | 367 hsotg: hsotg@12480000 { label
|
H A D | exynos4.dtsi | 365 hsotg: hsotg@12480000 { label
|