Lines Matching defs:hsotg
30 #define dwc2_sch_dbg(hsotg, fmt, ...) \ argument
35 #define dwc2_sch_vdbg(hsotg, fmt, ...) \ argument
1231 static inline u32 dwc2_readl(struct dwc2_hsotg *hsotg, u32 offset) in dwc2_readl()
1242 static inline void dwc2_writel(struct dwc2_hsotg *hsotg, u32 value, u32 offset) in dwc2_writel()
1254 static inline void dwc2_readl_rep(struct dwc2_hsotg *hsotg, u32 offset, in dwc2_readl_rep()
1267 static inline void dwc2_writel_rep(struct dwc2_hsotg *hsotg, u32 offset, in dwc2_writel_rep()
1298 static inline bool dwc2_is_iot(struct dwc2_hsotg *hsotg) in dwc2_is_iot()
1303 static inline bool dwc2_is_fs_iot(struct dwc2_hsotg *hsotg) in dwc2_is_fs_iot()
1308 static inline bool dwc2_is_hs_iot(struct dwc2_hsotg *hsotg) in dwc2_is_hs_iot()
1390 static inline int dwc2_is_host_mode(struct dwc2_hsotg *hsotg) in dwc2_is_host_mode()
1395 static inline int dwc2_is_device_mode(struct dwc2_hsotg *hsotg) in dwc2_is_device_mode()
1425 #define dwc2_is_device_connected(hsotg) (hsotg->connected) argument
1426 #define dwc2_is_device_enabled(hsotg) (hsotg->enabled) argument
1446 static inline void dwc2_clear_fifo_map(struct dwc2_hsotg *hsotg) in dwc2_clear_fifo_map()
1455 static inline int dwc2_gadget_init(struct dwc2_hsotg *hsotg) in dwc2_gadget_init()
1459 static inline void dwc2_hsotg_core_disconnect(struct dwc2_hsotg *hsotg) {} in dwc2_hsotg_core_disconnect()
1460 static inline void dwc2_hsotg_core_connect(struct dwc2_hsotg *hsotg) {} in dwc2_hsotg_core_connect()
1462 static inline int dwc2_hsotg_set_test_mode(struct dwc2_hsotg *hsotg, in dwc2_hsotg_set_test_mode()
1465 #define dwc2_is_device_connected(hsotg) (0) argument
1466 #define dwc2_is_device_enabled(hsotg) (0) argument
1467 static inline int dwc2_backup_device_registers(struct dwc2_hsotg *hsotg) in dwc2_backup_device_registers()
1469 static inline int dwc2_restore_device_registers(struct dwc2_hsotg *hsotg, in dwc2_restore_device_registers()
1472 static inline int dwc2_gadget_enter_hibernation(struct dwc2_hsotg *hsotg) in dwc2_gadget_enter_hibernation()
1474 static inline int dwc2_gadget_exit_hibernation(struct dwc2_hsotg *hsotg, in dwc2_gadget_exit_hibernation()
1477 static inline int dwc2_gadget_enter_partial_power_down(struct dwc2_hsotg *hsotg) in dwc2_gadget_enter_partial_power_down()
1479 static inline int dwc2_gadget_exit_partial_power_down(struct dwc2_hsotg *hsotg, in dwc2_gadget_exit_partial_power_down()
1482 static inline void dwc2_gadget_enter_clock_gating(struct dwc2_hsotg *hsotg) {} in dwc2_gadget_enter_clock_gating()
1483 static inline void dwc2_gadget_exit_clock_gating(struct dwc2_hsotg *hsotg, in dwc2_gadget_exit_clock_gating()
1485 static inline int dwc2_hsotg_tx_fifo_count(struct dwc2_hsotg *hsotg) in dwc2_hsotg_tx_fifo_count()
1487 static inline int dwc2_hsotg_tx_fifo_total_depth(struct dwc2_hsotg *hsotg) in dwc2_hsotg_tx_fifo_total_depth()
1489 static inline int dwc2_hsotg_tx_fifo_average_depth(struct dwc2_hsotg *hsotg) in dwc2_hsotg_tx_fifo_average_depth()
1491 static inline void dwc2_gadget_init_lpm(struct dwc2_hsotg *hsotg) {} in dwc2_gadget_init_lpm()
1492 static inline void dwc2_gadget_program_ref_clk(struct dwc2_hsotg *hsotg) {} in dwc2_gadget_program_ref_clk()
1493 static inline int dwc2_gadget_backup_critical_registers(struct dwc2_hsotg *hsotg) in dwc2_gadget_backup_critical_registers()
1495 static inline int dwc2_gadget_restore_critical_registers(struct dwc2_hsotg *hsotg, in dwc2_gadget_restore_critical_registers()
1498 static inline void dwc2_clear_fifo_map(struct dwc2_hsotg *hsotg) {} in dwc2_clear_fifo_map()
1523 static inline void dwc2_host_schedule_phy_reset(struct dwc2_hsotg *hsotg) in dwc2_host_schedule_phy_reset()
1526 static inline int dwc2_hcd_get_frame_number(struct dwc2_hsotg *hsotg) in dwc2_hcd_get_frame_number()
1528 static inline int dwc2_hcd_get_future_frame_number(struct dwc2_hsotg *hsotg, in dwc2_hcd_get_future_frame_number()
1531 static inline void dwc2_hcd_connect(struct dwc2_hsotg *hsotg) {} in dwc2_hcd_connect()
1532 static inline void dwc2_hcd_disconnect(struct dwc2_hsotg *hsotg, bool force) {} in dwc2_hcd_disconnect()
1533 static inline void dwc2_hcd_start(struct dwc2_hsotg *hsotg) {} in dwc2_hcd_start()
1534 static inline void dwc2_hcd_remove(struct dwc2_hsotg *hsotg) {} in dwc2_hcd_remove()
1535 static inline int dwc2_core_init(struct dwc2_hsotg *hsotg, bool initial_setup) in dwc2_core_init()
1537 static inline int dwc2_port_suspend(struct dwc2_hsotg *hsotg, u16 windex) in dwc2_port_suspend()
1539 static inline int dwc2_port_resume(struct dwc2_hsotg *hsotg) in dwc2_port_resume()
1541 static inline int dwc2_hcd_init(struct dwc2_hsotg *hsotg) in dwc2_hcd_init()
1543 static inline int dwc2_backup_host_registers(struct dwc2_hsotg *hsotg) in dwc2_backup_host_registers()
1545 static inline int dwc2_restore_host_registers(struct dwc2_hsotg *hsotg) in dwc2_restore_host_registers()
1547 static inline int dwc2_host_enter_hibernation(struct dwc2_hsotg *hsotg) in dwc2_host_enter_hibernation()
1549 static inline int dwc2_host_exit_hibernation(struct dwc2_hsotg *hsotg, in dwc2_host_exit_hibernation()
1552 static inline int dwc2_host_enter_partial_power_down(struct dwc2_hsotg *hsotg) in dwc2_host_enter_partial_power_down()
1554 static inline int dwc2_host_exit_partial_power_down(struct dwc2_hsotg *hsotg, in dwc2_host_exit_partial_power_down()
1557 static inline void dwc2_host_enter_clock_gating(struct dwc2_hsotg *hsotg) {} in dwc2_host_enter_clock_gating()
1558 static inline void dwc2_host_exit_clock_gating(struct dwc2_hsotg *hsotg, in dwc2_host_exit_clock_gating()
1562 static inline int dwc2_host_backup_critical_registers(struct dwc2_hsotg *hsotg) in dwc2_host_backup_critical_registers()
1564 static inline int dwc2_host_restore_critical_registers(struct dwc2_hsotg *hsotg) in dwc2_host_restore_critical_registers()
1566 static inline void dwc2_host_schedule_phy_reset(struct dwc2_hsotg *hsotg) {} in dwc2_host_schedule_phy_reset()