Lines Matching +full:soc +full:- +full:dependent
4 * SPDX-License-Identifier: Apache-2.0
19 #include <soc.h>
38 * @brief Initializes the usb-c ppc driver
41 * @retval -ENODEV if dependent TCPC device is not ready
45 const struct numaker_ppc_config *const config = dev->config; in numaker_ppc_init()
46 const struct device *tcpc_dev = config->tcpc_dev; in numaker_ppc_init()
51 return -ENODEV; in numaker_ppc_init()
62 * @retval -EIO if on failure
66 const struct numaker_ppc_config *const config = dev->config; in numaker_ppc_is_dead_battery_mode()
67 const struct device *tcpc_dev = config->tcpc_dev; in numaker_ppc_is_dead_battery_mode()
76 * @retval -EIO if on failure
80 const struct numaker_ppc_config *const config = dev->config; in numaker_ppc_exit_dead_battery_mode()
81 const struct device *tcpc_dev = config->tcpc_dev; in numaker_ppc_exit_dead_battery_mode()
91 * @retval -EIO on failure
95 const struct numaker_ppc_config *const config = dev->config; in numaker_ppc_is_vbus_source()
96 const struct device *tcpc_dev = config->tcpc_dev; in numaker_ppc_is_vbus_source()
106 * @retval -EIO on failure
110 const struct numaker_ppc_config *const config = dev->config; in numaker_ppc_is_vbus_sink()
111 const struct device *tcpc_dev = config->tcpc_dev; in numaker_ppc_is_vbus_sink()
120 * @retval -EIO on failure
124 const struct numaker_ppc_config *const config = dev->config; in numaker_ppc_set_snk_ctrl()
125 const struct device *tcpc_dev = config->tcpc_dev; in numaker_ppc_set_snk_ctrl()
134 * @retval -EIO on failure
138 const struct numaker_ppc_config *const config = dev->config; in numaker_ppc_set_src_ctrl()
139 const struct device *tcpc_dev = config->tcpc_dev; in numaker_ppc_set_src_ctrl()
148 * @retval -EIO on failure
152 const struct numaker_ppc_config *const config = dev->config; in numaker_ppc_set_vbus_discharge()
153 const struct device *tcpc_dev = config->tcpc_dev; in numaker_ppc_set_vbus_discharge()
163 * @retval -EIO on failure
167 const struct numaker_ppc_config *const config = dev->config; in numaker_ppc_is_vbus_present()
168 const struct device *tcpc_dev = config->tcpc_dev; in numaker_ppc_is_vbus_present()
181 const struct numaker_ppc_config *const config = dev->config; in numaker_ppc_set_event_handler()
182 const struct device *tcpc_dev = config->tcpc_dev; in numaker_ppc_set_event_handler()
191 * @retval -EIO on failure
195 const struct numaker_ppc_config *const config = dev->config; in numaker_ppc_dump_regs()
196 const struct device *tcpc_dev = config->tcpc_dev; in numaker_ppc_dump_regs()