dwc2_hsotg 67 drivers/usb/dwc2/core.c int dwc2_backup_global_registers(struct dwc2_hsotg *hsotg) dwc2_hsotg 99 drivers/usb/dwc2/core.c int dwc2_restore_global_registers(struct dwc2_hsotg *hsotg) dwc2_hsotg 136 drivers/usb/dwc2/core.c int dwc2_exit_partial_power_down(struct dwc2_hsotg *hsotg, bool restore) dwc2_hsotg 189 drivers/usb/dwc2/core.c int dwc2_enter_partial_power_down(struct dwc2_hsotg *hsotg) dwc2_hsotg 251 drivers/usb/dwc2/core.c static void dwc2_restore_essential_regs(struct dwc2_hsotg *hsotg, int rmode, dwc2_hsotg 319 drivers/usb/dwc2/core.c void dwc2_hib_restore_common(struct dwc2_hsotg *hsotg, int rem_wakeup, dwc2_hsotg 385 drivers/usb/dwc2/core.c static void dwc2_wait_for_mode(struct dwc2_hsotg *hsotg, dwc2_hsotg 425 drivers/usb/dwc2/core.c static bool dwc2_iddig_filter_enabled(struct dwc2_hsotg *hsotg) dwc2_hsotg 461 drivers/usb/dwc2/core.c int dwc2_enter_hibernation(struct dwc2_hsotg *hsotg, int is_host) dwc2_hsotg 482 drivers/usb/dwc2/core.c int dwc2_exit_hibernation(struct dwc2_hsotg *hsotg, int rem_wakeup, dwc2_hsotg 495 drivers/usb/dwc2/core.c int dwc2_core_reset(struct dwc2_hsotg *hsotg, bool skip_wait) dwc2_hsotg 573 drivers/usb/dwc2/core.c void dwc2_force_mode(struct dwc2_hsotg *hsotg, bool host) dwc2_hsotg 621 drivers/usb/dwc2/core.c static void dwc2_clear_force_mode(struct dwc2_hsotg *hsotg) dwc2_hsotg 642 drivers/usb/dwc2/core.c void dwc2_force_dr_mode(struct dwc2_hsotg *hsotg) dwc2_hsotg 670 drivers/usb/dwc2/core.c void dwc2_enable_acg(struct dwc2_hsotg *hsotg) dwc2_hsotg 689 drivers/usb/dwc2/core.c void dwc2_dump_host_registers(struct dwc2_hsotg *hsotg) dwc2_hsotg 762 drivers/usb/dwc2/core.c void dwc2_dump_global_registers(struct dwc2_hsotg *hsotg) dwc2_hsotg 853 drivers/usb/dwc2/core.c void dwc2_flush_tx_fifo(struct dwc2_hsotg *hsotg, const int num) dwc2_hsotg 881 drivers/usb/dwc2/core.c void dwc2_flush_rx_fifo(struct dwc2_hsotg *hsotg) dwc2_hsotg 904 drivers/usb/dwc2/core.c bool dwc2_is_controller_alive(struct dwc2_hsotg *hsotg) dwc2_hsotg 918 drivers/usb/dwc2/core.c void dwc2_enable_global_interrupts(struct dwc2_hsotg *hsotg) dwc2_hsotg 932 drivers/usb/dwc2/core.c void dwc2_disable_global_interrupts(struct dwc2_hsotg *hsotg) dwc2_hsotg 941 drivers/usb/dwc2/core.c unsigned int dwc2_op_mode(struct dwc2_hsotg *hsotg) dwc2_hsotg 950 drivers/usb/dwc2/core.c bool dwc2_hw_is_otg(struct dwc2_hsotg *hsotg) dwc2_hsotg 960 drivers/usb/dwc2/core.c bool dwc2_hw_is_host(struct dwc2_hsotg *hsotg) dwc2_hsotg 969 drivers/usb/dwc2/core.c bool dwc2_hw_is_device(struct dwc2_hsotg *hsotg) dwc2_hsotg 986 drivers/usb/dwc2/core.c int dwc2_hsotg_wait_bit_set(struct dwc2_hsotg *hsotg, u32 offset, u32 mask, dwc2_hsotg 1009 drivers/usb/dwc2/core.c int dwc2_hsotg_wait_bit_clear(struct dwc2_hsotg *hsotg, u32 offset, u32 mask, dwc2_hsotg 1027 drivers/usb/dwc2/core.c void dwc2_init_fs_ls_pclk_sel(struct dwc2_hsotg *hsotg) dwc2_hsotg 1049 drivers/usb/dwc2/core.c static int dwc2_fs_phy_init(struct dwc2_hsotg *hsotg, bool select_phy) dwc2_hsotg 1119 drivers/usb/dwc2/core.c static int dwc2_hs_phy_init(struct dwc2_hsotg *hsotg, bool select_phy) dwc2_hsotg 1185 drivers/usb/dwc2/core.c int dwc2_phy_init(struct dwc2_hsotg *hsotg, bool select_phy) dwc2_hsotg 99 drivers/usb/dwc2/core.h struct dwc2_hsotg; dwc2_hsotg 152 drivers/usb/dwc2/core.h struct dwc2_hsotg *parent; dwc2_hsotg 213 drivers/usb/dwc2/core.h struct dwc2_hsotg; dwc2_hsotg 1204 drivers/usb/dwc2/core.h static inline u32 dwc2_readl(struct dwc2_hsotg *hsotg, u32 offset) dwc2_hsotg 1215 drivers/usb/dwc2/core.h static inline void dwc2_writel(struct dwc2_hsotg *hsotg, u32 value, u32 offset) dwc2_hsotg 1227 drivers/usb/dwc2/core.h static inline void dwc2_readl_rep(struct dwc2_hsotg *hsotg, u32 offset, dwc2_hsotg 1240 drivers/usb/dwc2/core.h static inline void dwc2_writel_rep(struct dwc2_hsotg *hsotg, u32 offset, dwc2_hsotg 1271 drivers/usb/dwc2/core.h static inline bool dwc2_is_iot(struct dwc2_hsotg *hsotg) dwc2_hsotg 1276 drivers/usb/dwc2/core.h static inline bool dwc2_is_fs_iot(struct dwc2_hsotg *hsotg) dwc2_hsotg 1281 drivers/usb/dwc2/core.h static inline bool dwc2_is_hs_iot(struct dwc2_hsotg *hsotg) dwc2_hsotg 1290 drivers/usb/dwc2/core.h int dwc2_core_reset(struct dwc2_hsotg *hsotg, bool skip_wait); dwc2_hsotg 1291 drivers/usb/dwc2/core.h int dwc2_enter_partial_power_down(struct dwc2_hsotg *hsotg); dwc2_hsotg 1292 drivers/usb/dwc2/core.h int dwc2_exit_partial_power_down(struct dwc2_hsotg *hsotg, bool restore); dwc2_hsotg 1293 drivers/usb/dwc2/core.h int dwc2_enter_hibernation(struct dwc2_hsotg *hsotg, int is_host); dwc2_hsotg 1294 drivers/usb/dwc2/core.h int dwc2_exit_hibernation(struct dwc2_hsotg *hsotg, int rem_wakeup, dwc2_hsotg 1296 drivers/usb/dwc2/core.h void dwc2_init_fs_ls_pclk_sel(struct dwc2_hsotg *hsotg); dwc2_hsotg 1297 drivers/usb/dwc2/core.h int dwc2_phy_init(struct dwc2_hsotg *hsotg, bool select_phy); dwc2_hsotg 1299 drivers/usb/dwc2/core.h void dwc2_force_mode(struct dwc2_hsotg *hsotg, bool host); dwc2_hsotg 1300 drivers/usb/dwc2/core.h void dwc2_force_dr_mode(struct dwc2_hsotg *hsotg); dwc2_hsotg 1302 drivers/usb/dwc2/core.h bool dwc2_is_controller_alive(struct dwc2_hsotg *hsotg); dwc2_hsotg 1309 drivers/usb/dwc2/core.h void dwc2_read_packet(struct dwc2_hsotg *hsotg, u8 *dest, u16 bytes); dwc2_hsotg 1310 drivers/usb/dwc2/core.h void dwc2_flush_tx_fifo(struct dwc2_hsotg *hsotg, const int num); dwc2_hsotg 1311 drivers/usb/dwc2/core.h void dwc2_flush_rx_fifo(struct dwc2_hsotg *hsotg); dwc2_hsotg 1313 drivers/usb/dwc2/core.h void dwc2_enable_global_interrupts(struct dwc2_hsotg *hcd); dwc2_hsotg 1314 drivers/usb/dwc2/core.h void dwc2_disable_global_interrupts(struct dwc2_hsotg *hcd); dwc2_hsotg 1316 drivers/usb/dwc2/core.h void dwc2_hib_restore_common(struct dwc2_hsotg *hsotg, int rem_wakeup, dwc2_hsotg 1318 drivers/usb/dwc2/core.h int dwc2_backup_global_registers(struct dwc2_hsotg *hsotg); dwc2_hsotg 1319 drivers/usb/dwc2/core.h int dwc2_restore_global_registers(struct dwc2_hsotg *hsotg); dwc2_hsotg 1321 drivers/usb/dwc2/core.h void dwc2_enable_acg(struct dwc2_hsotg *hsotg); dwc2_hsotg 1329 drivers/usb/dwc2/core.h int dwc2_lowlevel_hw_enable(struct dwc2_hsotg *hsotg); dwc2_hsotg 1330 drivers/usb/dwc2/core.h int dwc2_lowlevel_hw_disable(struct dwc2_hsotg *hsotg); dwc2_hsotg 1333 drivers/usb/dwc2/core.h int dwc2_hsotg_wait_bit_set(struct dwc2_hsotg *hs_otg, u32 reg, u32 bit, dwc2_hsotg 1335 drivers/usb/dwc2/core.h int dwc2_hsotg_wait_bit_clear(struct dwc2_hsotg *hs_otg, u32 reg, u32 bit, dwc2_hsotg 1338 drivers/usb/dwc2/core.h int dwc2_get_hwparams(struct dwc2_hsotg *hsotg); dwc2_hsotg 1339 drivers/usb/dwc2/core.h int dwc2_init_params(struct dwc2_hsotg *hsotg); dwc2_hsotg 1349 drivers/usb/dwc2/core.h unsigned int dwc2_op_mode(struct dwc2_hsotg *hsotg); dwc2_hsotg 1350 drivers/usb/dwc2/core.h bool dwc2_hw_is_otg(struct dwc2_hsotg *hsotg); dwc2_hsotg 1351 drivers/usb/dwc2/core.h bool dwc2_hw_is_host(struct dwc2_hsotg *hsotg); dwc2_hsotg 1352 drivers/usb/dwc2/core.h bool dwc2_hw_is_device(struct dwc2_hsotg *hsotg); dwc2_hsotg 1357 drivers/usb/dwc2/core.h static inline int dwc2_is_host_mode(struct dwc2_hsotg *hsotg) dwc2_hsotg 1362 drivers/usb/dwc2/core.h static inline int dwc2_is_device_mode(struct dwc2_hsotg *hsotg) dwc2_hsotg 1370 drivers/usb/dwc2/core.h void dwc2_dump_dev_registers(struct dwc2_hsotg *hsotg); dwc2_hsotg 1371 drivers/usb/dwc2/core.h void dwc2_dump_host_registers(struct dwc2_hsotg *hsotg); dwc2_hsotg 1372 drivers/usb/dwc2/core.h void dwc2_dump_global_registers(struct dwc2_hsotg *hsotg); dwc2_hsotg 1377 drivers/usb/dwc2/core.h int dwc2_hsotg_remove(struct dwc2_hsotg *hsotg); dwc2_hsotg 1378 drivers/usb/dwc2/core.h int dwc2_hsotg_suspend(struct dwc2_hsotg *dwc2); dwc2_hsotg 1379 drivers/usb/dwc2/core.h int dwc2_hsotg_resume(struct dwc2_hsotg *dwc2); dwc2_hsotg 1380 drivers/usb/dwc2/core.h int dwc2_gadget_init(struct dwc2_hsotg *hsotg); dwc2_hsotg 1381 drivers/usb/dwc2/core.h void dwc2_hsotg_core_init_disconnected(struct dwc2_hsotg *dwc2, dwc2_hsotg 1383 drivers/usb/dwc2/core.h void dwc2_hsotg_core_connect(struct dwc2_hsotg *hsotg); dwc2_hsotg 1384 drivers/usb/dwc2/core.h void dwc2_hsotg_disconnect(struct dwc2_hsotg *dwc2); dwc2_hsotg 1385 drivers/usb/dwc2/core.h int dwc2_hsotg_set_test_mode(struct dwc2_hsotg *hsotg, int testmode); dwc2_hsotg 1387 drivers/usb/dwc2/core.h int dwc2_backup_device_registers(struct dwc2_hsotg *hsotg); dwc2_hsotg 1388 drivers/usb/dwc2/core.h int dwc2_restore_device_registers(struct dwc2_hsotg *hsotg, int remote_wakeup); dwc2_hsotg 1389 drivers/usb/dwc2/core.h int dwc2_gadget_enter_hibernation(struct dwc2_hsotg *hsotg); dwc2_hsotg 1390 drivers/usb/dwc2/core.h int dwc2_gadget_exit_hibernation(struct dwc2_hsotg *hsotg, dwc2_hsotg 1392 drivers/usb/dwc2/core.h int dwc2_hsotg_tx_fifo_count(struct dwc2_hsotg *hsotg); dwc2_hsotg 1393 drivers/usb/dwc2/core.h int dwc2_hsotg_tx_fifo_total_depth(struct dwc2_hsotg *hsotg); dwc2_hsotg 1394 drivers/usb/dwc2/core.h int dwc2_hsotg_tx_fifo_average_depth(struct dwc2_hsotg *hsotg); dwc2_hsotg 1395 drivers/usb/dwc2/core.h void dwc2_gadget_init_lpm(struct dwc2_hsotg *hsotg); dwc2_hsotg 1396 drivers/usb/dwc2/core.h void dwc2_gadget_program_ref_clk(struct dwc2_hsotg *hsotg); dwc2_hsotg 1398 drivers/usb/dwc2/core.h static inline int dwc2_hsotg_remove(struct dwc2_hsotg *dwc2) dwc2_hsotg 1400 drivers/usb/dwc2/core.h static inline int dwc2_hsotg_suspend(struct dwc2_hsotg *dwc2) dwc2_hsotg 1402 drivers/usb/dwc2/core.h static inline int dwc2_hsotg_resume(struct dwc2_hsotg *dwc2) dwc2_hsotg 1404 drivers/usb/dwc2/core.h static inline int dwc2_gadget_init(struct dwc2_hsotg *hsotg) dwc2_hsotg 1406 drivers/usb/dwc2/core.h static inline void dwc2_hsotg_core_init_disconnected(struct dwc2_hsotg *dwc2, dwc2_hsotg 1408 drivers/usb/dwc2/core.h static inline void dwc2_hsotg_core_connect(struct dwc2_hsotg *hsotg) {} dwc2_hsotg 1409 drivers/usb/dwc2/core.h static inline void dwc2_hsotg_disconnect(struct dwc2_hsotg *dwc2) {} dwc2_hsotg 1410 drivers/usb/dwc2/core.h static inline int dwc2_hsotg_set_test_mode(struct dwc2_hsotg *hsotg, dwc2_hsotg 1414 drivers/usb/dwc2/core.h static inline int dwc2_backup_device_registers(struct dwc2_hsotg *hsotg) dwc2_hsotg 1416 drivers/usb/dwc2/core.h static inline int dwc2_restore_device_registers(struct dwc2_hsotg *hsotg, dwc2_hsotg 1419 drivers/usb/dwc2/core.h static inline int dwc2_gadget_enter_hibernation(struct dwc2_hsotg *hsotg) dwc2_hsotg 1421 drivers/usb/dwc2/core.h static inline int dwc2_gadget_exit_hibernation(struct dwc2_hsotg *hsotg, dwc2_hsotg 1424 drivers/usb/dwc2/core.h static inline int dwc2_hsotg_tx_fifo_count(struct dwc2_hsotg *hsotg) dwc2_hsotg 1426 drivers/usb/dwc2/core.h static inline int dwc2_hsotg_tx_fifo_total_depth(struct dwc2_hsotg *hsotg) dwc2_hsotg 1428 drivers/usb/dwc2/core.h static inline int dwc2_hsotg_tx_fifo_average_depth(struct dwc2_hsotg *hsotg) dwc2_hsotg 1430 drivers/usb/dwc2/core.h static inline void dwc2_gadget_init_lpm(struct dwc2_hsotg *hsotg) {} dwc2_hsotg 1431 drivers/usb/dwc2/core.h static inline void dwc2_gadget_program_ref_clk(struct dwc2_hsotg *hsotg) {} dwc2_hsotg 1435 drivers/usb/dwc2/core.h int dwc2_hcd_get_frame_number(struct dwc2_hsotg *hsotg); dwc2_hsotg 1436 drivers/usb/dwc2/core.h int dwc2_hcd_get_future_frame_number(struct dwc2_hsotg *hsotg, int us); dwc2_hsotg 1437 drivers/usb/dwc2/core.h void dwc2_hcd_connect(struct dwc2_hsotg *hsotg); dwc2_hsotg 1438 drivers/usb/dwc2/core.h void dwc2_hcd_disconnect(struct dwc2_hsotg *hsotg, bool force); dwc2_hsotg 1439 drivers/usb/dwc2/core.h void dwc2_hcd_start(struct dwc2_hsotg *hsotg); dwc2_hsotg 1440 drivers/usb/dwc2/core.h int dwc2_core_init(struct dwc2_hsotg *hsotg, bool initial_setup); dwc2_hsotg 1441 drivers/usb/dwc2/core.h int dwc2_backup_host_registers(struct dwc2_hsotg *hsotg); dwc2_hsotg 1442 drivers/usb/dwc2/core.h int dwc2_restore_host_registers(struct dwc2_hsotg *hsotg); dwc2_hsotg 1443 drivers/usb/dwc2/core.h int dwc2_host_enter_hibernation(struct dwc2_hsotg *hsotg); dwc2_hsotg 1444 drivers/usb/dwc2/core.h int dwc2_host_exit_hibernation(struct dwc2_hsotg *hsotg, dwc2_hsotg 1446 drivers/usb/dwc2/core.h bool dwc2_host_can_poweroff_phy(struct dwc2_hsotg *dwc2); dwc2_hsotg 1447 drivers/usb/dwc2/core.h static inline void dwc2_host_schedule_phy_reset(struct dwc2_hsotg *hsotg) dwc2_hsotg 1450 drivers/usb/dwc2/core.h static inline int dwc2_hcd_get_frame_number(struct dwc2_hsotg *hsotg) dwc2_hsotg 1452 drivers/usb/dwc2/core.h static inline int dwc2_hcd_get_future_frame_number(struct dwc2_hsotg *hsotg, dwc2_hsotg 1455 drivers/usb/dwc2/core.h static inline void dwc2_hcd_connect(struct dwc2_hsotg *hsotg) {} dwc2_hsotg 1456 drivers/usb/dwc2/core.h static inline void dwc2_hcd_disconnect(struct dwc2_hsotg *hsotg, bool force) {} dwc2_hsotg 1457 drivers/usb/dwc2/core.h static inline void dwc2_hcd_start(struct dwc2_hsotg *hsotg) {} dwc2_hsotg 1458 drivers/usb/dwc2/core.h static inline void dwc2_hcd_remove(struct dwc2_hsotg *hsotg) {} dwc2_hsotg 1459 drivers/usb/dwc2/core.h static inline int dwc2_core_init(struct dwc2_hsotg *hsotg, bool initial_setup) dwc2_hsotg 1461 drivers/usb/dwc2/core.h static inline int dwc2_hcd_init(struct dwc2_hsotg *hsotg) dwc2_hsotg 1463 drivers/usb/dwc2/core.h static inline int dwc2_backup_host_registers(struct dwc2_hsotg *hsotg) dwc2_hsotg 1465 drivers/usb/dwc2/core.h static inline int dwc2_restore_host_registers(struct dwc2_hsotg *hsotg) dwc2_hsotg 1467 drivers/usb/dwc2/core.h static inline int dwc2_host_enter_hibernation(struct dwc2_hsotg *hsotg) dwc2_hsotg 1469 drivers/usb/dwc2/core.h static inline int dwc2_host_exit_hibernation(struct dwc2_hsotg *hsotg, dwc2_hsotg 1472 drivers/usb/dwc2/core.h static inline bool dwc2_host_can_poweroff_phy(struct dwc2_hsotg *dwc2) dwc2_hsotg 1474 drivers/usb/dwc2/core.h static inline void dwc2_host_schedule_phy_reset(struct dwc2_hsotg *hsotg) {} dwc2_hsotg 57 drivers/usb/dwc2/core_intr.c static const char *dwc2_op_state_str(struct dwc2_hsotg *hsotg) dwc2_hsotg 82 drivers/usb/dwc2/core_intr.c static void dwc2_handle_usb_port_intr(struct dwc2_hsotg *hsotg) dwc2_hsotg 97 drivers/usb/dwc2/core_intr.c static void dwc2_handle_mode_mismatch_intr(struct dwc2_hsotg *hsotg) dwc2_hsotg 112 drivers/usb/dwc2/core_intr.c static void dwc2_handle_otg_intr(struct dwc2_hsotg *hsotg) dwc2_hsotg 274 drivers/usb/dwc2/core_intr.c static void dwc2_handle_conn_id_status_change_intr(struct dwc2_hsotg *hsotg) dwc2_hsotg 312 drivers/usb/dwc2/core_intr.c static void dwc2_handle_session_req_intr(struct dwc2_hsotg *hsotg) dwc2_hsotg 344 drivers/usb/dwc2/core_intr.c static void dwc2_wakeup_from_lpm_l1(struct dwc2_hsotg *hsotg) dwc2_hsotg 396 drivers/usb/dwc2/core_intr.c static void dwc2_handle_wakeup_detected_intr(struct dwc2_hsotg *hsotg) dwc2_hsotg 463 drivers/usb/dwc2/core_intr.c static void dwc2_handle_disconnect_intr(struct dwc2_hsotg *hsotg) dwc2_hsotg 483 drivers/usb/dwc2/core_intr.c static void dwc2_handle_usb_suspend_intr(struct dwc2_hsotg *hsotg) dwc2_hsotg 568 drivers/usb/dwc2/core_intr.c static void dwc2_handle_lpm_intr(struct dwc2_hsotg *hsotg) dwc2_hsotg 635 drivers/usb/dwc2/core_intr.c static u32 dwc2_read_common_intr(struct dwc2_hsotg *hsotg) dwc2_hsotg 663 drivers/usb/dwc2/core_intr.c static void dwc2_handle_gpwrdn_intr(struct dwc2_hsotg *hsotg) dwc2_hsotg 782 drivers/usb/dwc2/core_intr.c struct dwc2_hsotg *hsotg = dev; dwc2_hsotg 12 drivers/usb/dwc2/debug.h int dwc2_debugfs_init(struct dwc2_hsotg *hsotg); dwc2_hsotg 13 drivers/usb/dwc2/debug.h void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg); dwc2_hsotg 15 drivers/usb/dwc2/debug.h static inline int dwc2_debugfs_init(struct dwc2_hsotg *hsotg) dwc2_hsotg 17 drivers/usb/dwc2/debug.h static inline void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg) dwc2_hsotg 31 drivers/usb/dwc2/debugfs.c struct dwc2_hsotg *hsotg = s->private; dwc2_hsotg 67 drivers/usb/dwc2/debugfs.c struct dwc2_hsotg *hsotg = s->private; dwc2_hsotg 128 drivers/usb/dwc2/debugfs.c struct dwc2_hsotg *hsotg = seq->private; dwc2_hsotg 185 drivers/usb/dwc2/debugfs.c struct dwc2_hsotg *hsotg = seq->private; dwc2_hsotg 227 drivers/usb/dwc2/debugfs.c struct dwc2_hsotg *hsotg = ep->parent; dwc2_hsotg 291 drivers/usb/dwc2/debugfs.c static void dwc2_hsotg_create_debug(struct dwc2_hsotg *hsotg) dwc2_hsotg 321 drivers/usb/dwc2/debugfs.c static inline void dwc2_hsotg_create_debug(struct dwc2_hsotg *hsotg) {} dwc2_hsotg 668 drivers/usb/dwc2/debugfs.c struct dwc2_hsotg *hsotg = seq->private; dwc2_hsotg 724 drivers/usb/dwc2/debugfs.c struct dwc2_hsotg *hsotg = seq->private; dwc2_hsotg 759 drivers/usb/dwc2/debugfs.c struct dwc2_hsotg *hsotg = seq->private; dwc2_hsotg 768 drivers/usb/dwc2/debugfs.c int dwc2_debugfs_init(struct dwc2_hsotg *hsotg) dwc2_hsotg 802 drivers/usb/dwc2/debugfs.c void dwc2_debugfs_exit(struct dwc2_hsotg *hsotg) dwc2_hsotg 47 drivers/usb/dwc2/gadget.c static inline struct dwc2_hsotg *to_hsotg(struct usb_gadget *gadget) dwc2_hsotg 49 drivers/usb/dwc2/gadget.c return container_of(gadget, struct dwc2_hsotg, gadget); dwc2_hsotg 52 drivers/usb/dwc2/gadget.c static inline void dwc2_set_bit(struct dwc2_hsotg *hsotg, u32 offset, u32 val) dwc2_hsotg 57 drivers/usb/dwc2/gadget.c static inline void dwc2_clear_bit(struct dwc2_hsotg *hsotg, u32 offset, u32 val) dwc2_hsotg 62 drivers/usb/dwc2/gadget.c static inline struct dwc2_hsotg_ep *index_to_ep(struct dwc2_hsotg *hsotg, dwc2_hsotg 72 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_dump(struct dwc2_hsotg *hsotg); dwc2_hsotg 93 drivers/usb/dwc2/gadget.c static inline bool using_dma(struct dwc2_hsotg *hsotg) dwc2_hsotg 104 drivers/usb/dwc2/gadget.c static inline bool using_desc_dma(struct dwc2_hsotg *hsotg) dwc2_hsotg 150 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_en_gsint(struct dwc2_hsotg *hsotg, u32 ints) dwc2_hsotg 168 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_disable_gsint(struct dwc2_hsotg *hsotg, u32 ints) dwc2_hsotg 189 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_ctrl_epint(struct dwc2_hsotg *hsotg, dwc2_hsotg 215 drivers/usb/dwc2/gadget.c int dwc2_hsotg_tx_fifo_count(struct dwc2_hsotg *hsotg) dwc2_hsotg 231 drivers/usb/dwc2/gadget.c int dwc2_hsotg_tx_fifo_total_depth(struct dwc2_hsotg *hsotg) dwc2_hsotg 256 drivers/usb/dwc2/gadget.c static void dwc2_gadget_wkup_alert_handler(struct dwc2_hsotg *hsotg) dwc2_hsotg 277 drivers/usb/dwc2/gadget.c int dwc2_hsotg_tx_fifo_average_depth(struct dwc2_hsotg *hsotg) dwc2_hsotg 296 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_init_fifo(struct dwc2_hsotg *hsotg) dwc2_hsotg 418 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_unmap_dma(struct dwc2_hsotg *hsotg, dwc2_hsotg 435 drivers/usb/dwc2/gadget.c static int dwc2_gadget_alloc_ctrl_desc_chains(struct dwc2_hsotg *hsotg) dwc2_hsotg 491 drivers/usb/dwc2/gadget.c static int dwc2_hsotg_write_fifo(struct dwc2_hsotg *hsotg, dwc2_hsotg 693 drivers/usb/dwc2/gadget.c static u32 dwc2_hsotg_read_frameno(struct dwc2_hsotg *hsotg) dwc2_hsotg 883 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hsotg = hs_ep->parent; dwc2_hsotg 953 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hsotg = hs_ep->parent; dwc2_hsotg 1013 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_start_req(struct dwc2_hsotg *hsotg, dwc2_hsotg 1227 drivers/usb/dwc2/gadget.c static int dwc2_hsotg_map_dma(struct dwc2_hsotg *hsotg, dwc2_hsotg 1246 drivers/usb/dwc2/gadget.c static int dwc2_hsotg_handle_unaligned_buf_start(struct dwc2_hsotg *hsotg, dwc2_hsotg 1279 drivers/usb/dwc2/gadget.c dwc2_hsotg_handle_unaligned_buf_complete(struct dwc2_hsotg *hsotg, dwc2_hsotg 1311 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hsotg = hs_ep->parent; dwc2_hsotg 1334 drivers/usb/dwc2/gadget.c static int dwc2_gadget_set_ep0_desc_chain(struct dwc2_hsotg *hsotg, dwc2_hsotg 1366 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hs = hs_ep->parent; dwc2_hsotg 1485 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hs = hs_ep->parent; dwc2_hsotg 1516 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hsotg = hs_ep->parent; dwc2_hsotg 1531 drivers/usb/dwc2/gadget.c static struct dwc2_hsotg_ep *ep_from_windex(struct dwc2_hsotg *hsotg, dwc2_hsotg 1558 drivers/usb/dwc2/gadget.c int dwc2_hsotg_set_test_mode(struct dwc2_hsotg *hsotg, int testmode) dwc2_hsotg 1588 drivers/usb/dwc2/gadget.c static int dwc2_hsotg_send_reply(struct dwc2_hsotg *hsotg, dwc2_hsotg 1631 drivers/usb/dwc2/gadget.c static int dwc2_hsotg_process_req_status(struct dwc2_hsotg *hsotg, dwc2_hsotg 1709 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hsotg = hs_ep->parent; dwc2_hsotg 1739 drivers/usb/dwc2/gadget.c static int dwc2_hsotg_process_req_feature(struct dwc2_hsotg *hsotg, dwc2_hsotg 1849 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_enqueue_setup(struct dwc2_hsotg *hsotg); dwc2_hsotg 1857 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_stall_ep0(struct dwc2_hsotg *hsotg) dwc2_hsotg 1896 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_process_control(struct dwc2_hsotg *hsotg, dwc2_hsotg 1980 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hsotg = hs_ep->parent; dwc2_hsotg 2002 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_enqueue_setup(struct dwc2_hsotg *hsotg) dwc2_hsotg 2034 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_program_zlp(struct dwc2_hsotg *hsotg, dwc2_hsotg 2082 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_complete_request(struct dwc2_hsotg *hsotg, dwc2_hsotg 2147 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hsotg = hs_ep->parent; dwc2_hsotg 2206 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hsotg = hs_ep->parent; dwc2_hsotg 2227 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_rx_data(struct dwc2_hsotg *hsotg, int ep_idx, int size) dwc2_hsotg 2291 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_ep0_zlp(struct dwc2_hsotg *hsotg, bool dir_in) dwc2_hsotg 2300 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_change_ep_iso_parity(struct dwc2_hsotg *hsotg, dwc2_hsotg 2322 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hsotg = hs_ep->parent; dwc2_hsotg 2353 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_handle_outdone(struct dwc2_hsotg *hsotg, int epnum) dwc2_hsotg 2453 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_handle_rx(struct dwc2_hsotg *hsotg) dwc2_hsotg 2553 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_set_ep_maxpacket(struct dwc2_hsotg *hsotg, dwc2_hsotg 2605 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_txfifo_flush(struct dwc2_hsotg *hsotg, unsigned int idx) dwc2_hsotg 2624 drivers/usb/dwc2/gadget.c static int dwc2_hsotg_trytx(struct dwc2_hsotg *hsotg, dwc2_hsotg 2657 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_complete_in(struct dwc2_hsotg *hsotg, dwc2_hsotg 2756 drivers/usb/dwc2/gadget.c static u32 dwc2_gadget_read_ep_interrupts(struct dwc2_hsotg *hsotg, dwc2_hsotg 2790 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hsotg = hs_ep->parent; dwc2_hsotg 2858 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hsotg = ep->parent; dwc2_hsotg 2912 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hsotg = hs_ep->parent; dwc2_hsotg 2972 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_epint(struct dwc2_hsotg *hsotg, unsigned int idx, dwc2_hsotg 3143 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_irq_enumdone(struct dwc2_hsotg *hsotg) dwc2_hsotg 3229 drivers/usb/dwc2/gadget.c static void kill_all_requests(struct dwc2_hsotg *hsotg, dwc2_hsotg 3258 drivers/usb/dwc2/gadget.c void dwc2_hsotg_disconnect(struct dwc2_hsotg *hsotg) dwc2_hsotg 3289 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_irq_fifoempty(struct dwc2_hsotg *hsotg, bool periodic) dwc2_hsotg 3327 drivers/usb/dwc2/gadget.c void dwc2_hsotg_core_init_disconnected(struct dwc2_hsotg *hsotg, dwc2_hsotg 3534 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_core_disconnect(struct dwc2_hsotg *hsotg) dwc2_hsotg 3540 drivers/usb/dwc2/gadget.c void dwc2_hsotg_core_connect(struct dwc2_hsotg *hsotg) dwc2_hsotg 3559 drivers/usb/dwc2/gadget.c static void dwc2_gadget_handle_incomplete_isoc_in(struct dwc2_hsotg *hsotg) dwc2_hsotg 3602 drivers/usb/dwc2/gadget.c static void dwc2_gadget_handle_incomplete_isoc_out(struct dwc2_hsotg *hsotg) dwc2_hsotg 3649 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hsotg = pw; dwc2_hsotg 3839 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_ep_stop_xfr(struct dwc2_hsotg *hsotg, dwc2_hsotg 3925 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hsotg = hs_ep->parent; dwc2_hsotg 4152 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hsotg = hs_ep->parent; dwc2_hsotg 4200 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hsotg = hs_ep->parent; dwc2_hsotg 4236 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hs = hs_ep->parent; dwc2_hsotg 4271 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hs = hs_ep->parent; dwc2_hsotg 4344 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hs = hs_ep->parent; dwc2_hsotg 4370 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_init(struct dwc2_hsotg *hsotg) dwc2_hsotg 4410 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hsotg = to_hsotg(gadget); dwc2_hsotg 4475 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hsotg = to_hsotg(gadget); dwc2_hsotg 4527 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hsotg = to_hsotg(gadget); dwc2_hsotg 4560 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hsotg = to_hsotg(gadget); dwc2_hsotg 4600 drivers/usb/dwc2/gadget.c struct dwc2_hsotg *hsotg = to_hsotg(gadget); dwc2_hsotg 4627 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_initep(struct dwc2_hsotg *hsotg, dwc2_hsotg 4699 drivers/usb/dwc2/gadget.c static int dwc2_hsotg_hw_cfg(struct dwc2_hsotg *hsotg) dwc2_hsotg 4754 drivers/usb/dwc2/gadget.c static void dwc2_hsotg_dump(struct dwc2_hsotg *hsotg) dwc2_hsotg 4805 drivers/usb/dwc2/gadget.c int dwc2_gadget_init(struct dwc2_hsotg *hsotg) dwc2_hsotg 4905 drivers/usb/dwc2/gadget.c int dwc2_hsotg_remove(struct dwc2_hsotg *hsotg) dwc2_hsotg 4913 drivers/usb/dwc2/gadget.c int dwc2_hsotg_suspend(struct dwc2_hsotg *hsotg) dwc2_hsotg 4944 drivers/usb/dwc2/gadget.c int dwc2_hsotg_resume(struct dwc2_hsotg *hsotg) dwc2_hsotg 4975 drivers/usb/dwc2/gadget.c int dwc2_backup_device_registers(struct dwc2_hsotg *hsotg) dwc2_hsotg 5031 drivers/usb/dwc2/gadget.c int dwc2_restore_device_registers(struct dwc2_hsotg *hsotg, int remote_wakeup) dwc2_hsotg 5092 drivers/usb/dwc2/gadget.c void dwc2_gadget_init_lpm(struct dwc2_hsotg *hsotg) dwc2_hsotg 5120 drivers/usb/dwc2/gadget.c void dwc2_gadget_program_ref_clk(struct dwc2_hsotg *hsotg) dwc2_hsotg 5140 drivers/usb/dwc2/gadget.c int dwc2_gadget_enter_hibernation(struct dwc2_hsotg *hsotg) dwc2_hsotg 5213 drivers/usb/dwc2/gadget.c int dwc2_gadget_exit_hibernation(struct dwc2_hsotg *hsotg, dwc2_hsotg 59 drivers/usb/dwc2/hcd.c static void dwc2_port_resume(struct dwc2_hsotg *hsotg); dwc2_hsotg 73 drivers/usb/dwc2/hcd.c static void dwc2_enable_common_interrupts(struct dwc2_hsotg *hsotg) dwc2_hsotg 100 drivers/usb/dwc2/hcd.c static int dwc2_gahbcfg_init(struct dwc2_hsotg *hsotg) dwc2_hsotg 134 drivers/usb/dwc2/hcd.c static void dwc2_gusbcfg_init(struct dwc2_hsotg *hsotg) dwc2_hsotg 169 drivers/usb/dwc2/hcd.c static int dwc2_vbus_supply_init(struct dwc2_hsotg *hsotg) dwc2_hsotg 177 drivers/usb/dwc2/hcd.c static int dwc2_vbus_supply_exit(struct dwc2_hsotg *hsotg) dwc2_hsotg 190 drivers/usb/dwc2/hcd.c static void dwc2_enable_host_interrupts(struct dwc2_hsotg *hsotg) dwc2_hsotg 214 drivers/usb/dwc2/hcd.c static void dwc2_disable_host_interrupts(struct dwc2_hsotg *hsotg) dwc2_hsotg 231 drivers/usb/dwc2/hcd.c static void dwc2_calculate_dynamic_fifo(struct dwc2_hsotg *hsotg) dwc2_hsotg 290 drivers/usb/dwc2/hcd.c static void dwc2_config_fifos(struct dwc2_hsotg *hsotg) dwc2_hsotg 361 drivers/usb/dwc2/hcd.c u32 dwc2_calc_frame_interval(struct dwc2_hsotg *hsotg) dwc2_hsotg 408 drivers/usb/dwc2/hcd.c void dwc2_read_packet(struct dwc2_hsotg *hsotg, u8 *dest, u16 bytes) dwc2_hsotg 437 drivers/usb/dwc2/hcd.c static void dwc2_dump_channel_info(struct dwc2_hsotg *hsotg, dwc2_hsotg 497 drivers/usb/dwc2/hcd.c static void dwc2_host_start(struct dwc2_hsotg *hsotg) dwc2_hsotg 505 drivers/usb/dwc2/hcd.c static void dwc2_host_disconnect(struct dwc2_hsotg *hsotg) dwc2_hsotg 512 drivers/usb/dwc2/hcd.c static void dwc2_host_hub_info(struct dwc2_hsotg *hsotg, void *context, dwc2_hsotg 530 drivers/usb/dwc2/hcd.c static void dwc2_hc_enable_slave_ints(struct dwc2_hsotg *hsotg, dwc2_hsotg 608 drivers/usb/dwc2/hcd.c static void dwc2_hc_enable_dma_ints(struct dwc2_hsotg *hsotg, dwc2_hsotg 645 drivers/usb/dwc2/hcd.c static void dwc2_hc_enable_ints(struct dwc2_hsotg *hsotg, dwc2_hsotg 686 drivers/usb/dwc2/hcd.c static void dwc2_hc_init(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan) dwc2_hsotg 801 drivers/usb/dwc2/hcd.c void dwc2_hc_halt(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, dwc2_hsotg 965 drivers/usb/dwc2/hcd.c void dwc2_hc_cleanup(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan) dwc2_hsotg 993 drivers/usb/dwc2/hcd.c static void dwc2_hc_set_even_odd_frame(struct dwc2_hsotg *hsotg, dwc2_hsotg 1128 drivers/usb/dwc2/hcd.c static void dwc2_hc_write_packet(struct dwc2_hsotg *hsotg, dwc2_hsotg 1174 drivers/usb/dwc2/hcd.c static void dwc2_hc_do_ping(struct dwc2_hsotg *hsotg, dwc2_hsotg 1227 drivers/usb/dwc2/hcd.c static void dwc2_hc_start_transfer(struct dwc2_hsotg *hsotg, dwc2_hsotg 1441 drivers/usb/dwc2/hcd.c void dwc2_hc_start_transfer_ddma(struct dwc2_hsotg *hsotg, dwc2_hsotg 1530 drivers/usb/dwc2/hcd.c static int dwc2_hc_continue_transfer(struct dwc2_hsotg *hsotg, dwc2_hsotg 1604 drivers/usb/dwc2/hcd.c static void dwc2_kill_urbs_in_qh_list(struct dwc2_hsotg *hsotg, dwc2_hsotg 1619 drivers/usb/dwc2/hcd.c static void dwc2_qh_list_free(struct dwc2_hsotg *hsotg, dwc2_hsotg 1662 drivers/usb/dwc2/hcd.c static void dwc2_kill_all_urbs(struct dwc2_hsotg *hsotg) dwc2_hsotg 1678 drivers/usb/dwc2/hcd.c void dwc2_hcd_start(struct dwc2_hsotg *hsotg) dwc2_hsotg 1698 drivers/usb/dwc2/hcd.c static void dwc2_hcd_cleanup_channels(struct dwc2_hsotg *hsotg) dwc2_hsotg 1757 drivers/usb/dwc2/hcd.c void dwc2_hcd_connect(struct dwc2_hsotg *hsotg) dwc2_hsotg 1774 drivers/usb/dwc2/hcd.c void dwc2_hcd_disconnect(struct dwc2_hsotg *hsotg, bool force) dwc2_hsotg 1841 drivers/usb/dwc2/hcd.c static void dwc2_hcd_rem_wakeup(struct dwc2_hsotg *hsotg) dwc2_hsotg 1859 drivers/usb/dwc2/hcd.c void dwc2_hcd_stop(struct dwc2_hsotg *hsotg) dwc2_hsotg 1878 drivers/usb/dwc2/hcd.c static int dwc2_hcd_urb_enqueue(struct dwc2_hsotg *hsotg, dwc2_hsotg 1938 drivers/usb/dwc2/hcd.c static int dwc2_hcd_urb_dequeue(struct dwc2_hsotg *hsotg, dwc2_hsotg 1996 drivers/usb/dwc2/hcd.c static int dwc2_hcd_endpoint_disable(struct dwc2_hsotg *hsotg, dwc2_hsotg 2055 drivers/usb/dwc2/hcd.c static int dwc2_hcd_endpoint_reset(struct dwc2_hsotg *hsotg, dwc2_hsotg 2075 drivers/usb/dwc2/hcd.c int dwc2_core_init(struct dwc2_hsotg *hsotg, bool initial_setup) dwc2_hsotg 2163 drivers/usb/dwc2/hcd.c static void dwc2_core_host_init(struct dwc2_hsotg *hsotg) dwc2_hsotg 2303 drivers/usb/dwc2/hcd.c static void dwc2_hcd_reinit(struct dwc2_hsotg *hsotg) dwc2_hsotg 2339 drivers/usb/dwc2/hcd.c static void dwc2_hc_init_split(struct dwc2_hsotg *hsotg, dwc2_hsotg 2353 drivers/usb/dwc2/hcd.c static void dwc2_hc_init_xfer(struct dwc2_hsotg *hsotg, dwc2_hsotg 2443 drivers/usb/dwc2/hcd.c static int dwc2_alloc_split_dma_aligned_buf(struct dwc2_hsotg *hsotg, dwc2_hsotg 2578 drivers/usb/dwc2/hcd.c static int dwc2_assign_and_init_hc(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) dwc2_hsotg 2716 drivers/usb/dwc2/hcd.c struct dwc2_hsotg *hsotg) dwc2_hsotg 2816 drivers/usb/dwc2/hcd.c static int dwc2_queue_transaction(struct dwc2_hsotg *hsotg, dwc2_hsotg 2878 drivers/usb/dwc2/hcd.c static void dwc2_process_periodic_channels(struct dwc2_hsotg *hsotg) dwc2_hsotg 3012 drivers/usb/dwc2/hcd.c static void dwc2_process_non_periodic_channels(struct dwc2_hsotg *hsotg) dwc2_hsotg 3136 drivers/usb/dwc2/hcd.c void dwc2_hcd_queue_transactions(struct dwc2_hsotg *hsotg, dwc2_hsotg 3167 drivers/usb/dwc2/hcd.c struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg, dwc2_hsotg 3249 drivers/usb/dwc2/hcd.c struct dwc2_hsotg *hsotg = from_timer(hsotg, t, wkp_timer); dwc2_hsotg 3272 drivers/usb/dwc2/hcd.c static int dwc2_host_is_b_hnp_enabled(struct dwc2_hsotg *hsotg) dwc2_hsotg 3280 drivers/usb/dwc2/hcd.c static void dwc2_port_suspend(struct dwc2_hsotg *hsotg, u16 windex) dwc2_hsotg 3331 drivers/usb/dwc2/hcd.c static void dwc2_port_resume(struct dwc2_hsotg *hsotg) dwc2_hsotg 3369 drivers/usb/dwc2/hcd.c static int dwc2_hcd_hub_control(struct dwc2_hsotg *hsotg, u16 typereq, dwc2_hsotg 3723 drivers/usb/dwc2/hcd.c static int dwc2_hcd_is_status_changed(struct dwc2_hsotg *hsotg, int port) dwc2_hsotg 3754 drivers/usb/dwc2/hcd.c int dwc2_hcd_get_frame_number(struct dwc2_hsotg *hsotg) dwc2_hsotg 3765 drivers/usb/dwc2/hcd.c int dwc2_hcd_get_future_frame_number(struct dwc2_hsotg *hsotg, int us) dwc2_hsotg 3794 drivers/usb/dwc2/hcd.c int dwc2_hcd_is_b_host(struct dwc2_hsotg *hsotg) dwc2_hsotg 3799 drivers/usb/dwc2/hcd.c static struct dwc2_hcd_urb *dwc2_hcd_urb_alloc(struct dwc2_hsotg *hsotg, dwc2_hsotg 3811 drivers/usb/dwc2/hcd.c static void dwc2_hcd_urb_set_pipeinfo(struct dwc2_hsotg *hsotg, dwc2_hsotg 3834 drivers/usb/dwc2/hcd.c void dwc2_hcd_dump_state(struct dwc2_hsotg *hsotg) dwc2_hsotg 3960 drivers/usb/dwc2/hcd.c struct dwc2_hsotg *hsotg; dwc2_hsotg 3964 drivers/usb/dwc2/hcd.c static struct dwc2_hsotg *dwc2_hcd_to_hsotg(struct usb_hcd *hcd) dwc2_hsotg 3992 drivers/usb/dwc2/hcd.c struct dwc2_tt *dwc2_host_get_tt_info(struct dwc2_hsotg *hsotg, void *context, dwc2_hsotg 4040 drivers/usb/dwc2/hcd.c void dwc2_host_put_tt_info(struct dwc2_hsotg *hsotg, struct dwc2_tt *dwc_tt) dwc2_hsotg 4055 drivers/usb/dwc2/hcd.c int dwc2_host_get_speed(struct dwc2_hsotg *hsotg, void *context) dwc2_hsotg 4094 drivers/usb/dwc2/hcd.c void dwc2_host_complete(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd, dwc2_hsotg 4173 drivers/usb/dwc2/hcd.c struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg, dwc2_hsotg 4185 drivers/usb/dwc2/hcd.c struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg, dwc2_hsotg 4204 drivers/usb/dwc2/hcd.c struct dwc2_hsotg *hsotg = container_of(work, struct dwc2_hsotg, dwc2_hsotg 4226 drivers/usb/dwc2/hcd.c struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); dwc2_hsotg 4275 drivers/usb/dwc2/hcd.c struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); dwc2_hsotg 4304 drivers/usb/dwc2/hcd.c struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); dwc2_hsotg 4381 drivers/usb/dwc2/hcd.c struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); dwc2_hsotg 4465 drivers/usb/dwc2/hcd.c struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); dwc2_hsotg 4474 drivers/usb/dwc2/hcd.c struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); dwc2_hsotg 4553 drivers/usb/dwc2/hcd.c struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); dwc2_hsotg 4712 drivers/usb/dwc2/hcd.c struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); dwc2_hsotg 4758 drivers/usb/dwc2/hcd.c struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); dwc2_hsotg 4774 drivers/usb/dwc2/hcd.c struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); dwc2_hsotg 4795 drivers/usb/dwc2/hcd.c struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); dwc2_hsotg 4808 drivers/usb/dwc2/hcd.c struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); dwc2_hsotg 4827 drivers/usb/dwc2/hcd.c struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); dwc2_hsotg 4850 drivers/usb/dwc2/hcd.c struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); dwc2_hsotg 4861 drivers/usb/dwc2/hcd.c struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); dwc2_hsotg 4878 drivers/usb/dwc2/hcd.c struct dwc2_hsotg *hsotg = dwc2_hcd_to_hsotg(hcd); dwc2_hsotg 4930 drivers/usb/dwc2/hcd.c static void dwc2_hcd_free(struct dwc2_hsotg *hsotg) dwc2_hsotg 4995 drivers/usb/dwc2/hcd.c static void dwc2_hcd_release(struct dwc2_hsotg *hsotg) dwc2_hsotg 5009 drivers/usb/dwc2/hcd.c int dwc2_hcd_init(struct dwc2_hsotg *hsotg) dwc2_hsotg 5265 drivers/usb/dwc2/hcd.c void dwc2_hcd_remove(struct dwc2_hsotg *hsotg) dwc2_hsotg 5306 drivers/usb/dwc2/hcd.c int dwc2_backup_host_registers(struct dwc2_hsotg *hsotg) dwc2_hsotg 5335 drivers/usb/dwc2/hcd.c int dwc2_restore_host_registers(struct dwc2_hsotg *hsotg) dwc2_hsotg 5370 drivers/usb/dwc2/hcd.c int dwc2_host_enter_hibernation(struct dwc2_hsotg *hsotg) dwc2_hsotg 5480 drivers/usb/dwc2/hcd.c int dwc2_host_exit_hibernation(struct dwc2_hsotg *hsotg, int rem_wakeup, dwc2_hsotg 5590 drivers/usb/dwc2/hcd.c bool dwc2_host_can_poweroff_phy(struct dwc2_hsotg *dwc2) dwc2_hsotg 341 drivers/usb/dwc2/hcd.h struct dwc2_hsotg *hsotg; dwc2_hsotg 453 drivers/usb/dwc2/hcd.h struct dwc2_hsotg *hsotg; dwc2_hsotg 458 drivers/usb/dwc2/hcd.h u32 dwc2_calc_frame_interval(struct dwc2_hsotg *hsotg); dwc2_hsotg 461 drivers/usb/dwc2/hcd.h static inline struct usb_hcd *dwc2_hsotg_to_hcd(struct dwc2_hsotg *hsotg) dwc2_hsotg 473 drivers/usb/dwc2/hcd.h static inline void disable_hc_int(struct dwc2_hsotg *hsotg, int chnum, u32 intr) dwc2_hsotg 481 drivers/usb/dwc2/hcd.h void dwc2_hc_cleanup(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan); dwc2_hsotg 482 drivers/usb/dwc2/hcd.h void dwc2_hc_halt(struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, dwc2_hsotg 484 drivers/usb/dwc2/hcd.h void dwc2_hc_start_transfer_ddma(struct dwc2_hsotg *hsotg, dwc2_hsotg 491 drivers/usb/dwc2/hcd.h static inline u32 dwc2_read_hprt0(struct dwc2_hsotg *hsotg) dwc2_hsotg 554 drivers/usb/dwc2/hcd.h int dwc2_hcd_init(struct dwc2_hsotg *hsotg); dwc2_hsotg 555 drivers/usb/dwc2/hcd.h void dwc2_hcd_remove(struct dwc2_hsotg *hsotg); dwc2_hsotg 559 drivers/usb/dwc2/hcd.h struct dwc2_hsotg *hsotg); dwc2_hsotg 560 drivers/usb/dwc2/hcd.h void dwc2_hcd_queue_transactions(struct dwc2_hsotg *hsotg, dwc2_hsotg 565 drivers/usb/dwc2/hcd.h struct dwc2_qh *dwc2_hcd_qh_create(struct dwc2_hsotg *hsotg, dwc2_hsotg 568 drivers/usb/dwc2/hcd.h void dwc2_hcd_qh_free(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh); dwc2_hsotg 569 drivers/usb/dwc2/hcd.h int dwc2_hcd_qh_add(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh); dwc2_hsotg 570 drivers/usb/dwc2/hcd.h void dwc2_hcd_qh_unlink(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh); dwc2_hsotg 571 drivers/usb/dwc2/hcd.h void dwc2_hcd_qh_deactivate(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, dwc2_hsotg 575 drivers/usb/dwc2/hcd.h int dwc2_hcd_qtd_add(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd, dwc2_hsotg 579 drivers/usb/dwc2/hcd.h static inline void dwc2_hcd_qtd_unlink_and_free(struct dwc2_hsotg *hsotg, dwc2_hsotg 588 drivers/usb/dwc2/hcd.h void dwc2_hcd_start_xfer_ddma(struct dwc2_hsotg *hsotg, dwc2_hsotg 590 drivers/usb/dwc2/hcd.h void dwc2_hcd_complete_xfer_ddma(struct dwc2_hsotg *hsotg, dwc2_hsotg 594 drivers/usb/dwc2/hcd.h int dwc2_hcd_qh_init_ddma(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, dwc2_hsotg 596 drivers/usb/dwc2/hcd.h void dwc2_hcd_qh_free_ddma(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh); dwc2_hsotg 692 drivers/usb/dwc2/hcd.h static inline u32 dwc2_read_core_intr(struct dwc2_hsotg *hsotg) dwc2_hsotg 734 drivers/usb/dwc2/hcd.h static inline int dwc2_hcd_is_bandwidth_allocated(struct dwc2_hsotg *hsotg, dwc2_hsotg 745 drivers/usb/dwc2/hcd.h static inline u16 dwc2_hcd_get_ep_bandwidth(struct dwc2_hsotg *hsotg, dwc2_hsotg 758 drivers/usb/dwc2/hcd.h void dwc2_hcd_save_data_toggle(struct dwc2_hsotg *hsotg, dwc2_hsotg 772 drivers/usb/dwc2/hcd.h irqreturn_t dwc2_handle_hcd_intr(struct dwc2_hsotg *hsotg); dwc2_hsotg 779 drivers/usb/dwc2/hcd.h void dwc2_hcd_stop(struct dwc2_hsotg *hsotg); dwc2_hsotg 787 drivers/usb/dwc2/hcd.h int dwc2_hcd_is_b_host(struct dwc2_hsotg *hsotg); dwc2_hsotg 797 drivers/usb/dwc2/hcd.h void dwc2_hcd_dump_state(struct dwc2_hsotg *hsotg); dwc2_hsotg 806 drivers/usb/dwc2/hcd.h struct dwc2_tt *dwc2_host_get_tt_info(struct dwc2_hsotg *hsotg, dwc2_hsotg 810 drivers/usb/dwc2/hcd.h void dwc2_host_put_tt_info(struct dwc2_hsotg *hsotg, dwc2_hsotg 812 drivers/usb/dwc2/hcd.h int dwc2_host_get_speed(struct dwc2_hsotg *hsotg, void *context); dwc2_hsotg 813 drivers/usb/dwc2/hcd.h void dwc2_host_complete(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd, dwc2_hsotg 88 drivers/usb/dwc2/hcd_ddma.c static int dwc2_desc_list_alloc(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, dwc2_hsotg 123 drivers/usb/dwc2/hcd_ddma.c static void dwc2_desc_list_free(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) dwc2_hsotg 144 drivers/usb/dwc2/hcd_ddma.c static int dwc2_frame_list_alloc(struct dwc2_hsotg *hsotg, gfp_t mem_flags) dwc2_hsotg 161 drivers/usb/dwc2/hcd_ddma.c static void dwc2_frame_list_free(struct dwc2_hsotg *hsotg) dwc2_hsotg 181 drivers/usb/dwc2/hcd_ddma.c static void dwc2_per_sched_enable(struct dwc2_hsotg *hsotg, u32 fr_list_en) dwc2_hsotg 205 drivers/usb/dwc2/hcd_ddma.c static void dwc2_per_sched_disable(struct dwc2_hsotg *hsotg) dwc2_hsotg 230 drivers/usb/dwc2/hcd_ddma.c static void dwc2_update_frame_list(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, dwc2_hsotg 294 drivers/usb/dwc2/hcd_ddma.c static void dwc2_release_channel_ddma(struct dwc2_hsotg *hsotg, dwc2_hsotg 342 drivers/usb/dwc2/hcd_ddma.c int dwc2_hcd_qh_init_ddma(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, dwc2_hsotg 388 drivers/usb/dwc2/hcd_ddma.c void dwc2_hcd_qh_free_ddma(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) dwc2_hsotg 428 drivers/usb/dwc2/hcd_ddma.c static u16 dwc2_calc_starting_frame(struct dwc2_hsotg *hsotg, dwc2_hsotg 490 drivers/usb/dwc2/hcd_ddma.c static u16 dwc2_recalc_initial_desc_idx(struct dwc2_hsotg *hsotg, dwc2_hsotg 541 drivers/usb/dwc2/hcd_ddma.c static void dwc2_fill_host_isoc_dma_desc(struct dwc2_hsotg *hsotg, dwc2_hsotg 580 drivers/usb/dwc2/hcd_ddma.c static void dwc2_init_isoc_dma_desc(struct dwc2_hsotg *hsotg, dwc2_hsotg 689 drivers/usb/dwc2/hcd_ddma.c static void dwc2_fill_host_dma_desc(struct dwc2_hsotg *hsotg, dwc2_hsotg 741 drivers/usb/dwc2/hcd_ddma.c static void dwc2_init_non_isoc_dma_desc(struct dwc2_hsotg *hsotg, dwc2_hsotg 847 drivers/usb/dwc2/hcd_ddma.c void dwc2_hcd_start_xfer_ddma(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) dwc2_hsotg 892 drivers/usb/dwc2/hcd_ddma.c static int dwc2_cmpl_host_isoc_dma_desc(struct dwc2_hsotg *hsotg, dwc2_hsotg 961 drivers/usb/dwc2/hcd_ddma.c static void dwc2_complete_isoc_xfer_ddma(struct dwc2_hsotg *hsotg, dwc2_hsotg 1067 drivers/usb/dwc2/hcd_ddma.c static int dwc2_update_non_isoc_urb_state_ddma(struct dwc2_hsotg *hsotg, dwc2_hsotg 1149 drivers/usb/dwc2/hcd_ddma.c static int dwc2_process_non_isoc_desc(struct dwc2_hsotg *hsotg, dwc2_hsotg 1221 drivers/usb/dwc2/hcd_ddma.c static void dwc2_complete_non_isoc_xfer_ddma(struct dwc2_hsotg *hsotg, dwc2_hsotg 1299 drivers/usb/dwc2/hcd_ddma.c void dwc2_hcd_complete_xfer_ddma(struct dwc2_hsotg *hsotg, dwc2_hsotg 63 drivers/usb/dwc2/hcd_intr.c static void dwc2_track_missed_sofs(struct dwc2_hsotg *hsotg) dwc2_hsotg 97 drivers/usb/dwc2/hcd_intr.c static void dwc2_hc_handle_tt_clear(struct dwc2_hsotg *hsotg, dwc2_hsotg 140 drivers/usb/dwc2/hcd_intr.c static void dwc2_sof_intr(struct dwc2_hsotg *hsotg) dwc2_hsotg 186 drivers/usb/dwc2/hcd_intr.c static void dwc2_rx_fifo_level_intr(struct dwc2_hsotg *hsotg) dwc2_hsotg 244 drivers/usb/dwc2/hcd_intr.c static void dwc2_np_tx_fifo_empty_intr(struct dwc2_hsotg *hsotg) dwc2_hsotg 256 drivers/usb/dwc2/hcd_intr.c static void dwc2_perio_tx_fifo_empty_intr(struct dwc2_hsotg *hsotg) dwc2_hsotg 263 drivers/usb/dwc2/hcd_intr.c static void dwc2_hprt0_enable(struct dwc2_hsotg *hsotg, u32 hprt0, dwc2_hsotg 355 drivers/usb/dwc2/hcd_intr.c static void dwc2_port_intr(struct dwc2_hsotg *hsotg) dwc2_hsotg 436 drivers/usb/dwc2/hcd_intr.c static u32 dwc2_get_actual_xfer_length(struct dwc2_hsotg *hsotg, dwc2_hsotg 490 drivers/usb/dwc2/hcd_intr.c static int dwc2_update_urb_state(struct dwc2_hsotg *hsotg, dwc2_hsotg 540 drivers/usb/dwc2/hcd_intr.c void dwc2_hcd_save_data_toggle(struct dwc2_hsotg *hsotg, dwc2_hsotg 585 drivers/usb/dwc2/hcd_intr.c struct dwc2_hsotg *hsotg, struct dwc2_host_chan *chan, dwc2_hsotg 658 drivers/usb/dwc2/hcd_intr.c static void dwc2_deactivate_qh(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, dwc2_hsotg 704 drivers/usb/dwc2/hcd_intr.c static void dwc2_release_channel(struct dwc2_hsotg *hsotg, dwc2_hsotg 803 drivers/usb/dwc2/hcd_intr.c static void dwc2_halt_channel(struct dwc2_hsotg *hsotg, dwc2_hsotg 863 drivers/usb/dwc2/hcd_intr.c static void dwc2_complete_non_periodic_xfer(struct dwc2_hsotg *hsotg, dwc2_hsotg 913 drivers/usb/dwc2/hcd_intr.c static void dwc2_complete_periodic_xfer(struct dwc2_hsotg *hsotg, dwc2_hsotg 930 drivers/usb/dwc2/hcd_intr.c static int dwc2_xfercomp_isoc_split_in(struct dwc2_hsotg *hsotg, dwc2_hsotg 988 drivers/usb/dwc2/hcd_intr.c static void dwc2_hc_xfercomp_intr(struct dwc2_hsotg *hsotg, dwc2_hsotg 1121 drivers/usb/dwc2/hcd_intr.c static void dwc2_hc_stall_intr(struct dwc2_hsotg *hsotg, dwc2_hsotg 1171 drivers/usb/dwc2/hcd_intr.c static void dwc2_update_urb_state_abn(struct dwc2_hsotg *hsotg, dwc2_hsotg 1208 drivers/usb/dwc2/hcd_intr.c static void dwc2_hc_nak_intr(struct dwc2_hsotg *hsotg, dwc2_hsotg 1313 drivers/usb/dwc2/hcd_intr.c static void dwc2_hc_ack_intr(struct dwc2_hsotg *hsotg, dwc2_hsotg 1392 drivers/usb/dwc2/hcd_intr.c static void dwc2_hc_nyet_intr(struct dwc2_hsotg *hsotg, dwc2_hsotg 1516 drivers/usb/dwc2/hcd_intr.c static void dwc2_hc_babble_intr(struct dwc2_hsotg *hsotg, dwc2_hsotg 1550 drivers/usb/dwc2/hcd_intr.c static void dwc2_hc_ahberr_intr(struct dwc2_hsotg *hsotg, dwc2_hsotg 1654 drivers/usb/dwc2/hcd_intr.c static void dwc2_hc_xacterr_intr(struct dwc2_hsotg *hsotg, dwc2_hsotg 1712 drivers/usb/dwc2/hcd_intr.c static void dwc2_hc_frmovrun_intr(struct dwc2_hsotg *hsotg, dwc2_hsotg 1745 drivers/usb/dwc2/hcd_intr.c static void dwc2_hc_datatglerr_intr(struct dwc2_hsotg *hsotg, dwc2_hsotg 1770 drivers/usb/dwc2/hcd_intr.c static bool dwc2_halt_status_ok(struct dwc2_hsotg *hsotg, dwc2_hsotg 1830 drivers/usb/dwc2/hcd_intr.c static void dwc2_hc_chhltd_intr_dma(struct dwc2_hsotg *hsotg, dwc2_hsotg 1996 drivers/usb/dwc2/hcd_intr.c static void dwc2_hc_chhltd_intr(struct dwc2_hsotg *hsotg, dwc2_hsotg 2032 drivers/usb/dwc2/hcd_intr.c static void dwc2_hc_n_intr(struct dwc2_hsotg *hsotg, int chnum) dwc2_hsotg 2185 drivers/usb/dwc2/hcd_intr.c static void dwc2_hc_intr(struct dwc2_hsotg *hsotg) dwc2_hsotg 2221 drivers/usb/dwc2/hcd_intr.c irqreturn_t dwc2_handle_hcd_intr(struct dwc2_hsotg *hsotg) dwc2_hsotg 72 drivers/usb/dwc2/hcd_queue.c static int dwc2_periodic_channel_available(struct dwc2_hsotg *hsotg) dwc2_hsotg 109 drivers/usb/dwc2/hcd_queue.c static int dwc2_check_periodic_bandwidth(struct dwc2_hsotg *hsotg, dwc2_hsotg 374 drivers/usb/dwc2/hcd_queue.c static unsigned long *dwc2_get_ls_map(struct dwc2_hsotg *hsotg, dwc2_hsotg 492 drivers/usb/dwc2/hcd_queue.c struct dwc2_hsotg *hsotg; dwc2_hsotg 515 drivers/usb/dwc2/hcd_queue.c static void dwc2_qh_schedule_print(struct dwc2_hsotg *hsotg, dwc2_hsotg 565 drivers/usb/dwc2/hcd_queue.c static inline void dwc2_qh_schedule_print(struct dwc2_hsotg *hsotg, dwc2_hsotg 584 drivers/usb/dwc2/hcd_queue.c static int dwc2_ls_pmap_schedule(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, dwc2_hsotg 623 drivers/usb/dwc2/hcd_queue.c static void dwc2_ls_pmap_unschedule(struct dwc2_hsotg *hsotg, dwc2_hsotg 658 drivers/usb/dwc2/hcd_queue.c static int dwc2_hs_pmap_schedule(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, dwc2_hsotg 684 drivers/usb/dwc2/hcd_queue.c static void dwc2_hs_pmap_unschedule(struct dwc2_hsotg *hsotg, dwc2_hsotg 708 drivers/usb/dwc2/hcd_queue.c static int dwc2_uframe_schedule_split(struct dwc2_hsotg *hsotg, dwc2_hsotg 990 drivers/usb/dwc2/hcd_queue.c static int dwc2_uframe_schedule_hs(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) dwc2_hsotg 1013 drivers/usb/dwc2/hcd_queue.c static int dwc2_uframe_schedule_ls(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) dwc2_hsotg 1033 drivers/usb/dwc2/hcd_queue.c static int dwc2_uframe_schedule(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) dwc2_hsotg 1058 drivers/usb/dwc2/hcd_queue.c static void dwc2_uframe_unschedule(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) dwc2_hsotg 1086 drivers/usb/dwc2/hcd_queue.c static void dwc2_pick_first_frame(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) dwc2_hsotg 1201 drivers/usb/dwc2/hcd_queue.c static int dwc2_do_reserve(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) dwc2_hsotg 1247 drivers/usb/dwc2/hcd_queue.c static void dwc2_do_unreserve(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) dwc2_hsotg 1285 drivers/usb/dwc2/hcd_queue.c struct dwc2_hsotg *hsotg = qh->hsotg; dwc2_hsotg 1328 drivers/usb/dwc2/hcd_queue.c static int dwc2_check_max_xfer_size(struct dwc2_hsotg *hsotg, dwc2_hsotg 1358 drivers/usb/dwc2/hcd_queue.c static int dwc2_schedule_periodic(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) dwc2_hsotg 1417 drivers/usb/dwc2/hcd_queue.c static void dwc2_deschedule_periodic(struct dwc2_hsotg *hsotg, dwc2_hsotg 1473 drivers/usb/dwc2/hcd_queue.c struct dwc2_hsotg *hsotg = qh->hsotg; dwc2_hsotg 1508 drivers/usb/dwc2/hcd_queue.c static void dwc2_qh_init(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, dwc2_hsotg 1645 drivers/usb/dwc2/hcd_queue.c struct dwc2_qh *dwc2_hcd_qh_create(struct dwc2_hsotg *hsotg, dwc2_hsotg 1681 drivers/usb/dwc2/hcd_queue.c void dwc2_hcd_qh_free(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) dwc2_hsotg 1721 drivers/usb/dwc2/hcd_queue.c int dwc2_hcd_qh_add(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) dwc2_hsotg 1773 drivers/usb/dwc2/hcd_queue.c void dwc2_hcd_qh_unlink(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh) dwc2_hsotg 1823 drivers/usb/dwc2/hcd_queue.c static int dwc2_next_for_periodic_split(struct dwc2_hsotg *hsotg, dwc2_hsotg 1886 drivers/usb/dwc2/hcd_queue.c static int dwc2_next_periodic_start(struct dwc2_hsotg *hsotg, dwc2_hsotg 1977 drivers/usb/dwc2/hcd_queue.c void dwc2_hcd_qh_deactivate(struct dwc2_hsotg *hsotg, struct dwc2_qh *qh, dwc2_hsotg 2078 drivers/usb/dwc2/hcd_queue.c int dwc2_hcd_qtd_add(struct dwc2_hsotg *hsotg, struct dwc2_qtd *qtd, dwc2_hsotg 42 drivers/usb/dwc2/params.c static void dwc2_set_bcm_params(struct dwc2_hsotg *hsotg) dwc2_hsotg 52 drivers/usb/dwc2/params.c static void dwc2_set_his_params(struct dwc2_hsotg *hsotg) dwc2_hsotg 74 drivers/usb/dwc2/params.c static void dwc2_set_s3c6400_params(struct dwc2_hsotg *hsotg) dwc2_hsotg 82 drivers/usb/dwc2/params.c static void dwc2_set_rk_params(struct dwc2_hsotg *hsotg) dwc2_hsotg 95 drivers/usb/dwc2/params.c static void dwc2_set_ltq_params(struct dwc2_hsotg *hsotg) dwc2_hsotg 109 drivers/usb/dwc2/params.c static void dwc2_set_amlogic_params(struct dwc2_hsotg *hsotg) dwc2_hsotg 125 drivers/usb/dwc2/params.c static void dwc2_set_amlogic_g12a_params(struct dwc2_hsotg *hsotg) dwc2_hsotg 135 drivers/usb/dwc2/params.c static void dwc2_set_amcc_params(struct dwc2_hsotg *hsotg) dwc2_hsotg 142 drivers/usb/dwc2/params.c static void dwc2_set_stm32f4x9_fsotg_params(struct dwc2_hsotg *hsotg) dwc2_hsotg 157 drivers/usb/dwc2/params.c static void dwc2_set_stm32f7_hsotg_params(struct dwc2_hsotg *hsotg) dwc2_hsotg 193 drivers/usb/dwc2/params.c static void dwc2_set_param_otg_cap(struct dwc2_hsotg *hsotg) dwc2_hsotg 214 drivers/usb/dwc2/params.c static void dwc2_set_param_phy_type(struct dwc2_hsotg *hsotg) dwc2_hsotg 234 drivers/usb/dwc2/params.c static void dwc2_set_param_speed(struct dwc2_hsotg *hsotg) dwc2_hsotg 250 drivers/usb/dwc2/params.c static void dwc2_set_param_phy_utmi_width(struct dwc2_hsotg *hsotg) dwc2_hsotg 269 drivers/usb/dwc2/params.c static void dwc2_set_param_tx_fifo_sizes(struct dwc2_hsotg *hsotg) dwc2_hsotg 284 drivers/usb/dwc2/params.c static void dwc2_set_param_power_down(struct dwc2_hsotg *hsotg) dwc2_hsotg 298 drivers/usb/dwc2/params.c static void dwc2_set_param_lpm(struct dwc2_hsotg *hsotg) dwc2_hsotg 322 drivers/usb/dwc2/params.c static void dwc2_set_default_params(struct dwc2_hsotg *hsotg) dwc2_hsotg 394 drivers/usb/dwc2/params.c static void dwc2_get_device_properties(struct dwc2_hsotg *hsotg) dwc2_hsotg 423 drivers/usb/dwc2/params.c static void dwc2_check_param_otg_cap(struct dwc2_hsotg *hsotg) dwc2_hsotg 456 drivers/usb/dwc2/params.c static void dwc2_check_param_phy_type(struct dwc2_hsotg *hsotg) dwc2_hsotg 488 drivers/usb/dwc2/params.c static void dwc2_check_param_speed(struct dwc2_hsotg *hsotg) dwc2_hsotg 512 drivers/usb/dwc2/params.c static void dwc2_check_param_phy_utmi_width(struct dwc2_hsotg *hsotg) dwc2_hsotg 534 drivers/usb/dwc2/params.c static void dwc2_check_param_power_down(struct dwc2_hsotg *hsotg) dwc2_hsotg 566 drivers/usb/dwc2/params.c static void dwc2_check_param_tx_fifo_sizes(struct dwc2_hsotg *hsotg) dwc2_hsotg 616 drivers/usb/dwc2/params.c static void dwc2_check_params(struct dwc2_hsotg *hsotg) dwc2_hsotg 688 drivers/usb/dwc2/params.c static void dwc2_get_host_hwparams(struct dwc2_hsotg *hsotg) dwc2_hsotg 713 drivers/usb/dwc2/params.c static void dwc2_get_dev_hwparams(struct dwc2_hsotg *hsotg) dwc2_hsotg 745 drivers/usb/dwc2/params.c int dwc2_get_hwparams(struct dwc2_hsotg *hsotg) dwc2_hsotg 846 drivers/usb/dwc2/params.c int dwc2_init_params(struct dwc2_hsotg *hsotg) dwc2_hsotg 82 drivers/usb/dwc2/platform.c static int dwc2_get_dr_mode(struct dwc2_hsotg *hsotg) dwc2_hsotg 124 drivers/usb/dwc2/platform.c static int __dwc2_lowlevel_hw_enable(struct dwc2_hsotg *hsotg) dwc2_hsotg 160 drivers/usb/dwc2/platform.c int dwc2_lowlevel_hw_enable(struct dwc2_hsotg *hsotg) dwc2_hsotg 169 drivers/usb/dwc2/platform.c static int __dwc2_lowlevel_hw_disable(struct dwc2_hsotg *hsotg) dwc2_hsotg 202 drivers/usb/dwc2/platform.c int dwc2_lowlevel_hw_disable(struct dwc2_hsotg *hsotg) dwc2_hsotg 211 drivers/usb/dwc2/platform.c static int dwc2_lowlevel_hw_init(struct dwc2_hsotg *hsotg) dwc2_hsotg 307 drivers/usb/dwc2/platform.c struct dwc2_hsotg *hsotg = platform_get_drvdata(dev); dwc2_hsotg 338 drivers/usb/dwc2/platform.c struct dwc2_hsotg *hsotg = platform_get_drvdata(dev); dwc2_hsotg 348 drivers/usb/dwc2/platform.c static bool dwc2_check_core_endianness(struct dwc2_hsotg *hsotg) dwc2_hsotg 374 drivers/usb/dwc2/platform.c struct dwc2_hsotg *hsotg; dwc2_hsotg 519 drivers/usb/dwc2/platform.c struct dwc2_hsotg *dwc2 = dev_get_drvdata(dev); dwc2_hsotg 537 drivers/usb/dwc2/platform.c struct dwc2_hsotg *dwc2 = dev_get_drvdata(dev);