Home
last modified time | relevance | path

Searched refs:tcpc_dev (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/usb_c/ppc/
Dusbc_ppc_numaker.c34 const struct device *tcpc_dev; member
46 const struct device *tcpc_dev = config->tcpc_dev; in numaker_ppc_init() local
49 if (!device_is_ready(tcpc_dev)) { in numaker_ppc_init()
67 const struct device *tcpc_dev = config->tcpc_dev; in numaker_ppc_is_dead_battery_mode() local
69 return numaker_tcpc_ppc_is_dead_battery_mode(tcpc_dev); in numaker_ppc_is_dead_battery_mode()
81 const struct device *tcpc_dev = config->tcpc_dev; in numaker_ppc_exit_dead_battery_mode() local
83 return numaker_tcpc_ppc_exit_dead_battery_mode(tcpc_dev); in numaker_ppc_exit_dead_battery_mode()
96 const struct device *tcpc_dev = config->tcpc_dev; in numaker_ppc_is_vbus_source() local
98 return numaker_tcpc_ppc_is_vbus_source(tcpc_dev); in numaker_ppc_is_vbus_source()
111 const struct device *tcpc_dev = config->tcpc_dev; in numaker_ppc_is_vbus_sink() local
[all …]
/Zephyr-latest/drivers/usb_c/vbus/
Dusbc_vbus_numaker.c34 const struct device *tcpc_dev; member
46 const struct device *tcpc_dev = config->tcpc_dev; in numaker_vbus_init() local
49 if (!device_is_ready(tcpc_dev)) { in numaker_vbus_init()
66 const struct device *tcpc_dev = config->tcpc_dev; in numaker_vbus_check_level() local
68 return numaker_tcpc_vbus_check_level(tcpc_dev, level); in numaker_vbus_check_level()
80 const struct device *tcpc_dev = config->tcpc_dev; in numaker_vbus_measure() local
82 return numaker_tcpc_vbus_measure(tcpc_dev, vbus_meas); in numaker_vbus_measure()
94 const struct device *tcpc_dev = config->tcpc_dev; in numaker_vbus_discharge() local
96 return numaker_tcpc_vbus_discharge(tcpc_dev, enable); in numaker_vbus_discharge()
108 const struct device *tcpc_dev = config->tcpc_dev; in numaker_vbus_enable() local
[all …]