Home
last modified time | relevance | path

Searched refs:yoga_c630_ec (Results 1 – 4 of 4) sorted by relevance

/linux/include/linux/platform_data/
H A Dlenovo-yoga-c630.h12 struct yoga_c630_ec;
20 int yoga_c630_ec_read8(struct yoga_c630_ec *ec, u8 addr);
21 int yoga_c630_ec_read16(struct yoga_c630_ec *ec, u8 addr);
23 int yoga_c630_ec_register_notify(struct yoga_c630_ec *ec, struct notifier_block *nb);
24 void yoga_c630_ec_unregister_notify(struct yoga_c630_ec *ec, struct notifier_block *nb);
31 u16 yoga_c630_ec_ucsi_get_version(struct yoga_c630_ec *ec);
32 int yoga_c630_ec_ucsi_write(struct yoga_c630_ec *ec,
34 int yoga_c630_ec_ucsi_read(struct yoga_c630_ec *ec,
/linux/drivers/platform/arm64/
H A Dlenovo-yoga-c630.c32 struct yoga_c630_ec { struct
38 static int yoga_c630_ec_request(struct yoga_c630_ec *ec, u8 *req, size_t req_len, in yoga_c630_ec_request() argument
54 int yoga_c630_ec_read8(struct yoga_c630_ec *ec, u8 addr) in yoga_c630_ec_read8()
71 int yoga_c630_ec_read16(struct yoga_c630_ec *ec, u8 addr) in yoga_c630_ec_read16()
98 u16 yoga_c630_ec_ucsi_get_version(struct yoga_c630_ec *ec) in yoga_c630_ec_ucsi_get_version()
121 int yoga_c630_ec_ucsi_write(struct yoga_c630_ec *ec, in yoga_c630_ec_ucsi_write()
135 int yoga_c630_ec_ucsi_read(struct yoga_c630_ec *ec, in yoga_c630_ec_ucsi_read()
152 struct yoga_c630_ec *ec = data; in yoga_c630_ec_thread_intr()
174 int yoga_c630_ec_register_notify(struct yoga_c630_ec *ec, struct notifier_block *nb) in yoga_c630_ec_register_notify()
188 void yoga_c630_ec_unregister_notify(struct yoga_c630_ec *ec, struct notifier_block *nb) in yoga_c630_ec_unregister_notify()
[all …]
/linux/drivers/power/supply/
H A Dlenovo_yoga_c630_battery.c20 struct yoga_c630_ec *ec;
73 struct yoga_c630_ec *ec = ecbat->ec; in yoga_c630_psy_update_bat_info()
130 struct yoga_c630_ec *ec = ecbat->ec; in yoga_c630_psy_maybe_update_bat_status()
178 struct yoga_c630_ec *ec = ecbat->ec; in yoga_c630_psy_update_adapter_status()
424 struct yoga_c630_ec *ec = adev->dev.platform_data; in yoga_c630_psy_probe()
/linux/drivers/usb/typec/ucsi/
H A Ducsi_yoga_c630.c20 struct yoga_c630_ec *ec;
112 struct yoga_c630_ec *ec = adev->dev.platform_data; in yoga_c630_ucsi_probe()