Home
last modified time | relevance | path

Searched refs:ori_sw (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_typec.h58 struct typec_switch *ori_sw; member
H A Dcros_ec_typec.c94 port->ori_sw = fwnode_typec_switch_get(fwnode); in cros_typec_get_switch_handles()
95 if (IS_ERR(port->ori_sw)) { in cros_typec_get_switch_handles()
96 ret = PTR_ERR(port->ori_sw); in cros_typec_get_switch_handles()
111 typec_switch_put(port->ori_sw); in cros_typec_get_switch_handles()
112 port->ori_sw = NULL; in cros_typec_get_switch_handles()
184 typec_switch_set(port->ori_sw, TYPEC_ORIENTATION_NONE); in cros_typec_usb_disconnect_state()
255 typec_switch_put(typec->ports[i]->ori_sw); in cros_unregister_ports()
601 ret = typec_switch_set(port->ori_sw, orientation); in cros_typec_configure_mux()