Lines Matching refs:device
31 const struct device *dev;
86 static int pi3usb9201_interrupt_enable(const struct device *dev, const bool enable) in pi3usb9201_interrupt_enable()
96 static int pi3usb9201_bc12_detect_ctrl(const struct device *dev, const bool enable) in pi3usb9201_bc12_detect_ctrl()
105 static int pi3usb9201_bc12_usb_switch(const struct device *dev, bool enable) in pi3usb9201_bc12_usb_switch()
115 static int pi3usb9201_set_mode(const struct device *dev, enum pi3usb9201_mode mode) in pi3usb9201_set_mode()
125 static int pi3usb9201_get_mode(const struct device *dev, enum pi3usb9201_mode *const mode) in pi3usb9201_get_mode()
143 static int pi3usb9201_get_status(const struct device *dev, uint8_t *const client, in pi3usb9201_get_status()
171 static void pi3usb9201_notify_callback(const struct device *dev, in pi3usb9201_notify_callback()
181 static bool pi3usb9201_partner_has_changed(const struct device *dev, in pi3usb9201_partner_has_changed()
215 static void pi3usb9201_update_charging_partner(const struct device *dev, in pi3usb9201_update_charging_partner()
235 static int pi3usb9201_client_detect_start(const struct device *dev) in pi3usb9201_client_detect_start()
261 static void pi3usb9201_client_detect_finish(const struct device *dev, const int status) in pi3usb9201_client_detect_finish()
303 static void pi3usb9201_host_interrupt(const struct device *dev, uint8_t host_status) in pi3usb9201_host_interrupt()
353 static int pi3usb9201_disconnect(const struct device *dev) in pi3usb9201_disconnect()
390 static int pi3usb9201_set_portable_device(const struct device *dev) in pi3usb9201_set_portable_device()
422 static int pi3usb9201_set_charging_mode(const struct device *dev) in pi3usb9201_set_charging_mode()
492 const struct device *dev = pi3usb9201_data->dev; in pi3usb9201_isr_work()
516 static void pi3usb9201_gpio_callback(const struct device *dev, struct gpio_callback *cb, in pi3usb9201_gpio_callback()
524 static int pi3usb9201_set_role(const struct device *dev, const enum bc12_role role) in pi3usb9201_set_role()
541 int pi3usb9201_set_result_cb(const struct device *dev, bc12_callback_t cb, void *const user_data) in pi3usb9201_set_result_cb()
556 static int pi3usb9201_init(const struct device *dev) in pi3usb9201_init()