Lines Matching defs:ec
8 #include <linux/platform_data/wilco-ec.h>
34 static int send_property_msg(struct wilco_ec_device *ec,
48 ret = wilco_ec_mailbox(ec, &ec_msg);
59 int wilco_ec_get_property(struct wilco_ec_device *ec,
70 ret = send_property_msg(ec, &rq, &rs);
81 int wilco_ec_set_property(struct wilco_ec_device *ec,
94 ret = send_property_msg(ec, &rq, &rs);
104 int wilco_ec_get_byte_property(struct wilco_ec_device *ec, u32 property_id,
112 ret = wilco_ec_get_property(ec, &msg);
124 int wilco_ec_set_byte_property(struct wilco_ec_device *ec, u32 property_id,
133 return wilco_ec_set_property(ec, &msg);