Lines Matching refs:device
17 static int tc_init(const struct device *dev);
22 void tc_subsys_init(const struct device *dev) in tc_subsys_init()
37 void tc_run(const struct device *dev, const int32_t dpm_request) in tc_run()
40 const struct device *tcpc = data->tcpc; in tc_run()
111 bool tc_is_in_attached_state(const struct device *dev) in tc_is_in_attached_state()
123 static int tc_init(const struct device *dev) in tc_init()
127 const struct device *tcpc = data->tcpc; in tc_init()
182 void tc_set_state(const struct device *dev, const enum tc_state_t state) in tc_set_state()
194 enum tc_state_t tc_get_state(const struct device *dev) in tc_get_state()
204 void tc_pd_enable(const struct device *dev, const bool enable) in tc_pd_enable()
218 void tc_select_src_collision_rp(const struct device *dev, enum tc_rp_value rp) in tc_select_src_collision_rp()
221 const struct device *tcpc = data->tcpc; in tc_select_src_collision_rp()
246 const struct device *dev = tc->dev; in tc_cc_open_entry()
248 const struct device *tcpc = data->tcpc; in tc_cc_open_entry()
304 const struct device *dev = tc->dev; in tc_error_recovery_run()