Searched refs:cros_typec_switch_data (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_typec_switch.c | 26 struct cros_typec_switch_data *sdata; 30 struct cros_typec_switch_data { struct 36 static int cros_typec_cmd_mux_set(struct cros_typec_switch_data *sdata, int port_num, u8 index, in cros_typec_cmd_mux_set() argument 70 static int cros_typec_send_clear_event(struct cros_typec_switch_data *sdata, int port_num, in cros_typec_send_clear_event() 82 static bool cros_typec_check_event(struct cros_typec_switch_data *sdata, int port_num, u32 mask) in cros_typec_check_event() 108 static int cros_typec_configure_mux(struct cros_typec_switch_data *sdata, int port_num, int index, in cros_typec_configure_mux() 168 static void cros_typec_unregister_switches(struct cros_typec_switch_data *sdata) in cros_typec_unregister_switches() 209 static int cros_typec_register_switches(struct cros_typec_switch_data *sdata) in cros_typec_register_switches() 286 struct cros_typec_switch_data *sdata; in cros_typec_switch_probe() 302 struct cros_typec_switch_data *sdata = platform_get_drvdata(pdev); in cros_typec_switch_remove()
|