Home
last modified time | relevance | path

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

/linux-6.15/include/linux/platform_data/
H A Dhuawei-gaokun-ec.h22 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);
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,
[all …]
/linux-6.15/drivers/platform/arm64/
H A Dhuawei-gaokun-ec.c116 struct gaokun_ec { struct
386 int gaokun_ec_ucsi_read(struct gaokun_ec *ec, in gaokun_ec_ucsi_read()
508 struct gaokun_ec *ec = dev_get_drvdata(dev); in fn_lock_show()
523 struct gaokun_ec *ec = dev_get_drvdata(dev); in fn_lock_store()
543 ATTRIBUTE_GROUPS(gaokun_ec);
584 struct gaokun_ec *ec = dev_get_drvdata(dev); in gaokun_ec_hwmon_read()
622 struct gaokun_ec *ec = dev_get_drvdata(dev); in gaokun_ec_suspend()
640 struct gaokun_ec *ec = dev_get_drvdata(dev); in gaokun_ec_resume()
677 struct gaokun_ec *ec) in gaokun_aux_init()
714 struct gaokun_ec *ec = data; in gaokun_ec_irq_handler()
[all …]