Home
last modified time | relevance | path

Searched refs:vconn_cb (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/drivers/usb_c/tcpc/
Dps8xxx.c45 tcpc_vconn_control_cb_t vconn_cb; member
178 void ps8xxx_tcpc_set_vconn_cb(const struct device *dev, tcpc_vconn_control_cb_t vconn_cb) in ps8xxx_tcpc_set_vconn_cb() argument
182 data->vconn_cb = vconn_cb; in ps8xxx_tcpc_set_vconn_cb()
212 if (data->vconn_cb != NULL) { in ps8xxx_tcpc_set_vconn()
213 ret = data->vconn_cb(dev, data->cc_polarity, enable); in ps8xxx_tcpc_set_vconn()
Ducpd_stm32_priv.h277 tcpc_vconn_control_cb_t vconn_cb; member
Ducpd_stm32.c271 if (data->vconn_cb == NULL) { in ucpd_set_vconn()
294 ret = data->vconn_cb(dev, data->ucpd_vconn_cc, enable); in ucpd_set_vconn()
1294 tcpc_vconn_control_cb_t vconn_cb) in ucpd_set_vconn_cb() argument
1298 data->vconn_cb = vconn_cb; in ucpd_set_vconn_cb()
Ducpd_numaker.c258 tcpc_vconn_control_cb_t vconn_cb; member
1828 static void numaker_tcpc_set_vconn_cb(const struct device *dev, tcpc_vconn_control_cb_t vconn_cb) in numaker_tcpc_set_vconn_cb() argument
1832 data->dpm.vconn_cb = vconn_cb; in numaker_tcpc_set_vconn_cb()
1888 if (data->dpm.vconn_cb) { in numaker_tcpc_set_vconn()
1889 return data->dpm.vconn_cb(dev, polarity, enable); in numaker_tcpc_set_vconn()
/Zephyr-latest/include/zephyr/drivers/usb_c/
Dusbc_tcpc.h136 void (*set_vconn_cb)(const struct device *dev, tcpc_vconn_control_cb_t vconn_cb);
336 static inline void tcpc_set_vconn_cb(const struct device *dev, tcpc_vconn_control_cb_t vconn_cb) in tcpc_set_vconn_cb() argument
342 api->set_vconn_cb(dev, vconn_cb); in tcpc_set_vconn_cb()