Home
last modified time | relevance | path

Searched refs:role (Results 1 – 23 of 23) sorted by relevance

/device/google/wahoo/usb/
DUsb.cpp112 std::string convertRoletoString(PortRole role) { in convertRoletoString() argument
113 if (role.type == PortRoleType::POWER_ROLE) { in convertRoletoString()
114 if (role.role == static_cast<uint32_t>(PortPowerRole::SOURCE)) in convertRoletoString()
116 else if (role.role == static_cast<uint32_t>(PortPowerRole::SINK)) in convertRoletoString()
118 } else if (role.type == PortRoleType::DATA_ROLE) { in convertRoletoString()
119 if (role.role == static_cast<uint32_t>(PortDataRole::HOST)) return "host"; in convertRoletoString()
120 if (role.role == static_cast<uint32_t>(PortDataRole::DEVICE)) in convertRoletoString()
122 } else if (role.type == PortRoleType::MODE) { in convertRoletoString()
123 if (role.role == static_cast<uint32_t>(PortMode_1_1::UFP)) return "sink"; in convertRoletoString()
124 if (role.role == static_cast<uint32_t>(PortMode_1_1::DFP)) return "source"; in convertRoletoString()
DUsb.h45 Return<void> switchRole(const hidl_string& portName, const V1_0::PortRole& role) override;
/device/google/crosshatch/usb/
DUsb.cpp88 std::string convertRoletoString(PortRole role) { in convertRoletoString() argument
89 if (role.type == PortRoleType::POWER_ROLE) { in convertRoletoString()
90 if (role.role == static_cast<uint32_t>(PortPowerRole::SOURCE)) in convertRoletoString()
92 else if (role.role == static_cast<uint32_t>(PortPowerRole::SINK)) in convertRoletoString()
94 } else if (role.type == PortRoleType::DATA_ROLE) { in convertRoletoString()
95 if (role.role == static_cast<uint32_t>(PortDataRole::HOST)) return "host"; in convertRoletoString()
96 if (role.role == static_cast<uint32_t>(PortDataRole::DEVICE)) in convertRoletoString()
98 } else if (role.type == PortRoleType::MODE) { in convertRoletoString()
99 if (role.role == static_cast<uint32_t>(PortMode_1_1::UFP)) return "sink"; in convertRoletoString()
100 if (role.role == static_cast<uint32_t>(PortMode_1_1::DFP)) return "source"; in convertRoletoString()
DUsb.h45 Return<void> switchRole(const hidl_string& portName, const V1_0::PortRole& role) override;
/device/google/bonito/usb/
DUsb.cpp86 std::string convertRoletoString(PortRole role) { in convertRoletoString() argument
87 if (role.type == PortRoleType::POWER_ROLE) { in convertRoletoString()
88 if (role.role == static_cast<uint32_t>(PortPowerRole::SOURCE)) in convertRoletoString()
90 else if (role.role == static_cast<uint32_t>(PortPowerRole::SINK)) in convertRoletoString()
92 } else if (role.type == PortRoleType::DATA_ROLE) { in convertRoletoString()
93 if (role.role == static_cast<uint32_t>(PortDataRole::HOST)) return "host"; in convertRoletoString()
94 if (role.role == static_cast<uint32_t>(PortDataRole::DEVICE)) in convertRoletoString()
96 } else if (role.type == PortRoleType::MODE) { in convertRoletoString()
97 if (role.role == static_cast<uint32_t>(PortMode_1_1::UFP)) return "sink"; in convertRoletoString()
98 if (role.role == static_cast<uint32_t>(PortMode_1_1::DFP)) return "source"; in convertRoletoString()
DUsb.h45 Return<void> switchRole(const hidl_string& portName, const V1_0::PortRole& role) override;
/device/google/sunfish/usb/
DUsb.cpp179 std::string convertRoletoString(PortRole role) { in convertRoletoString() argument
180 if (role.type == PortRoleType::POWER_ROLE) { in convertRoletoString()
181 if (role.role == static_cast<uint32_t>(PortPowerRole::SOURCE)) in convertRoletoString()
183 else if (role.role == static_cast<uint32_t>(PortPowerRole::SINK)) in convertRoletoString()
185 } else if (role.type == PortRoleType::DATA_ROLE) { in convertRoletoString()
186 if (role.role == static_cast<uint32_t>(PortDataRole::HOST)) in convertRoletoString()
188 if (role.role == static_cast<uint32_t>(PortDataRole::DEVICE)) in convertRoletoString()
190 } else if (role.type == PortRoleType::MODE) { in convertRoletoString()
191 if (role.role == static_cast<uint32_t>(PortMode_1_1::UFP)) in convertRoletoString()
193 if (role.role == static_cast<uint32_t>(PortMode_1_1::DFP)) in convertRoletoString()
DUsb.h53 Return<void> switchRole(const hidl_string &portName, const V1_0::PortRole &role) override;
/device/google/coral/usb/
DUsb.cpp174 std::string convertRoletoString(PortRole role) { in convertRoletoString() argument
175 if (role.type == PortRoleType::POWER_ROLE) { in convertRoletoString()
176 if (role.role == static_cast<uint32_t>(PortPowerRole::SOURCE)) in convertRoletoString()
178 else if (role.role == static_cast<uint32_t>(PortPowerRole::SINK)) in convertRoletoString()
180 } else if (role.type == PortRoleType::DATA_ROLE) { in convertRoletoString()
181 if (role.role == static_cast<uint32_t>(PortDataRole::HOST)) in convertRoletoString()
183 if (role.role == static_cast<uint32_t>(PortDataRole::DEVICE)) in convertRoletoString()
185 } else if (role.type == PortRoleType::MODE) { in convertRoletoString()
186 if (role.role == static_cast<uint32_t>(PortMode_1_1::UFP)) in convertRoletoString()
188 if (role.role == static_cast<uint32_t>(PortMode_1_1::DFP)) in convertRoletoString()
DUsb.h53 Return<void> switchRole(const hidl_string &portName, const V1_0::PortRole &role) override;
/device/linaro/poplar/vendor/
Dinit.poplar.rc6 write /sys/kernel/debug/hisi_inno_phy/role "peripheral"
/device/amlogic/yukawa/
Dinit.yukawa.usb.rc46 write /sys/class/usb_role/ffe09000.usb-role-switch/role device
/device/mediatek/wembley-sepolicy/r_non_plat/
Dnvram_agent_binder.te22 # Purpose : the role of nvram_agent_binder is same with nvram_daemon except property_set & exect pe…
/device/mediatek/wembley-sepolicy/non_plat/
Dnvram_agent_binder.te22 # Purpose : the role of nvram_agent_binder is same with nvram_daemon except property_set & exect pe…
/device/linaro/bootloader/arm-trusted-firmware/docs/plat/
Dpoplar.rst28 binary whose main role is to change the processor state to 64bit mode. This
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/expat/
Dxmlparse.c3676 int role; in doProlog() local
3722 role = XmlTokenRole(&prologState, tok, s, next, enc); in doProlog()
3723 switch (role) { in doProlog()
3946 prefix = (role == XML_ROLE_ATTRIBUTE_NOTATION_VALUE in doProlog()
3979 0, role == XML_ROLE_REQUIRED_ATTRIBUTE_VALUE); in doProlog()
4017 role == XML_ROLE_FIXED_ATTRIBUTE_VALUE); in doProlog()
4387 if ((role == XML_ROLE_PARAM_ENTITY_REF) && skippedEntityHandler) { in doProlog()
4398 (role == XML_ROLE_PARAM_ENTITY_REF ? XML_TRUE : XML_FALSE); in doProlog()
4460 content->type = ((role == XML_ROLE_CONTENT_ANY) ? in doProlog()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/expat/
Dxmlparse.c3676 int role; in doProlog() local
3722 role = XmlTokenRole(&prologState, tok, s, next, enc); in doProlog()
3723 switch (role) { in doProlog()
3946 prefix = (role == XML_ROLE_ATTRIBUTE_NOTATION_VALUE in doProlog()
3979 0, role == XML_ROLE_REQUIRED_ATTRIBUTE_VALUE); in doProlog()
4017 role == XML_ROLE_FIXED_ATTRIBUTE_VALUE); in doProlog()
4387 if ((role == XML_ROLE_PARAM_ENTITY_REF) && skippedEntityHandler) { in doProlog()
4398 (role == XML_ROLE_PARAM_ENTITY_REF ? XML_TRUE : XML_FALSE); in doProlog()
4460 content->type = ((role == XML_ROLE_CONTENT_ANY) ? in doProlog()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/expat/
Dxmlparse.c3793 int role; in doProlog() local
3839 role = XmlTokenRole(&prologState, tok, s, next, enc); in doProlog()
3840 switch (role) { in doProlog()
4067 prefix = (role == XML_ROLE_ATTRIBUTE_NOTATION_VALUE in doProlog()
4100 0, role == XML_ROLE_REQUIRED_ATTRIBUTE_VALUE); in doProlog()
4138 role == XML_ROLE_FIXED_ATTRIBUTE_VALUE); in doProlog()
4509 if ((role == XML_ROLE_PARAM_ENTITY_REF) && skippedEntityHandler) { in doProlog()
4520 (role == XML_ROLE_PARAM_ENTITY_REF ? XML_TRUE : XML_FALSE); in doProlog()
4582 content->type = ((role == XML_ROLE_CONTENT_ANY) ? in doProlog()
/device/linaro/bootloader/edk2/
DMaintainers.txt23 role as you write your new code].
/device/linaro/bootloader/arm-trusted-firmware/docs/
Dinterrupt-framework-design.rst302 This section describes in detail the role of each software component (see 2.1)
601 This section describes in detail the role of each software component (see
Duser-guide.rst19 `Linaro instructions`_. It also assumes that the user understands the role of
Dfirmware-design.rst498 Details on BL32 initialization and the SPD's role are described in the
Dporting-guide.rst799 This function plays a crucial role in the power domain topology framework in