1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 3 #include <ec/google/chromeec/ec.h> 4 5 static const struct usbc_ops google_chromeec_usbc_ops = { 6 .mux_ops = { 7 .get_mux_info = google_chromeec_get_usbc_mux_info, 8 }, 9 .dp_ops = { 10 .wait_for_connection = google_chromeec_wait_for_displayport, 11 .enter_dp_mode = google_chromeec_typec_control_enter_dp_mode, 12 .wait_for_dp_mode_entry = google_chromeec_wait_for_dp_mode_entry, 13 .wait_for_hpd = google_chromeec_wait_for_hpd, 14 }, 15 }; 16 usbc_get_ops(void)17const struct usbc_ops *usbc_get_ops(void) 18 { 19 return &google_chromeec_usbc_ops; 20 } 21