Searched refs:vbus_meas (Results 1 – 6 of 6) sorted by relevance
25 static int tcpci_measure(const struct device *dev, int *vbus_meas) in tcpci_measure() argument31 __ASSERT(vbus_meas != NULL, "TCPCI VBUS meas must not be NULL"); in tcpci_measure()38 *vbus_meas = TCPC_REG_VBUS_VOLTAGE_VBUS(measure); in tcpci_measure()
77 static int numaker_vbus_measure(const struct device *dev, int *vbus_meas) in numaker_vbus_measure() argument82 return numaker_tcpc_vbus_measure(tcpc_dev, vbus_meas); in numaker_vbus_measure()
28 int numaker_tcpc_vbus_measure(const struct device *dev, int *vbus_meas);
2275 int numaker_tcpc_vbus_measure(const struct device *dev, int *vbus_meas) in numaker_tcpc_vbus_measure() argument2280 if (vbus_meas == NULL) { in numaker_tcpc_vbus_measure()2283 *vbus_meas = 0; in numaker_tcpc_vbus_measure()2289 *vbus_meas = mv; in numaker_tcpc_vbus_measure()
37 int (*measure)(const struct device *dev, int *vbus_meas);
143 vbus_meas: ina230@40 { label