Lines Matching defs:msg
107 struct wilco_ec_property_msg msg;
110 msg.property_id = property_id;
112 ret = wilco_ec_get_property(ec, &msg);
115 if (msg.length != 1)
118 *val = msg.data[0];
127 struct wilco_ec_property_msg msg;
129 msg.property_id = property_id;
130 msg.data[0] = val;
131 msg.length = 1;
133 return wilco_ec_set_property(ec, &msg);