Searched refs:role (Results 1 – 2 of 2) sorted by relevance
855 p.role = USB_PD_CTRL_ROLE_NO_CHANGE; in cmd_ec_usbpd()878 p.role = USB_PD_CTRL_ROLE_TOGGLE_ON; in cmd_ec_usbpd()885 if (p.role != USB_PD_CTRL_ROLE_NO_CHANGE) { in cmd_ec_usbpd()890 p.role = j; in cmd_ec_usbpd()942 r.role & PD_ROLE_SOURCE ? "SRC" : "SNK", in cmd_ec_usbpd()943 r.role & (PD_ROLE_DFP << 1) ? "DFP" : "UFP", in cmd_ec_usbpd()944 r.role & (1 << 2) ? " VCONN" : "", in cmd_ec_usbpd()952 switch (r->role) { in print_pd_power_info()969 if ((r->role == USB_PD_PORT_POWER_DISCONNECTED) || in print_pd_power_info()970 (r->role == USB_PD_PORT_POWER_SOURCE)) { in print_pd_power_info()
3172 uint8_t role; member3179 uint8_t role; member3186 uint8_t role; /* [0] power: 0=SNK/1=SRC [1] data: 0=UFP/1=DFP member3232 uint8_t role; member