Lines Matching +full:soc +full:- +full:dependent
4 * SPDX-License-Identifier: Apache-2.0
19 #include <soc.h>
38 * @brief Initializes the usb-c vbus driver
41 * @retval -ENODEV if dependent TCPC device is not ready
45 const struct numaker_vbus_config *const config = dev->config; in numaker_vbus_init()
46 const struct device *tcpc_dev = config->tcpc_dev; in numaker_vbus_init()
51 return -ENODEV; in numaker_vbus_init()
65 const struct numaker_vbus_config *const config = dev->config; in numaker_vbus_check_level()
66 const struct device *tcpc_dev = config->tcpc_dev; in numaker_vbus_check_level()
75 * @retval -EIO on failure
79 const struct numaker_vbus_config *const config = dev->config; in numaker_vbus_measure()
80 const struct device *tcpc_dev = config->tcpc_dev; in numaker_vbus_measure()
89 * @retval -EIO on failure
93 const struct numaker_vbus_config *const config = dev->config; in numaker_vbus_discharge()
94 const struct device *tcpc_dev = config->tcpc_dev; in numaker_vbus_discharge()
103 * @retval -EIO on failure
107 const struct numaker_vbus_config *const config = dev->config; in numaker_vbus_enable()
108 const struct device *tcpc_dev = config->tcpc_dev; in numaker_vbus_enable()