Lines Matching refs:gaokun_ec
22 struct gaokun_ec;
33 int gaokun_ec_register_notify(struct gaokun_ec *ec,
35 void gaokun_ec_unregister_notify(struct gaokun_ec *ec,
38 int gaokun_ec_read(struct gaokun_ec *ec, const u8 *req,
40 int gaokun_ec_write(struct gaokun_ec *ec, const u8 *req);
41 int gaokun_ec_read_byte(struct gaokun_ec *ec, const u8 *req, u8 *byte);
46 int gaokun_ec_psy_multi_read(struct gaokun_ec *ec, u8 reg,
49 static inline int gaokun_ec_psy_read_byte(struct gaokun_ec *ec, in gaokun_ec_psy_read_byte()
55 static inline int gaokun_ec_psy_read_word(struct gaokun_ec *ec, in gaokun_ec_psy_read_word()
61 int gaokun_ec_psy_get_smart_charge(struct gaokun_ec *ec,
63 int gaokun_ec_psy_set_smart_charge(struct gaokun_ec *ec,
66 int gaokun_ec_psy_get_smart_charge_enable(struct gaokun_ec *ec, bool *on);
67 int gaokun_ec_psy_set_smart_charge_enable(struct gaokun_ec *ec, bool on);
72 int gaokun_ec_ucsi_read(struct gaokun_ec *ec, u8 resp[GAOKUN_UCSI_READ_SIZE]);
73 int gaokun_ec_ucsi_write(struct gaokun_ec *ec,
76 int gaokun_ec_ucsi_get_reg(struct gaokun_ec *ec, struct gaokun_ucsi_reg *ureg);
77 int gaokun_ec_ucsi_pan_ack(struct gaokun_ec *ec, int port_id);