Home
last modified time | relevance | path

Searched refs:cros_typec_port (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/platform/chrome/
Dcros_typec_switch.c22 struct cros_typec_port { struct
33 struct cros_typec_port *ports[EC_USB_PD_MAX_PORTS]; argument
154 struct cros_typec_port *port = typec_mux_get_drvdata(mode_switch); in cros_typec_mode_switch_set()
162 struct cros_typec_port *port = typec_retimer_get_drvdata(retimer); in cros_typec_retimer_set()
180 static int cros_typec_register_mode_switch(struct cros_typec_port *port, in cros_typec_register_mode_switch()
195 static int cros_typec_register_retimer(struct cros_typec_port *port, struct fwnode_handle *fwnode) in cros_typec_register_retimer()
211 struct cros_typec_port *port; in cros_typec_register_switches()
Dcros_ec_typec.c93 static int cros_typec_get_switch_handles(struct cros_typec_port *port, in cros_typec_get_switch_handles()
145 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_add_partner()
169 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_unregister_altmodes()
196 static int cros_typec_usb_disconnect_state(struct cros_typec_port *port) in cros_typec_usb_disconnect_state()
212 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_remove_partner()
239 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_remove_cable()
254 static void cros_typec_unregister_port_altmodes(struct cros_typec_port *port) in cros_typec_unregister_port_altmodes()
288 struct cros_typec_port *port = typec->ports[port_num]; in cros_typec_register_port_altmodes()
330 struct cros_typec_port *cros_port; in cros_typec_init_ports()
416 static int cros_typec_usb_safe_state(struct cros_typec_port *port) in cros_typec_usb_safe_state()
[all …]
Dcros_ec_typec.h37 struct cros_typec_port *ports[EC_USB_PD_MAX_PORTS];
45 struct cros_typec_port { struct
Dcros_typec_vdm.c97 struct cros_typec_port *port = typec_altmode_get_drvdata(amode); in cros_typec_port_amode_enter()
123 struct cros_typec_port *port = typec_altmode_get_drvdata(amode); in cros_typec_port_amode_vdm()