Lines Matching refs:device
22 const struct device *const dev;
67 static int tcpci_init_alert_mask(const struct device *dev) in tcpci_init_alert_mask()
84 static int ps8xxx_tcpc_init(const struct device *dev) in ps8xxx_tcpc_init()
101 int ps8xxx_tcpc_get_cc(const struct device *dev, enum tc_cc_voltage_state *cc1, in ps8xxx_tcpc_get_cc()
132 int ps8xxx_tcpc_select_rp_value(const struct device *dev, enum tc_rp_value rp) in ps8xxx_tcpc_select_rp_value()
143 int ps8xxx_tcpc_get_rp_value(const struct device *dev, enum tc_rp_value *rp) in ps8xxx_tcpc_get_rp_value()
155 int ps8xxx_tcpc_set_cc(const struct device *dev, enum tc_cc_pull pull) in ps8xxx_tcpc_set_cc()
171 void ps8xxx_tcpc_set_vconn_discharge_cb(const struct device *dev, tcpc_vconn_discharge_cb_t cb) in ps8xxx_tcpc_set_vconn_discharge_cb()
178 void ps8xxx_tcpc_set_vconn_cb(const struct device *dev, tcpc_vconn_control_cb_t vconn_cb) in ps8xxx_tcpc_set_vconn_cb()
185 int ps8xxx_tcpc_vconn_discharge(const struct device *dev, bool enable) in ps8xxx_tcpc_vconn_discharge()
194 int ps8xxx_tcpc_set_vconn(const struct device *dev, bool enable) in ps8xxx_tcpc_set_vconn()
219 int ps8xxx_tcpc_set_roles(const struct device *dev, enum tc_power_role power_role, in ps8xxx_tcpc_set_roles()
228 int ps8xxx_tcpc_get_rx_pending_msg(const struct device *dev, struct pd_msg *msg) in ps8xxx_tcpc_get_rx_pending_msg()
300 int ps8xxx_tcpc_set_rx_enable(const struct device *dev, bool enable) in ps8xxx_tcpc_set_rx_enable()
308 int ps8xxx_tcpc_set_cc_polarity(const struct device *dev, enum tc_cc_polarity polarity) in ps8xxx_tcpc_set_cc_polarity()
331 int ps8xxx_tcpc_transmit_data(const struct device *dev, struct pd_msg *msg) in ps8xxx_tcpc_transmit_data()
397 int ps8xxx_tcpc_dump_std_reg(const struct device *dev) in ps8xxx_tcpc_dump_std_reg()
421 void ps8xxx_tcpc_alert_handler_cb(const struct device *dev, void *data, enum tcpc_alert alert) in ps8xxx_tcpc_alert_handler_cb()
425 int ps8xxx_tcpc_get_status_register(const struct device *dev, enum tcpc_status_reg reg, in ps8xxx_tcpc_get_status_register()
431 int ps8xxx_tcpc_clear_status_register(const struct device *dev, enum tcpc_status_reg reg, in ps8xxx_tcpc_clear_status_register()
437 int ps8xxx_tcpc_mask_status_register(const struct device *dev, enum tcpc_status_reg reg, in ps8xxx_tcpc_mask_status_register()
443 int ps8xxx_tcpc_set_debug_accessory(const struct device *dev, bool enable) in ps8xxx_tcpc_set_debug_accessory()
448 int ps8xxx_tcpc_set_debug_detach(const struct device *dev) in ps8xxx_tcpc_set_debug_detach()
453 int ps8xxx_tcpc_set_drp_toggle(const struct device *dev, bool enable) in ps8xxx_tcpc_set_drp_toggle()
458 int ps8xxx_tcpc_get_snk_ctrl(const struct device *dev) in ps8xxx_tcpc_get_snk_ctrl()
463 int ps8xxx_tcpc_set_snk_ctrl(const struct device *dev, bool enable) in ps8xxx_tcpc_set_snk_ctrl()
471 int ps8xxx_tcpc_get_src_ctrl(const struct device *dev) in ps8xxx_tcpc_get_src_ctrl()
476 int ps8xxx_tcpc_set_src_ctrl(const struct device *dev, bool enable) in ps8xxx_tcpc_set_src_ctrl()
484 int ps8xxx_tcpc_get_chip_info(const struct device *dev, struct tcpc_chip_info *chip_info) in ps8xxx_tcpc_get_chip_info()
512 int ps8xxx_tcpc_set_low_power_mode(const struct device *dev, bool enable) in ps8xxx_tcpc_set_low_power_mode()
519 int ps8xxx_tcpc_sop_prime_enable(const struct device *dev, bool enable) in ps8xxx_tcpc_sop_prime_enable()
524 int ps8xxx_tcpc_set_bist_test_mode(const struct device *dev, bool enable) in ps8xxx_tcpc_set_bist_test_mode()
529 int ps8xxx_tcpc_set_alert_handler_cb(const struct device *dev, tcpc_alert_handler_cb_t handler, in ps8xxx_tcpc_set_alert_handler_cb()
580 void ps8xxx_alert_cb(const struct device *port, struct gpio_callback *cb, gpio_port_pins_t pins) in ps8xxx_alert_cb()
590 const struct device *dev = data->dev; in ps8xxx_alert_work_cb()
711 static int ps8xxx_dev_init(const struct device *dev) in ps8xxx_dev_init()