pwr_role 45 drivers/usb/typec/class.c enum typec_role pwr_role; pwr_role 1090 drivers/usb/typec/class.c return sprintf(buf, "%s\n", port->pwr_role == TYPEC_SOURCE ? pwr_role 1093 drivers/usb/typec/class.c return sprintf(buf, "[%s]\n", typec_roles[port->pwr_role]); pwr_role 1321 drivers/usb/typec/class.c if (port->pwr_role == role) pwr_role 1324 drivers/usb/typec/class.c port->pwr_role = role; pwr_role 1548 drivers/usb/typec/class.c port->pwr_role = TYPEC_SOURCE; pwr_role 1552 drivers/usb/typec/class.c port->pwr_role = TYPEC_SINK; pwr_role 1557 drivers/usb/typec/class.c port->pwr_role = cap->prefer_role; pwr_role 1559 drivers/usb/typec/class.c port->pwr_role = TYPEC_SINK; pwr_role 207 drivers/usb/typec/tcpm/tcpm.c enum typec_role pwr_role; pwr_role 784 drivers/usb/typec/tcpm/tcpm.c return port->tcpc->set_roles(port->tcpc, attached, port->pwr_role, pwr_role 813 drivers/usb/typec/tcpm/tcpm.c port->pwr_role = role; pwr_role 830 drivers/usb/typec/tcpm/tcpm.c port->pwr_role = role; pwr_role 845 drivers/usb/typec/tcpm/tcpm.c port->pwr_role, pwr_role 851 drivers/usb/typec/tcpm/tcpm.c port->pwr_role, pwr_role 872 drivers/usb/typec/tcpm/tcpm.c port->pwr_role, pwr_role 878 drivers/usb/typec/tcpm/tcpm.c port->pwr_role, pwr_role 1301 drivers/usb/typec/tcpm/tcpm.c port->pwr_role, pwr_role 1543 drivers/usb/typec/tcpm/tcpm.c if (port->pwr_role == TYPEC_SOURCE) pwr_role 1587 drivers/usb/typec/tcpm/tcpm.c if (port->pwr_role != TYPEC_SINK) pwr_role 1627 drivers/usb/typec/tcpm/tcpm.c if (port->pwr_role != TYPEC_SOURCE || pwr_role 1806 drivers/usb/typec/tcpm/tcpm.c if (port->pwr_role == TYPEC_SOURCE) pwr_role 2018 drivers/usb/typec/tcpm/tcpm.c msg.header = PD_HEADER_LE(type, port->pwr_role, pwr_role 2419 drivers/usb/typec/tcpm/tcpm.c port->pwr_role, pwr_role 2516 drivers/usb/typec/tcpm/tcpm.c port->pwr_role, pwr_role 2802 drivers/usb/typec/tcpm/tcpm.c if (port->pwr_role == TYPEC_SOURCE) pwr_role 2812 drivers/usb/typec/tcpm/tcpm.c if (port->pwr_role == TYPEC_SOURCE) pwr_role 3295 drivers/usb/typec/tcpm/tcpm.c if (port->pwr_role == TYPEC_SOURCE) pwr_role 3365 drivers/usb/typec/tcpm/tcpm.c if (port->pwr_role == TYPEC_SOURCE) pwr_role 3397 drivers/usb/typec/tcpm/tcpm.c tcpm_set_roles(port, true, port->pwr_role, pwr_role 3400 drivers/usb/typec/tcpm/tcpm.c tcpm_set_roles(port, true, port->pwr_role, pwr_role 3422 drivers/usb/typec/tcpm/tcpm.c if (port->pwr_role == TYPEC_SOURCE) pwr_role 3525 drivers/usb/typec/tcpm/tcpm.c if (port->pwr_role == TYPEC_SOURCE) pwr_role 3916 drivers/usb/typec/tcpm/tcpm.c if (port->pwr_role == TYPEC_SINK && pwr_role 4036 drivers/usb/typec/tcpm/tcpm.c port->try_role == port->pwr_role) { pwr_role 4085 drivers/usb/typec/tcpm/tcpm.c if (role == port->pwr_role) { pwr_role 4374 drivers/usb/typec/tcpm/tcpm.c if (!(port->pwr_role == TYPEC_SINK && pwr_role 4378 drivers/usb/typec/tcpm/tcpm.c if (!(port->pwr_role == TYPEC_SOURCE &&