Searched refs:gaokun_ec (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/platform/arm64/ |
| H A D | huawei-gaokun-ec.c | 116 struct gaokun_ec { struct 125 static int gaokun_ec_request(struct gaokun_ec *ec, const u8 *req, in gaokun_ec_request() argument 182 int gaokun_ec_read(struct gaokun_ec *ec, const u8 *req, in gaokun_ec_read() 199 int gaokun_ec_write(struct gaokun_ec *ec, const u8 *req) in gaokun_ec_write() 207 int gaokun_ec_read_byte(struct gaokun_ec *ec, const u8 *req, u8 *byte) in gaokun_ec_read_byte() 226 int gaokun_ec_register_notify(struct gaokun_ec *ec, struct notifier_block *nb) in gaokun_ec_register_notify() 240 void gaokun_ec_unregister_notify(struct gaokun_ec *ec, struct notifier_block *nb) in gaokun_ec_unregister_notify() 258 int gaokun_ec_psy_multi_read(struct gaokun_ec *ec, u8 reg, in gaokun_ec_psy_multi_read() 286 int gaokun_ec_psy_get_smart_charge(struct gaokun_ec *ec, in gaokun_ec_psy_get_smart_charge() 316 int gaokun_ec_psy_set_smart_charge(struct gaokun_ec *ec, in gaokun_ec_psy_set_smart_charge() [all …]
|
| /linux/drivers/usb/typec/ucsi/ |
| H A D | ucsi_huawei_gaokun.c | 95 struct gaokun_ec *ec; 469 struct gaokun_ec *ec = adev->dev.platform_data; in gaokun_ucsi_probe()
|
| /linux/drivers/power/supply/ |
| H A D | huawei-gaokun-battery.c | 103 struct gaokun_ec *ec; 586 struct gaokun_ec *ec = adev->dev.platform_data; in gaokun_psy_probe()
|