Home
last modified time | relevance | path

Searched refs:vbus_meas (Results 1 – 6 of 6) sorted by relevance

/Zephyr-latest/drivers/usb_c/vbus/
Dusbc_vbus_tcpci.c25 static int tcpci_measure(const struct device *dev, int *vbus_meas) in tcpci_measure() argument
31 __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()
Dusbc_vbus_numaker.c77 static int numaker_vbus_measure(const struct device *dev, int *vbus_meas) in numaker_vbus_measure() argument
82 return numaker_tcpc_vbus_measure(tcpc_dev, vbus_meas); in numaker_vbus_measure()
/Zephyr-latest/drivers/usb_c/tcpc/
Ducpd_numaker.h28 int numaker_tcpc_vbus_measure(const struct device *dev, int *vbus_meas);
Ducpd_numaker.c2275 int numaker_tcpc_vbus_measure(const struct device *dev, int *vbus_meas) in numaker_tcpc_vbus_measure() argument
2280 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()
/Zephyr-latest/include/zephyr/drivers/usb_c/
Dusbc_vbus.h37 int (*measure)(const struct device *dev, int *vbus_meas);
/Zephyr-latest/boards/st/stm32g071b_disco/
Dstm32g071b_disco.dts143 vbus_meas: ina230@40 { label