Searched refs:vconn_cb (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/drivers/usb_c/tcpc/ |
D | ps8xxx.c | 45 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()
|
D | ucpd_stm32_priv.h | 277 tcpc_vconn_control_cb_t vconn_cb; member
|
D | ucpd_stm32.c | 271 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()
|
D | ucpd_numaker.c | 258 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/ |
D | usbc_tcpc.h | 136 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()
|