try_role 958 drivers/usb/typec/class.c if (!port->cap->try_role) { try_role 971 drivers/usb/typec/class.c ret = port->cap->try_role(port->cap, role); try_role 232 drivers/usb/typec/tcpm/tcpm.c int try_role; try_role 369 drivers/usb/typec/tcpm/tcpm.c ((port)->try_snk_count == 0 && (port)->try_role == TYPEC_SINK && \ try_role 373 drivers/usb/typec/tcpm/tcpm.c ((port)->try_src_count == 0 && (port)->try_role == TYPEC_SOURCE && \ try_role 379 drivers/usb/typec/tcpm/tcpm.c if (port->try_role == TYPEC_SINK) try_role 381 drivers/usb/typec/tcpm/tcpm.c else if (port->try_role == TYPEC_SOURCE) try_role 4035 drivers/usb/typec/tcpm/tcpm.c if (port->try_role == TYPEC_NO_PREFERRED_ROLE || try_role 4036 drivers/usb/typec/tcpm/tcpm.c port->try_role == port->pwr_role) { try_role 4158 drivers/usb/typec/tcpm/tcpm.c if (tcpc->try_role) try_role 4159 drivers/usb/typec/tcpm/tcpm.c ret = tcpc->try_role(tcpc, role); try_role 4161 drivers/usb/typec/tcpm/tcpm.c port->try_role = role; try_role 4794 drivers/usb/typec/tcpm/tcpm.c port->try_role = port->typec_caps.prefer_role; try_role 4796 drivers/usb/typec/tcpm/tcpm.c port->try_role = TYPEC_NO_PREFERRED_ROLE; try_role 4804 drivers/usb/typec/tcpm/tcpm.c port->typec_caps.try_role = tcpm_try_role; try_role 144 include/linux/usb/tcpm.h int (*try_role)(struct tcpc_dev *dev, int role); try_role 202 include/linux/usb/typec.h int (*try_role)(const struct typec_capability *,