Searched refs:wilco_ec_device (Results 1 – 10 of 10) sorted by relevance
/linux-6.12.1/include/linux/platform_data/ |
D | wilco-ec.h | 39 struct wilco_ec_device { struct 127 int wilco_ec_mailbox(struct wilco_ec_device *ec, struct wilco_ec_message *msg); 140 int wilco_keyboard_leds_init(struct wilco_ec_device *ec); 175 int wilco_ec_get_property(struct wilco_ec_device *ec, 188 int wilco_ec_set_property(struct wilco_ec_device *ec, 199 int wilco_ec_get_byte_property(struct wilco_ec_device *ec, u32 property_id, 210 int wilco_ec_set_byte_property(struct wilco_ec_device *ec, u32 property_id, 222 int wilco_ec_add_sysfs(struct wilco_ec_device *ec); 223 void wilco_ec_remove_sysfs(struct wilco_ec_device *ec);
|
/linux-6.12.1/drivers/platform/chrome/wilco_ec/ |
D | keyboard_leds.c | 22 struct wilco_ec_device *ec; 55 static int send_kbbl_msg(struct wilco_ec_device *ec, in send_kbbl_msg() 79 static int set_kbbl(struct wilco_ec_device *ec, enum led_brightness brightness) in set_kbbl() 105 static int kbbl_exist(struct wilco_ec_device *ec, bool *exists) in kbbl_exist() 134 static int kbbl_init(struct wilco_ec_device *ec) in kbbl_init() 173 int wilco_keyboard_leds_init(struct wilco_ec_device *ec) in wilco_keyboard_leds_init()
|
D | sysfs.c | 73 struct wilco_ec_device *ec = dev_get_drvdata(dev); in boot_on_ac_store() 105 struct wilco_ec_device *ec = dev_get_drvdata(dev); in get_info() 157 static int send_usb_charge(struct wilco_ec_device *ec, in send_usb_charge() 182 struct wilco_ec_device *ec = dev_get_drvdata(dev); in usb_charge_show() 202 struct wilco_ec_device *ec = dev_get_drvdata(dev); in usb_charge_store() 242 int wilco_ec_add_sysfs(struct wilco_ec_device *ec) in wilco_ec_add_sysfs() 247 void wilco_ec_remove_sysfs(struct wilco_ec_device *ec) in wilco_ec_remove_sysfs()
|
D | properties.c | 34 static int send_property_msg(struct wilco_ec_device *ec, in send_property_msg() 59 int wilco_ec_get_property(struct wilco_ec_device *ec, in wilco_ec_get_property() 81 int wilco_ec_set_property(struct wilco_ec_device *ec, in wilco_ec_set_property() 104 int wilco_ec_get_byte_property(struct wilco_ec_device *ec, u32 property_id, in wilco_ec_get_byte_property() 124 int wilco_ec_set_byte_property(struct wilco_ec_device *ec, u32 property_id, in wilco_ec_set_byte_property()
|
D | mailbox.c | 53 static bool wilco_ec_response_timed_out(struct wilco_ec_device *ec) in wilco_ec_response_timed_out() 115 static int wilco_ec_transfer(struct wilco_ec_device *ec, in wilco_ec_transfer() 202 int wilco_ec_mailbox(struct wilco_ec_device *ec, struct wilco_ec_message *msg) in wilco_ec_mailbox()
|
D | debugfs.c | 24 struct wilco_ec_device *ec; 176 static int send_ec_cmd(struct wilco_ec_device *ec, u8 sub_cmd, u8 *out_val) in send_ec_cmd() 247 struct wilco_ec_device *ec = dev_get_drvdata(pdev->dev.parent); in wilco_ec_debugfs_probe()
|
D | core.c | 41 struct wilco_ec_device *ec; in wilco_ec_probe() 138 struct wilco_ec_device *ec = platform_get_drvdata(pdev); in wilco_ec_remove()
|
D | telemetry.c | 207 struct wilco_ec_device *ec;
|
/linux-6.12.1/drivers/power/supply/ |
D | wilco-charger.c | 90 struct wilco_ec_device *ec = power_supply_get_drvdata(psy); in wilco_charge_get_property() 127 struct wilco_ec_device *ec = power_supply_get_drvdata(psy); in wilco_charge_set_property() 171 struct wilco_ec_device *ec = dev_get_drvdata(pdev->dev.parent); in wilco_charge_probe()
|
/linux-6.12.1/drivers/rtc/ |
D | rtc-wilco-ec.c | 91 struct wilco_ec_device *ec = dev_get_drvdata(dev->parent); in wilco_ec_rtc_read() 125 struct wilco_ec_device *ec = dev_get_drvdata(dev->parent); in wilco_ec_rtc_write()
|