Lines Matching defs:hsotg

65 #define dwc2_sch_dbg(hsotg,fmt,...) do {				\  argument
73 #define dwc2_sch_vdbg(hsotg,fmt,...) do { \ argument
1268 #define dwc2_readl(hsotg, reg) \ argument
1271 #define dwc2_writel(hsotg, data, reg) \ argument
1325 static inline bool dwc2_is_iot(struct dwc2_hsotg *hsotg) in dwc2_is_iot()
1330 static inline bool dwc2_is_fs_iot(struct dwc2_hsotg *hsotg) in dwc2_is_fs_iot()
1335 static inline bool dwc2_is_hs_iot(struct dwc2_hsotg *hsotg) in dwc2_is_hs_iot()
1417 static inline int dwc2_is_host_mode(struct dwc2_hsotg *hsotg) in dwc2_is_host_mode()
1422 static inline int dwc2_is_device_mode(struct dwc2_hsotg *hsotg) in dwc2_is_device_mode()
1452 #define dwc2_is_device_connected(hsotg) (hsotg->connected) argument
1453 #define dwc2_is_device_enabled(hsotg) (hsotg->enabled) argument
1470 static inline void dwc2_clear_fifo_map(struct dwc2_hsotg *hsotg) in dwc2_clear_fifo_map()
1479 static inline int dwc2_gadget_init(struct dwc2_hsotg *hsotg) in dwc2_gadget_init()
1483 static inline void dwc2_hsotg_core_disconnect(struct dwc2_hsotg *hsotg) {} in dwc2_hsotg_core_disconnect()
1484 static inline void dwc2_hsotg_core_connect(struct dwc2_hsotg *hsotg) {} in dwc2_hsotg_core_connect()
1486 static inline int dwc2_hsotg_set_test_mode(struct dwc2_hsotg *hsotg, in dwc2_hsotg_set_test_mode()
1489 #define dwc2_is_device_connected(hsotg) (0) argument
1490 #define dwc2_is_device_enabled(hsotg) (0) argument
1491 static inline int dwc2_backup_device_registers(struct dwc2_hsotg *hsotg) in dwc2_backup_device_registers()
1493 static inline int dwc2_restore_device_registers(struct dwc2_hsotg *hsotg, in dwc2_restore_device_registers()
1496 static inline int dwc2_gadget_enter_hibernation(struct dwc2_hsotg *hsotg) in dwc2_gadget_enter_hibernation()
1498 static inline int dwc2_gadget_exit_hibernation(struct dwc2_hsotg *hsotg, in dwc2_gadget_exit_hibernation()
1501 static inline int dwc2_gadget_enter_partial_power_down(struct dwc2_hsotg *hsotg) in dwc2_gadget_enter_partial_power_down()
1503 static inline int dwc2_gadget_exit_partial_power_down(struct dwc2_hsotg *hsotg, in dwc2_gadget_exit_partial_power_down()
1506 static inline void dwc2_gadget_enter_clock_gating(struct dwc2_hsotg *hsotg) {} in dwc2_gadget_enter_clock_gating()
1507 static inline void dwc2_gadget_exit_clock_gating(struct dwc2_hsotg *hsotg, in dwc2_gadget_exit_clock_gating()
1509 static inline int dwc2_hsotg_tx_fifo_count(struct dwc2_hsotg *hsotg) in dwc2_hsotg_tx_fifo_count()
1511 static inline int dwc2_hsotg_tx_fifo_total_depth(struct dwc2_hsotg *hsotg) in dwc2_hsotg_tx_fifo_total_depth()
1513 static inline int dwc2_hsotg_tx_fifo_average_depth(struct dwc2_hsotg *hsotg) in dwc2_hsotg_tx_fifo_average_depth()
1515 static inline void dwc2_gadget_init_lpm(struct dwc2_hsotg *hsotg) {} in dwc2_gadget_init_lpm()
1516 static inline void dwc2_gadget_program_ref_clk(struct dwc2_hsotg *hsotg) {} in dwc2_gadget_program_ref_clk()
1517 static inline void dwc2_clear_fifo_map(struct dwc2_hsotg *hsotg) {} in dwc2_clear_fifo_map()
1540 static inline void dwc2_host_schedule_phy_reset(struct dwc2_hsotg *hsotg) in dwc2_host_schedule_phy_reset()
1545 static inline int dwc2_hcd_get_frame_number(struct dwc2_hsotg *hsotg) in dwc2_hcd_get_frame_number()
1547 static inline int dwc2_hcd_get_future_frame_number(struct dwc2_hsotg *hsotg, in dwc2_hcd_get_future_frame_number()
1550 static inline void dwc2_hcd_connect(struct dwc2_hsotg *hsotg) {} in dwc2_hcd_connect()
1551 static inline void dwc2_hcd_disconnect(struct dwc2_hsotg *hsotg, bool force) {} in dwc2_hcd_disconnect()
1552 static inline void dwc2_hcd_start(struct dwc2_hsotg *hsotg) {} in dwc2_hcd_start()
1554 static inline int dwc2_core_init(struct dwc2_hsotg *hsotg, bool initial_setup) in dwc2_core_init()
1556 static inline int dwc2_port_suspend(struct dwc2_hsotg *hsotg, u16 windex) in dwc2_port_suspend()
1558 static inline int dwc2_port_resume(struct dwc2_hsotg *hsotg) in dwc2_port_resume()
1560 static inline int dwc2_hcd_init(struct dwc2_hsotg *hsotg) in dwc2_hcd_init()
1562 static inline int dwc2_backup_host_registers(struct dwc2_hsotg *hsotg) in dwc2_backup_host_registers()
1564 static inline int dwc2_restore_host_registers(struct dwc2_hsotg *hsotg) in dwc2_restore_host_registers()
1566 static inline int dwc2_host_enter_hibernation(struct dwc2_hsotg *hsotg) in dwc2_host_enter_hibernation()
1568 static inline int dwc2_host_exit_hibernation(struct dwc2_hsotg *hsotg, in dwc2_host_exit_hibernation()
1571 static inline int dwc2_host_enter_partial_power_down(struct dwc2_hsotg *hsotg) in dwc2_host_enter_partial_power_down()
1573 static inline int dwc2_host_exit_partial_power_down(struct dwc2_hsotg *hsotg, in dwc2_host_exit_partial_power_down()
1576 static inline void dwc2_host_enter_clock_gating(struct dwc2_hsotg *hsotg) {} in dwc2_host_enter_clock_gating()
1577 static inline void dwc2_host_exit_clock_gating(struct dwc2_hsotg *hsotg, in dwc2_host_exit_clock_gating()
1581 static inline void dwc2_host_schedule_phy_reset(struct dwc2_hsotg *hsotg) {} in dwc2_host_schedule_phy_reset()