Lines Matching +full:portable +full:- +full:device
4 * SPDX-License-Identifier: Apache-2.0
43 * @brief Set the charging partner type connected to the BC1.2 device.
54 * @retval -EINVAL if the partner type is not supported.
60 (const struct bc12_emul_driver_api *)target->backend_api; in bc12_emul_set_charging_partner()
62 return backend_api->set_charging_partner(target, partner_type); in bc12_emul_set_charging_partner()
66 * @brief Set the portable device partner state.
69 * to simulate connection or disconnection of a portable device partner.
74 * @param connected If true, emulate a connection of a portable device partner. If
78 * @retval -EINVAL if the connection/disconnection of PD partner is not supported.
83 (const struct bc12_emul_driver_api *)target->backend_api; in bc12_emul_set_pd_partner()
85 return backend_api->set_pd_partner(target, connected); in bc12_emul_set_pd_partner()